     /* 基础样式 */
     * {
         margin: 0;
         padding: 0;
         box-sizing: border-box;
     }

     body {
         font-family: Arial, sans-serif;
         background: #f5f5f5;
         padding: 20px;
         line-height: 1.6;
     }

     .container {
         /* max-width: 1200px; */
         margin: 0 auto;
         background: white;
         border-radius: 10px;
         box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
         overflow: hidden;
     }

     header {
         background: #2c3e50;
         color: white;
         padding: 20px;
     }

     header h1 {
         font-size: 24px;
         margin-bottom: 5px;
     }

     header h2 {
         font-size: 18px;
         font-weight: normal;
         opacity: 0.9;
     }

     .main-content {
         display: grid;
         grid-template-columns: 1.4fr 0.6fr;
         gap: 0;
     }
    .control-section {
         padding: 30px;
         background: #f8f9fa;
         position: relative;
     }

     .preview-section {
         padding: 30px;
         border-right: 1px solid #eee;
         position: relative;

     }

     .preview-section h3 {
         margin-bottom: 20px;
         color: #333;
     }

     .upload-area {
         border: 2px dashed #ccc;
         border-radius: 8px;
         padding: 40px 20px;
         text-align: center;
         cursor: pointer;
         transition: all 0.3s ease;
         background: #fafafa;
     }

     .upload-area:hover {
         border-color: #3498db;
         background: #f0f8ff;
     }

     .upload-area.drag-over {
         border-color: #3498db;
         background: #e3f2fd;
     }

     .upload-icon {
         font-size: 48px;
         margin-bottom: 15px;
         display: block;
     }

     .upload-hint {
         color: #666;
         font-size: 14px;
         margin-top: 8px;
     }

 
     .filter-controls h4 {
         margin-bottom: 20px;
         color: #333;
         font-size: 18px;
     }

     .slider-group {
         margin-bottom: 15px;
     }

     .slider-group label {
         display: block;
         margin-bottom: 5px;
         font-weight: bold;
         color: #555;
     }

     .slider-group input[type="range"] {
         width: 100%;
         margin: 5px 0;
     }

     .value-display {
         display: inline-block;
         width: 40px;
         text-align: right;
         font-weight: bold;
     }

     .preset-buttons {
         display: grid;
         grid-template-columns: 1fr 1fr;
         gap: 10px;
         margin: 20px 0;
     }

     .preset-btn {
         padding: 10px;
         border: 1px solid #ddd;
         background: white;
         border-radius: 5px;
         cursor: pointer;
         transition: all 0.3s ease;
     }

     .preset-btn:hover {
         background: #e9ecef;
     }

     .preset-btn.active {
         background: #3498db;
         color: white;
         border-color: #3498db;
     }

     .action-buttons {
         display: grid;
         grid-template-columns: 1fr 1fr;
         gap: 10px;
         margin-top: 20px;
     }

     .btn {
         padding: 12px;
         border: none;
         border-radius: 5px;
         cursor: pointer;
         font-size: 14px;
         transition: all 0.3s ease;
     }

     .btn-primary {
         background: #3498db;
         color: white;
     }

     .btn-primary:hover {
         background: #2980b9;
     }

     .btn-secondary {
         background: #95a5a6;
         color: white;
     }

     .btn-secondary:hover {
         background: #7f8c8d;
     }
     #resetBtn{
         background: #2c3e50;

     }
     .image-preview {
         display: none;
         margin-top: 20px;
         text-align: center;
     }

     #previewCanvas {
         max-width: 100%;
         border: 1px solid #ddd;
         border-radius: 5px;
     }

     .comparison-container {
         display: flex;
         justify-content: center;
         /* margin-top: 20px; */
     }

     .comparison-item {
         text-align: center;
         max-width: 100%;
     }

     .comparison-item canvas {
         max-width: 100%;
         /* max-height: 500px; */
         border: 1px solid #ddd;
         border-radius: 5px;
     }

     .tupian {
         width: 100%;
         border: 1px solid #e9ecef;
         border-radius: 5px;
         overflow: hidden;
         text-align: center;
     }

     .tupian img {
         width: 60%;
     }

     .text_pian {
         margin-top: 40px;
         color: #666;
         font-size: 16px;
     }

    
     .cesh{
        background-color: #0000007a;

        color: #00000044;

        background: linear-gradient(0deg, rgba(0, 0, 0, 0.336), rgba(255, 255, 0, 0));
     }
     