/**
 * Prisma MF — scrollbar sottile per contenitori interni (non html/body).
 */

.scroll-thin {
    scrollbar-width: thin;
    scrollbar-color: rgba(20, 20, 20, 0.18) transparent;
}

.scroll-thin::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.scroll-thin::-webkit-scrollbar-track {
    background: transparent;
}

.scroll-thin::-webkit-scrollbar-thumb {
    background: rgba(20, 20, 20, 0.18);
    border-radius: 9999px;
}

.scroll-thin::-webkit-scrollbar-thumb:hover {
    background: rgba(20, 20, 20, 0.32);
}

.scroll-thin::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

@media (prefers-color-scheme: dark) {
    .scroll-thin {
        scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
    }

    .scroll-thin::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.18);
    }

    .scroll-thin::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.32);
    }
}

body.body-color-create .stage-palette-tool__tone-scale.scroll-thin {
    padding-right: 6px;
}
