        
        .color-controls {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 9999;
            background: rgba(10, 14, 26, 0.95);
            backdrop-filter: blur(12px);
            border-radius: 20px;
            padding: 16px 20px;
            border: 1px solid rgba(90, 120, 200, 0.3);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            font-family: 'Segoe UI', 'Inter', monospace;
            font-size: 12px;
            min-width: 260px;
            transition: opacity 0.2s;
        }

        .color-controls:hover {
            background: rgba(10, 14, 26, 0.98);
        }

        .color-controls h4 {
            margin: 0 0 12px 0;
            color: #e8edf6;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-align: center;
        }

        .control-group {
            margin-bottom: 14px;
        }

        .control-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 6px;
            color: #b9c4d7;
            font-size: 11px;
            font-weight: 500;
        }

        .control-label code {
            background: rgba(0, 0, 0, 0.4);
            padding: 2px 6px;
            border-radius: 6px;
            font-family: monospace;
            font-size: 10px;
            color: #d68b2a;
        }

        .control-value {
            color: #d68b2a;
            font-weight: 700;
        }

        input[type="range"] {
            width: 100%;
            height: 4px;
            -webkit-appearance: none;
            appearance: none;
            background: #2a3448;
            border-radius: 10px;
            outline: none;
            cursor: pointer;
        }

        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid white;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
        }

        #huePrimaryCtrl::-webkit-slider-thumb { background: #d68b2a; }
        #hueSecondaryCtrl::-webkit-slider-thumb { background: #2e6fb8; }
        #saturationCtrl::-webkit-slider-thumb { background: #4fc17f; }

        .range-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 4px;
            font-size: 9px;
            color: #6c7a91;
        }

        .reset-btn {
            width: 100%;
            margin-top: 12px;
            padding: 6px 12px;
            background: rgba(90, 120, 200, 0.2);
            border: 1px solid rgba(90, 120, 200, 0.4);
            border-radius: 10px;
            color: #b9c4d7;
            font-size: 11px;
            font-weight: 600;
            cursor: pointer;
            text-align: center;
            transition: all 0.2s;
        }

        .reset-btn:hover {
            background: rgba(90, 120, 200, 0.35);
            color: white;
        }

        
        .collapse-btn {
            position: absolute;
            top: 8px;
            right: 12px;
            background: none;
            border: none;
            color: #8a98b0;
            cursor: pointer;
            font-size: 14px;
            padding: 0;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .color-controls.collapsed {
            padding: 10px 16px;
            min-width: auto;
        }

        .color-controls.collapsed .control-group,
        .color-controls.collapsed .reset-btn,
        .color-controls.collapsed h4 {
            display: none;
        }

        .color-controls.collapsed .collapse-btn {
            position: static;
            transform: none;
        }

        .color-controls.collapsed .collapse-btn span {
            transform: rotate(180deg);
            display: inline-block;
        }
        .button-group {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-direction: column;
}

.copy-btn {
    flex: 1;
    padding: 6px 12px;
    background: rgba(90, 120, 200, 0.2);
    border: 1px solid rgba(90, 120, 200, 0.4);
    border-radius: 10px;
    color: #b9c4d7;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: rgba(90, 120, 200, 0.35);
    color: white;
}