
        .picker-container {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            align-items: center;
        }

        .color-display {
            width: 220px;
            height: 220px;
            border-radius: 12px;
            background: #fff;
            border: 3px solid #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            font-weight: bold;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .color-controls {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            width: 100%;
            max-width: 800px;
        }

        input[type="color"] {
            width: 100%;
            height: 60px;
            border: none;
            cursor: pointer;
            background: transparent;
        }

        /* 颜色值行样式 */
        .color-row {
            display: flex;
            gap: 0.8rem;
            width: 100%;
        }

        .color-input {
            flex: 1;
            min-width: 120px;
            padding: 0.8rem 1rem;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.2s ease;
        }
        .color-input:focus {
            border-color: #3498db;
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
        }

        /* 复制按钮（颜色选择器） */
        .copy-btn {
            padding: 0.8rem 1.2rem;
            background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.95rem;
            font-weight: 500;
            white-space: nowrap;
            transition: all 0.2s ease;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .copy-btn:hover {
            background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }
        .copy-btn:active {
            transform: translateY(0);
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .status {
            margin-top: 1rem;
            color: #27ae60;
            font-weight: bold;
            display: none;
        }

        /* 颜色选择器专属移动端适配 */
        @media (max-width: 768px) {
            .color-row {
                flex-direction: column;
                gap: 0.6rem;
            }

            .copy-btn {
                width: 100%;
                padding: 0.7rem 1rem;
            }

            .color-display {
                width: 180px;
                height: 180px;
                font-size: 1.1rem;
            }
        }



    /* 让颜色选择器本身绝对定位、紧贴按钮 */
    .color-picker-wrapper {
        position:relative;
        width:100%;
        height:60px;
    }

    #colorPicker {
        position:absolute;
        left:0;
        top:0;
        width:100%;
        height:100%;
        opacity:0;
        cursor:pointer;
        z-index:2;
    }

    /* 按钮样式：无白色方块，纯文字按钮 */
    .color-picker-btn {
        position:absolute;
        left:0;
        top:0;
        width:100%;
        height:60px;
        border:none;
        border-radius:8px;
        background:linear-gradient(135deg,#3498db,#2980b9);
        color:#fff;
        font-size:1rem;
        font-weight:500;
        display:flex;
        align-items:center;
        justify-content:center;
        cursor:pointer;
        z-index:1;
    }
    .color-picker-btn:hover {
        background:linear-gradient(135deg,#2980b9,#1f618d);
    }

    /* 移动端优化 */
    @media (max-width:768px) {
        .color-picker-wrapper,.color-picker-btn {
            height:50px;
        }
        .color-controls {
            width:100%;
        }

    }

    @media (max-width:412px) {
        .color-controls {
            min-width: 300px;
        }
    }

    @media (max-width:390px) {
        .color-controls {
            min-width: 286px;
        }
    }

    @media (max-width:360px) {
        .color-controls {
            min-width: 268px;
        }
    }

    @media (max-width:300px) {
        .color-controls {
            min-width: auto;
        }
    }

    @media (min-width:412px) {
        .color-controls {
            min-width: 328px;
        }
    }

    @media (min-width:540px) {
        .color-controls {
            min-width: 406px;
        }
    }

    @media (min-width:768px) {
        .color-controls {
           min-width: 520px;
        }
    }

