/* Créateur d'œuf de Pâques (creerOeuf.php). Styles communs des créateurs : creerSapin.css ; boutons et palette : colorier.css. */
.oeuf .createur-scene {
    max-width: calc(86vh * 1640 / 2320);   /* remplacé par creerOeuf.js : le dessin tient entier dans la fenêtre */
    aspect-ratio: 1640 / 2320;
}
/* Nombre de bandes : − [5] + */
.oeuf-nombre {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--colorTextP);
}
.oeuf-nombre label { flex: 1; white-space: nowrap; }
.oeuf-nombre input {
    width: 64px;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    padding: 5px 4px;
    border: 2px solid var(--colorTextSelectTheme);
    border-radius: 8px;
}
.oeuf-nombre .petit-btn {
    flex: 0 0 44px;
    min-width: 0;
    padding: 6px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
.oeuf-nombre .petit-btn:disabled { opacity: 0.4; }
.oeuf .createur-section > .createur-quantite { margin-top: 10px; }
/* Motifs des bandes : 4 par rangée, aperçu en bande */
.oeuf .createur-modeles.petits.motifs { grid-template-columns: repeat(4, 1fr); }
.oeuf .createur-modeles.petits.motifs .createur-modele svg.apercu { height: 30px; }
.oeuf #noteChoix:empty { display: none; }
/* Pastilles de couleur : communes (creerSapin.css) */
@media screen and (max-width: 600px) {
    .oeuf .createur-modeles.petits.motifs { grid-template-columns: repeat(3, 1fr); }
}
/* Ligne choisie : espacement et taille */
.oeuf-reglages {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 6px 10px;
    margin: 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--colorTextP);
}
.oeuf-reglages input[type="range"] { width: 100%; accent-color: var(--colorTextSelectTheme); }
.oeuf #titrePalette { margin: 6px 0 4px; }
/* Décore ton œuf : boutons des parties (Bande 1, Ligne 1…) et de ce qu'on colore */
.oeuf-puces { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.oeuf-puces[hidden] { display: none; }
.oeuf-puce {
    padding: 5px 9px;
    font-size: 13px;
    font-weight: 600;
    color: var(--colorTextSelectTheme);
    background: #fff;
    border: 2px solid var(--colorTextSelectTheme);
    border-radius: 14px;
    cursor: pointer;
}
.oeuf-puce.actif { color: #fff; background: var(--colorTextSelectTheme); }
.oeuf-titre-partie { margin: 6px 0 6px; font-size: 16px; color: var(--colorTextSelectTheme); }
.oeuf #modelesChoix[hidden] { display: none; }
.oeuf-reglages[hidden] { display: none; }
