/* ── Éditeur visuel du site public d'un club ──
   Interface neutre (gris ardoise) autour d'un aperçu fidèle ; l'accent reprend la couleur de la plateforme. */

.se-layout {
    --se-accent: var(--mud-palette-primary, #d85f35);
    --se-encre: #1d2433;
    --se-doux: #5b6476;
    --se-trait: #e4e7ee;
    --se-fond: #eef0f4;
    --se-surface: #ffffff;
    --se-rayon: 14px;
    height: 100vh;
    overflow: hidden;
    background: var(--se-fond);
    color: var(--se-encre);
    font-family: "Inter", system-ui, sans-serif;
}
.se-chargement { display: grid; place-items: center; height: 100vh; }
.se-editeur { display: flex; flex-direction: column; height: 100vh; }

/* Barre */
.se-barre {
    display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr); align-items: center; gap: 16px;
    height: 64px; padding: 0 16px; border-bottom: 1px solid var(--se-trait); background: var(--se-surface); z-index: 5;
}
.se-barre__gauche, .se-barre__centre, .se-barre__droite { display: flex; align-items: center; gap: 8px; min-width: 0; }
.se-barre__droite { justify-content: flex-end; }
.se-barre__retour {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--se-encre);
    transition: background .15s ease;
}
.se-barre__retour:hover { background: var(--se-fond); }
.se-barre__titre { display: grid; min-width: 0; line-height: 1.2; }
.se-barre__titre strong { overflow: hidden; font-size: .95rem; text-overflow: ellipsis; white-space: nowrap; }
.se-barre__surtitre { color: var(--se-doux); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.se-barre__pages { width: 260px; }
.se-barre__page { display: inline-flex; align-items: center; gap: 8px; }
.se-pastille { padding: 1px 8px; border-radius: 999px; background: #fff4d6; color: #7a5600; font-size: .7rem; font-weight: 600; }
.se-appareils { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--se-fond); }
.se-appareils button {
    display: grid; place-items: center; width: 36px; height: 30px; border: 0; border-radius: 8px; background: none; color: var(--se-doux); cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.se-appareils .se-appareils--actif { background: var(--se-surface); color: var(--se-encre); box-shadow: 0 1px 3px rgba(16, 24, 40, .15); }
.se-etat { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; color: #2f8a5b; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.se-etat--modifie { color: #b26a00; }

/* Effet d'apparition (menu de la barre) : chaque choix montre son effet en boucle sur deux petits blocs */
.se-barre__effet {
    display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--se-trait); border-radius: 10px;
    background: var(--se-surface); color: var(--se-encre); font: inherit; font-size: .84rem; font-weight: 600; white-space: nowrap; cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.se-barre__effet:hover { background: var(--se-fond); }
.se-barre__effet .mud-icon-root { color: var(--se-accent); }
.se-animations { min-width: 300px; }
.se-animation { display: flex; align-items: center; gap: 12px; width: 100%; padding: 4px 0; }
.se-animation__texte { display: flex; flex: 1; flex-direction: column; line-height: 1.25; }
.se-animation__texte small { color: #5b6476; font-size: .76rem; }
.se-animation--actif strong { color: var(--mud-palette-primary, #d85f35); }
.se-animation__demo {
    display: flex; flex: none; flex-direction: column; justify-content: center; gap: 4px; width: 44px; height: 36px; padding: 0 7px;
    border-radius: 8px; background: #eef0f4; overflow: hidden;
}
.se-animation__demo i { display: block; height: 7px; border-radius: 3px; background: var(--mud-palette-primary, #d85f35); }
.se-animation__demo i + i { width: 70%; filter: brightness(1.35); }
.se-animation__demo--fondu i { animation: se-demo-fondu 2.4s ease infinite; }
.se-animation__demo--glissement i { animation: se-demo-glissement 2.4s cubic-bezier(.2, .7, .2, 1) infinite; }
.se-animation__demo--zoom i { animation: se-demo-zoom 2.4s cubic-bezier(.2, .7, .2, 1) infinite; }
.se-animation__demo i + i { animation-delay: .15s; }
@keyframes se-demo-fondu { 0%, 15% { opacity: 0; } 55%, 100% { opacity: 1; } }
@keyframes se-demo-glissement { 0%, 15% { opacity: 0; transform: translateY(12px); } 55%, 100% { opacity: 1; transform: none; } }
@keyframes se-demo-zoom { 0%, 15% { opacity: 0; transform: scale(.6); } 55%, 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .se-animation__demo i { animation: none; } }

.se-bandeau-info {
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px;
    background: linear-gradient(90deg, #fff3e8, #fdeee6); color: #8a3d12; font-size: .85rem; font-weight: 500;
}

/* Corps : panneau et scène */
.se-corps { display: flex; flex: 1; min-height: 0; }
.se-panneau {
    display: flex; flex-direction: column; width: 400px; flex: none; overflow-x: hidden; overflow-y: auto; border-right: 1px solid var(--se-trait);
    background: var(--se-surface);
}
.se-scene { flex: 1; overflow-y: auto; padding: 28px 32px 80px; scroll-behavior: smooth; }

/* Liste des sections */
.se-liste { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.se-panneau__entete h2, .se-formulaire__titre h2 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.se-panneau__entete p, .se-formulaire__titre p { margin: 2px 0 0; color: var(--se-doux); font-size: .82rem; }
.se-liste__elements { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.se-element {
    display: flex; align-items: center; border: 1px solid var(--se-trait); border-radius: 12px; background: var(--se-surface);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.se-element:hover { border-color: color-mix(in srgb, var(--se-accent) 45%, var(--se-trait)); box-shadow: 0 6px 18px -10px rgba(16, 24, 40, .35); }
.se-element--masque { opacity: .55; }
.se-element__corps {
    display: flex; flex: 1; align-items: center; justify-content: flex-start; gap: 12px; min-width: 0; padding: 10px 6px 10px 12px; border: 0; background: none;
    color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.se-element__icone {
    display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px;
    background: color-mix(in srgb, var(--se-accent) 12%, transparent); color: var(--se-accent);
}
.se-element__textes { display: grid; min-width: 0; }
.se-element__type { font-size: .88rem; font-weight: 600; }
.se-element__resume { overflow: hidden; color: var(--se-doux); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.se-element__actions { display: flex; align-items: center; padding-right: 4px; opacity: .45; transition: opacity .15s ease; }
.se-element:hover .se-element__actions, .se-element:focus-within .se-element__actions { opacity: 1; }

.se-ajouter {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; border: 1.5px dashed #c5cad6;
    border-radius: 12px; background: none; color: var(--se-doux); font: 600 .9rem "Inter", sans-serif; cursor: pointer;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.se-ajouter:hover { border-color: var(--se-accent); background: color-mix(in srgb, var(--se-accent) 6%, transparent); color: var(--se-accent); }
.se-ajouter--petit { padding: 9px; font-size: .84rem; }

.se-vide { display: grid; justify-items: center; gap: 10px; padding: 28px 16px; border-radius: var(--se-rayon); background: var(--se-fond); color: var(--se-doux); text-align: center; }
.se-vide p { margin: 0; font-size: .88rem; }

/* Formulaire d'une section */
.se-formulaire { display: flex; flex-direction: column; }
.se-formulaire__entete { position: sticky; top: 0; z-index: 2; display: grid; gap: 12px; padding: 16px 20px 12px; border-bottom: 1px solid var(--se-trait); background: var(--se-surface); }
.se-formulaire__retour { justify-self: start; display: inline-flex; align-items: center; gap: 4px; }
.se-formulaire__titre { display: flex; align-items: center; gap: 12px; }
.se-formulaire__actions { display: flex; gap: 2px; }
.se-formulaire__corps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 20px 40px; }

.se-champ { display: grid; gap: 6px; margin: 6px 0 10px; }
.se-champ__libelle { color: var(--se-encre); font-size: .8rem; font-weight: 600; }
.se-champ__aide { color: var(--se-doux); font-size: .76rem; line-height: 1.4; }
.se-champ__erreur { color: #c0392b; font-size: .76rem; }
.se-espace { margin-bottom: 8px !important; }
.se-sous-titre { margin: 18px 0 6px; padding-top: 14px; border-top: 1px solid var(--se-trait); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--se-doux); }
.se-ligne { display: flex; flex-wrap: wrap; gap: 20px; }
.se-lien { padding: 0; border: 0; background: none; color: var(--se-accent); font: 600 .82rem "Inter", sans-serif; cursor: pointer; text-decoration: none; }
.se-lien:hover { text-decoration: underline; }
.se-lien--danger { color: #c0392b; }

/* Fonds */
.se-fonds { display: flex; flex-wrap: wrap; gap: 8px; }
.se-fond {
    display: grid; justify-items: center; gap: 6px; width: 78px; padding: 8px 4px; border: 1.5px solid var(--se-trait); border-radius: 12px;
    background: var(--se-surface); color: var(--se-doux); font: 500 .74rem "Inter", sans-serif; cursor: pointer; transition: border-color .15s ease;
}
.se-fond:hover { border-color: #b7bdcb; }
.se-fond--actif { border-color: var(--se-accent); color: var(--se-encre); box-shadow: 0 0 0 3px color-mix(in srgb, var(--se-accent) 18%, transparent); }
.se-fond__pastille { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(0, 0, 0, .1); border-radius: 50%; }

/* Image */
.se-image { display: flex; align-items: center; gap: 14px; }
.se-image__vignette {
    position: relative; display: grid; place-items: center; flex: none; width: 112px; height: 76px; overflow: hidden; border: 1px solid var(--se-trait);
    border-radius: 10px; background: repeating-conic-gradient(#f2f4f7 0 25%, #fff 0 50%) 0 0 / 16px 16px; color: #9aa2b1;
}
.se-image__vignette img { width: 100%; height: 100%; object-fit: cover; }
.se-image--rond .se-image__vignette { width: 72px; height: 72px; border-radius: 50%; }
.se-image__attente { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .7); }
.se-image__actions { display: grid; gap: 6px; justify-items: start; }
.se-image__liens { display: flex; gap: 12px; }

/* Texte riche */
.se-riche { overflow: hidden; border: 1px solid #c4c9d4; border-radius: 10px; background: var(--se-surface); transition: border-color .15s ease, box-shadow .15s ease; }
.se-riche:focus-within { border-color: var(--se-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--se-accent) 15%, transparent); }
.se-riche__outils { display: flex; gap: 2px; padding: 4px; border-bottom: 1px solid var(--se-trait); background: #f8f9fb; }
.se-riche__outil {
    display: grid; place-items: center; width: 30px; height: 28px; border: 0; border-radius: 6px; background: none; color: var(--se-doux); cursor: pointer;
}
.se-riche__outil:hover, .se-riche__outil--actif { background: var(--se-trait); color: var(--se-encre); }
.se-riche__lien { display: flex; align-items: center; gap: 8px; padding: 8px; border-bottom: 1px solid var(--se-trait); }
.se-riche__zone { min-height: 96px; max-height: 320px; overflow-y: auto; padding: 10px 12px; font-size: .9rem; line-height: 1.6; outline: none; }
.se-riche__zone:empty::before { content: attr(data-placeholder); color: #9aa2b1; }
.se-riche__zone p { margin: 0 0 .6em; }
.se-riche__zone ul { margin: 0 0 .6em; padding-left: 1.2em; list-style: disc; }
.se-riche__zone h3 { margin: .4em 0; font-size: 1rem; }

/* Listes d'éléments */
.se-elements { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.se-elements__item { border: 1px solid var(--se-trait); border-radius: 12px; background: var(--se-surface); }
.se-elements__item--ouvert { border-color: #c4c9d4; box-shadow: 0 8px 20px -14px rgba(16, 24, 40, .4); }
.se-elements__entete { display: flex; align-items: center; padding: 2px 4px 2px 0; }
.se-elements__titre {
    display: flex; flex: 1; align-items: center; justify-content: flex-start; gap: 6px; min-width: 0; padding: 8px 10px; border: 0; background: none;
    color: inherit; font: 600 .86rem "Inter", sans-serif; text-align: left; cursor: pointer;
}
.se-elements__titre span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.se-elements__corps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 4px 12px 14px; border-top: 1px solid var(--se-trait); }
.se-lien-champ { display: grid; gap: 8px; }
.se-lien-champ__adresse { display: flex; align-items: center; gap: 4px; }
.se-suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; color: var(--se-doux); font-size: .78rem; }
.se-puce { padding: 4px 10px; border: 1px solid var(--se-trait); border-radius: 999px; background: var(--se-surface); color: var(--se-encre); font: 500 .78rem "Inter", sans-serif; cursor: pointer; }
.se-puce:hover { border-color: var(--se-accent); color: var(--se-accent); }

/* Choix de source (personnes) */
.se-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 10px; }
.se-choix__option {
    display: grid; gap: 4px; justify-items: start; padding: 12px; border: 1.5px solid var(--se-trait); border-radius: 12px; background: var(--se-surface);
    color: var(--se-doux); font: .76rem "Inter", sans-serif; text-align: left; cursor: pointer;
}
.se-choix__option strong { color: var(--se-encre); font-size: .86rem; }
.se-choix__option--actif { border-color: var(--se-accent); background: color-mix(in srgb, var(--se-accent) 5%, var(--se-surface)); }

.se-choix--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Sections alimentées par Lynkko : d'où viennent les données */
.se-source {
    display: flex; gap: 10px; margin: 6px 0 14px; padding: 12px 14px; border-radius: 12px;
    background: color-mix(in srgb, var(--se-accent) 7%, var(--se-surface)); border: 1px solid color-mix(in srgb, var(--se-accent) 22%, transparent);
}
.se-source__icone { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--se-accent); color: #fff; }
.se-source strong { font-size: .84rem; }
.se-source p { margin: 2px 0 6px; color: var(--se-doux); font-size: .8rem; line-height: 1.45; }
.se-source .se-lien { display: inline-flex; align-items: center; gap: 4px; }

/* Aperçu */
.se-apercu { display: flex; justify-content: center; }
.se-apercu__appareil {
    width: 100%; max-width: 1280px; overflow: hidden; border-radius: 16px; background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 24px 60px -24px rgba(16, 24, 40, .35); transition: max-width .35s ease, border-radius .35s ease;
}
.se-apercu--mobile .se-apercu__appareil { max-width: 390px; border: 10px solid #1d2433; border-radius: 36px; }
.se-apercu__adresse {
    display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--se-trait); background: #f8f9fb;
    color: var(--se-doux); font-size: .78rem;
}
.se-apercu__adresse > span:last-child { padding: 3px 12px; border-radius: 999px; background: #fff; }
.se-apercu__points { display: flex; gap: 6px; }
.se-apercu__points i { width: 10px; height: 10px; border-radius: 50%; background: #d7dbe3; }
.se-apercu--mobile .se-apercu__points { display: none; }
.se-apercu__site .sc-entete { position: relative; }
.se-apercu__site .sc-site { min-height: 0; }
.se-inerte { pointer-events: none; }
.se-apercu__vide { display: grid; justify-items: center; gap: 8px; padding: 80px 24px; color: var(--se-doux); text-align: center; }
.se-apercu__vide strong { color: var(--se-encre); font-size: 1.15rem; }
.se-apercu__vide-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }

.se-bloc { position: relative; cursor: pointer; }
.se-bloc::after {
    content: ""; position: absolute; inset: 0; z-index: 3; border: 2px solid transparent; pointer-events: none; transition: border-color .15s ease, background .15s ease;
}
.se-bloc:hover::after { border-color: color-mix(in srgb, var(--se-accent) 55%, transparent); }
.se-bloc--actif::after { border-color: var(--se-accent); box-shadow: inset 0 0 0 1px var(--se-accent); }
.se-bloc--masque > .se-inerte { opacity: .35; filter: grayscale(.6); }
.se-bloc__etiquette {
    position: absolute; top: 10px; left: 10px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
    border-radius: 8px; background: var(--se-accent); color: #fff; font: 600 .74rem "Inter", sans-serif;
    opacity: 0; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease; pointer-events: none;
}
.se-bloc:hover .se-bloc__etiquette, .se-bloc--actif .se-bloc__etiquette { opacity: 1; transform: none; }
.se-bloc__inserer {
    position: absolute; bottom: -15px; left: 50%; z-index: 5; display: grid; place-items: center; width: 30px; height: 30px; margin-left: -15px;
    border: 2px solid #fff; border-radius: 50%; background: var(--se-accent); color: #fff; cursor: pointer;
    opacity: 0; transform: scale(.8); transition: opacity .15s ease, transform .15s ease; box-shadow: 0 4px 12px rgba(16, 24, 40, .3);
}
.se-bloc:hover .se-bloc__inserer, .se-bloc--actif .se-bloc__inserer { opacity: 1; transform: none; }

/* Galerie des types (fenêtre) */
.se-voile { position: fixed; inset: 0; z-index: 1200; background: rgba(15, 20, 30, .45); backdrop-filter: blur(2px); animation: se-apparition .15s ease; }
.se-galerie {
    position: fixed; top: 50%; left: 50%; z-index: 1201; width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow-y: auto;
    padding: 24px; border-radius: 20px; background: var(--se-surface); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
    transform: translate(-50%, -50%); animation: se-entree .2s ease;
}
.se-galerie__entete { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.se-galerie__entete h2 { margin: 0; font-size: 1.25rem; }
.se-galerie__entete p { margin: 4px 0 0; color: var(--se-doux); font-size: .88rem; }
.se-galerie__groupe { margin: 18px 0 10px; }
.se-galerie__groupe:first-of-type { margin-top: 0; }
.se-galerie__groupe h3 { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .95rem; }
.se-galerie__groupe h3 .mud-icon-root { color: var(--se-accent); }
.se-galerie__groupe p { margin: 2px 0 0; color: var(--se-doux); font-size: .8rem; }
.se-galerie__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.se-type {
    display: grid; gap: 6px; padding: 10px 10px 14px; border: 1.5px solid var(--se-trait); border-radius: 16px; background: var(--se-surface);
    color: var(--se-encre); font-family: "Inter", sans-serif; text-align: left; cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.se-type:hover { border-color: var(--se-accent); box-shadow: 0 14px 30px -18px rgba(16, 24, 40, .45); transform: translateY(-2px); }
.se-type__nom { display: flex; align-items: center; gap: 6px; padding: 0 4px; font-size: .92rem; font-weight: 700; }
.se-type__description { padding: 0 4px; color: var(--se-doux); font-size: .78rem; line-height: 1.4; }

/* Vignettes dessinées des types */
.se-mini {
    display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 6px; height: 104px; padding: 12px;
    border-radius: 10px; background: #f3f5f8; overflow: hidden;
}
.se-mini i { display: block; border-radius: 4px; background: #cfd5df; }
.se-mini__titre { width: 60%; height: 10px; background: #8c95a6 !important; }
.se-mini__ligne { width: 80%; height: 6px; }
.se-mini__ligne--courte { width: 50%; }
.se-mini__bouton { width: 34%; height: 12px; border-radius: 999px !important; background: var(--se-accent) !important; }
.se-mini--bandeau { flex-direction: column; align-items: center; background: linear-gradient(135deg, #5b6b82, #273142); }
.se-mini--bandeau .se-mini__titre, .se-mini--bandeau .se-mini__ligne { background: rgba(255, 255, 255, .85) !important; }
.se-mini--bandeau .se-mini__ligne { width: 50%; }
.se-mini--texte-image, .se-mini--lieu { flex-wrap: nowrap; gap: 10px; }
.se-mini__colonne { display: flex; flex: 1; flex-direction: column; gap: 6px; }
.se-mini__colonne .se-mini__titre, .se-mini__colonne .se-mini__ligne { width: auto; }
.se-mini__image { flex: 1; height: 72px; background: linear-gradient(135deg, #a9b6c9, #7d8ba3) !important; }
.se-mini__plan { flex: 1; height: 72px; background: repeating-linear-gradient(45deg, #d6e7d2 0 8px, #c4dcbf 8px 16px) !important; }
.se-mini__carte { width: 28%; height: 72px; background: linear-gradient(to bottom, #a9b6c9 55%, var(--se-accent) 55%) !important; }
.se-mini__personne { display: grid; justify-items: center; gap: 4px; width: 26%; }
.se-mini__rond { width: 22px; height: 22px; border-radius: 50% !important; background: #a9b6c9 !important; }
.se-mini__personne .se-mini__ligne { width: 70%; height: 5px; }
.se-mini--texte { flex-direction: column; align-items: center; }
.se-mini__logo { width: 19%; height: 26px; border-radius: 6px !important; }
.se-mini__photo { width: 21%; height: 34px; background: linear-gradient(135deg, #b8c3d3, #8996ad) !important; }
.se-mini--contact { flex-direction: column; align-items: center; background: color-mix(in srgb, var(--se-accent) 22%, #f3f5f8); }
.se-mini__formulaire { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 62%; padding: 8px; border-radius: 6px; background: #fff; }
.se-mini__formulaire .se-mini__ligne { width: 100%; }
.se-mini__jour, .se-mini__tarif, .se-mini__actualite { display: flex; flex-direction: column; gap: 5px; width: 27%; padding: 8px 6px; border-radius: 6px; background: #fff; }
.se-mini__jour .se-mini__titre, .se-mini__jour .se-mini__ligne, .se-mini__actualite i { width: 90%; }
.se-mini__tarif { align-items: center; }
.se-mini__prix { width: 60%; height: 14px; background: var(--se-accent) !important; }
.se-mini--inscriptions { flex-direction: column; align-items: center; background: color-mix(in srgb, var(--se-accent) 22%, #f3f5f8); }
.se-mini__boutons { display: flex; justify-content: center; gap: 6px; width: 100%; }
.se-mini__boutons .se-mini__bouton { width: 30%; }
.se-mini__bouton--contour { background: transparent !important; border: 2px solid var(--se-accent); }
.se-mini--agenda { flex-direction: column; align-items: center; gap: 5px; }
.se-mini__evenement { display: flex; gap: 6px; width: 70%; padding: 6px; border-radius: 6px; background: #fff; }
.se-mini__date { flex: none; width: 18px; height: 20px; background: var(--se-accent) !important; }
.se-mini__actualite .se-mini__ligne--courte { width: 40%; height: 5px; background: var(--se-accent) !important; }

/* Tiroir des réglages de la page */
.se-tiroir {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1201; display: flex; flex-direction: column; width: min(440px, 100vw);
    background: var(--se-surface); box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .35); animation: se-glisse .2s ease;
}
.se-tiroir__entete { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--se-trait); }
.se-tiroir__entete h2 { margin: 0; font-size: 1.1rem; }
.se-tiroir__corps { flex: 1; overflow-y: auto; padding: 20px; }
.se-tiroir__pied { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--se-trait); }
.se-espaceur { flex: 1; }
.se-adresse { display: flex; align-items: center; gap: 4px; }
.se-adresse > span { color: var(--se-doux); font-size: .82rem; white-space: nowrap; }

@keyframes se-apparition { from { opacity: 0; } }
@keyframes se-entree { from { opacity: 0; transform: translate(-50%, -46%); } }
@keyframes se-glisse { from { transform: translateX(40px); opacity: 0; } }

@media (max-width: 1100px) {
    .se-barre { grid-template-columns: auto 1fr auto; }
    .se-barre__titre, .se-etat { display: none; }
    .se-barre__pages { width: 180px; }
    .se-panneau { width: 340px; }
    .se-galerie__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .se-corps { flex-direction: column; }
    .se-panneau { width: auto; max-height: 50vh; border-right: 0; border-bottom: 1px solid var(--se-trait); }
    .se-scene { padding: 16px; }
    .se-barre { height: auto; padding: 8px; grid-template-columns: 1fr; }
    .se-barre__droite { justify-content: flex-start; flex-wrap: wrap; }
    .se-galerie__grille { grid-template-columns: 1fr; }
}

/* Menu du site (tiroir) */
.se-tiroir--large { width: min(560px, 100vw); }
.se-menu__aide { margin: 0 0 14px; color: var(--se-doux); font-size: .84rem; line-height: 1.45; }
.se-menu__ligne {
    display: flex; align-items: center; gap: 8px; min-height: 48px; margin-bottom: 6px; padding: 2px 6px 2px 12px;
    border: 1px solid var(--se-trait); border-radius: 12px; background: var(--se-surface);
}
.se-menu__ligne > .mud-icon-root { flex: none; color: var(--se-doux); }
.se-menu__ligne--fixe { gap: 10px; padding: 10px 12px; background: var(--se-fond); font-size: .9rem; }
.se-menu__ligne--enfant { margin-left: 28px; }
.se-menu__ligne--masquee .se-menu__nom input { color: var(--se-doux); font-style: italic; }
.se-menu__nom { flex: 1; min-width: 0; margin: 0 !important; }
.se-menu__nom .mud-input { font-size: .92rem; font-weight: 600; }
.se-menu__nom .mud-input::before { border-bottom-color: transparent !important; }
.se-menu__actions { display: flex; flex: none; align-items: center; }
.se-menu__ajout { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.se-menu__ajout .mud-input-control { flex: 1; margin: 0; }

/* Création du site avec le modèle du sport */
.se-modele { width: min(640px, calc(100vw - 32px)); }
.se-modele__pages { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: page; }
.se-modele__pages li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--se-trait); border-radius: 12px; }
.se-modele__pages li div { display: grid; gap: 2px; }
.se-modele__pages strong { font-size: .92rem; }
.se-modele__pages span:not(.se-modele__icone) { color: var(--se-doux); font-size: .82rem; line-height: 1.4; }
.se-modele__icone { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--se-accent) 12%, var(--se-surface)); color: var(--se-accent); }
.se-modele__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; color: var(--se-doux); font-size: .82rem; }
.se-modele__pied > span:first-child { flex-basis: 100%; }
