
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html, body {
            font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;
            color: #333;
            height: 100%;
            overflow: hidden;
            
            background-image: 
                linear-gradient(rgba(173, 216, 230, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(123, 216, 230, 0.1) 1px, transparent 1px);
            background-size: 14px 14px;
        }
        
        /* 顶部导航栏样式 */
        .navbar {
            width: 100%;
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
            position: sticky;
            top: 0;
            z-index: 1000;
            height: 60px;
        }
        
        .navbar-container {
            max-width: 1320px;
            margin: 0 auto;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 100%;
        }
        
        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #4a6cf7;
        }
        
        .nav-links {
            display: flex;
            gap: 25px;
        }
        
        .nav-links a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .nav-links a:hover {
            color: #4a6cf7;
        }
        
        .user-area {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .user-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: #4a6cf7;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
        }
        
        /* 主体内容区域 */
        .main-container {
            max-width: 1320px;
            margin: 20px auto 0 auto;
            padding: 0 20px;
            display: flex;
            gap: 20px;
            height: calc(100vh - 100px); /* 减去导航栏和边距的高度 */
        }
        
        /* 左侧编辑器区域 */
        .editor-section {
            width: 36%;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .editor-header {
            background-color: #f8f9fa;
            padding: 15px;
            border-bottom: 1px solid #e9ecef;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .editor-title {
            font-size: 18px;
            color: #333;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .tips-icon {
            float: right;
            cursor: pointer;
            color: #4a6cf7;
            font-size: 12px;
            position: relative;
        }
        
        .tips-popup {
            color: #333;
            line-height: 24px;
            position: absolute;
            top: 30px;
            left: 0;
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
            padding: 10px;
            border-radius: 4px;
            font-size: 14px;
            width: 200px;
            z-index: 100;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
        }
        
        .tips-icon:hover .tips-popup {
            opacity: 1;
            visibility: visible;
        }
        
        .editor-toolbar {
            background-color: #f8f9fa;
            padding: 10px 15px;
            border-bottom: 1px solid #e9ecef;
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .toolbar-btn {
            background: none;
            border: none;
            cursor: pointer;
            padding: 5px 10px;
            border-radius: 4px;
            color: #495057;
            transition: background-color 0.2s;
        }
        
        .toolbar-btn:hover {
            background-color: #e9ecef;
        }
        
        .editor-textarea {
            flex-grow: 1;
            padding: 20px;
            border: none;
            outline: none;
            resize: none;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 14px;
            line-height: 1.6;
            overflow-y: auto;
        }
        
        /* 中间预览区域 */
        .preview-section {
            width: 36%;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .preview-header {
            background-color: #f8f9fa;
            padding: 10px 15px;
            border-bottom: 1px solid #e9ecef;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .preview-title {
            font-weight: 600;
            color: #495057;
        }
        
        .preview-actions {
            display: flex;
            gap: 10px;
        }
        
        .action-btn {
            background-color: #4a6cf7;
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.2s;
        }
        
        .action-btn:hover {
            background-color: #3a5bd9;
        }
        
        .action-btn.secondary {
            background-color: #6c757d;
        }
        
        .action-btn.secondary:hover {
            background-color: #5a6268';
        }
        
        .preview-content {
            flex-grow: 1;
            padding: 20px;
            overflow-y: auto;
        }
        
        /* 右侧设置区域 */
        .settings-section {
            width: 28%;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
            padding:10px 20px;
            height: 100%;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }
        
        .settings-content {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .settings-block {
            margin-bottom: 15px;
        }
        
        .settings-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 25px;
            color: #333;
        }
        
        .setting-item {
            margin-bottom: 15px;
        }
        
        .setting-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #495057;
        }

        
        .setting-select {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #ced4da;
            border-radius: 4px;
            background-color: #fff;
            font-size: 14px;
            color: #495057;
            cursor: pointer;
            transition: border-color 0.2s;
        }
        
        .setting-select:focus {
            outline: none;
            border-color: #4a6cf7;
            box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
        }
        
        .themes-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }
        
        /* 主题按钮样式 */
        .theme-btn {
            padding: 12px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .theme-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }
        
        .theme-btn.active {
            transform: translateY(-2px);
            box-shadow: 0 0 0 2px #fff, 0 0 0 4px #4a6cf7;
        }
        
        /* 主题颜色 */
        .theme-tech-blue {
            background-color: #4a6cf7;
            color: white;
        }
        
        .theme-jade-green {
            background-color: #2ecc71;
            color: white;
        }
        
        .theme-vibrant-orange {
            background-color: #ff9f43;
            color: white;
        }
        
        .theme-lemon-yellow {
            background-color: #feca57;
            color: #333;
        }
        
        .theme-sakura-pink {
            background-color: #ff6b9d;
            color: white;
        }
        
        .theme-medical-green {
            background-color: #1dd1a1;
            color: white;
        }
        
        .theme-spring {
            background-color: #55efc4;
            color: #333;
        }
        
        .theme-ecommerce {
            background-color: #ff7675;
            color: white;
        }
        
        .theme-food {
            background-color: #fdcb6e;
            color: #333;
        }
        
        .theme-geek {
            background-color: #6c5ce7;
            color: white;
        }
        
        /* 底部信息区域 */
        .footer-info {
            margin-top: auto;
            padding-top: 20px;
            border-top: 1px solid #e9ecef;
        }
        
        .word-count {
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            font-size: 12px;
            color: #6c757d;
        }
        
        .word-count-value {
            font-weight: 600;
            color: #495057;
        }
        
        .copyright {
            text-align: center;
            font-size: 12px;
            color: #6c757d;
            padding: 10px 0;
        }
        
        /* 自动保存提示 */
        .save-indicator {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #333;
            color: white;
            padding: 8px 15px;
            border-radius: 4px;
            font-size: 14px;
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
            z-index: 1001;
        }
        
        .save-indicator.show {
            opacity: 1;
        }