 :root {
            --primary-color: #8b5cf6;
            --primary-hover: #7c3aed;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            transition: background-color 0.3s ease, color 0.3s ease;
        }
        
        /* 平滑滚动 */
        html {
            scroll-behavior: smooth;
        }
        
        /* 自定义滚动条 */
        ::-webkit-scrollbar {
            width: 6px;
        }
        
        ::-webkit-scrollbar-track {
            background: transparent;
        }
        
        ::-webkit-scrollbar-thumb {
            background: #c4b5fd;
            border-radius: 3px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-color);
        }
        
        /* 主题样式 */
        .theme-light {
            background-color: #f8fafc;
            color: #1e293b;
        }
        
        .theme-light .card {
            background-color: #ffffff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }
        
        .theme-dark {
            background-color: #0f172a;
            color: #e2e8f0;
        }
        
        .theme-dark .card {
            background-color: #1e293b;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .theme-dark ::-webkit-scrollbar-thumb {
            background: #4b5563;
        }
        
        .theme-classic {
            background-color: #fef3c7;
            color: #431407;
        }
        
        .theme-classic .card {
            background-color: #fefce8;
            border: 1px solid #f59e0b;
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
        }
        
        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        @keyframes recording {
            0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
            70% { box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); }
            100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
        }
        
        .fade-in {
            animation: fadeIn 0.3s ease forwards;
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }
        
        .recording-animation {
            animation: recording 1.5s infinite;
        }
        
        /* 布局样式 */
        .layout-list .note-item {
            display: flex;
            align-items: center;
            width: 100%;
            padding: 1rem;
            margin-bottom: 0.75rem;
            border-radius: 0.75rem;
        }
        
        .layout-list .note-item .content {
            flex-grow: 1;
        }
        
        .layout-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1rem;
        }
        
        .layout-grid .note-item {
            display: flex;
            flex-direction: column;
            height: auto;
        }
        
        /* 标签样式 */
        .tag {
            display: inline-flex;
            align-items: center;
            font-size: 0.75rem;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
        }
        
        /* 复选框样式 */
        .custom-checkbox {
            appearance: none;
            -webkit-appearance: none;
            width: 1.25rem;
            height: 1.25rem;
            border-radius: 50%;
            border: 2px solid #d1d5db;
            cursor: pointer;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        
        .custom-checkbox:checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .custom-checkbox:checked::after {
            content: "✓";
            color: white;
            font-size: 0.75rem;
            font-weight: bold;
        }
        
        /* 按钮样式 */
        .btn-primary {
            background-color: var(--primary-color);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 0.75rem;
            font-weight: 600;
            transition: all 0.2s ease;
        }
        
        .btn-primary:hover {
            background-color: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
        }
        
        .btn-secondary {
            background-color: #e5e7eb;
            color: #4b5563;
            padding: 0.75rem 1.5rem;
            border-radius: 0.75rem;
            font-weight: 600;
            transition: all 0.2s ease;
        }
        
        .btn-secondary:hover {
            background-color: #d1d5db;
        }
        
        /* 设置按钮样式 */
        .settings-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            transition: all 0.2s ease;
        }
        
        /* 输入框样式 */
        .note-input {
            width: 100%;
            min-height: 6rem;
            padding: 1rem;
            border-radius: 0.75rem;
            resize: none;
            border: 2px solid #e5e7eb;
            transition: all 0.2s ease;
        }
        
        .note-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
        }
        
        /* 空状态样式 */
        .empty-state {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 3rem 1rem;
            text-align: center;
            color: #9ca3af;
        }
        
        /* 切换开关 */
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 26px;
        }
        
        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 34px;
        }
        
        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        
        input:checked + .toggle-slider {
            background-color: var(--primary-color);
        }
        
        input:checked + .toggle-slider:before {
            transform: translateX(24px);
        }
        
        /* 语音输入按钮 */
        .voice-input-btn {
            position: fixed;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
            z-index: 40;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }
        
        .voice-input-btn:hover {
            transform: translateX(-50%) scale(1.05);
            box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
        }
        
        .voice-input-btn.recording {
            background: linear-gradient(135deg, #ef4444, #dc2626);
            animation: recording 1.5s infinite;
        }
        
        /* 语音状态指示器 */
        .voice-status {
            position: fixed;
            bottom: 7rem;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 2rem;
            font-size: 0.9rem;
            z-index: 50;
            display: flex;
            align-items: center;
            backdrop-filter: blur(10px);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .voice-status.visible {
            opacity: 1;
        }
        
        .voice-status .dot {
            width: 10px;
            height: 10px;
            background-color: #ef4444;
            border-radius: 50%;
            margin-right: 0.5rem;
            animation: pulse 1.5s infinite;
        }
        
        /* 语音识别结果 */
        .voice-result {
            position: fixed;
            bottom: 7rem;
            left: 50%;
            transform: translateX(-50%);
            background-color: white;
            color: #1f2937;
            padding: 1rem;
            border-radius: 1rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            max-width: 80%;
            z-index: 45;
            text-align: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .voice-result.visible {
            opacity: 1;
        }
        
        /* 响应式调整 */
        @media (max-width: 640px) {
            .layout-grid {
                grid-template-columns: 1fr;
            }
            
            #app {
                padding: 1rem;
            }
            
            .settings-grid {
                grid-template-columns: 1fr;
            }
            
            .voice-input-btn {
                bottom: 1.5rem;
                width: 55px;
                height: 55px;
            }
            
            .voice-status, .voice-result {
                bottom: 6rem;
            }
        }
        
        /* 暗色模式调整 */
        .theme-dark .note-input {
            background-color: #1e293b;
            border-color: #374151;
            color: #e2e8f0;
        }
        
        .theme-dark .btn-secondary {
            background-color: #374151;
            color: #e2e8f0;
        }
        
        .theme-dark .btn-secondary:hover {
            background-color: #4b5563;
        }
        
        .theme-dark .custom-checkbox {
            border-color: #4b5563;
        }
        
        .theme-dark .empty-state {
            color: #6b7280;
        }
        
        .theme-dark .voice-result {
            background-color: #1e293b;
            color: #e2e8f0;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        }
        
        /* 经典模式调整 */
        .theme-classic .note-input {
            background-color: #fefce8;
            border-color: #f59e0b;
            color: #431407;
        }
        
        .theme-classic .btn-secondary {
            background-color: #fed7aa;
            color: #431407;
        }
        
        .theme-classic .btn-secondary:hover {
            background-color: #fdba74;
        }
        
        .theme-classic .custom-checkbox {
            border-color: #f59e0b;
        }