/* Créateur de kaléidoscope (creerKaleidoscope.php). Styles communs des créateurs : creerSapin.css ; boutons et palette : colorier.css. */
.kaleido .createur-scene {
    max-width: calc(86vh * 1640 / 2320);   /* remplacé par creerKaleidoscope.js : le dessin tient entier dans la fenêtre */
    aspect-ratio: 1640 / 2320;
}
.kaleido-parts {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--colorTextP);
}
.kaleido-parts label { flex: 1; white-space: nowrap; }
.kaleido-parts input {
    width: 64px;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    padding: 5px 4px;
    border: 2px solid var(--colorTextSelectTheme);
    border-radius: 8px;
}
.kaleido-parts .petit-btn {
    flex: 0 0 44px;
    min-width: 0;
    padding: 6px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
.kaleido-parts .petit-btn:disabled { opacity: 0.4; }
/* Faire tourner : ↺ [Faire tourner] ↻ (↺ et ↻ : on garde le doigt appuyé) */
.kaleido-tour {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}
.kaleido-tour .petit-btn { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.kaleido-tour #btnTourner { flex: 1; min-width: 0; }
.kaleido-tour #btnTourGauche,
.kaleido-tour #btnTourDroite {
    flex: 0 0 48px;
    min-width: 0;
    padding: 6px 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}
/* Boutons « Fond » et « Autour du cercle » */
.kaleido-fond { margin-top: 8px; }
.kaleido-fond .petit-btn { flex: 1; }
.kaleido-fond .petit-btn[hidden] { display: none; }
