/* Vidéo sans témoins : champs, choix du type de code, aperçu cliquable */
.pdx-video-grille { display: grid; gap: 0 1em; grid-template-columns: repeat(auto-fit, minmax(13em, 1fr)); margin-top: 1.2em; }
.pdx-video-large { grid-column: 1 / -1; }
.pdx-video .champ { margin-bottom: 0.9em; }
.pdx-video .champ select { width: 100%; }
.pdx-video-etat { margin: 0.6em 0 0; font-size: 0.9em; font-weight: 600; min-height: 1.4em; overflow-wrap: anywhere; }
.pdx-video-etat.niv-ok { color: var(--ok); }
.pdx-video-etat.niv-err { color: var(--err); }
.pdx-video-cases { margin: 0.3em 0 0; }
.pdx-video-cases code, .pdx-video-mode code, .pdx-video .outil-aide code { font-family: var(--mono); font-size: 0.92em; }
.pdx-video-mode { margin: 1.2em 0 0.4em; }
.pdx-video-mode .pv-case strong { display: block; }
.pdx-video-vignette { margin-top: 0.8em; }
.pdx-video-vignette .outil-aide { margin-top: -0.5em; }
.pdx-video-res .res-bloc:first-child { margin-top: 1em; }

/* Aperçu : le voile attend le clic */
.pdx-video-apercu { max-width: 40em; }
.pdx-video-voile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 1em;
	border: 1px dashed var(--gris);
	border-radius: 0.9em;
	background: var(--grisé);
	color: var(--encre);
	font: 700 1.05em/1.3 var(--texte);
	cursor: pointer;
	text-align: center;
}
.pdx-video-voile:hover { border-color: var(--encre); background: var(--brume); }
.pdx-video-voile small { font-weight: 400; font-size: 0.85em; color: var(--gris); max-width: 22em; }
.pdx-video-voile-icone { width: 3.4em; height: 2.4em; border-radius: 0.7em; background: var(--encre); position: relative; }
.pdx-video-voile-icone::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -0.5em 0 0 -0.3em;
	border-style: solid;
	border-width: 0.5em 0 0.5em 0.85em;
	border-color: transparent transparent transparent #fff;
}
.pdx-video [hidden] { display: none !important; }
