        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .color-picker-container {
            max-width: 1200px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            padding: 25px;margin:0 auto;margin-top:20px;
        }
        
        .header {
            text-align: center;
            margin-bottom: 20px;
            color: #2c3e50;
        }
        
        .header h1 {
            font-size: 28px;
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .header p {
            color: #7f8c8d;
            font-size: 16px;
        }
        
        .main-content {
            display: flex;
            gap: 25px;
        }
        
        /* 左侧主选择区域 */
        .main-picker {
            flex: 1;
        }
        
        .hue-bar {
            width: 100%;
            height: 30px;
            margin-bottom: 15px;
            border-radius: 10px;
            background: linear-gradient(to right, 
                #ff0000, #ff8000, #ffff00, #80ff00, 
                #00ff00, #00ff80, #00ffff, #0080ff, 
                #0000ff, #8000ff, #ff00ff, #ff0080, #ff0000);
            position: relative;
            cursor: pointer;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }
        
        .hue-selector {
            width: 20px;
            height: 34px;
            border: 2px solid white;
            border-radius: 4px;
            position: absolute;
            top: -2px;
            left: 0;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
            pointer-events: none;
        }
        
        .color-canvas {
            width: 100%;
            height: 250px;
            border-radius: 12px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            cursor: crosshair;
        }
        
        #color-preview {
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, white, #ff0000);
        }
        
        #color-overlay {
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, black, transparent);
            position: absolute;
            top: 0;
            left: 0;
        }
        
        .selector {
            width: 12px;
            height: 12px;
            border: 2px solid white;
            border-radius: 50%;
            position: absolute;
            transform: translate(-6px, -6px);
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
            pointer-events: none;
        }
        
        /* 右侧快捷选择 */
        .side-picker {
            width: 300px;
        }
        
        .current-color {
            width: 100%;
            height: 80px;
            border-radius: 12px;
            margin-bottom: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            display: flex;
            overflow: hidden;
            position: relative;
        }
        
        /* 透明度背景 */
        .transparency-bg {
            position: absolute;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(45deg, #ccc 25%, transparent 25%),
                linear-gradient(-45deg, #ccc 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #ccc 75%),
                linear-gradient(-45deg, transparent 75%, #ccc 75%);
            background-size: 20px 20px;
            background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
        }
        
        #selected-color {
            flex: 1;
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
        }
        
        .common-colors {
            margin-bottom: 20px;
        }
        
        .common-colors h3 {
            font-size: 16px;
            margin-bottom: 12px;
            color: #2c3e50;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .toggle-section {
            background: none;
            border: none;
            color: #3498db;
            cursor: pointer;
            font-size: 14px;
        }
        
        .rainbow-colors {
            display: flex;
            gap: 8px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        
        .color-box {
            width: 30px;
            height: 30px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
            position: relative;
        }
        
        .color-box:hover {
            transform: scale(1.1);
        }
        
        .color-box.favorite::after {
            content: '♥';
            position: absolute;
            bottom: -5px;
            right: -5px;
            background: white;
            border-radius: 50%;
            width: 16px;
            height: 16px;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #e74c3c;
            box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
        }
        
        .honeycomb-colors {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            justify-content: center;
        }
        
        .honeycomb-color {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
        }
        
        .honeycomb-color:hover {
            transform: scale(1.15);
        }
        
        /* 透明度滑块 */
        .opacity-slider {
            margin: 25px 0;
        }
        
        .opacity-slider h3 {
            font-size: 16px;
            margin-bottom: 12px;
            color: #2c3e50;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .slider-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        #opacity-slider {
            flex: 1;
            height: 18px;
            -webkit-appearance: none;
            appearance: none;
            background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
            border-radius: 10px;
            outline: none;
        }
        
        #opacity-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: white;
            cursor: pointer;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
        }
        
        #opacity-value {
            width: 45px;
            text-align: center;
            font-weight: 600;
            color: #2c3e50;
        }
        
        /* 颜色代码显示 */
        .color-codes {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-top: 20px;
        }
        
        .color-codes h3 {
            font-size: 16px;
            margin-bottom: 15px;
            color: #2c3e50;
        }
        
        .code {
            margin-bottom: 12px;
        }
        
        .code label {
            display: block;
            font-size: 14px;
            color: #7f8c8d;
            margin-bottom: 5px;
        }
        
        .code-input {
            display: flex;
            align-items: center;
        }
        
        .code-input input {
            flex: 1;
            padding: 10px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-family: monospace;
            font-size: 14px;
            outline: none;
            transition: border 0.3s ease;
        }
        
        .code-input input:focus {
            border-color: #3498db;
        }
        
        .copy-btn {
            padding: 10px 15px;
            background: #3498db;
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        .fixbtn{margin-left: 10px;
    margin-top: -20px;}
        .copy-btnfix{margin-top: -20px;margin-left: 10px;}
        .copy-btn:hover {
            background: #2980b9;
        }
        
        /* 新增功能区域 */
        .additional-features {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-top: 25px;
        }
        
        .feature-section {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .feature-section h3 {
            font-size: 16px;
            margin-bottom: 15px;
            color: #2c3e50;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .feature-section h3 i {
            font-size: 18px;
        }
        
        .favorites-container, .history-container {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            min-height: 40px;
        }
        
        .palette-container {
            display: flex;
            height: 40px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }
        
        .palette-color {
            flex: 1;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
        }
        
        .palette-color:hover {
            flex: 1.5;
        }
        
        .palette-color span {
            position: absolute;
            bottom: 3px;
            right: 3px;
            background: rgba(255, 255, 255, 0.8);
            padding: 2px 5px;
            border-radius: 3px;
            font-size: 10px;
            font-weight: bold;
        }
        
        .contrast-result {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 10px;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
        }
        
        .contrast-good {
            background: #e8f5e9;
            color: #2e7d32;
        }
        
        .contrast-poor {
            background: #ffebee;
            color: #c62828;
        }
        
        .image-color-picker {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        #image-upload {
            display: none;
        }
        
        .upload-btn {
            padding: 8px 15px;
            background: #3498db;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            text-align: center;
            font-size: 14px;
        }
        
        #image-preview {
            width: 100%;
            max-height: 150px;
            border-radius: 8px;
            cursor: crosshair;
            display: none;
        }
        
        #color-preview-box {
            width: 100%;
            height: 30px;
            border-radius: 6px;
            margin-top: 10px;
            display: none;
        }
        
        /* 响应式设计 */
        @media (max-width: 1000px) {
            .additional-features {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 900px) {
            .main-content {
                flex-direction: column;
            }
            
            .side-picker {
                width: 100%;
            }
            
            .color-canvas {
                height: 250px;
            }
        }
        
        /* 图标样式 */
        .icon {
            display: inline-block;
            width: 20px;
            height: 20px;
            background-size: contain;
            background-repeat: no-repeat;
        }