/* ========================================
   STICKER PICKER — shared colour palette
   Used by the custom algset editor,
   the reconstructor's Stickers modal and
   the Image Generator tool
   (see static/js/utils/stickerPicker.js).
   ======================================== */

.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 0 4px;
    justify-content: center;
    align-items: center;
}

.color-palette .palette-dot {
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid var(--border-color, #ccc);
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.1s, border-color 0.1s;
    flex-shrink: 0;
}

.color-palette .palette-dot:hover {
    transform: scale(1.15);
}

.color-palette .palette-dot.selected {
    border-color: var(--text-color, #000);
    outline: 2px solid var(--text-color, #000);
    outline-offset: 1px;
}
