 /* 样式保持不变 */
        :root {
            --primary-color: #4a6ee0;
            --success-color: #28a745;
            --error-color: #dc3545;
            --warning-color: #ffc107;
            --dark-color: #343a40;
            --light-color: #f8f9fa;
            --border-color: #dee2e6;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
            padding: 20px;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        h1 {
            color: var(--primary-color);
            margin-bottom: 10px;
        }
        
        .description {
            color: #666;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .tool-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        @media (min-width: 768px) {
            .tool-container {
                flex-direction: row;
            }
        }
        
        .input-section, .output-section {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .section-title {
            font-weight: 600;
            color: var(--dark-color);
        }
        
        .actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        button {
            padding: 8px 16px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.2s;
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            color: white;
        }
        
        .btn-primary:hover {
            background-color: #3a5ecf;
        }
        
        .btn-success {
            background-color: var(--success-color);
            color: white;
        }
        
        .btn-success:hover {
            background-color: #218838;
        }
        
        .btn-warning {
            background-color: var(--warning-color);
            color: var(--dark-color);
        }
        
        .btn-warning:hover {
            background-color: #e0a800;
        }
        
        .btn-danger {
            background-color: var(--error-color);
            color: white;
        }
        
        .btn-danger:hover {
            background-color: #c82333;
        }
        
        .btn-info {
            background-color: #17a2b8;
            color: white;
        }
        
        .btn-info:hover {
            background-color: #138496;
        }
        
        textarea {
            width: 100%;
            height: 300px;
            padding: 15px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            resize: vertical;
            line-height: 1.5;
        }
        
        .output-area {
            background-color: white;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            padding: 15px;
            height: 300px;
            overflow: auto;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            line-height: 1.5;
            white-space: pre-wrap;
        }
        
        .message {
            margin-top: 10px;
            padding: 10px 15px;
            border-radius: 0 4px 4px 0;
            border-left: 3px solid;
        }
        
        .error {
            color: var(--error-color);
            background-color: rgba(220, 53, 69, 0.1);
            border-left-color: var(--error-color);
        }
        
        .success {
            color: var(--success-color);
            background-color: rgba(40, 167, 69, 0.1);
            border-left-color: var(--success-color);
        }
        
        .info {
            color: var(--primary-color);
            background-color: rgba(74, 110, 224, 0.1);
            border-left-color: var(--primary-color);
        }
        
        .warning {
            color: var(--warning-color);
            background-color: rgba(255, 193, 7, 0.1);
            border-left-color: var(--warning-color);
        }
        
        .json-key {
            color: #881391;
        }
        
        .json-string {
            color: #c41a16;
        }
        
        .json-number {
            color: #1c00cf;
        }
        
        .json-boolean {
            color: #0d22aa;
        }
        
        .json-null {
            color: #808080;
        }
        
        .footer {
            margin-top: 30px;
            text-align: center;
            color: #666;
            font-size: 14px;
        }
        
        .clear-message {
            background: none;
            border: none;
            color: inherit;
            cursor: pointer;
            font-size: 14px;
            margin-left: 10px;
            text-decoration: underline;
        }
        
        .message-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .repair-details {
            margin-top: 10px;
            padding: 10px;
            background-color: rgba(255, 255, 255, 0.7);
            border-radius: 4px;
            font-size: 13px;
        }
        
        .repair-item {
            margin: 5px 0;
            padding-left: 10px;
            border-left: 2px solid var(--primary-color);
        }