/* Lucid Ads — section Vidéo IA (refaite le 05/10/2026 : accueil à 4 choix, parcours guidés).
   Mêmes jetons que style.css (fond quasi noir, accent citron). Espacement de base : 12 px entre deux boutons. */

#video { display: flex; flex-direction: column; gap: 20px; max-width: 1100px; }
#video .small, .v-more .small { font-size: 12.5px; }
#video .spacer { flex: 1; }
.v-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.v-stack { display: grid; gap: 14px; }

.v-verdict { font: 500 17px/1.5 var(--sans); color: var(--text); max-width: 820px; }
.v-note { font-size: 14px; color: var(--text2); background: var(--tile); padding: 12px 14px; border-radius: var(--r12); }
.v-note.amber { background: var(--amber-10); color: var(--amber); }
.v-back { align-self: flex-start; font-size: 14px; }
.v-name { font: 700 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.v-title { display: grid; gap: 6px; }
.v-title h2 { font: 700 26px/1.15 var(--display); }
.v-title p { color: var(--text2); max-width: 760px; }
.v-h { font: 600 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--text2); margin-top: 8px; }

/* Accueil */
.v-bigs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.v-big { height: auto; min-height: 150px; padding: 24px; border-radius: var(--r20); background: var(--card); box-shadow: inset 0 0 0 1px var(--ring);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; text-align: left; white-space: normal; font-weight: 400; }
.v-big:hover { background: #202327; }
.v-big h3 { font: 700 22px/1.15 var(--display); color: var(--text); }
.v-big p { color: var(--text2); font-size: 14.5px; line-height: 1.5; }
.v-links { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 4px; }

/* Parcours guidé */
.v-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.v-dots span { font: 600 12.5px/1 var(--display); padding: 8px 12px; border-radius: 999px; background: var(--tile); color: var(--muted); }
.v-dots span.on { background: var(--lime); color: var(--on-lime); }
.v-dots span.done { color: var(--text); }
.v-step { display: grid; gap: 18px; padding: 24px; border-radius: var(--r20); background: var(--card); box-shadow: inset 0 0 0 1px var(--ring); }
.v-nav { display: flex; gap: 12px; justify-content: space-between; }
.v-nav .primary { margin-left: auto; min-width: 140px; }

.v-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.v-choice { height: auto; padding: 16px 18px; border-radius: var(--r16); background: var(--tile); display: grid; gap: 6px; justify-items: start; text-align: left;
  white-space: normal; font-weight: 400; }
.v-choice:hover { background: var(--tile-hover); }
.v-choice strong { font: 600 16px/1.25 var(--display); color: var(--text); }
.v-choice span { color: var(--text2); font-size: 13.5px; line-height: 1.45; }
.v-choice.on { box-shadow: inset 0 0 0 2px var(--lime); }
.v-choice.warn span { color: var(--amber); }

/* Tuiles (pièces, personnages, pubs, styles) */
.v-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; max-height: 620px; overflow-y: auto; padding: 2px; }
.v-tiles.videos, .v-tiles.styles { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.v-tile { height: auto; padding: 8px; border-radius: var(--r16); background: var(--tile); display: grid; gap: 8px; align-content: start; justify-items: start;
  text-align: left; white-space: normal; font-weight: 400; }
.v-tile:hover { background: var(--tile-hover); }
.v-tile.on { box-shadow: inset 0 0 0 2px var(--lime); }
.v-tile.static { cursor: default; }
.v-tile.static:hover { background: var(--tile); }
.v-tile img, .v-tile video, .v-noimg { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; background: #0b0c0e; }
.v-tiles.people .v-tile img { aspect-ratio: 3 / 4; }
.v-tiles.videos .v-tile img, .v-tiles.videos .v-tile video, .v-tiles.styles .v-tile img { aspect-ratio: 9 / 16; }
.v-tile strong { font-size: 13px; line-height: 1.3; color: var(--text); font-weight: 600; }
.v-tile.add { place-content: center; justify-items: center; text-align: center; min-height: 180px; background: transparent;
  border: 1px dashed var(--ring2); }
.v-tile.add .plus { font: 300 40px/1 var(--display); color: var(--lime); }
.v-tile.add:hover { background: var(--lime-10); }

/* Texte du script */
.v-line { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.v-line .t { font: 600 12.5px/1 var(--display); color: var(--lime); }
.v-wait { display: grid; gap: 10px; place-items: center; text-align: center; padding: 24px; color: var(--text2); font-size: 13.5px; }

/* Cases à cocher des versions */
.v-checks { display: grid; gap: 10px; }
.v-check { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r12); background: var(--tile); cursor: pointer; color: var(--text); font-size: 14px; font-weight: 400; }
.v-check.col { flex-direction: column; gap: 12px; cursor: default; }
.v-check input { margin-top: 2px; flex: none; }
.v-check span { display: grid; gap: 4px; }
.v-check strong { font-weight: 600; }
.v-check small { color: var(--text2); font-size: 13px; line-height: 1.45; }
.v-check.warn small { color: var(--amber); }

/* Lancement */
.v-launch { display: grid; gap: 16px; padding: 18px; border-radius: var(--r16); background: var(--lime-10); box-shadow: inset 0 0 0 1px var(--lime-24); }
.v-launch b { font: 700 20px/1 var(--display); color: var(--lime); }
.v-recap { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v-recap li { display: flex; gap: 12px; font-size: 14px; }
.v-recap li span { color: var(--text2); min-width: 110px; }

.v-more { border-radius: var(--r12); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--ring); }
.v-more > summary { cursor: pointer; padding: 12px 14px; font-size: 13.5px; font-weight: 600; color: var(--text2); list-style: none; }
.v-more > summary::before { content: "＋ "; color: var(--lime); }
.v-more[open] > summary::before { content: "－ "; }
.v-more > .v-stack { padding: 4px 14px 14px; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { height: 36px; padding: 0 14px; font-size: 13.5px; background: var(--tile); }
.chips button.on { background: var(--lime); color: var(--on-lime); }
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text); font-weight: 500; }

/* Champ chiffré : moins, valeur, plus (jamais les flèches natives) */
.v-stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: var(--r12); background: var(--tile); }
.v-stepper button { width: 36px; height: 36px; padding: 0; font-size: 18px; border-radius: 10px; }
.v-stepper b { min-width: 74px; text-align: center; font: 600 15px/1 var(--display); }
.v-field { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--ring); }
.v-field > span { font-size: 14px; color: var(--text); }
.v-card-plain { display: grid; gap: 12px; padding: 20px; border-radius: var(--r20); background: var(--card); box-shadow: inset 0 0 0 1px var(--ring); }
.v-card-plain h3 { font: 700 18px/1.2 var(--display); }

/* Personnage (fenêtre latérale) */
.v-portrait { width: 220px; aspect-ratio: 9 / 16; border-radius: var(--r16); background: var(--tile); display: grid; place-items: center; overflow: hidden; text-align: center; padding: 8px; }
.v-portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

/* Mes vidéos */
.v-group { display: grid; gap: 12px; }
.v-group-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: var(--r16); background: var(--card); box-shadow: inset 0 0 0 1px var(--ring); }
.v-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.v-item { display: flex; flex-direction: column; border-radius: var(--r16); background: var(--card); box-shadow: inset 0 0 0 1px var(--ring); overflow: hidden; }
.v-media { position: relative; aspect-ratio: 9 / 16; background: #0b0c0e; display: grid; place-items: center; }
.v-media video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.v-body { display: grid; gap: 10px; padding: 14px; }
.v-body h4 { font: 600 14px/1.3 var(--display); }
.v-dl { font-size: 13px; font-weight: 600; color: var(--text2); }
.v-dl:hover { color: var(--text); }
.spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--tile); border-top-color: var(--lime); animation: vspin 1s linear infinite; }
@keyframes vspin { to { transform: rotate(360deg); } }

.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font: 600 11.5px/1 var(--display); background: rgba(255, 255, 255, .08); color: var(--text2); white-space: nowrap; }
.pill.lime { background: var(--lime-10); color: var(--lime); }

/* Scores */
.v-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.v-kpi { padding: 16px; border-radius: var(--r16); background: var(--card); box-shadow: inset 0 0 0 1px var(--ring); display: grid; gap: 6px; }
.v-kpi span { font-size: 12.5px; color: var(--text2); }
.v-kpi b { font: 700 24px/1 var(--display); }
.v-kpi small { color: var(--muted); font-size: 12px; }
table.v-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.v-table th { text-align: left; font: 600 11.5px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--text2); padding: 10px 8px; border-bottom: 1px solid var(--ring2); }
.v-table td { padding: 10px 8px; border-bottom: 1px solid var(--ring); vertical-align: top; }
.v-table td.n { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

@media (max-width: 760px) {
  .v-bigs { grid-template-columns: 1fr; }
  .v-step { padding: 16px; }
  .v-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
