/* ---------- 12/10 · La vidéo libre en trois étapes (public/video-libre.js, qui pose ce fichier dans la page) ----------
   Le fil d'étapes est celui de la vidéo cinématique (.ci-etapes, .ci-etape, .ci-num dans video-cinema.css), dans sa version à trois
   étapes (.ci-etapes-3, le texte à droite du numéro, au téléphone aussi). Le reste de la page (.vlb-*) est à la fin de video-categories.css.
   Textes à 14 px au moins, graisse 600 au plus, jamais de noir. */
.ci-etapes.vlb-fil { margin: 0 0 4px; }
.vlb-fil a.ci-etape { color: var(--bx); }

/* « Le format » et « La qualité » : côte à côte sur ordinateur (video-categories.css), empilés avec de l'air au téléphone. */
@media (max-width: 700px) { .vlb-duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* Étape 1 : « Générer ma proposition », à droite, avec le coût approximatif de l'écriture en petit (12/10, Lisa). */
.vlb .actions.vlb-valider { flex-direction: row; align-items: center; justify-content: flex-end; gap: 10px; margin: 8px 0 6px; }
.vlb-cout { font-size: 14px; font-weight: 500; }
.vlb-perime { margin: 0; }

/* Étape 2 (12/10, Lisa) : un bloc par chose, au dessin des blocs de l'étape 1. */
.vlb-bloc-titre h2 { font-size: 22px; font-weight: 600; margin: 4px 0 0; }
.vlb-bloc > p { font-size: 15px; line-height: 1.5; margin: 0; }
.vlb-bloc > .vlb-aide { margin: 0 0 10px; }
.vlb-bloc .vlb-scenes li { font-size: 15px; line-height: 1.5; }
.vlb-bloc .vlb-rep:first-child { border-top: 0; padding-top: 0; }
.vlb-bloc .vlb-rep:last-child { padding-bottom: 0; }
.vlb-bloc .vlb-prompt-panneau { margin: 0; padding: 0; }
.vlb-bloc .vlb-prompt-panneau .vlb-aide:last-child { margin: 10px 0 0; }
.vlb-bloc .vlb-modifs { margin: 0; }
/* 12/10 soir (Lisa) : les blocs de l'étape 2 sont séparés du même espace qu'à l'étape 1 (le gap de .vlb, 14 px), au téléphone comme à l'ordinateur.
   Ils vivent dans #vlb-recap, qui n'est qu'un seul enfant de .vlb : c'est lui qui porte la grille. Le prix et les trois boutons n'ajoutent rien par-dessus. */
#vlb-recap:not(:empty) { display: grid; gap: 14px; min-width: 0; }
#vlb-recap > .vlb-prix, #vlb-recap > .vlb-regen { margin-top: 0; }

/* Le bas des étapes 2 et 3 : revenir d'une étape à gauche ; à droite, le seul bouton qui porte le prix. Toujours sur une ligne. */
.vlb-pied { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; margin: 4px 0 6px; }
.vlb-film #vlb-suivi:empty { display: none; }
.vlb-film .vlb-generer > .btn { width: auto; }
#vlb-galerie:empty, #vlb-recap:empty, #vlb-msg:empty, #vlb-perime:empty, #vlb-suivi:empty, #vlb-pied:empty { display: none; }
@media (max-width: 640px) {
  .vlb .actions.vlb-valider .droite { display: none; }
  .vlb .actions.vlb-valider .btn { width: 100%; justify-content: center; }
  .vlb-pied .droite { display: none; }
  .vlb-pied .btn.second { flex: none; padding: 12px 14px; font-size: 14.5px; }
  .vlb-pied .btn:not(.second) { flex: 1 1 auto; justify-content: center; text-align: center; padding: 13px 10px; font-size: 14px; gap: 6px; }
  .vlb-film .vlb-generer > .btn { width: 100%; justify-content: center; padding: 13px 10px; font-size: 15px; gap: 6px; }
}

/* ---------- 23/11/2026 (Lisa) : J'anime une photo en cinq petites étapes, au dessin du swap ---------- */
.ci-page.sx.vlb { display: flex; flex-direction: column; gap: 18px; }
.vlb-fil p { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vlb-recommencer { border: 0; background: none; padding: 2px 0; font: inherit; font-size: 13.5px; color: var(--encre2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.vlb .vlb-etape { padding: 20px; }
.vlb-depot-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.vlb-depot-col .sx-depot { flex: 1; }
.vlb-creations { width: 100%; justify-content: center; }
.vlb-photo-ok { display: flex; flex-direction: column; align-items: center; gap: 14px; } /* 23/11/2026 (Lisa) : plus d'encadré blanc derrière la photo */
.vlb-photo-ok img { display: block; max-width: 100%; max-height: min(52vh, 460px); border-radius: 14px; }

.vlb-modes-choix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-self: stretch; }
.vlb-modes-choix { grid-template-columns: 1fr 1fr; }
.vlb-modes-choix button { padding: 9px 8px; font-size: 13.5px; line-height: 1.2; white-space: nowrap; }
.vlb .vlb-photos.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vlb .vlb-cadre { align-items: center; text-align: center; padding: 14px 10px; }
.vlb .vlb-cadre.plein img { max-height: 240px; object-fit: cover; }
.vlb .vlb-cadre-act { justify-content: center; }
.vlb .vlb-cadre-act .btn { white-space: normal; }

.vlb-plier { padding: 0 !important; overflow: hidden; }
.vlb-plier-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px 20px; border: 0; background: none; font: inherit; color: var(--bx); text-align: left; cursor: pointer; }
.vlb-plier-tete span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vlb-plier-tete b { font-size: 16px; font-weight: 600; }
.vlb-plier-tete small { font-size: 13.5px; color: var(--encre2); }
.vlb-plier-tete i { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); font-style: normal; font-size: 19px; }
.vlb-plier-corps { padding: 0 20px 20px; }

.vlb-formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.vlb-formats button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 4px 10px; border: 2px solid transparent; border-radius: 14px; background: var(--surface); color: var(--bx); font: inherit; cursor: pointer; }
.vlb-formats button.on { border-color: var(--bx2); background: var(--ok-fond); }
.vlb-formats b { font-size: 13px; font-weight: 600; line-height: 1.2; text-align: center; }
.vlb-formats small { font-size: 12px; color: var(--encre2); }
.vlb-forme { height: 34px; display: grid; place-items: center; }
.vlb-forme i { display: block; border: 2px solid currentColor; border-radius: 4px; }
.vlb .sx-qual button.on { background: var(--bx2); color: #fff; }
.vlb .sx-barre-prix { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
.vlb .sx-barre-zone { position: static; }
.vlb .sx-verif-refs img { margin-left: 0; }
.vlb-attente:empty { display: none; }

.vlb-carte { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vlb-carte .ci-cadre-video { width: min(100%, 300px); max-height: 52vh; }
.vlb-carte .ci-cadre-video img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vlb-carte .ci-etiq-vide, .vlb-carte .ci-etiq-info { background: rgba(15, 35, 32, .78); color: #fff; }
.vlb-carte .btn { width: min(100%, 300px); justify-content: center; }
.vlb-generer { display: flex; justify-content: center; }
@media (max-width: 760px) {
  .vlb-carte .ci-cadre-video { width: auto; height: clamp(260px, 100dvh - 470px, 400px); max-width: 100%; }
  .vlb-formats b { font-size: 12.5px; }
}

/* 23/11/2026 (Lisa) : les exemples sous le dépôt, côte à côte */
.vlb-exemples { width: 100%; align-self: center; }
/* 23/11/2026 (Lisa) : sur ordinateur, le cadre et le bouton forment un seul bloc, de la hauteur exacte des exemples */
@media (min-width: 761px) {
  .vlb .sx-video:has(.vlb-depot-col) { align-items: stretch; }
  .vlb .vlb-exemples { align-self: start; }
  .vlb .vlb-depot-col { position: relative; min-height: 0; height: 100%; }
  .vlb .vlb-depot-col .sx-depot { flex: 1 1 0; min-height: 0; }
  .vlb .vlb-creations { flex: none; }
}

/* ---------- 23/11/2026 (Lisa) : Créer mon film, au dessin du swap ---------- */
.ci-page.sx.cine { display: flex; flex-direction: column; gap: 18px; }
.cine .vlb-etape { padding: 20px; }
.cine .ci-script { min-height: 170px; }
.cine-go { display: flex; }
.cine-go .btn { width: 100%; justify-content: center; }
.cine-plier > summary { list-style: none; }
.cine-plier > summary::-webkit-details-marker { display: none; }
.cine-plier[open] .vlb-plier-tete i { transform: rotate(45deg); }
.cine .vlb-plier-tete i { transition: transform .15s; }
.cine #ci-valider-zone, .cine #ci-film-pied { display: flex; flex-direction: column; gap: 14px; }
.cine .sx-barre-prix { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
.cine .sx-barre-zone { position: static; margin: 0; }
.cine .sx-qual button.on { background: var(--bx2); color: #fff; }
.cine-avance { border-top: 1px solid var(--ligne); padding-top: 12px; }
.cine-avance > summary { cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--bx2); }
.cine-avance[open] > summary { margin-bottom: 10px; }
.cine .sx-verif-refs img { margin-left: 0; }
.cine-verif-titre { min-width: 0; font-size: 16px !important; line-height: 1.25; }
.cine-bulle p, .cine-bulle ol { margin: 0; white-space: normal; }
.cine-bulle ol { padding-left: 20px; }
.cine-film-tete { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.cine-film-tete .btn { width: min(100%, 360px); justify-content: center; }
.cine-avance-txt { margin: 0; font-size: 15px; color: var(--encre2); }
.cine-avance-txt b { color: var(--bx); }
.cine-clip-titre { display: flex; flex-direction: column; gap: 1px; margin: 0 0 6px; font-size: 18px; text-align: center; }
.cine-clip-titre small { font-family: Inter, sans-serif; font-size: 13.5px; font-weight: 400; color: var(--encre2); }
.cine .ci-slot { background: none; box-shadow: none; padding: 0; }
.cine .ci-slot-actions { justify-content: center; padding: 0; }
.cine .ci-film .ci-vide small { font-size: 12.5px; opacity: .85; }
.cine .ci-film .ci-vide.cine-vide { aspect-ratio: 16 / 7; background: var(--bx2); }
.cine .ci-film .ci-cadre-video:has(.cine-vide) .ci-etiq { background: rgba(255, 255, 255, .92); color: var(--bx); }
@media (max-width: 760px) { .cine .ci-film.vertical .ci-vide { max-width: none; } }

/* 23/11/2026 (Lisa) : Mes éléments, des blocs blancs comme le reste */
.cine .ci-ref-p { background: var(--carte) !important; color: var(--bx) !important; box-shadow: var(--ombre); }
.cine button.ci-ref-tete { flex-wrap: nowrap; gap: 10px; padding: 16px; background: none !important; color: var(--bx) !important; }
.cine .ci-ref-titre { flex: 1 1 0; min-width: 0; }
.cine .ci-ref-titre b { font-size: 17px; color: var(--bx); }
.cine .ci-ref-titre small { display: block; font-size: 13px; color: var(--encre2); }
.cine .ci-ref-tete .ci-ref-etat { margin: 0; padding: 4px 9px; font-size: 12.5px; background: var(--surface) !important; color: var(--encre2) !important; }
.cine .ci-ref-tete .ci-ref-etat.on { background: var(--ok-fond) !important; color: var(--bx) !important; }
.cine .ci-ref-num { width: 28px; height: 28px; background: var(--surface); color: transparent; border: 0; }
.cine .ci-ref-num.on { background: var(--bx2); color: #fff; }
.cine .ci-ref-fleche { background: var(--surface) !important; color: var(--bx) !important; }
.cine .ci-ref-p.ouvert .ci-ref-fleche { background: var(--bx2) !important; color: #fff !important; }
.cine .ci-ref-corps { padding: 0 16px 16px; }

/* 23/11/2026 (Lisa) : Mon animation en un seul bloc */
.vlb .vlb-anim { display: flex; flex-direction: column; gap: 20px; }
.vlb-anim-partie { display: flex; flex-direction: column; gap: 10px; }
.vlb-anim-partie h2 { margin: 0; font-size: 17px; font-weight: 600; }
.vlb-anim-colonnes { display: flex; flex-direction: column; gap: 22px; }
.vlb-anim-titre { display: flex; flex-direction: column; gap: 2px; }
.vlb-option { display: inline-block; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--surface); color: var(--encre2); font-family: Inter, sans-serif; font-size: 12px; font-weight: 500; vertical-align: 2px; white-space: nowrap; }
.vlb-anim-titre { margin-bottom: 2px; }
.vlb-anim-titre p { margin: 0; font-size: 13.5px; line-height: 1.35; color: var(--encre2); }
.vlb-ajout-scene { width: 100%; margin-top: 4px; padding: 11px 12px; border: 1.5px dashed var(--bx2); border-radius: 14px; background: var(--ok-fond); color: var(--bx); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.vlb-ajout-scene:hover { background: #dcebe3; }
.vlb-anim .vlb-ajout-scene + .vlb-lien { margin-top: 4px; }
.vlb-anim-gauche { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.vlb-anim .vlb-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.vlb-anim .vlb-actions > textarea, .vlb-anim .vlb-scene { width: 100%; }
.vlb-anim .vlb-scene + .vlb-scene { margin-top: 4px; }
.vlb-lien { border: 0; background: none; padding: 3px 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--bx2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.vlb-auto-note { width: 100%; margin: 0; padding: 16px; border-radius: 14px; background: var(--ok-fond); color: var(--bx); font-size: 15px; }
.vlb-visages { display: flex; flex-wrap: wrap; gap: 12px 10px; }
.vlb-visage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 68px; padding: 0; border: 0; background: none; color: var(--bx); font: inherit; cursor: pointer; }
.vlb-visage small { width: 100%; overflow: hidden; font-size: 12px; line-height: 1.2; text-align: center; text-overflow: ellipsis; white-space: nowrap; color: var(--encre2); }
.vlb-visage-img { position: relative; flex: none; box-sizing: border-box; display: grid; place-items: center; width: 58px; height: 58px; min-height: 58px; max-height: 58px; border: 2px solid transparent; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--ligne); }
.vlb-visage-img img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; border-radius: 50%; object-fit: cover; display: block; }
.vlb-visage-img > i { position: absolute; right: -3px; bottom: -3px; display: none; place-items: center; width: 20px; height: 20px; border: 2px solid #fff; border-radius: 50%; background: var(--bx2); color: #fff; font-size: 10px; font-style: normal; }
.vlb-visage.on .vlb-visage-img { border-color: var(--bx2); box-shadow: none; }
.vlb-visage.on .vlb-visage-img > i { display: grid; }
.vlb-visage.on small { color: var(--bx); font-weight: 600; }
.vlb-visage-plus .vlb-visage-img { border: 1.5px dashed var(--encre2); background: none; box-shadow: none; color: var(--bx2); }
.vlb-visage-plus.survol .vlb-visage-img { background: var(--ok-fond); }
.vlb-visage-import { cursor: default; }
.vlb-visage-x { position: absolute; top: -3px; right: 2px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--bx); font-size: 11px; box-shadow: 0 1px 4px rgba(0,0,0,.2); cursor: pointer; }
.vlb-visage-img .ph-num { inset: 0; height: auto; padding: 0; border-radius: 50%; background: none; }
.vlb-visage-img .ph-num span { display: none; }

/* 23/11/2026 (Lisa) : « Renforcer la ressemblance » en menu dépliant */
.vlb-ress { border-radius: 14px; background: var(--fond); border: 1px solid var(--ligne); }
.vlb-ress-tete { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 8px 12px 8px 14px; border: 0; background: none; color: var(--bx); font: inherit; text-align: left; cursor: pointer; }
.vlb-ress-titre { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.vlb-ress-tete > i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); transition: transform .15s; }
.vlb-ress.ouvert .vlb-ress-tete > i { transform: rotate(180deg); }
.vlb-ress-minis { flex: none; display: flex; align-items: center; }
.vlb-ress-minis img { width: 28px; height: 28px; margin-left: -8px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; }
.vlb-ress-minis b { margin-left: 4px; font-size: 12px; color: var(--encre2); }
.vlb-ress-corps { display: flex; flex-direction: column; gap: 12px; padding: 0 14px 14px; }
.vlb-ress-corps > p { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--encre2); }
.vlb-ress-vide a { color: var(--bx2); font-weight: 600; }

/* 23/11/2026 (Lisa) : Mes réglages en un seul bloc */
.vlb .vlb-regl { display: flex; flex-direction: column; gap: 20px; }
.vlb-regl-partie { display: flex; flex-direction: column; gap: 10px; }
.vlb-regl-partie h2 { margin: 0; font-size: 17px; font-weight: 600; }
.vlb-regl .vlb-duree { margin: 0; }
.vlb-regl-prix { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vlb-regl-prix > b { flex: none; font-family: var(--tight); font-size: 21px; font-weight: 600; color: var(--bx); }
.vlb-regl .sx-qual { flex-wrap: nowrap; }
.vlb-regl .sx-qual button { padding: 7px 11px; font-size: 13px; }
.vlb-modele-actuel { flex: none; font-size: 13.5px; color: var(--encre2); }
.vlb-modeles { display: flex; flex-direction: column; gap: 8px; }
.vlb-modele { display: flex; flex-direction: column; gap: 3px; width: 100%; padding: 11px 12px; border: 2px solid transparent; border-radius: 12px; background: var(--carte); color: var(--bx); font: inherit; text-align: left; cursor: pointer; }
.vlb-modele.on { border-color: var(--bx2); background: var(--ok-fond); }
.vlb-modele:disabled { opacity: .55; cursor: not-allowed; }
.vlb-modele-tete { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.vlb-modele-tete b { font-size: 14.5px; font-weight: 600; }
.vlb-modele-tete em { padding: 2px 7px; border-radius: 999px; background: var(--surface); font-size: 11.5px; font-style: normal; font-weight: 500; color: var(--encre2); }
.vlb-modele.on .vlb-modele-tete em { background: #fff; }
.vlb-modele-tete strong { margin-left: auto; font-size: 14px; font-weight: 600; }
.vlb-modele small { font-size: 13px; line-height: 1.35; color: var(--encre2); }

/* 23/11/2026 (Lisa) : Ma vidéo, une fois générée */
.vlb-resultat { display: flex; flex-direction: column; gap: 16px; }
.vlb-resultat .vlb-carte { gap: 10px; }
.vlb-lecteur { overflow: hidden; background: #0f2320; }
.vlb-lecteur video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vlb-lecteur .sx-clip-gauche .ci-etiq { background: rgba(255, 255, 255, .94); color: var(--bx); }
.vlb-lecteur .vlb-etat { position: relative; width: 100%; height: 100%; aspect-ratio: auto; overflow: hidden; border-radius: 0; }
.vlb-lecteur .vlb-etat .sx-clip-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vlb-lecteur .vlb-etat::after { content: ''; position: absolute; inset: 0; background: rgba(15, 35, 32, .62); }
.vlb-lecteur .vlb-etat > :not(.sx-clip-fond) { position: relative; z-index: 1; }
.ph-res-act.vlb-res-outils { position: static; display: flex; justify-content: center; gap: 8px; opacity: 1; transform: none; background: none; padding: 0; }
.vlb-res-cote { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.vlb-res-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vlb-res-actions .btn { width: 100%; min-width: 0; justify-content: center; text-align: center; padding-left: 8px; padding-right: 8px; }
.vlb-res-actions .vlb-res-large { grid-column: 1 / -1; }
.vlb-gardee { color: var(--bx); background: var(--ok-fond); border-color: var(--bx2); }
.vlb-res-modif { display: flex; flex-direction: column; gap: 6px; }
.vlb-res-modif p { margin: 0; font-size: 13px; line-height: 1.35; color: var(--encre2); }
.vlb-versions { display: flex; flex-direction: column; gap: 8px; }
.vlb-versions h2 { margin: 0; font-size: 15px; font-weight: 600; }
.vlb-versions > div { display: flex; flex-wrap: wrap; gap: 8px; }
.vlb-version { display: flex; flex-direction: column; gap: 3px; width: 78px; padding: 0; border: 0; background: none; color: var(--encre2); font: inherit; cursor: pointer; }
.vlb-version img { display: block; width: 100%; aspect-ratio: 3 / 4; border: 2px solid transparent; border-radius: 10px; object-fit: cover; box-sizing: border-box; }
.vlb-version.on img { border-color: var(--bx2); }
.vlb-version.on { color: var(--bx); font-weight: 600; }
.vlb-version small { font-size: 11.5px; line-height: 1.2; text-align: center; }
@media (min-width: 761px) {
  .vlb-resultat { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 26px; align-items: start; }
  .vlb-resultat .vlb-carte .ci-cadre-video { width: 100%; max-height: 62vh; }
}
@media (max-width: 760px) {
  .vlb-resultat .vlb-carte .vlb-lecteur { width: auto; height: clamp(300px, 100dvh - 400px, 460px); max-width: 100%; }
}

/* 23/11/2026 (Lisa) : Ma vidéo : seulement Modifier, Refaire, et Télécharger posé sur la vidéo */
.vlb-dl { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--bx); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.vlb-dl:hover { background: var(--bx2); color: #fff; }

/* 23/11/2026 (Lisa) : Mon film sur téléphone, la vidéo remplit son cadre (Télécharger reste bien dessus) */
@media (max-width: 760px) {
  .cine .ci-film.vertical .ci-cadre-video { width: min(100%, 280px); margin: 0 auto; }
  .cine .ci-film.vertical .ci-video, .cine .ci-film.vertical .ci-vide { width: 100%; max-width: none; }
}

/* 23/11/2026 (Lisa) : les secondes restent sur la vidéo générée, à côté de Télécharger */
.vlb-lecteur .vlb-secondes { top: 15px; left: auto; right: 56px; background: rgba(15, 35, 32, .78); color: #fff; }
.vlb-lecteur .vlb-secondes[hidden] { display: none; }
.vlb-lecteur:not(:has(.vlb-dl)) .vlb-secondes { top: 10px; right: 10px; }

/* 23/11/2026 (Lisa) : Ma vidéo : ordinateur, le chevron avec Modifier et Refaire collés ; téléphone, les boutons sous la vidéo et Précédent en bas */
.vlb-res-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vlb-res-btns .btn, .vlb-retour { justify-content: center; text-align: center; min-width: 0; }
.vlb-res-btns .btn { width: 100%; padding-left: 8px; padding-right: 8px; }
@media (max-width: 760px) {
  .vlb-res-pied { display: contents; }
  .vlb-resultat > .vlb-carte { order: 1; }
  .vlb-res-btns { order: 2; }
  .vlb-res-modif, .vlb-res-confirm { order: 3; }
  .vlb-res-cote { order: 4; }
  .vlb-retour { order: 5; align-self: flex-start; width: calc(50% - 5px); }
  .vlb-retour-court { display: none; }
}
@media (min-width: 761px) {
  .vlb-res-modif, .vlb-res-confirm, .vlb-res-pied { grid-column: 1 / -1; }
  .vlb-res-pied { display: flex; align-items: stretch; gap: 10px; }
  .vlb-res-pied .vlb-retour { flex: none; width: 50px; padding: 0; font-size: 24px; line-height: 1; }
  .vlb-retour-long { display: none; }
  .vlb-res-btns { display: flex; }
  .vlb-res-btns .btn { width: auto; min-width: 190px; }
  .vlb-resultat.seule { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .vlb-resultat.seule .vlb-carte { width: 320px; }
  .vlb-resultat.seule .vlb-res-modif, .vlb-resultat.seule .vlb-res-confirm { width: min(100%, 520px); box-sizing: border-box; }
  .vlb-versions h2 { font-size: 17px; }
  .vlb-versions > div { gap: 14px; }
  .vlb-version { width: 150px; gap: 6px; }
  .vlb-version img { border-radius: 14px; }
  .vlb-version small { font-size: 13.5px; }
}
.vlb-res-confirm { margin: 0; }

/* 23/11/2026 (Lisa) : Ma photo : « Changer de photo » posé sur la photo, « Renforcer la ressemblance » toujours ouvert, dessous sur téléphone, à côté sur ordinateur */
.vlb-photo-ligne { display: flex; flex-direction: column; gap: 14px; }
.vlb-photo-ligne .vlb-photo-ok { justify-content: center; }
.vlb-photo-cadre { position: relative; display: inline-flex; max-width: 100%; border-radius: 14px; overflow: hidden; }
.vlb-photo-changer { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--bx); font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 3px 12px rgba(0, 0, 0, .28); cursor: pointer; }
.vlb-photo-changer:hover { background: #fff; }
.vlb-photo-changer:focus-within { outline: 2px solid var(--bx2); outline-offset: 2px; }
.vlb-ress-fixe { padding: 8px 4px 6px; border: 0; border-radius: var(--radius); background: var(--carte); box-shadow: var(--ombre); }
.vlb-ress-fixe .vlb-ress-tete { margin: 0; cursor: default; }
.vlb-ress-fixe .vlb-ress-titre { font-size: 17px; }
@media (min-width: 761px) {
  .vlb-photo-ligne { display: grid; grid-template-columns: fit-content(58%) minmax(0, 1fr); align-items: stretch; gap: 18px; } /* sans son encadré, la photo s'aligne à gauche et le bloc prend la place restante */
}

/* 23/11/2026 (Lisa) : Mes réglages : le modèle vidéo est une partie comme la durée et la qualité, ses encadrés toujours visibles */
.vlb-regl-partie .vlb-modele { background: var(--fond); border-color: var(--ligne); }
.vlb-regl-partie .vlb-modele.on { background: var(--ok-fond); border-color: var(--bx2); }

/* 29/11/2026 (Lisa) : « Renforcer la ressemblance » en cartes rectangulaires, comme les personnages du swap */
.vlb-ress-h { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: var(--bx); }
.vlb-ress-refs { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.vlb-ref-import { position: relative; cursor: default; }
.vlb-ref-import .vlb-visage-x { top: 6px; right: 6px; }
.sx-ref.charge { opacity: .55; cursor: progress; }
@media (max-width: 640px) { .vlb-ress-refs { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
