        :root {
            --bg-gradient-start: #f0f5fb;
            --bg-gradient-end: #e6edf5;
            --card-bg: rgba(255,255,255,0.7);
            --primary-color: #1e6f9f;
            --primary-dark: #0b4b73;
            --text-dark: #0b2d4b;
            --text-light: #1a4b6d;
            --accent-shadow: rgba(0,30,60,0.3);
            --btn-bg: white;
            --btn-color: #145c8a;
            --btn-shadow: 0 6px 14px #0000001a;
            --panel-bg: rgba(255,255,255,0.65);
            --marker-bg: rgba(255,255,255,0.8);
            --status-bg: #d9ecfe;
        }

        [data-theme="green"] {
            --bg-gradient-start: #e1f3e3;
            --bg-gradient-end: #c8e6d9;
            --card-bg: rgba(245, 255, 240, 0.75);
            --primary-color: #2f8f6b;
            --primary-dark: #1e6b4c;
            --text-dark: #1b4e3f;
            --text-light: #2b6b54;
            --accent-shadow: rgba(20, 70, 30, 0.25);
            --btn-bg: #f0fff5;
            --btn-color: #1f704a;
            --btn-shadow: 0 6px 14px #a3c9b0;
            --panel-bg: rgba(240, 255, 240, 0.7);
            --marker-bg: rgba(255, 255, 255, 0.9);
            --status-bg: #c0ebd7;
        }

        [data-theme="orange"] {
            --bg-gradient-start: #fef3e0;
            --bg-gradient-end: #fae5cc;
            --card-bg: rgba(255, 245, 230, 0.8);
            --primary-color: #c96f3d;
            --primary-dark: #a85325;
            --text-dark: #6d3c1a;
            --text-light: #8f562b;
            --accent-shadow: rgba(150, 80, 20, 0.2);
            --btn-bg: #fff1e0;
            --btn-color: #b15d2e;
            --btn-shadow: 0 6px 14px #e0c0a0;
            --panel-bg: rgba(255, 240, 220, 0.75);
            --marker-bg: rgba(255, 255, 255, 0.9);
            --status-bg: #ffe0b5;
        }

        [data-theme="rose"] {
            --bg-gradient-start: #fdf2f4;
            --bg-gradient-end: #f8e8eb;
            --card-bg: rgba(255, 245, 247, 0.8);
            --primary-color: #c48b9f;
            --primary-dark: #a0667a;
            --text-dark: #5c3d4a;
            --text-light: #8a5a6e;
            --accent-shadow: rgba(180, 100, 130, 0.2);
            --btn-bg: #fff8f9;
            --btn-color: #b0607a;
            --btn-shadow: 0 6px 14px #e8c5cf;
            --panel-bg: rgba(255, 248, 250, 0.75);
            --marker-bg: rgba(255, 255, 255, 0.9);
            --status-bg: #f5dce2;
        }

        [data-theme="purple"] {
            --bg-gradient-start: #1a1625;
            --bg-gradient-end: #2d1f3d;
            --card-bg: rgba(45, 35, 60, 0.85);
            --primary-color: #9d7cd8;
            --primary-dark: #7a5bb8;
            --text-dark: #e8dff5;
            --text-light: #c9b8e0;
            --accent-shadow: rgba(80, 50, 120, 0.4);
            --btn-bg: #3a2d4d;
            --btn-color: #d4c4f0;
            --btn-shadow: 0 6px 14px #2a1f3a;
            --panel-bg: rgba(45, 35, 60, 0.8);
            --marker-bg: rgba(60, 50, 80, 0.9);
            --status-bg: #4a3a6a;
        }

        [data-theme="polar"] {
            --bg-gradient-start: #000000;
            --bg-gradient-end: #0a0a0a;
            --card-bg: rgba(10, 10, 10, 0.9);
            --primary-color: #4a9fd0;
            --primary-dark: #3a80b0;
            --text-dark: #f0f8ff;
            --text-light: #d0e4ff;
            --accent-shadow: rgba(0, 0, 0, 0.8);
            --btn-bg: #2a2a2a;
            --btn-color: #ffffff;
            --btn-shadow: 0 6px 14px #000000;
            --panel-bg: rgba(15, 15, 15, 0.95);
            --marker-bg: rgba(30, 30, 30, 0.95);
            --status-bg: #1e3a5a;
        }

        [data-theme="forest"] {
            --bg-gradient-start: #1a3a2a;
            --bg-gradient-end: #0f2a1f;
            --card-bg: rgba(20, 40, 30, 0.9);
            --primary-color: #3cb371;
            --primary-dark: #2e8b57;
            --text-dark: #e0f0e0;
            --text-light: #c0e0c0;
            --accent-shadow: rgba(0, 40, 20, 0.5);
            --btn-bg: #2a5a3a;
            --btn-color: #ffffff;
            --btn-shadow: 0 6px 14px #1a3a2a;
            --panel-bg: rgba(20, 45, 30, 0.9);
            --marker-bg: rgba(30, 60, 40, 0.95);
            --status-bg: #2a5a4a;
        }

        [data-theme="flame"] {
            --bg-gradient-start: #fde0e0;
            --bg-gradient-end: #ffcccc;
            --card-bg: rgba(255, 240, 240, 0.8);
            --primary-color: #c0392b;
            --primary-dark: #a03020;
            --text-dark: #4a2a2a;
            --text-light: #6d4a4a;
            --accent-shadow: rgba(150, 50, 50, 0.2);
            --btn-bg: #ffffff;
            --btn-color: #c0392b;
            --btn-shadow: 0 6px 14px #e0b0b0;
            --panel-bg: rgba(255, 245, 245, 0.75);
            --marker-bg: rgba(255, 240, 240, 0.9);
            --status-bg: #ffd0d0;
        }

        [data-theme="graphite"] {
            --bg-gradient-start: #e0e0e0;
            --bg-gradient-end: #d0d0d0;
            --card-bg: rgba(255, 255, 255, 0.7);
            --primary-color: #5a6b7a;
            --primary-dark: #4a5a6a;
            --text-dark: #2a2a2a;
            --text-light: #4a4a4a;
            --accent-shadow: rgba(80, 80, 80, 0.2);
            --btn-bg: #ffffff;
            --btn-color: #4a4a4a;
            --btn-shadow: 0 6px 14px #b0b0b0;
            --panel-bg: rgba(255, 255, 255, 0.65);
            --marker-bg: rgba(255, 255, 255, 0.8);
            --status-bg: #c0c0c0;
        }

        [data-theme="lavender"] {
            --bg-gradient-start: #f0e0ff;
            --bg-gradient-end: #e0d0ff;
            --card-bg: rgba(255, 240, 255, 0.8);
            --primary-color: #8e44ad;
            --primary-dark: #6e3490;
            --text-dark: #3a2a4a;
            --text-light: #5a4a6a;
            --accent-shadow: rgba(100, 50, 150, 0.2);
            --btn-bg: #ffffff;
            --btn-color: #8e44ad;
            --btn-shadow: 0 6px 14px #d0c0e0;
            --panel-bg: rgba(255, 245, 255, 0.75);
            --marker-bg: rgba(255, 240, 255, 0.9);
            --status-bg: #e0d0ff;
        }

        body {
            background: linear-gradient(145deg, var(--bg-gradient-start), var(--bg-gradient-end));
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
            padding: 20px;
            margin: 0;
            transition: background 0.2s;
        }

        /* 不显示右侧垂直滚动条，保留滚动 */
        html, body,
        .marker-panel,
        .listen-mode-content, .review-mode-content,
        .subtitle-display,
        .immersive-lyrics-scroll,
        .marker-grid,
        #recognitionLog {
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        html::-webkit-scrollbar,
        body::-webkit-scrollbar,
        .marker-panel::-webkit-scrollbar,
        .listen-mode-content::-webkit-scrollbar,
        .review-mode-content::-webkit-scrollbar,
        .subtitle-display::-webkit-scrollbar,
        .immersive-lyrics-scroll::-webkit-scrollbar,
        .marker-grid::-webkit-scrollbar,
        #recognitionLog::-webkit-scrollbar {
            display: none;
        }

        /* 全屏模式样式 */
        .fullscreen-mode .marker-panel {
            display: none !important;
        }
        .fullscreen-mode .player-card {
            flex: 1;
        }
        /* 全屏模式下听力模式字幕放大 */
        .fullscreen-mode .listen-mode-content .subtitle-display {
            font-size: 2rem;
            min-height: 400px;
            padding: 40px;
        }
        .fullscreen-mode .listen-mode-content .subtitle-item.current {
            font-size: 2.2rem;
            background-color: rgba(255,255,255,0.4);
        }
        .fullscreen-mode .listen-mode-content .subtitle-item.prev,
        .fullscreen-mode .listen-mode-content .subtitle-item.next {
            font-size: 1.4rem;
            opacity: 0.8;
        }

        .fullscreen-btn, .lang-switch-btn {
            background: transparent;
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            color: var(--text-light);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-left: 4px;
        }
        .fullscreen-btn:hover, .lang-switch-btn:hover {
            background: var(--btn-bg);
        }

        .player-split {
            max-width: 1400px;
            width: 100%;
            display: flex;
            gap: 20px;
            align-items: stretch;
        }

        /* 左侧主卡片 */
        .player-card {
            flex: 1.618;
            background: var(--card-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 42px;
            box-shadow: 0 25px 45px -10px var(--accent-shadow);
            padding: 28px 28px 35px;
            border: 1px solid rgba(255,255,255,0.5);
            transition: background 0.2s;
            color: var(--text-dark);
            display: flex;
            flex-direction: column;
        }

        /* 右侧双模式面板 */
        .marker-panel {
            flex: 1;
            background: var(--panel-bg);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 38px;
            box-shadow: 0 20px 35px -10px var(--accent-shadow);
            padding: 20px 18px;
            border: 1px solid rgba(255,255,255,0.6);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            transition: background 0.2s;
            color: var(--text-dark);
        }

        /* 标签切换栏 */
        .panel-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            background: var(--btn-bg);
            padding: 6px;
            border-radius: 50px;
            box-shadow: var(--btn-shadow);
            flex-shrink: 0;
        }

        .tab-btn {
            flex: 1;
            background: transparent;
            border: none;
            padding: 10px 16px;
            border-radius: 40px;
            font-weight: 600;
            color: var(--text-light);
            cursor: pointer;
            transition: 0.1s;
            font-size: 0.95rem;
        }

        .tab-btn.active {
            background: var(--primary-color);
            color: white;
            box-shadow: 0 4px 10px var(--primary-color);
        }

        /* 听力模式内容 */
        .listen-mode-content, .review-mode-content, .library-mode-content {
            display: flex;
            flex-direction: column;
            flex: 1;
            overflow-y: auto;
        }

        .hidden {
            display: none !important;
        }

        .subtitle-toolbar {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
            flex-wrap: wrap;
            flex-shrink: 0;
        }

        /* 字幕显示区域改为三行滚动 */
        .subtitle-display {
            background: rgba(255,255,255,0.5);
            border-radius: 30px;
            padding: 20px;
            flex: 1;
            min-height: 120px;
            border: 1px solid white;
            box-shadow: inset 0 2px 8px rgba(0,0,0,0.02);
            font-size: 1.1rem;
            line-height: 1.5;
            color: var(--text-dark);
            display: flex;
            flex-direction: column;
            justify-content: center;
            margin-bottom: 15px;
            overflow-y: auto;
            word-break: break-word;
            position: relative;
        }

        .subtitle-list {
            width: 100%;
            text-align: center;
            display: flex;
            flex-direction: column;
            height: 100%;
            justify-content: space-around;
        }

        .subtitle-item {
            padding: 8px 0;
            transition: all 0.1s;
        }

        .subtitle-item.prev, .subtitle-item.next {
            opacity: 0.7;
            font-size: 0.95rem;
        }

        .subtitle-item.far {
            display: none;
        }

        .subtitle-item.current {
            font-weight: bold;
            background-color: rgba(255,255,255,0.3);
            border-radius: 30px;
            font-size: 1.15rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        .subtitle-fullscreen-btn {
            position: absolute;
            top: 12px;
            right: 12px;
            background: rgba(255,255,255,0.3);
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 0.9rem;
            color: var(--text-light);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.6;
            transition: all 0.3s;
            z-index: 10;
        }
        .subtitle-fullscreen-btn:hover {
            opacity: 1;
            background: rgba(255,255,255,0.5);
            transform: scale(1.1);
        }

        /* ========== 沉浸式歌词层 (Apple Music 风格) ========== */
        /* 字幕全屏时隐藏主窗口，仅显示歌词层，不遮挡 */
        body.immersive-lyrics-fullscreen .player-split {
            display: none !important;
        }
        .immersive-lyrics-layer {
            position: fixed;
            inset: 0;
            z-index: 100000;
            background: linear-gradient(180deg, #0a0a0c 0%, #12121a 50%, #0a0a0c 100%);
            overflow: hidden;
            display: none;
            flex-direction: column;
        }
        .immersive-lyrics-layer.immersive-active {
            display: flex;
        }
        .immersive-lyrics-mask {
            flex: 0 0 60px;
            min-height: 60px;
            pointer-events: none;
        }
        /* 上渐变遮罩：实色 → 半透明 → 透明 */
        .immersive-lyrics-mask-top {
            background: linear-gradient(to bottom, #0a0a0c 0%, rgba(10,10,12,0.85) 35%, rgba(10,10,12,0.3) 70%, transparent 100%);
        }
        /* 下渐变遮罩：透明 → 半透明 → 实色 */
        .immersive-lyrics-mask-bottom {
            background: linear-gradient(to top, #0a0a0c 0%, rgba(10,10,12,0.85) 35%, rgba(10,10,12,0.3) 70%, transparent 100%);
        }
        .immersive-lyrics-scroll {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            display: flex;
            flex-direction: column;
        }
        /* 上中下布局：上下留白使当前句可滚动到视口正中，中间为当前句突出区 */
        .immersive-lyrics-list {
            padding: 35vh 24px 35vh;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .immersive-lyrics-line {
            width: 100%;
            max-width: 720px;
            text-align: center;
            padding: 14px 20px;
            margin: 4px 0;
            font-size: 1.25rem;
            line-height: 1.5;
            color: rgba(255,255,255,0.3);
            transition: opacity 0.35s ease, transform 0.35s ease, color 0.35s ease;
            transform: scale(0.9);
        }
        /* 上：前一句，弱化 */
        .immersive-lyrics-line.immersive-prev {
            color: rgba(255,255,255,0.45);
            opacity: 0.65;
            transform: scale(0.94);
        }
        /* 下：后一句，弱化 */
        .immersive-lyrics-line.immersive-next {
            color: rgba(255,255,255,0.45);
            opacity: 0.65;
            transform: scale(0.94);
        }
        /* 中：当前播放句，居中突出显示 */
        .immersive-lyrics-line.immersive-current {
            color: #fff;
            font-size: 2.15rem;
            font-weight: 600;
            opacity: 1;
            transform: scale(1.08);
            text-shadow: 0 0 32px rgba(255,255,255,0.25), 0 2px 8px rgba(0,0,0,0.4);
            background: transparent;
            box-shadow: 0 0 40px rgba(255,255,255,0.08), 0 4px 20px rgba(0,0,0,0.3);
            border-radius: 16px;
            border: 1px solid rgba(255,255,255,0.1);
        }
        .immersive-lyrics-exit {
            position: fixed;
            top: 20px;
            right: 20px;
            width: 44px;
            height: 44px;
            border: none;
            border-radius: 50%;
            background: rgba(255,255,255,0.12);
            color: #fff;
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 100002;
            transition: background 0.2s;
        }
        .immersive-lyrics-exit:hover {
            background: rgba(255,255,255,0.22);
        }
        .immersive-lyrics-status-bar {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            border-radius: 30px;
            padding: 12px 24px;
            display: flex;
            align-items: center;
            gap: 16px;
            z-index: 100001;
        }
        .immersive-lyrics-font-size {
            display: flex;
            align-items: center;
            gap: 8px;
            color: rgba(255,255,255,0.7);
            font-size: 0.9rem;
        }
        .immersive-lyrics-font-size i {
            font-size: 1rem;
        }
        .font-size-btn {
            width: 28px;
            height: 28px;
            border: none;
            border-radius: 50%;
            background: rgba(255,255,255,0.15);
            color: #fff;
            font-size: 0.75rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }
        .font-size-btn:hover {
            background: rgba(255,255,255,0.25);
        }
        .font-size-btn:active {
            background: rgba(255,255,255,0.35);
        }
        .font-size-value {
            min-width: 42px;
            text-align: center;
            font-size: 0.85rem;
            color: rgba(255,255,255,0.9);
        }

        [data-theme="purple"] .subtitle-display {
            background: rgba(30, 20, 45, 0.7);
        }

        [data-theme="purple"] .subtitle-item.prev,
        [data-theme="purple"] .subtitle-item.next {
            opacity: 0.85;
        }

        [data-theme="purple"] .subtitle-item.current {
            background-color: rgba(100, 70, 150, 0.4);
        }

        [data-theme="purple"] .ab-section {
            background: rgba(30, 20, 45, 0.6);
        }

        [data-theme="purple"] .ab-item {
            background: rgba(50, 40, 70, 0.8);
        }

        [data-theme="purple"] .ab-btn {
            background: rgba(50, 40, 70, 0.9);
            border-color: rgba(120, 90, 160, 0.5);
        }

        [data-theme="purple"] .ab-toggle,
        [data-theme="purple"] .single-loop-toggle {
            background: rgba(50, 40, 70, 0.8);
        }

        [data-theme="purple"] .time-badge {
            background: rgba(80, 60, 110, 0.9);
            color: #e8dff5;
        }

        [data-theme="purple"] .file-area {
            background: rgba(30, 20, 45, 0.6);
        }

        [data-theme="polar"] .subtitle-display {
            background: rgba(5, 5, 5, 0.8);
        }

        [data-theme="polar"] .subtitle-item.prev,
        [data-theme="polar"] .subtitle-item.next {
            opacity: 0.85;
        }

        [data-theme="polar"] .subtitle-item.current {
            background-color: rgba(60, 100, 140, 0.4);
        }

        [data-theme="polar"] .ab-section {
            background: rgba(5, 5, 5, 0.7);
        }

        [data-theme="polar"] .ab-item {
            background: rgba(25, 25, 25, 0.9);
        }

        [data-theme="polar"] .ab-btn {
            background: rgba(25, 25, 25, 0.95);
            border-color: rgba(60, 100, 140, 0.5);
        }

        [data-theme="polar"] .ab-toggle,
        [data-theme="polar"] .single-loop-toggle {
            background: rgba(25, 25, 25, 0.9);
        }

        [data-theme="polar"] .time-badge {
            background: rgba(40, 60, 80, 0.9);
            color: #f0f8ff;
        }

        [data-theme="polar"] .file-area {
            background: rgba(5, 5, 5, 0.7);
        }

        [data-theme="forest"] .subtitle-display {
            background: rgba(15, 30, 20, 0.7);
        }

        [data-theme="forest"] .subtitle-item.prev,
        [data-theme="forest"] .subtitle-item.next {
            opacity: 0.85;
        }

        [data-theme="forest"] .subtitle-item.current {
            background-color: rgba(40, 100, 60, 0.4);
        }

        [data-theme="forest"] .ab-section {
            background: rgba(15, 30, 20, 0.6);
        }

        [data-theme="forest"] .ab-item {
            background: rgba(25, 50, 35, 0.8);
        }

        [data-theme="forest"] .ab-btn {
            background: rgba(25, 50, 35, 0.9);
            border-color: rgba(60, 140, 90, 0.5);
        }

        [data-theme="forest"] .ab-toggle,
        [data-theme="forest"] .single-loop-toggle {
            background: rgba(25, 50, 35, 0.8);
        }

        [data-theme="forest"] .time-badge {
            background: rgba(40, 80, 55, 0.9);
            color: #e0f0e0;
        }

        [data-theme="forest"] .file-area {
            background: rgba(15, 30, 20, 0.6);
        }

        /* 复盘模式内容 */
        .listen-mode-content h2,
        .review-mode-content h2 {
            font-size: 1.6rem;
            color: var(--text-dark);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            border-bottom: 2px solid rgba(0,70,120,0.15);
            padding-bottom: 12px;
            flex-shrink: 0;
        }
        .review-mode-content h2 {
            justify-content: space-between;
        }

        /* 工具栏容器 */
        .marker-toolbar {
            display: flex;
            gap: 12px;
            margin-bottom: 18px;
            flex-wrap: wrap;
            align-items: center;
            flex-shrink: 0;
        }

        /* 按钮基础样式 */
        .marker-btn {
            background: var(--btn-bg);
            border: none;
            border-radius: 40px;
            padding: 10px 12px;
            font-weight: 600;
            color: var(--btn-color);
            box-shadow: var(--btn-shadow);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            transition: 0.1s;
            border: 1px solid rgba(255,255,255,0.5);
            font-size: 0.9rem;
            white-space: nowrap;
        }

        .marker-btn.active {
            background: var(--primary-color);
            color: white;
        }

        .marker-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            pointer-events: none;
        }

        .noise-preset-btn {
            transition: all 0.2s ease;
        }

        .noise-preset-btn:hover {
            transform: scale(1.05);
        }

        .noise-preset-btn.active {
            background: var(--primary-color) !important;
            color: white !important;
            transform: scale(1.05);
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }

        .record-status {
            background: var(--status-bg);
            border-radius: 30px;
            padding: 10px 15px;
            margin: 10px 0 15px;
            font-weight: 600;
            color: var(--text-dark);
            flex-shrink: 0;
        }

        .marker-grid {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin: 5px 0 15px;
            max-height: 400px;
            overflow-y: auto;
            flex-shrink: 1;
        }

        .marker-item {
            background: var(--marker-bg);
            border-radius: 50px;
            padding: 8px 15px 8px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border: 1px solid white;
            box-shadow: 0 4px 8px rgba(0,0,0,0.05);
            cursor: grab;
        }

        .marker-item:active { cursor: grabbing; }

        .text-label {
            font-weight: 700;
            color: var(--text-dark);
            min-width: 70px;
            cursor: pointer;
            padding: 5px 0;
            user-select: none;
        }

        .text-label:hover {
            text-decoration: underline;
            color: var(--primary-color);
        }

        .time-clickable {
            font-family: monospace;
            font-weight: 600;
            background: rgba(255,255,255,0.8);
            padding: 5px 15px;
            border-radius: 30px;
            color: var(--text-dark);
            cursor: pointer;
            margin: 0 10px;
        }

        .time-clickable:hover {
            background: var(--primary-color);
            color: white;
        }

        .time-clickable.unset {
            background: #eef2f6;
            color: #8ba0b5;
            cursor: default;
        }

        .del-marker {
            background: none;
            border: none;
            color: #c05757;
            font-size: 1.2rem;
            cursor: pointer;
            width: 34px;
            height: 34px;
            border-radius: 50%;
        }

        .del-marker:hover { background: #ffe1e1; }

        .modify-time-btn {
            background: none;
            border: none;
            color: var(--btn-color);
            font-size: 1.2rem;
            cursor: pointer;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .modify-time-btn:hover { background: rgba(0,0,0,0.05); }

        .footer-note {
            margin-top: 22px;
            text-align: center;
            color: var(--text-light);
        }
        .footer-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
            align-items: center;
        }
        .footer-link {
            color: var(--primary-color);
            text-decoration: none;
            font-size: 0.9rem;
        }
        .footer-link:hover {
            text-decoration: underline;
        }

        /* 开发者信息样式 */
        .developer-info {
            font-size: 0.8rem;
            color: var(--text-light);
            opacity: 0.8;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
            align-items: center;
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px dashed rgba(128,128,128,0.3);
        }
        .developer-info i {
            margin-right: 2px;
        }

        /* 左侧原有样式 */
        .header-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
            flex-wrap: wrap;
            gap: 15px;
        }

        h1 {
            font-size: 1.9rem;
            font-weight: 500;
            color: var(--text-dark);
            display: flex;
            align-items: center;
            gap: 12px;
            border-bottom: 2px solid rgba(0,70,120,0.15);
            padding-bottom: 12px;
            margin: 0;
        }

        .theme-switcher {
            display: flex;
            gap: 4px;
            background: var(--btn-bg);
            padding: 6px 10px;
            border-radius: 40px;
            box-shadow: var(--btn-shadow);
        }

        .theme-btn {
            border: none;
            background: transparent;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            color: var(--text-light);
        }

        .theme-btn.active {
            background: var(--primary-color);
            color: white;
        }

        .file-area {
            background: rgba(255,255,255,0.5);
            border-radius: 60px;
            padding: 6px 6px 6px 22px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 30px;
            gap: 10px;
        }

        .file-info {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--text-dark);
        }

        .upload-btn {
            background: var(--primary-color);
            border: none;
            color: white;
            padding: 12px 26px;
            border-radius: 40px;
            font-weight: 600;
            cursor: pointer;
        }

        .progress-section {
            margin: 20px 0 18px;
            position: relative;
        }

        .time-row {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-light);
            margin-bottom: 8px;
        }

        .time-row span {
            background: rgba(255,255,255,0.6);
            padding: 6px 16px;
            border-radius: 40px;
        }

        .progress-wrapper {
            position: relative;
            width: 100%;
            height: 14px;
        }

        #seekBar {
            width: 100%;
            height: 14px;
            border-radius: 20px;
            background: linear-gradient(90deg, #bed9f0, var(--primary-color));
            -webkit-appearance: none;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 2;
        }

        #seekBar::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 22px;
            height: 22px;
            background: white;
            border-radius: 50%;
            border: 2px solid var(--primary-color);
            cursor: pointer;
            margin-top: -4px;
        }

        .progress-markers {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 14px;
            pointer-events: none;
            z-index: 3;
        }

        .progress-marker {
            position: absolute;
            top: -12px;
            transform: translateX(-50%);
            width: 24px;
            height: 24px;
            background: var(--primary-color);
            color: white;
            font-size: 12px;
            font-weight: bold;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 6px rgba(0,0,0,0.3);
            border: 2px solid white;
            cursor: pointer;
            pointer-events: auto;
        }

        .main-controls {
            display: flex;
            gap: 12px;
            margin: 24px 0 18px;
            flex-wrap: wrap;
        }

        .ctrl-btn {
            background: var(--btn-bg);
            border: none;
            min-width: 54px;
            height: 54px;
            border-radius: 40px;
            font-size: 1.3rem;
            color: var(--btn-color);
            box-shadow: var(--btn-shadow);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 14px;
            white-space: nowrap;
        }

        .ctrl-btn.small-btn {
            font-size: 1.1rem;
            padding: 0 12px;
        }

        .ctrl-btn.active {
            background: var(--primary-color);
            color: white;
        }

        /* 禁用状态样式 */
        .ctrl-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
            pointer-events: none;
        }

        .prev-next-controls {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .prev-next-controls .ctrl-btn {
            width: auto;
            min-width: 90px;
        }

        .rate-box, .volume-wrap {
            background: var(--btn-bg);
            border-radius: 40px;
            padding: 6px 18px;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: var(--btn-shadow);
            height: 54px;
            box-sizing: border-box;
        }

        .rate-box select {
            border: none;
            background: transparent;
            font-weight: 600;
            color: var(--btn-color);
            outline: none;
            font-size: 1rem;
        }

        .volume-wrap input {
            width: 80px;
        }

        .ab-section {
            background: rgba(255,255,255,0.5);
            border-radius: 48px;
            padding: 18px;
            margin-top: 20px;
        }

        .ab-badges {
            display: flex;
            gap: 25px;
            justify-content: center;
            margin-bottom: 16px;
            flex-wrap: wrap;
        }

        .ab-item {
            background: rgba(255,255,255,0.7);
            border-radius: 50px;
            padding: 10px 24px;
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .time-badge {
            background: white;
            padding: 5px 18px;
            border-radius: 30px;
            font-family: monospace;
        }

        .ab-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .ab-btn {
            background: white;
            border: 1px solid #b5d1e9;
            padding: 12px 22px;
            border-radius: 40px;
            font-weight: 600;
            color: var(--text-dark);
            cursor: pointer;
        }

        .ab-toggle, .single-loop-toggle {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(255,255,255,0.7);
            padding: 8px 24px;
            border-radius: 40px;
            white-space: nowrap;
        }

        .subtitle-style-row {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
            margin-bottom: 10px;
            flex-shrink: 0;
        }
        .subtitle-style-row label {
            font-size: 0.85rem;
            color: var(--text-light);
        }
        .subtitle-style-row select {
            padding: 4px 10px;
            border-radius: 20px;
            border: 1px solid rgba(0,0,0,0.1);
        }

        /* 新增进度条样式 */
        .progress-container {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 10px 0;
        }
        progress {
            flex: 1;
            height: 8px;
            border-radius: 4px;
            background-color: rgba(255,255,255,0.3);
        }
        progress::-webkit-progress-bar {
            background-color: rgba(255,255,255,0.3);
            border-radius: 4px;
        }
        progress::-webkit-progress-value {
            background-color: var(--primary-color);
            border-radius: 4px;
        }
        #recognitionProgressText {
            font-size: 0.8rem;
            color: var(--text-light);
            min-width: 45px;
        }
        #recognitionTimeRemaining {
            font-size: 0.8rem;
            color: var(--text-light);
            min-width: 80px;
            white-space: nowrap;
        }
        #recognitionLog {
            margin-top: 6px;
            padding: 8px;
            max-height: 120px;
            overflow-y: auto;
            font-size: 0.75rem;
            color: var(--text-light);
            background: rgba(0,0,0,0.15);
            border-radius: 6px;
            white-space: pre-wrap;
            word-break: break-all;
        }

        /* 辅助 */
        .hidden { display: none !important; }

        /* 响应式调整 */
        @media screen and (max-width: 1100px) {
            .player-split {
                flex-direction: column;
            }
            .marker-panel {
                max-height: none;
            }
            .ctrl-btn {
                min-width: 48px;
                height: 48px;
                font-size: 1.2rem;
            }
            .prev-next-controls .ctrl-btn {
                min-width: 80px;
            }
            .rate-box, .volume-wrap {
                height: 48px;
            }
        }

        /* 后台管理样式 */
        body.admin-page {
            padding: 0;
            min-height: 100vh;
            display: block;
        }

        .admin-wrap {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .admin-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 24px;
            background: var(--card-bg);
            border-bottom: 1px solid rgba(0,0,0,0.08);
            backdrop-filter: blur(10px);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .admin-head h1 {
            font-size: 1.4rem;
            color: var(--text-dark);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .admin-head h1 i {
            color: var(--primary-color);
        }

        .admin-btn-row {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .admin-container {
            display: flex;
            flex: 1;
        }

        .admin-sidebar {
            width: 220px;
            background: var(--card-bg);
            border-right: 1px solid rgba(0,0,0,0.08);
            padding: 16px 0;
            flex-shrink: 0;
            backdrop-filter: blur(10px);
        }

        .admin-nav-group {
            margin-bottom: 8px;
        }

        .admin-nav-title {
            font-size: 0.75rem;
            color: var(--text-light);
            padding: 8px 20px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .admin-nav-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 20px;
            color: var(--text-dark);
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s;
            border-left: 3px solid transparent;
        }

        .admin-nav-item:hover {
            background: rgba(0,0,0,0.04);
        }

        .admin-nav-item.active {
            background: rgba(var(--primary-color), 0.08);
            border-left-color: var(--primary-color);
            color: var(--primary-color);
        }

        .admin-nav-item i {
            width: 20px;
            text-align: center;
            font-size: 0.95rem;
        }

        .admin-nav-item span {
            font-size: 0.9rem;
        }

        .admin-main {
            flex: 1;
            padding: 24px;
            overflow-y: auto;
            min-width: 0;
        }

        .admin-page-content {
            display: none;
        }

        .admin-page-content.active {
            display: block;
        }

        .admin-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .admin-card {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 20px;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        }

        .admin-card h2 {
            font-size: 1.1rem;
            color: var(--text-dark);
            margin: 0 0 16px;
            display: flex;
            align-items: center;
            gap: 8px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(0,0,0,0.08);
        }

        .admin-card h2 i {
            color: var(--primary-color);
        }

        .admin-card.full {
            grid-column: 1 / -1;
        }

        .admin-kpis {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 20px;
        }

        .admin-kpi {
            background: rgba(255,255,255,0.6);
            border-radius: 12px;
            padding: 16px;
            text-align: center;
        }

        .admin-kpi .small {
            font-size: 0.8rem;
            color: var(--text-light);
            margin-bottom: 4px;
        }

        .admin-kpi .v {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-color);
        }

        .admin-kpi .trend {
            font-size: 0.75rem;
            margin-top: 4px;
        }

        .admin-kpi .trend.up {
            color: #10b981;
        }

        .admin-kpi .trend.down {
            color: #ef4444;
        }

        .admin-chart-wrap {
            height: 200px;
            margin-top: 16px;
        }

        .admin-form-row {
            margin-bottom: 12px;
        }

        .admin-form-row label {
            display: block;
            font-size: 0.85rem;
            color: var(--text-light);
            margin-bottom: 4px;
        }

        .admin-form-row input,
        .admin-form-row select,
        .admin-form-row textarea {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid rgba(0,0,0,0.1);
            border-radius: 8px;
            background: rgba(255,255,255,0.8);
            color: var(--text-dark);
            font-size: 0.9rem;
            box-sizing: border-box;
        }

        .admin-form-row input:focus,
        .admin-form-row select:focus,
        .admin-form-row textarea:focus {
            outline: none;
            border-color: var(--primary-color);
        }

        .admin-table-wrap {
            overflow-x: auto;
            margin-top: 12px;
        }

        .admin-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.9rem;
        }

        .admin-table th,
        .admin-table td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid rgba(0,0,0,0.06);
        }

        .admin-table th {
            font-weight: 600;
            color: var(--text-light);
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .admin-table td {
            color: var(--text-dark);
        }

        .admin-table tr:hover td {
            background: rgba(0,0,0,0.02);
        }

        .admin-badge {
            display: inline-block;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 500;
        }

        .admin-badge.success {
            background: rgba(16, 185, 129, 0.15);
            color: #10b981;
        }

        .admin-badge.warning {
            background: rgba(245, 158, 11, 0.15);
            color: #f59e0b;
        }

        .admin-badge.danger {
            background: rgba(239, 68, 68, 0.15);
            color: #ef4444;
        }

        .admin-badge.info {
            background: rgba(59, 130, 246, 0.15);
            color: #3b82f6;
        }

        .admin-msg {
            margin-top: 12px;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 0.85rem;
        }

        .admin-msg.ok {
            background: rgba(16, 185, 129, 0.1);
            color: #10b981;
        }

        .admin-msg.err {
            background: rgba(239, 68, 68, 0.1);
            color: #ef4444;
        }

        .admin-pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 16px;
        }

        .admin-pagination button {
            padding: 6px 12px;
            border: 1px solid rgba(0,0,0,0.1);
            background: rgba(255,255,255,0.8);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .admin-pagination button:hover:not(:disabled) {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }

        .admin-pagination button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .admin-pagination span {
            font-size: 0.85rem;
            color: var(--text-light);
        }

        .admin-search-bar {
            display: flex;
            gap: 10px;
            margin-bottom: 16px;
            flex-wrap: wrap;
        }

        .admin-search-bar input,
        .admin-search-bar select {
            padding: 8px 12px;
            border: 1px solid rgba(0,0,0,0.1);
            border-radius: 8px;
            background: rgba(255,255,255,0.8);
            font-size: 0.9rem;
        }

        .admin-search-bar input {
            flex: 1;
            min-width: 200px;
        }

        .admin-user-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .admin-user-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
        }

        .admin-user-name {
            font-weight: 500;
            color: var(--text-dark);
        }

        .admin-logout {
            color: var(--text-light);
            text-decoration: none;
            font-size: 0.85rem;
            margin-left: 8px;
        }

        .admin-logout:hover {
            color: var(--primary-color);
        }

        .admin-welcome {
            margin-bottom: 24px;
        }

        .admin-welcome h2 {
            font-size: 1.4rem;
            color: var(--text-dark);
            margin: 0 0 4px;
        }

        .admin-welcome p {
            color: var(--text-light);
            margin: 0;
            font-size: 0.9rem;
        }

        .admin-quick-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            margin-bottom: 24px;
        }

        .admin-quick-stat {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 16px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .admin-quick-stat i {
            font-size: 1.5rem;
            color: var(--primary-color);
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(var(--primary-color), 0.1);
            border-radius: 10px;
        }

        .admin-quick-stat .info .num {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-dark);
        }

        .admin-quick-stat .info .label {
            font-size: 0.8rem;
            color: var(--text-light);
        }

        .admin-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

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

        .admin-modal-content {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 24px;
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
        }

        .admin-modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
        }

        .admin-modal-header h3 {
            margin: 0;
            font-size: 1.2rem;
            color: var(--text-dark);
        }

        .admin-modal-close {
            background: none;
            border: none;
            font-size: 1.2rem;
            cursor: pointer;
            color: var(--text-light);
        }

        .admin-modal-footer {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            margin-top: 20px;
        }

        @media (max-width: 900px) {
            .admin-sidebar {
                display: none;
            }

            .admin-kpis {
                grid-template-columns: repeat(2, 1fr);
            }

            .admin-head {
                flex-wrap: wrap;
                gap: 10px;
            }
        }

        @media (max-width: 600px) {
            .admin-kpis {
                grid-template-columns: 1fr;
            }

            .admin-main {
                padding: 16px;
            }

            .admin-card {
                padding: 16px;
            }
        }

        @media screen and (max-width: 700px) {
            .main-controls {
                justify-content: center;
            }
            .ab-actions {
                flex-direction: column;
                align-items: stretch;
            }
            .ab-toggle, .single-loop-toggle {
                justify-content: center;
            }
            .marker-btn {
                padding: 8px 10px;
                font-size: 0.85rem;
            }
            .ctrl-btn {
                min-width: 44px;
                height: 44px;
                font-size: 1.1rem;
            }
            .prev-next-controls .ctrl-btn {
                min-width: 70px;
            }
        }

        /* 快捷键帮助面板 */
        .shortcut-help-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 99999;
            background: rgba(0,0,0,0.5);
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .shortcut-help-overlay.shortcut-help-visible {
            display: flex;
        }
        .shortcut-help-panel {
            background: var(--card-bg);
            border-radius: 16px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.3);
            max-width: 520px;
            width: 100%;
            max-height: 85vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }
        .shortcut-help-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            border-bottom: 1px solid rgba(0,0,0,0.08);
        }
        .shortcut-help-header h2 {
            margin: 0;
            font-size: 1.15rem;
            color: var(--text-dark);
        }
        .shortcut-help-close {
            background: none;
            border: none;
            padding: 8px;
            cursor: pointer;
            color: var(--text-light);
        }
        .shortcut-help-close:hover { opacity: 0.8; }
        .shortcut-help-content {
            padding: 16px 20px 20px;
            overflow-y: auto;
            font-size: 0.9rem;
            color: var(--text-dark);
        }
        .shortcut-help-content section {
            margin-bottom: 14px;
        }
        .shortcut-help-content section:last-child { margin-bottom: 0; }
        .shortcut-help-content h3 {
            margin: 0 0 8px 0;
            font-size: 0.95rem;
            color: var(--primary-color);
        }
        .shortcut-help-content table {
            width: 100%;
            border-collapse: collapse;
        }
        .shortcut-help-content td {
            padding: 4px 10px 4px 0;
            vertical-align: top;
        }
        .shortcut-help-content td:first-child {
            white-space: nowrap;
            font-family: ui-monospace, monospace;
            color: var(--primary-dark);
        }

        /* ============================================
           桌面端多尺寸自适应布局系统
           覆盖：小笔记本 / 1080p / 2K / 4K教学大屏
           ============================================ */

        /* 一、字号系统 - 使用 clamp() 实现平滑缩放 */
        html {
            font-size: clamp(14px, 0.9vw, 18px);
        }

        /* 二、主操作按钮组 - 永远不换行，保留原有外边距 */
        .main-controls {
            flex-wrap: nowrap;
            gap: clamp(8px, 1vw, 16px);
        }

        .main-controls .ctrl-btn {
            flex-shrink: 0;
        }

        .prev-next-controls {
            flex-shrink: 0;
            flex-wrap: nowrap;
        }

        .prev-next-controls .ctrl-btn {
            flex-shrink: 0;
        }

        /* 三、工具栏按钮组 - 保留原有外边距和对齐 */
        .marker-toolbar {
            gap: clamp(8px, 1vw, 12px);
        }

        .marker-toolbar .marker-btn {
            flex-shrink: 0;
        }

        /* 四、AB操作区 - 保留居中 */
        .ab-actions {
            gap: clamp(8px, 1vw, 14px);
        }

        .ab-actions .ab-btn,
        .ab-actions .ab-toggle,
        .ab-actions .single-loop-toggle {
            flex-shrink: 0;
        }

        /* 五、沉浸式歌词层 - 大屏优化 */
        .immersive-lyrics-line.immersive-current {
            font-size: clamp(1.5rem, 3vw, 3rem);
            padding: clamp(12px, 2vw, 24px);
        }

        .immersive-lyrics-line {
            font-size: clamp(1rem, 1.5vw, 1.5rem);
            padding: clamp(8px, 1vw, 16px);
        }

        /* ============================================
           六、屏幕尺寸断点 - 4层分层（桌面端专用）
           ============================================ */

        /* 小笔记本 (1366×768) */
        @media screen and (min-width: 1101px) and (max-width: 1366px) {
            .player-split {
                gap: 15px;
            }

            .player-card {
                padding: 20px;
                border-radius: 30px;
            }

            .marker-panel {
                padding: 15px;
                border-radius: 28px;
            }

            .header-bar {
                gap: 10px;
            }

            h1 {
                font-size: 1.4rem;
            }

            .ctrl-btn {
                min-width: 48px;
                height: 48px;
                font-size: 1.1rem;
            }

            .ctrl-btn.small-btn {
                min-width: 42px;
                height: 42px;
                font-size: 1rem;
            }

            .prev-next-controls .ctrl-btn {
                min-width: 80px;
            }

            .rate-box,
            .volume-wrap {
                height: 48px;
                padding: 6px 14px;
            }

            .theme-switcher {
                padding: 4px 8px;
                gap: 4px;
            }

            .theme-btn {
                width: 30px;
                height: 30px;
                font-size: 1rem;
            }

            .marker-btn {
                padding: 8px 10px;
                font-size: 0.85rem;
            }

            .ab-section {
                padding: 14px;
                border-radius: 36px;
            }

            .ab-btn {
                padding: 10px 18px;
                font-size: 0.9rem;
            }

            .ab-item {
                padding: 8px 18px;
                font-size: 0.9rem;
            }

            .subtitle-display {
                min-height: 150px;
                padding: 15px;
                font-size: 1rem;
            }

            .subtitle-item.current {
                font-size: 1.05rem;
            }

            .immersive-lyrics-list {
                padding: 30vh 16px 30vh;
            }

            .immersive-lyrics-status-bar {
                padding: 10px 18px;
                gap: 12px;
            }

            .font-size-btn {
                width: 24px;
                height: 24px;
            }
        }

        /* 2K显示器 (1921-2560) */
        @media screen and (min-width: 1921px) and (max-width: 2560px) {
            .player-split {
                max-width: 1800px;
                gap: 25px;
            }

            .player-card {
                padding: 32px;
                border-radius: 48px;
            }

            .marker-panel {
                padding: 24px;
                border-radius: 42px;
            }

            h1 {
                font-size: 2.2rem;
            }

            .ctrl-btn {
                min-width: 60px;
                height: 60px;
                font-size: 1.4rem;
            }

            .ctrl-btn.small-btn {
                min-width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }

            .prev-next-controls .ctrl-btn {
                min-width: 100px;
            }

            .rate-box,
            .volume-wrap {
                height: 60px;
                padding: 8px 22px;
            }

            .theme-btn {
                width: 42px;
                height: 42px;
                font-size: 1.4rem;
            }

            .marker-btn {
                padding: 12px 16px;
                font-size: 1rem;
            }

            .ab-section {
                padding: 22px;
                border-radius: 52px;
            }

            .ab-btn {
                padding: 14px 26px;
                font-size: 1.05rem;
            }

            .ab-item {
                padding: 12px 28px;
                font-size: 1.05rem;
            }

            .subtitle-display {
                min-height: 240px;
                padding: 24px;
                font-size: 1.2rem;
            }

            .subtitle-item.current {
                font-size: 1.3rem;
            }

            .immersive-lyrics-list {
                padding: 32vh 28px 32vh;
            }

            .immersive-lyrics-status-bar {
                padding: 14px 28px;
                gap: 20px;
            }

            .font-size-btn {
                width: 32px;
                height: 32px;
            }
        }

        /* 4K / 教学大屏 (2561px+) */
        @media screen and (min-width: 2561px) {
            .player-split {
                max-width: 2400px;
                gap: 35px;
            }

            .player-card {
                padding: 45px;
                border-radius: 60px;
            }

            .marker-panel {
                padding: 35px;
                border-radius: 52px;
                max-height: none;
            }

            body {
                line-height: 1.6;
            }

            h1 {
                font-size: 3rem;
                padding-bottom: 20px;
            }

            h2 {
                font-size: 2rem;
            }

            .header-bar {
                margin-bottom: 25px;
            }

            .ctrl-btn {
                min-width: 80px;
                height: 80px;
                font-size: 1.8rem;
                border-radius: 50px;
            }

            .ctrl-btn.small-btn {
                min-width: 65px;
                height: 65px;
                font-size: 1.5rem;
            }

            .prev-next-controls .ctrl-btn {
                min-width: 140px;
                font-size: 1.4rem;
            }

            .rate-box,
            .volume-wrap {
                height: 80px;
                padding: 12px 30px;
                border-radius: 50px;
            }

            .rate-box select {
                font-size: 1.3rem;
            }

            .volume-wrap input {
                width: 120px;
            }

            .theme-switcher {
                padding: 12px 20px;
                gap: 12px;
                border-radius: 50px;
            }

            .theme-btn {
                width: 56px;
                height: 56px;
                font-size: 1.8rem;
            }

            .marker-btn {
                padding: 16px 22px;
                font-size: 1.2rem;
                border-radius: 50px;
            }

            .ab-section {
                padding: 30px;
                border-radius: 60px;
                margin-top: 30px;
            }

            .ab-btn {
                padding: 18px 35px;
                font-size: 1.3rem;
                border-radius: 50px;
            }

            .ab-item {
                padding: 16px 35px;
                font-size: 1.3rem;
                border-radius: 60px;
            }

            .time-badge {
                padding: 8px 24px;
                font-size: 1.1rem;
            }

            .subtitle-display {
                min-height: 350px;
                padding: 35px;
                font-size: 1.6rem;
                border-radius: 45px;
            }

            .subtitle-item.current {
                font-size: 1.8rem;
                padding: 12px 0;
            }

            .subtitle-item.prev,
            .subtitle-item.next {
                font-size: 1.3rem;
            }

            .file-area {
                padding: 10px 10px 10px 30px;
                border-radius: 80px;
                margin-bottom: 40px;
            }

            .upload-btn {
                padding: 18px 40px;
                font-size: 1.3rem;
            }

            .progress-section {
                margin: 30px 0 25px;
            }

            #seekBar {
                height: 20px;
            }

            #seekBar::-webkit-slider-thumb {
                width: 32px;
                height: 32px;
            }

            .time-row {
                font-size: 1.1rem;
            }

            .time-row span {
                padding: 10px 24px;
            }

            .immersive-lyrics-list {
                padding: 35vh 40px 35vh;
            }

            .immersive-lyrics-line.immersive-current {
                font-size: 3.5rem;
                padding: 30px;
            }

            .immersive-lyrics-line {
                font-size: 2rem;
                padding: 20px;
            }

            .immersive-lyrics-exit {
                width: 60px;
                height: 60px;
                font-size: 1.6rem;
            }

            .immersive-lyrics-status-bar {
                padding: 18px 36px;
                gap: 24px;
                border-radius: 45px;
            }

            .font-size-btn {
                width: 44px;
                height: 44px;
                font-size: 1.1rem;
            }

            .font-size-value {
                font-size: 1.1rem;
                min-width: 60px;
            }

            .marker-item {
                padding: 12px 20px 12px 28px;
                border-radius: 60px;
            }

            .text-label {
                font-size: 1.2rem;
                min-width: 90px;
            }

            .time-clickable {
                padding: 8px 20px;
                font-size: 1.1rem;
            }

            .del-marker,
            .modify-time-btn {
                width: 48px;
                height: 48px;
                font-size: 1.5rem;
            }

            .footer-note {
                margin-top: 30px;
                font-size: 1.1rem;
            }

            .developer-info {
                font-size: 1rem;
            }

            .tab-btn {
                padding: 14px 22px;
                font-size: 1.1rem;
            }

            .shortcut-help-panel {
                max-width: 700px;
            }

            .shortcut-help-header h2 {
                font-size: 1.5rem;
            }

            .shortcut-help-content {
                font-size: 1.1rem;
            }

            .shortcut-help-content h3 {
                font-size: 1.2rem;
            }
        }

        /* 七、教学大屏模式 - 可通过JS切换 */
        body.large-mode .player-split {
            max-width: 2800px;
        }

        body.large-mode .ctrl-btn {
            min-width: 90px;
            height: 90px;
            font-size: 2rem;
        }

        body.large-mode .subtitle-display {
            min-height: 450px;
            font-size: 2rem;
        }

        body.large-mode .subtitle-item.current {
            font-size: 2.5rem;
        }

        /* 听力题库样式 */
        .library-mode-content h2 {
            font-size: 1.6rem;
            color: var(--text-dark);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            border-bottom: 2px solid rgba(0,70,120,0.15);
            padding-bottom: 12px;
            flex-shrink: 0;
        }

        .library-toolbar {
            display: flex;
            gap: 12px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .library-search-row {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }

        .library-list {
            flex: 1;
            overflow-y: auto;
            min-height: 200px;
        }

        .library-empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            color: var(--text-light);
            text-align: center;
        }

        .library-folder {
            background: rgba(255,255,255,0.5);
            border-radius: 15px;
            margin-bottom: 10px;
            overflow: hidden;
        }

        .library-folder-header {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 15px;
            cursor: pointer;
            transition: background 0.2s;
        }

        .library-folder-header:hover {
            background: rgba(255,255,255,0.7);
        }

        .library-folder-header i.folder-icon {
            color: #f59e0b;
            font-size: 1.2rem;
        }

        .library-folder-header .folder-name {
            font-weight: 600;
            color: var(--text-dark);
            flex: 1;
        }

        .library-folder-header .folder-count {
            font-size: 0.8rem;
            color: var(--text-light);
            background: rgba(0,0,0,0.05);
            padding: 2px 8px;
            border-radius: 10px;
        }

        .library-folder-header .toggle-icon {
            transition: transform 0.2s;
        }

        .library-folder.expanded .toggle-icon {
            transform: rotate(90deg);
        }

        .library-folder-content {
            display: none;
            padding: 0 15px 10px;
        }

        .library-folder.expanded .library-folder-content {
            display: block;
        }

        .library-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            background: rgba(255,255,255,0.6);
            border-radius: 12px;
            margin-bottom: 8px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .library-item:hover {
            background: rgba(255,255,255,0.9);
            transform: translateX(3px);
        }

        .library-item.selected {
            background: var(--primary-color);
            color: white;
            box-shadow: 0 4px 12px var(--primary-color);
        }

        .library-item .item-icon {
            font-size: 1.1rem;
            opacity: 0.8;
        }

        .library-item .item-name {
            flex: 1;
            font-weight: 500;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .library-item .item-type {
            font-size: 0.75rem;
            opacity: 0.7;
            background: rgba(0,0,0,0.05);
            padding: 2px 6px;
            border-radius: 8px;
        }

        .library-item.selected .item-type {
            background: rgba(255,255,255,0.2);
        }

        .library-load-bar {
            display: none;
            padding: 15px;
            background: rgba(255,255,255,0.5);
            border-radius: 15px;
            margin-top: 15px;
            gap: 10px;
            align-items: center;
        }

        .library-load-bar.visible {
            display: flex;
        }

        .library-load-bar .selected-name {
            flex: 1;
            font-weight: 600;
            color: var(--text-dark);
        }

        .library-load-bar .load-btn {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 20px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .library-load-bar .load-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px var(--primary-color);
        }

        /* 在线题库样式 */
        .setting-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }
        .setting-row label {
            font-weight: 500;
            color: var(--text-dark);
            min-width: 80px;
        }
        .setting-row select {
            flex: 1;
            padding: 10px 15px;
            border-radius: 25px;
            border: 1px solid rgba(0,0,0,0.1);
            background: var(--btn-bg);
            color: var(--text-dark);
            font-size: 1rem;
            min-width: 120px;
        }
        .setting-row-group {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }
        .library-file-list-wrapper {
            flex: 1;
            min-width: 0;
        }
        .library-file-list-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 10px;
            flex-wrap: wrap;
        }
        .library-select-btn {
            background: rgba(255,255,255,0.8);
            border: 1px solid rgba(0,0,0,0.1);
            padding: 6px 12px;
            border-radius: 15px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            color: var(--text-dark);
        }
        .library-select-btn:hover {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        .library-file-count {
            font-size: 0.85rem;
            color: var(--text-light);
            margin-left: auto;
        }
        .library-file-list {
            flex: 1;
            min-height: 0;
            overflow-y: auto;
            border-radius: 15px;
            border: 1px solid rgba(0,0,0,0.1);
            background: rgba(255,255,255,0.8);
            padding: 8px;
        }
        .library-file-item {
            display: flex;
            align-items: center;
            padding: 10px 12px;
            margin: 4px 0;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s;
            gap: 10px;
        }
        .library-file-item:hover {
            background: rgba(30, 111, 159, 0.1);
        }
        .library-file-item.selected {
            background: linear-gradient(135deg, rgba(30, 111, 159, 0.15), rgba(30, 111, 159, 0.25));
        }
        .library-file-item input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: var(--primary-color);
            cursor: pointer;
            flex-shrink: 0;
        }
        .library-file-item-name {
            flex: 1;
            font-size: 0.95rem;
            color: var(--text-dark);
            overflow: hidden;
            word-break: break-all;
            line-height: 1.3;
        }
        .library-file-item-icon {
            font-size: 0.8rem;
            opacity: 0.6;
        }
        .library-file-item-icon.has-srt {
            color: #10b981;
            opacity: 1;
        }
        .library-file-list::-webkit-scrollbar {
            width: 6px;
        }
        .library-file-list::-webkit-scrollbar-track {
            background: rgba(0,0,0,0.05);
            border-radius: 3px;
        }
        .library-file-list::-webkit-scrollbar-thumb {
            background: rgba(30, 111, 159, 0.3);
            border-radius: 3px;
        }
        .library-file-list::-webkit-scrollbar-thumb:hover {
            background: rgba(30, 111, 159, 0.5);
        }

        @media (max-width: 700px) {
            .library-mode-content .setting-row-group {
                flex-direction: column;
            }
            
            .library-mode-content .setting-row-group .ctrl-btn {
                width: 100%;
            }
            
            .library-file-list {
                min-height: 150px;
            }
            
            .library-file-list-header {
                gap: 6px;
            }
            
            .library-select-btn {
                padding: 5px 10px;
                font-size: 0.8rem;
            }
            
            .library-file-item {
                padding: 8px 10px;
            }
            
            .library-file-item-name {
                font-size: 0.9rem;
            }
            
            #libraryFilterSection {
                padding: 10px;
            }
            
            .setting-row {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .setting-row label {
                min-width: auto;
                margin-bottom: 5px;
            }
        }
