body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #FDF6E3; color: #333; max-width: 1200px;
            margin: 20px auto; padding: 20px; border-radius: 20px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.08); transition: all 0.3s ease;
            position: relative;
        }
        h1 { text-align: center; color: #D97706; margin-bottom: 5px; font-size: 28px;}
        
        /* 标签内容区域 */
        .tab-content {
            margin-bottom: 80px; /* 为底部标签栏留出空间 */
        }
        
        .tab-pane {
            display: none;
            animation: fadeIn 0.3s ease-in-out;
        }
        
        .tab-pane.active {
            display: block;
        }
        
        /* 底部标签栏样式 */
        .bottom-tab-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-around;
            align-items: center;
            background-color: white;
            border-top: 1px solid #FEF3C7;
            padding: 12px 0;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
            z-index: 999;
        }
        
        .tab-btn {
            flex: 1;
            padding: 12px 0;
            border: none;
            background-color: transparent;
            color: #64748B;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            position: relative;
        }
        
        .tab-btn:hover {
            color: #D97706;
        }
        
        .tab-btn.active {
            color: #F59E0B;
        }
        
        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            width: 40px;
            height: 3px;
            background-color: #F59E0B;
            border-radius: 3px;
        }
        .control-card {
            background: #ffffff; padding: 12px; border-radius: 12px;
            margin-bottom: 5px; box-shadow: 0 4px 6px rgba(0,0,0,0.02);
            border: 1px solid #FEF3C7;
        }
        #displayBoard {
            background: #ffffff;
            border: 2px dashed #F59E0B; padding: 15px;
            border-radius: 12px; text-align: center; margin-bottom: 5px;
            display: none; animation: fadeIn 0.3s ease-in-out;
            position: relative; overflow: hidden;
        }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
        
        .fufu-logo {
            position: absolute;
            bottom: 12px;
            right: 18px;
            width: 75px; 
            height: auto;
            z-index: 10;
            pointer-events: none;
            image-rendering: -webkit-optimize-contrast; 
            image-rendering: crisp-edges;
        }

        .db-tags { margin-bottom: 12px; display: flex; justify-content: center; gap: 10px; }
        .tag { padding: 4px 12px; border-radius: 20px; font-size: 14px; font-weight: bold; }
        .tag-tone { background-color: #FEE2E2; color: #DC2626; border: 1px solid #FCA5A5; }
        .tag-pos { background-color: #E0E7FF; color: #4F46E5; border: 1px solid #A5B4FC; }
        .db-kanji { font-size: 34px; font-weight: bold; color: #D97706; margin-bottom: 8px; }
        .db-kana-romaji { font-size: 16px; color: #6B7280; margin-bottom: 12px; letter-spacing: 1px; }
        .db-zh { font-size: 22px; color: #10B981; font-weight: bold; }
        
        textarea { width: 100%; height: 120px; padding: 12px; box-sizing: border-box; border: 2px solid #FCD34D; border-radius: 10px; font-size: 16px; background-color: #FFFBEB; line-height: 1.6; }
        select, input[type="number"] { padding: 8px 12px; border-radius: 8px; border: 1px solid #D1D5DB; font-size: 15px; width: 140px; }
        .flex-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
        .flex-item { flex: 1; min-width: 180px; }
        .btn { color: white; border: none; padding: 12px 10px; font-size: 14px; font-weight: bold; border-radius: 10px; cursor: pointer; width: 23%; margin-top: 10px; transition: all 0.2s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
        .btn-play { background-color: #F59E0B; }
        .btn-record-audio { background-color: #10B981; }
        .btn-record-video { background-color: #8B5CF6; }
        .btn-stop { background-color: #EF4444; }
        .btn-group-spacer { width: 15px; display: inline-block; }
        #status { text-align: center; margin-top: 25px; font-weight: bold; color: #6B7280; font-size: 16px; }
        
        body.cinema-mode {
            max-width: 100%; height: 100vh; margin: 0;
            padding: 40px; 
            box-sizing: border-box;
            display: flex; justify-content: center; align-items: center;
            background-color: #FFF9E6; border-radius: 0; box-shadow: none;
            cursor: none;
        }
        body.cinema-mode h1, body.cinema-mode .control-card, body.cinema-mode .flex-buttons, body.cinema-mode #status, body.cinema-mode #downloadArea, body.cinema-mode .divider, body.cinema-mode .review-section, body.cinema-mode #reviewTip {
            display: none !important;
        }
        body.cinema-mode #displayBoard {
            display: flex !important; flex-direction: column; justify-content: center; align-items: center;
            width: 85vw; height: 60vh; 
            min-height: 480px; max-width: 1100px;
            border: 5px dashed #F59E0B; background: #ffffff;
            box-sizing: border-box; margin: 0;
            padding-bottom: 70px;
        }
        body.cinema-mode .fufu-logo {
            width: 140px;
            bottom: 35px;
            right: 45px;
        }
        body.cinema-mode .db-kanji { font-size: 90px; margin-bottom: 25px; } 
        body.cinema-mode .db-kana-romaji { font-size: 34px; margin-bottom: 25px; }
        body.cinema-mode .db-zh { font-size: 60px; }
        body.cinema-mode .tag { font-size: 26px; padding: 10px 28px; border-radius: 40px; }

        @media (max-width: 1024px) {
            body.cinema-mode .fufu-logo {
                width: 110px;
                bottom: 25px;
                right: 35px;
            }
            body.cinema-mode .db-kanji { font-size: 70px; margin-bottom: 20px; }
            body.cinema-mode .db-kana-romaji { font-size: 28px; margin-bottom: 20px; }
            body.cinema-mode .db-zh { font-size: 48px; }
            body.cinema-mode .tag { font-size: 22px; padding: 8px 24px; }
        }

        /* ⭐ Dock栏尺寸死锁 - 禁用缩放，固定宽度 */
        #global-dock {
            width: 280px !important;
            transform: none !important;
        }

        @media (max-width: 600px) {
            body { margin: 10px; padding: 15px; }
            .btn { width: 45%; padding: 10px 8px; font-size: 12px; }
            .btn-group-spacer { width: 10px; }
            h1 { font-size: 20px; }
            body.cinema-mode .fufu-logo {
                width: 80px;
                bottom: 15px;
                right: 25px;
            }
            body.cinema-mode .db-kanji { font-size: 50px; margin-bottom: 15px; }
            body.cinema-mode .db-kana-romaji { font-size: 20px; margin-bottom: 15px; }
            body.cinema-mode .db-zh { font-size: 34px; }
            body.cinema-mode .tag { font-size: 18px; padding: 6px 20px; }
            body.cinema-mode #displayBoard {
                padding-bottom: 50px;
            }
            
            #input-card > div:nth-child(3) {
                gap: 6px;
            }
            #input-card > div:nth-child(3) > div {
                margin-bottom: 0;
            }
            #input-card > div:nth-child(3) > div:nth-child(1),
            #input-card > div:nth-child(3) > div:nth-child(2) {
                flex: 1;
                min-width: calc(50% - 3px);
            }
            #input-card > div:nth-child(3) > div:nth-child(3),
            #input-card > div:nth-child(3) > div:nth-child(4) {
                flex: 1;
                min-width: calc(50% - 3px);
            }
            #input-card > div:nth-child(3) > div:nth-child(5),
            #input-card > div:nth-child(3) > div:nth-child(6),
            #input-card > div:nth-child(3) > div:nth-child(7) {
                flex: 1;
                min-width: calc(33.333% - 4px);
            }
        }

        @media (max-width: 1024px) {
            .btn { width: 30%; padding: 11px 9px; font-size: 13px; }
            .btn-group-spacer { width: 12px; }
            h1 { font-size: 24px; }
        }

        .cinema-controls {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: none;
            gap: 10px;
            padding: 12px 20px;
            background: rgba(0, 0, 0, 0.7);
            border-radius: 50px;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 1000;
        }

        body.cinema-mode .cinema-controls {
    display: none !important;
}

/* 口袋模式激活状态 */
.pocket-mode-active {
    background: #f59e0b !important;
    color: white !important;
    border-color: #d97706 !important;
}

        body.cinema-mode:hover .cinema-controls,
        .cinema-controls.visible {
            opacity: 1;
        }

        body.cinema-mode #displayBoard {
            cursor: none;
        }

        body.cinema-mode {
            cursor: default;
        }

        .cinema-btn {
            padding: 8px 16px;
            background: white;
            border: none;
            border-radius: 25px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s ease;
            color: #374151;
        }

        .cinema-btn:hover {
            background: #FCD34D;
            transform: scale(1.05);
        }

        .frosted-glass {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 300px;
            height: 200px;
            background: rgba(255, 255, 255, 0.6);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 2px solid rgba(255, 255, 255, 0.5);
            border-radius: 12px;
            cursor: move;
            z-index: 99999;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .frosted-glass-handle {
            position: absolute;
            bottom: 5px;
            right: 5px;
            width: 20px;
            height: 20px;
            cursor: se-resize;
            background: rgba(100, 100, 100, 0.3);
            border-radius: 4px;
        }

        .frosted-glass-close {
            position: absolute;
            top: 5px;
            right: 5px;
            width: 24px;
            height: 24px;
            border: none;
            background: rgba(239, 68, 68, 0.8);
            color: white;
            border-radius: 50%;
            cursor: pointer;
            font-size: 14px;
            line-height: 1;
        }

        .btn-cinema-only {
            background: linear-gradient(135deg, #A78BFA, #8B5CF6);
        }

        #downloadArea { text-align: center; margin-top: 30px; width: 100%; }
        .dl-btn { color: white; padding: 12px 25px; text-decoration: none; border-radius: 10px; font-weight: bold; display: inline-block; margin: 5px; }

        .divider {
            height: 1px;
            background-color: #FEF3C7;
            margin: 2px 0;
            border-radius: 0;
        }
        .sync-tip {
            text-align: center;
            color: #475569;
            font-size: 14px;
            margin-bottom: 20px;
            padding: 10px;
            background: #FEF3C7;
            border-radius: 8px;
        }
        .search-bar {
            background: #ffffff;
            padding: 15px;
            border-radius: 12px;
            margin-bottom: 20px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
            border: 1px solid #FEF3C7;
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        .search-input {
            flex: 0 0 150px;
            min-width: 150px;
            padding: 10px;
            border: 1px solid #FCD34D;
            border-radius: 8px;
            font-size: 14px;
        }
        .import-btn {
            padding: 10px 20px;
            background-color: #3B82F6;
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: bold;
            cursor: pointer;
        }
        .stat-card {
            background: #fdf6ec;
            padding: 3px 8px;
            border-radius: 15px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.02);
            border: 1px solid #FEF3C7;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 11px;
            flex-wrap: wrap;
        }
        
        .stat-card .search-input {
            flex: 0 0 120px;
            min-width: 120px;
            padding: 6px 8px;
            border: 1px solid #FCD34D;
            border-radius: 6px;
            font-size: 12px;
        }
        
        .stat-card .import-btn {
            padding: 6px 12px;
            font-size: 12px;
        }
        .stat-item {
            text-align: center;
            min-width: 50px;
        }
        .stat-label {
            font-size: 9px;
            color: #64748B;
            margin-bottom: 1px;
        }
        .stat-value {
            font-size: 12px;
            font-weight: bold;
            color: #e6a23c;
        }
        
        /* 弹窗统计数据样式 */
        #modal-stats-container .stat-item {
            background: #fdf6ec;
            padding: 10px 15px;
            border-radius: 12px;
            border: 1px solid #FEF3C7;
            min-width: 80px;
        }
        
        #modal-stats-container .stat-label {
            font-size: 11px;
            color: #64748B;
            margin-bottom: 3px;
        }
        
        #modal-stats-container .stat-value {
            font-size: 18px;
            font-weight: bold;
            color: #D97706;
        }
        .chart-card {
            background: #ffffff;
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 20px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
            border: 1px solid #FEF3C7;
            height: 300px;
        }
        .filter-bar {
            display: flex;
            gap: 10px;
            margin-bottom: 5px;
            flex-wrap: wrap;
        }
        .filter-btn {
            padding: 8px 16px;
            border-radius: 8px;
            border: 1px solid #FCD34D;
            background-color: #FFFBEB;
            color: #D97706;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.2s ease;
        }
        .filter-btn.active {
            background-color: #F59E0B;
            color: white;
            border-color: #F59E0B;
        }
        .action-bar {
            background: #ffffff;
            padding: 15px;
            border-radius: 12px;
            margin-bottom: 20px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
            border: 1px solid #FEF3C7;
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        .action-btn {
            padding: 8px 16px;
            border-radius: 8px;
            border: none;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .action-btn-copy {
            background-color: #3B82F6;
            color: white;
        }
        .action-btn-import {
            background-color: #10B981;
            color: white;
        }
        .action-btn-undo {
            background-color: #F59E0B;
            color: white;
        }
        .action-btn-export {
            background-color: #8B5CF6;
            color: white;
        }
        .learning-center-bar {
            background: #ffffff;
            padding: 8px;
            border-radius: 12px;
            margin-top: 0;
            margin-bottom: 3px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
            border: 1px solid #FEF3C7;
        }
        .learning-center-header {
            padding: 0 !important;
        }
        .learning-center-header .stat-card {
            padding: 2px 6px;
            font-size: 10px;
            gap: 6px;
        }
        .learning-center-header .stat-item {
            min-width: 45px;
        }
        .learning-center-header .stat-label {
            font-size: 8px;
            margin-bottom: 0;
        }
        .learning-center-header .stat-value {
            font-size: 11px;
        }
        .learning-center-header .chart-btn {
            padding: 4px 8px;
            font-size: 11px;
        }
        .learning-center-header .search-input {
            padding: 4px 6px;
            font-size: 11px;
            min-width: 100px;
        }
        .review-section { margin-top: 0; }
        .learning-center-title {
            font-weight: bold;
            color: #D97706;
            margin-bottom: 0;
            margin-right: 10px;
        }
        .learning-center-list {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        .learning-center-item {
            padding: 8px 12px;
            border-radius: 8px;
            background-color: #FEF3C7;
            color: #92400E;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .learning-center-item:hover {
            background-color: #F59E0B;
            color: white;
        }
        .word-list {
            max-height: 500px;
            overflow-y: auto;
            background: #ffffff;
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 5px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
            border: 1px solid #FEF3C7;
        }
        .word-card {
            background: #ffffff;
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.02);
            border-left: 4px solid #FCD34D;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            transition: all 0.2s ease;
        }
        .word-card.mastered {
            border-left-color: #10B981;
        }
        .word-card.need-review {
            border-left-color: #EF4444;
        }
        .word-card.review-soon {
            border-left-color: #F59E0B;
        }
        .word-card.unlearned {
            border-left-color: #9CA3AF;
        }
        .word-info {
            flex: 1;
        }
        .word-kanji {
            font-size: 18px;
            font-weight: bold;
            color: #D97706;
            margin-bottom: 5px;
        }
        .word-detail {
            font-size: 14px;
            color: #64748B;
            line-height: 1.4;
        }
        .word-stats {
            font-size: 12px;
            color: #94A3B8;
            margin-top: 5px;
        }
        .word-next-review {
            font-size: 12px;
            color: #F59E0B;
            margin-top: 5px;
        }
        .action-buttons {
            display: flex;
            gap: 10px;
        }
        .btn-correct {
            background-color: #10B981;
            color: white;
            padding: 6px 12px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: bold;
            font-size: 12px;
        }
        .btn-incorrect {
            background-color: #EF4444;
            color: white;
            padding: 6px 12px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: bold;
            font-size: 12px;
        }
        .btn-delete {
            background-color: #6B7280;
            color: white;
            padding: 6px 12px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: bold;
            font-size: 12px;
        }
        .quick-status-buttons {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        .quick-btn {
            padding: 6px 12px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: bold;
            font-size: 12px;
            transition: all 0.2s ease;
        }
        .quick-btn:hover {
            transform: translateY(-1px);
        }
        .quick-btn-mastered {
            background-color: #10B981;
            color: white;
        }
        .quick-btn-review {
            background-color: #EF4444;
            color: white;
        }
        .quick-btn-consolidate {
            background-color: #F59E0B;
            color: white;
        }
        .status-selector {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .status-select {
            width: 80px !important;
            padding: 4px 8px !important;
            font-size: 12px !important;
        }
        .refresh-btn {
            display: block;
            margin: 0 auto 20px;
            padding: 10px 20px;
            background-color: #F59E0B;
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: bold;
            cursor: pointer;
        }
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        .modal-content {
            background: white;
            padding: 20px;
            border-radius: 12px;
            width: 90%;
            max-width: 500px;
        }
        .modal-textarea {
            width: 100%;
            height: 200px;
            margin: 10px 0;
            padding: 10px;
            border: 1px solid #FCD34D;
            border-radius: 8px;
        }
        .modal-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }
        .modal-btn {
            padding: 8px 16px;
            border-radius: 8px;
            border: none;
            font-weight: bold;
            cursor: pointer;
        }
        .modal-btn-confirm {
            background-color: #10B981;
            color: white;
        }
        .modal-btn-cancel {
            background-color: #EF4444;
            color: white;
        }
        .toast {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: #10B981;
            color: white;
            padding: 10px 20px;
            border-radius: 8px;
            display: none;
            z-index: 1001;
        }

        .welcome-tip-modal {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px 25px;
            border-radius: 12px;
            z-index: 1002;
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
            max-width: 500px;
            display: none;
        }

        .welcome-tip-modal h3 {
            margin: 0 0 12px 0;
            font-size: 18px;
        }

        .welcome-tip-modal p {
            margin: 8px 0;
            font-size: 14px;
            line-height: 1.6;
        }

        .welcome-tip-modal .close-btn {
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            padding: 10px 25px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            margin-top: 15px;
            transition: all 0.3s;
        }

        .welcome-tip-modal .close-btn:hover {
            background: rgba(255,255,255,0.3);
        }

        .format-tip {
            background: #fffbeb;
            border: 1px solid #fcd34d;
            border-radius: 8px;
            padding: 12px 15px;
            margin-top: 10px;
            font-size: 13px;
            color: #92400e;
        }

        @media (min-width: 1024px) {
            #dock-copy-list,
            #dock-append,
            #dock-replace,
            #dock-undo,
            #dock-redo,
            #dock-clear-list,
            #dock-hide,
            #more-tools-menu > div[style*="height: 1px;"] {
                display: none !important;
            }
        }

        .word-card.dictation-current {
            border: 3px solid #8b5cf6;
            box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.4); }
            50% { box-shadow: 0 0 25px rgba(139, 92, 246, 0.7); }
        }

        .dictation-blur {
            filter: blur(12px);
            -webkit-filter: blur(12px);
            user-select: none;
            cursor: pointer;
            color: transparent;
            text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
        }

        .dictation-blur.dictation-peek {
            filter: blur(0px) !important;
            -webkit-filter: blur(0px) !important;
            color: inherit !important;
            text-shadow: none !important;
        }

        .dictation-blur:hover {
            filter: blur(8px);
            -webkit-filter: blur(8px);
        }

        .word-info.dictation-blur .word-kanji,
        .word-info.dictation-blur .word-detail {
            filter: blur(12px);
            -webkit-filter: blur(12px);
            color: transparent;
            text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
        }

        .word-info.dictation-blur.dictation-peek .word-kanji,
        .word-info.dictation-blur.dictation-peek .word-detail {
            filter: blur(0px) !important;
            -webkit-filter: blur(0px) !important;
            color: inherit !important;
            text-shadow: none !important;
        }

        .word-info.dictation-blur:hover .word-kanji,
        .word-info.dictation-blur:hover .word-detail {
            filter: blur(8px);
            -webkit-filter: blur(8px);
        }

        .word-card.dictation-completed {
            opacity: 0.7;
        }

        .dictation-result-correct {
            color: #10B981;
            font-weight: bold;
        }

        .dictation-result-incorrect {
            color: #EF4444;
            font-weight: bold;
        }

        /* 隐藏低频筛选按钮 */
        .filter-btn[data-filter="unlearned"],
        .filter-btn[data-filter="learning"],
        .filter-btn[data-filter="need-review"],
        .filter-btn[data-filter="mastered"] {
            display: none !important;
        }

        /* 隐藏删除按钮 */
        .btn-delete {
            display: none !important;
        }

        /* 隐藏数据管理按钮，只保留搜索和云同步 */
        .search-bar .import-btn:not([onclick="performSearch()"]):not([onclick="openCloudSyncModal()"]) {
            display: none !important;
        }

        /* 图表按钮样式 */
        .chart-btn {
            background: linear-gradient(135deg, #8b5cf6, #7c3aed);
            color: white;
            border: none;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .chart-btn:hover {
            background: linear-gradient(135deg, #7c3aed, #6d28d9);
            transform: translateY(-1px);
        }

        /* 弹窗样式 */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.4);
        }
        .modal-content {
            background-color: #fefefe;
            margin: 10% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            max-width: 800px;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        .modal-header h2 {
            margin: 0;
            color: #374151;
        }
        .close-btn {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            background: none;
            border: none;
            cursor: pointer;
        }
        .close-btn:hover,
        .close-btn:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }
        .modal-body {
            padding: 10px 0;
        }

        /* Dock栏移动端优化 - 禁用所有缩放 */
        @media (max-width: 600px) {
            #global-dock {
                width: 280px !important;
                transform: none !important;
                gap: 10px !important;
            }
            
            #dock-mini {
                transform: none !important;
            }
            
            #more-tools-menu {
                transform: none !important;
                bottom: 120px !important;
            }
            
            /* 学习中心统计2列网格 */
            .learning-center-header .stat-card {
                display: grid !important;
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 8px !important;
            }
            
            /* 手机端隐藏管理按钮，保留全部、错误、强化默写 */
            .filter-bar .action-btn {
                display: none !important;
            }
            
            .filter-bar #btnDictation {
                display: inline-flex !important;
            }
            
            /* ⭐ 强制显示学习中心按钮 ⭐ */
            #header-buttons,
            #header-buttons * {
                display: flex !important;
            }
            
            .learning-center-item {
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            
            .filter-btn {
                padding: 6px 12px !important;
                font-size: 12px !important;
            }
            
            /* 弹窗统计数据手机端样式 */
            #modal-stats-container {
                gap: 10px !important;
            }
            
            #modal-stats-container .stat-item {
                padding: 8px 12px !important;
                min-width: 70px !important;
            }
            
            #modal-stats-container .stat-label {
                font-size: 10px !important;
            }
            
            #modal-stats-container .stat-value {
                font-size: 16px !important;
            }
            
            /* 手机端学习中心自适应 */
            .learning-center-bar {
                padding: 8px !important;
            }
            
            .learning-center-header {
                gap: 8px !important;
            }
            
            .learning-center-header .search-input {
                width: 100px !important;
                margin: 0 !important;
            }
            
            .learning-center-header .chart-btn {
                padding: 3px 6px !important;
                font-size: 10px !important;
            }
            
            #header-buttons button {
                padding: 4px 8px !important;
                font-size: 10px !important;
            }
            
            /* 按钮全站比例统一 */
            .filter-bar,
            .learning-center-list,
            #header-buttons {
                display: flex !important;
                gap: 8px !important;
                flex-wrap: wrap !important;
            }
            
            .filter-btn,
            .action-btn,
            .learning-center-list .learning-center-item,
            #header-buttons .learning-center-item,
            #header-buttons button {
                flex: 1 !important;
                min-width: 80px !important;
                height: 36px !important;
                font-size: 11px !important;
                border-radius: 8px !important;
                padding: 0 8px !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            
            /* 保留强化默写的特殊样式 */
            #btnDictation {
                flex: none !important;
                min-width: auto !important;
                width: auto !important;
                margin-left: auto !important;
            }
        }