/* Direct de Matariʻi i niʻa — inc/direct.php, template-parts/section-direct.php */

.section--direct {
	padding: var(--section-py) 0;
	background:
		radial-gradient(ellipse at 20% 0%, rgba(255, 141, 25, 0.12) 0%, transparent 55%),
		linear-gradient(180deg, #001520 0%, #002D45 100%);
	color: var(--color-text-light);
}

.direct__entete {
	margin-bottom: 2rem;
}

.direct__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: var(--text-caption);
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-weight: 600;
	color: var(--nia-orange);
}

.direct__eyebrow--live::before {
	content: "";
	width: 0.65rem;
	height: 0.65rem;
	border-radius: 50%;
	background: #FF3B30;
	box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6);
	animation: direct-pouls 1.8s ease-out infinite;
}

@keyframes direct-pouls {
	0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6); }
	70% { box-shadow: 0 0 0 0.6rem rgba(255, 59, 48, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.direct__eyebrow--live::before {
		animation: none;
	}
}

.direct__titre {
	font-family: var(--font-brand);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1.2;
	margin: 0.75rem 0;
	color: var(--color-text-light);
}

.direct__annonce {
	max-width: 60ch;
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--color-text-muted);
}

.direct__grille {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}

@media (min-width: 1024px) {
	.direct__grille--fil {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
	}
}

/* Écran vidéo : affiche du site, puis lecteur au clic */
.direct__ecran {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: #000;
	box-shadow:
		0 30px 80px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(255, 255, 255, 0.06);
}

.direct__affiche {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.6);
}

.direct__ecran .direct__lancer {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	align-items: flex-end;
	padding-bottom: clamp(1rem, 7%, 2.5rem);
}

.direct__lancer {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.direct__pastille {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.9rem 1.6rem;
	border-radius: 999px;
	background: var(--nia-orange);
	color: #001520;
	font-weight: 700;
	font-size: 1rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	transition: transform 0.2s, background-color 0.2s;
}

@media (max-width: 600px) {
	.direct__ecran .direct__pastille {
		padding: 0.6rem 1.1rem;
		font-size: 0.9rem;
	}
}

.direct__lancer:hover .direct__pastille {
	transform: scale(1.04);
	background: #FFA54A;
}

.direct__lancer:focus-visible {
	outline: none;
}

.direct__lancer:focus-visible .direct__pastille {
	outline: 3px solid var(--nia-turquoise);
	outline-offset: 3px;
}

.direct__attente {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 1.25rem 1.5rem;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	font-weight: 600;
	font-size: 1.1rem;
}

.direct__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.direct__note {
	margin-top: 0.75rem;
	font-size: var(--text-small);
	line-height: 1.5;
	color: var(--color-text-muted);
}

.direct__note a {
	color: var(--nia-turquoise);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Fil d'actualité : un cadre (en-tête, publications qui défilent, pied), natif (API) ou filet (publications
   choisies). Même hauteur avant et après le clic : rien ne saute. Banc du 19/11 sur la production : sans cadre,
   les publications flottaient, coupées net, la colonne s'ouvrait au milieu d'une publication (ancrage du
   défilement pendant le chargement de Facebook) et, au téléphone, le défilement intérieur retenait la page.
   Largeur des publications : Facebook en veut 350 px au moins ; 400 - 2 - 2 × 16 = 366 px dans la colonne. */
.direct__fil {
	--fil-px: 1.25rem;
	--fil-zone-px: 1rem;
	--fil-hauteur: 600px;
	--fil-trait: rgba(255, 255, 255, 0.08);
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: var(--radius-lg);
	border: 1px solid rgba(135, 255, 255, 0.14);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
	box-shadow:
		0 30px 80px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	overflow: hidden;
}

/* En-tête : titre, source, pastille Facebook */
.direct__fil::before {
	content: "";
	position: absolute;
	top: 1.2rem;
	right: var(--fil-px);
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: #0866FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M14 13.5h2.5l1-4H14v-2c0-1.03 0-2 2-2h1.5V2.14c-.33-.04-1.56-.14-2.86-.14C11.93 2 10 3.66 10 6.7v2.8H7v4h3V22h4v-8.5z'/%3E%3C/svg%3E") center / 1.15rem no-repeat;
	box-shadow: 0 0 0 4px rgba(8, 102, 255, 0.16);
}

.direct__fil-titre {
	margin: 0;
	padding: 1.1rem calc(var(--fil-px) + 3rem) 0.2rem var(--fil-px);
	font-size: var(--text-h4);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-text-light);
}

.direct__fil-de {
	margin: 0;
	padding: 0 calc(var(--fil-px) + 3rem) 1rem var(--fil-px);
	border-bottom: 1px solid var(--fil-trait);
	font-size: var(--text-small);
	line-height: 1.5;
	color: var(--color-text-muted);
}

/* Pied : note sur les cookies, lien vers la page */
.direct__fil .direct__note {
	margin: 0;
	padding: 0.9rem var(--fil-px) 0;
	border-top: 1px solid var(--fil-trait);
	font-size: var(--text-caption);
}

.direct__fil-pied {
	margin: 0;
	padding: 0.75rem var(--fil-px) 0;
	border-top: 1px solid var(--fil-trait);
	font-size: var(--text-caption);
	color: var(--color-text-muted);
}

.direct__fil-page {
	margin: 0;
	padding: 0.6rem var(--fil-px) 1.1rem;
}

.direct__fil > :last-child:not(.direct__fil-page) {
	padding-bottom: 1.1rem;
}

.direct__post-lien,
.direct__fil-page a {
	font-size: var(--text-small);
	color: var(--nia-turquoise);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.direct__fil-page a::after {
	content: " →";
}

/* Zone des publications (fil natif et filet) : l'écran du cadre */
.direct__fil-liste,
.direct__fil-zone {
	height: var(--fil-hauteur);
	background: rgba(0, 12, 22, 0.45);
}

/* Fil natif */
.direct__fil-liste {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1rem var(--fil-zone-px) 2.5rem;
	overflow-y: auto;
	overflow-anchor: none;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(135, 255, 255, 0.35) transparent;
}

.direct__fil-vide {
	margin: 0;
	padding: 2rem 1.5rem;
	border-radius: var(--radius-lg);
	border: 1px dashed rgba(255, 255, 255, 0.2);
	color: var(--color-text-muted);
	text-align: center;
}

.direct__post {
	flex-shrink: 0;
	padding: 1rem 1.1rem;
	border-radius: var(--radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.05);
}

.direct__post-heure {
	display: block;
	margin-bottom: 0.4rem;
	font-size: var(--text-caption);
	font-weight: 600;
	letter-spacing: 0.05em;
	color: var(--nia-orange);
}

.direct__post-texte {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 8;
	overflow: hidden;
	margin: 0 0 0.75rem;
	white-space: pre-line;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--color-text-light);
}

.direct__post-image {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 0.75rem;
	border-radius: calc(var(--radius-lg) / 2);
}

/* Filet avant le clic : deux publications fantômes sous le bouton, à la hauteur du fil chargé */
.direct__fil-zone {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1.25rem var(--fil-zone-px);
	overflow: hidden;
}

.direct__fil-zone:not(.direct__fil-zone--charge)::before,
.direct__fil-zone:not(.direct__fil-zone--charge)::after {
	content: "";
	position: absolute;
	left: var(--fil-zone-px);
	right: var(--fil-zone-px);
	height: 17.5rem;
	border-radius: 12px;
	background:
		radial-gradient(circle at 1.6rem 1.6rem, rgba(255, 255, 255, 0.13) 1rem, transparent 1.05rem),
		linear-gradient(rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.13)) 3.4rem 1.05rem / 40% 0.55rem no-repeat,
		linear-gradient(rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.09)) 3.4rem 1.9rem / 22% 0.45rem no-repeat,
		linear-gradient(160deg, rgba(135, 255, 255, 0.1), rgba(255, 141, 25, 0.08)) 0 3.4rem / 100% 8.6rem no-repeat,
		linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) 0.9rem 13.1rem / 82% 0.5rem no-repeat,
		linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) 0.9rem 14.3rem / 66% 0.5rem no-repeat,
		linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.07)) 0.9rem 15.9rem / 38% 0.5rem no-repeat,
		rgba(255, 255, 255, 0.04);
	pointer-events: none;
}

.direct__fil-zone:not(.direct__fil-zone--charge)::before {
	top: 1.25rem;
}

.direct__fil-zone:not(.direct__fil-zone--charge)::after {
	top: 19.75rem;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
	mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.direct__lancer--fil {
	position: relative;
	z-index: 1;
}

.direct__lancer--fil .direct__pastille {
	padding: 0.85rem 1.4rem;
	font-size: 0.95rem;
	text-align: center;
	box-shadow:
		0 10px 30px rgba(0, 0, 0, 0.45),
		0 0 0 6px rgba(0, 21, 32, 0.55);
}

/* Filet chargé : les publications défilent dans l'écran, fondu en haut et en bas ; aucun saut pendant le
   chargement (overflow-anchor), les publications ne se tassent pas (flex-shrink) */
.direct__fil-zone--charge {
	justify-content: flex-start;
	gap: 0.875rem;
	padding: 1rem var(--fil-zone-px) 2.5rem;
	overflow-x: hidden;
	overflow-y: auto;
	overflow-anchor: none;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(135, 255, 255, 0.35) transparent;
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 1rem, #000 calc(100% - 2.5rem), transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0, #000 1rem, #000 calc(100% - 2.5rem), transparent 100%);
}

.direct__fil-zone--charge > * {
	flex-shrink: 0;
}

/* Le module de Facebook est transparent : fond blanc obligatoire (texte sombre). Une fois la publication
   affichée seulement, quand le navigateur sait lire :has() ; sinon toujours (rectangle blanc pendant le chargement) */
.direct__fb-post {
	width: 100%;
	max-width: 552px;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
}

@supports selector(:has(a)) {
	.direct__fb-post {
		background: transparent;
	}

	.direct__fb-post:has(iframe[style*="visibility: visible"]) {
		background: #fff;
	}
}

/* Tablette et téléphone : le fil passe sous la vidéo ; le défilement rend la main à la page en bout de fil */
@media (max-width: 1023px) {
	.direct__fil {
		--fil-hauteur: 560px;
		--fil-hauteur: min(560px, 72svh);
	}

	.direct__fil-liste,
	.direct__fil-zone--charge {
		overscroll-behavior: auto;
	}
}

/* Téléphone : le cadre gagne les marges (12 px du bord) pour laisser 350 px aux publications */
@media (max-width: 480px) {
	.direct__fil {
		--fil-px: 1rem;
		--fil-zone-px: 7px;
		margin-inline: calc(12px - var(--container-px));
	}
}

/* Petit téléphone (moins de 390 px) : bord à bord, sans marge ni bordure latérale */
@media (max-width: 389px) {
	.direct__fil {
		--fil-zone-px: 0px;
		margin-inline: calc(-1 * var(--container-px));
		border-radius: 0;
		border-inline: 0;
	}
}

/* ==========================================================================================================
   Page du direct, décompte et bandeau d'accueil — inc/direct-decompte.php, page-direct.php,
   template-parts/section-direct-bandeau.php, direct-decompte.php, direct-creneaux.php, direct-pleiades.php
   Ciel de Niʻa (bleu du visuel officiel), Pléiades, couleurs de Niʻa quelle que soit la saison affichée.
   ========================================================================================================== */

.direct-hero,
.direct-bandeau {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	color: var(--color-text-light);
}

/* ---------- Ciel ---------- */
.direct-ciel {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	background:
		radial-gradient(ellipse 70% 60% at 74% 14%, rgba(0, 122, 220, 0.55) 0%, transparent 70%),
		radial-gradient(ellipse 60% 55% at 12% 88%, rgba(0, 80, 155, 0.45) 0%, transparent 70%),
		radial-gradient(ellipse 45% 35% at 50% 45%, rgba(135, 255, 255, 0.07) 0%, transparent 70%),
		linear-gradient(180deg, #00162A 0%, #002D45 52%, #001520 100%);
}

.direct-ciel__etoiles {
	position: absolute;
	inset: -40%;
	background-image:
		radial-gradient(circle 1.5px at 20px 30px, #FFFFFF 0 55%, transparent 100%),
		radial-gradient(circle 1px at 120px 80px, rgba(255, 255, 255, 0.8) 0 55%, transparent 100%),
		radial-gradient(circle 1.3px at 210px 160px, rgba(200, 255, 255, 0.95) 0 55%, transparent 100%),
		radial-gradient(circle 1px at 60px 210px, rgba(255, 255, 255, 0.7) 0 55%, transparent 100%),
		radial-gradient(circle 1.8px at 265px 45px, #FFFFFF 0 55%, transparent 100%),
		radial-gradient(circle 1px at 300px 245px, rgba(255, 255, 255, 0.6) 0 55%, transparent 100%),
		radial-gradient(circle 1.1px at 160px 250px, rgba(135, 255, 255, 0.8) 0 55%, transparent 100%);
	background-size: 320px 280px;
	opacity: 0.85;
	animation: direct-scintille 5s ease-in-out infinite alternate, direct-derive 140s linear infinite;
}

.direct-ciel__etoiles--lointaines {
	background-size: 190px 170px;
	opacity: 0.4;
	animation-duration: 8s, 220s;
	animation-delay: -3s, 0s;
}

.direct-ciel__horizon {
	position: absolute;
	left: -10%;
	right: -10%;
	bottom: -30%;
	height: 60%;
	background: radial-gradient(ellipse 50% 50% at 50% 100%, rgba(135, 255, 255, 0.16) 0%, rgba(27, 88, 75, 0.12) 40%, transparent 70%);
}

@keyframes direct-scintille {
	from { opacity: 0.35; }
	to { opacity: 0.95; }
}

@keyframes direct-derive {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-320px, 140px, 0); }
}

/* ---------- Pléiades ---------- */
.direct-pleiades {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	filter: drop-shadow(0 0 14px rgba(135, 255, 255, 0.45));
}

.direct-pleiades__etoile {
	animation: direct-etoile 3.6s ease-in-out infinite;
	animation-delay: calc(var(--i) * -0.7s);
}

@keyframes direct-etoile {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}

/* à droite du décompte, dans le vide : au-dessus, elles mordaient sur la fin du titre (1 280 × 900, 19/11) */
.direct-hero .direct-pleiades {
	top: 52%;
	right: 4%;
	width: clamp(160px, 19vw, 300px);
}

.direct-bandeau .direct-pleiades {
	top: 1.5rem;
	left: 44%;
	width: clamp(120px, 12vw, 180px);
	opacity: 0.9;
}

/* ---------- Surtitre ---------- */
.direct-surtitre {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	font-size: var(--text-caption);
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--nia-turquoise);
}

.direct-surtitre::before,
.direct-hero .direct-surtitre::after {
	content: "";
	width: 2.5rem;
	height: 1px;
	background: currentColor;
	opacity: 0.6;
}

.direct-surtitre--clair {
	color: var(--color-accent-on-light);
}

/* ---------- Décompte ---------- */
.decompte {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.1rem;
}

.decompte--compact {
	align-items: flex-start;
	gap: 0.8rem;
}

.decompte__etat {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	font-size: var(--text-small);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--nia-orange);
}

.decompte__point {
	flex: none;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--nia-orange);
	box-shadow: 0 0 12px rgba(255, 141, 25, 0.85);
}

.is-direct .decompte__point {
	background: #FF3B30;
	animation: direct-pouls 1.8s ease-out infinite;
}

.decompte.is-direct .decompte__etat {
	color: #FF7A6E;
}

.decompte.is-fini .decompte__etat {
	color: var(--nia-turquoise);
}

.decompte.is-fini .decompte__point {
	background: var(--nia-turquoise);
	box-shadow: 0 0 12px rgba(135, 255, 255, 0.8);
}

.decompte__chiffres {
	display: flex;
	gap: clamp(0.5rem, 1.6vw, 1.25rem);
}

.decompte.is-direct .decompte__chiffres,
.decompte.is-fini .decompte__chiffres {
	display: none;
}

.decompte__unite {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: clamp(4.4rem, 11vw, 7.75rem);
	padding: clamp(0.8rem, 1.6vw, 1.3rem) clamp(0.5rem, 1.2vw, 1rem);
	border: 1px solid rgba(135, 255, 255, 0.24);
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, rgba(135, 255, 255, 0.11) 0%, rgba(135, 255, 255, 0.02) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 40px rgba(0, 10, 25, 0.35);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.decompte__unite.is-vide {
	display: none;
}

.decompte__n {
	font-family: var(--font-body);
	font-weight: 300;
	font-size: clamp(2.5rem, 7vw, 4.9rem);
	line-height: 1;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
	color: #FFFFFF;
	text-shadow: 0 0 26px rgba(135, 255, 255, 0.5);
}

.decompte__l {
	margin-top: 0.55rem;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--nia-turquoise);
}

.decompte--compact .decompte__unite {
	min-width: 4.6rem;
	padding: 0.75rem 0.5rem;
	border-radius: var(--radius-md);
}

.decompte--compact .decompte__n {
	font-size: clamp(2rem, 3.6vw, 2.75rem);
}

.decompte__suivant {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
	margin: 0;
	line-height: 1.45;
}

.decompte--compact .decompte__suivant {
	align-items: flex-start;
}

.decompte__titre {
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	font-weight: 500;
	color: var(--nia-logo-text);
}

.decompte__meta {
	font-size: var(--text-small);
	letter-spacing: 0.04em;
	color: var(--color-text-muted);
}

.decompte__meta:empty {
	display: none;
}

.decompte.is-direct .decompte__titre {
	font-family: var(--font-brand);
	font-size: clamp(1.9rem, 4.6vw, 3.4rem);
	font-weight: 400;
	line-height: 1.1;
	color: #FFFFFF;
	text-shadow: 0 4px 34px rgba(255, 59, 48, 0.35);
}

.decompte--compact.is-direct .decompte__titre {
	font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}

.decompte.is-direct .decompte__meta {
	font-size: var(--text-body);
	color: var(--nia-logo-text);
}

/* ---------- Constellation : les directs du jour ---------- */
.constellation {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.constellation__astre {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding-top: 2.6rem;
}

.constellation__astre:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 0.85rem;
	left: 2.4rem;
	right: -1.2rem;
	height: 1px;
	background: linear-gradient(90deg, rgba(135, 255, 255, 0.65), rgba(135, 255, 255, 0.12));
}

.constellation__etoile {
	position: absolute;
	top: 0;
	left: 0;
	width: 1.7rem;
	height: 1.7rem;
	color: var(--nia-turquoise);
	filter: drop-shadow(0 0 8px rgba(135, 255, 255, 0.8));
}

.constellation__etoile svg {
	display: block;
	width: 100%;
	height: 100%;
}

.constellation__heure {
	font-family: var(--font-brand);
	font-size: 1.9rem;
	line-height: 1;
	color: #FFFFFF;
}

.constellation__fin {
	margin-left: 0.3rem;
	font-family: var(--font-body);
	font-size: 0.95rem;
	color: var(--color-text-muted);
}

.constellation__statut {
	align-self: flex-start;
	margin: 0.15rem 0 0.2rem;
	padding: 0.25rem 0.65rem;
	border: 1px solid rgba(135, 255, 255, 0.35);
	border-radius: var(--radius-pill);
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--nia-turquoise);
}

.constellation__titre {
	font-weight: 600;
	line-height: 1.35;
	color: var(--nia-logo-text);
}

.constellation__lieu {
	font-size: var(--text-small);
	color: var(--color-text-muted);
}

.constellation__astre.is-prochain .constellation__statut {
	border-color: var(--nia-turquoise);
	background: var(--nia-turquoise);
	color: #001520;
}

.constellation__astre.is-en_cours .constellation__etoile {
	color: var(--nia-orange);
	filter: drop-shadow(0 0 12px rgba(255, 141, 25, 0.95));
	animation: direct-etoile 1.6s ease-in-out infinite;
}

.constellation__astre.is-en_cours .constellation__statut {
	border-color: #FF3B30;
	background: #FF3B30;
	color: #FFFFFF;
}

.constellation__astre.is-termine {
	opacity: 0.55;
}

.constellation__astre.is-termine .constellation__etoile {
	color: rgba(255, 255, 255, 0.55);
	filter: none;
}

/* ---------- Bandeau d'accueil ---------- */
.direct-bandeau {
	padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.direct-bandeau__grille {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	grid-template-areas:
		"texte affiche"
		"programme programme";
	gap: 3rem 4rem;
	align-items: center;
}

.direct-bandeau__texte {
	grid-area: texte;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.1rem;
}

.direct-bandeau__titre {
	margin: 0;
	font-family: var(--font-brand);
	font-size: clamp(2.2rem, 4.4vw, 3.6rem);
	line-height: 1.08;
	color: var(--nia-logo-text);
	text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.direct-bandeau__chapo {
	max-width: 52ch;
	margin: 0;
	line-height: 1.65;
	color: var(--color-text-muted);
}

.direct-bandeau__cta {
	margin-top: 0.4rem;
}

.direct-bandeau__affiche {
	grid-area: affiche;
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 20px;
	box-shadow: 0 30px 80px rgba(0, 8, 20, 0.55), 0 0 0 1px rgba(135, 255, 255, 0.28), 0 0 70px rgba(135, 255, 255, 0.16);
	transform: perspective(1200px) rotateY(-7deg) rotateX(2deg);
	transition: transform var(--dur-slower) var(--ease-out-expo), box-shadow var(--dur-slower) var(--ease-out-expo);
}

.direct-bandeau__affiche:hover {
	transform: perspective(1200px) rotateY(0) rotateX(0) scale(1.01);
	box-shadow: 0 30px 80px rgba(0, 8, 20, 0.55), 0 0 0 1px rgba(135, 255, 255, 0.5), 0 0 90px rgba(135, 255, 255, 0.28);
}

.direct-bandeau__affiche img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.direct-bandeau__pastille {
	position: absolute;
	top: 1rem;
	left: 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--radius-pill);
	background: rgba(0, 21, 32, 0.72);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #FFFFFF;
}

.direct-bandeau__lecture {
	position: absolute;
	right: 1.25rem;
	bottom: 1.25rem;
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	background: rgba(135, 255, 255, 0.94);
	color: #001520;
	box-shadow: 0 0 0 9px rgba(135, 255, 255, 0.18), 0 12px 40px rgba(0, 0, 0, 0.4);
	transition: transform var(--dur-base) var(--ease-out-quad);
}

.direct-bandeau__lecture svg {
	margin-left: 4px;
}

.direct-bandeau__affiche:hover .direct-bandeau__lecture {
	transform: scale(1.08);
}

.direct-bandeau__programme {
	grid-area: programme;
	padding-top: 2.25rem;
	border-top: 1px solid rgba(135, 255, 255, 0.14);
}

/* ---------- Page du direct : en-tête ---------- */
.direct-hero {
	display: flex;
	align-items: center;
	min-height: min(88svh, 860px);
	padding: calc(72px + 4.5rem) 0 5rem;
	text-align: center;
}

/* fondu du bas de l'en-tête vers le bloc du lecteur */
.direct-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	height: 140px;
	background: linear-gradient(180deg, rgba(0, 21, 32, 0) 0%, #001520 100%);
	pointer-events: none;
}

.direct-hero__contenu {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.4rem;
}

.direct-hero__titre {
	margin: 0;
	font-family: var(--font-brand);
	font-size: clamp(2.7rem, 7.4vw, 5.8rem);
	line-height: 1.04;
	color: var(--nia-logo-text);
	text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
}

.direct-hero__actions {
	margin-top: 0.4rem;
}

.direct-hero + .section--direct {
	transform: none;
	background: linear-gradient(180deg, #001520 0%, #002D45 100%);
}

.direct-hero__tz {
	margin: 0;
	font-size: var(--text-caption);
	letter-spacing: 0.08em;
	color: var(--color-text-muted);
}

/* ---------- Page du direct : les directs du jour ---------- */
.direct-jour {
	padding: var(--section-py) 0;
	background: var(--color-bg-light);
	color: var(--color-text-on-light);
}

.direct-jour__entete {
	max-width: 46rem;
	margin: 0 auto 3.5rem;
	text-align: center;
}

.direct-jour__titre {
	margin: 0.75rem 0;
	font-family: var(--font-brand);
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.15;
	color: var(--color-accent-on-light);
}

.direct-jour__lead {
	margin: 0;
	line-height: 1.7;
	color: var(--color-text-muted-on-light);
}

.direct-jour__lien {
	margin: 3rem 0 0;
	text-align: center;
}

.direct-jour .btn--outline {
	border-color: var(--color-accent-on-light);
	color: var(--color-accent-on-light);
}

.direct-jour .btn--outline:hover {
	background: var(--color-accent-on-light);
	color: #FFFFFF;
}

.direct-jour__contenu {
	max-width: 46rem;
	margin: 3rem auto 0;
}

.constellation--grand {
	gap: 2rem;
}

.constellation--grand .constellation__astre {
	padding: 3.4rem 1.6rem 1.8rem;
	border: 1px solid rgba(11, 85, 102, 0.12);
	border-radius: var(--radius-lg);
	background: #FFFFFF;
	box-shadow: 0 14px 40px rgba(15, 43, 61, 0.08);
}

.constellation--grand .constellation__astre:not(:last-child)::after {
	top: 2.2rem;
	left: 100%;
	right: auto;
	width: 2rem;
	background: rgba(11, 85, 102, 0.35);
}

.constellation--grand .constellation__etoile {
	top: 1.3rem;
	left: 1.6rem;
	color: var(--color-accent-on-light);
	filter: none;
}

.constellation--grand .constellation__heure {
	font-size: 2.5rem;
	color: var(--color-accent-on-light);
}

.constellation--grand .constellation__fin,
.constellation--grand .constellation__lieu {
	color: var(--color-text-muted-on-light);
}

.constellation--grand .constellation__titre {
	font-size: 1.1rem;
	color: var(--color-text-on-light);
}

.constellation--grand .constellation__statut {
	border-color: rgba(11, 85, 102, 0.35);
	color: var(--color-accent-on-light);
}

.constellation--grand .constellation__astre.is-prochain {
	border-color: rgba(11, 85, 102, 0.45);
	box-shadow: 0 18px 50px rgba(11, 85, 102, 0.16);
}

.constellation--grand .constellation__astre.is-prochain .constellation__statut {
	border-color: var(--color-accent-on-light);
	background: var(--color-accent-on-light);
	color: #FFFFFF;
}

.constellation--grand .constellation__astre.is-en_cours {
	border-color: #FF3B30;
	box-shadow: 0 18px 50px rgba(255, 59, 48, 0.18);
}

.constellation--grand .constellation__astre.is-en_cours .constellation__etoile {
	color: var(--nia-orange);
}

.constellation--grand .constellation__astre.is-termine .constellation__etoile {
	color: var(--color-text-muted-on-light);
}

/* ---------- Téléphone et tablette ---------- */
@media (max-width: 900px) {
	.direct-bandeau__grille {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"texte"
			"affiche"
			"programme";
		gap: 2.25rem;
	}

	.direct-bandeau__affiche,
	.direct-bandeau__affiche:hover {
		transform: none;
	}

	.direct-bandeau .direct-pleiades {
		top: 1rem;
		left: auto;
		right: -0.5rem;
		width: 120px;
		opacity: 0.75;
	}

	.constellation,
	.constellation--grand {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.6rem;
	}

	.constellation__astre {
		padding: 0 0 0 2.75rem;
	}

	.constellation__astre:not(:last-child)::after {
		top: 2.1rem;
		bottom: -1.4rem;
		left: 0.84rem;
		right: auto;
		width: 1px;
		height: auto;
		background: linear-gradient(180deg, rgba(135, 255, 255, 0.65), rgba(135, 255, 255, 0.12));
	}

	.constellation--grand .constellation__astre {
		padding: 1.4rem 1.4rem 1.5rem 4rem;
	}

	.constellation--grand .constellation__etoile {
		top: 1.45rem;
		left: 1.4rem;
	}

	.constellation--grand .constellation__astre:not(:last-child)::after {
		top: 100%;
		bottom: auto;
		left: 2.25rem;
		width: 1px;
		height: 1.6rem;
		background: rgba(11, 85, 102, 0.35);
	}

	.direct-hero {
		min-height: 0;
		padding: calc(72px + 5.25rem) 0 3.5rem;
	}

	.direct-hero .direct-pleiades {
		top: calc(72px + 0.5rem);
		right: 0.5rem;
		width: 118px;
		opacity: 0.85;
	}

	.direct-hero__contenu {
		gap: 1.1rem;
	}

	.direct-surtitre {
		flex-wrap: wrap;
		justify-content: center;
		letter-spacing: 0.16em;
		line-height: 1.7;
	}

	.direct-bandeau .direct-surtitre {
		justify-content: flex-start;
	}

	.direct-surtitre::before,
	.direct-hero .direct-surtitre::after {
		display: none;
	}
}

@media (max-width: 420px) {
	.decompte__unite {
		min-width: 0;
		flex: 1 1 0;
	}

	.decompte__chiffres {
		width: 100%;
	}

	.decompte--compact .decompte__unite {
		min-width: 0;
	}

}

@media (prefers-reduced-motion: reduce) {
	.direct-ciel__etoiles,
	.direct-pleiades__etoile,
	.constellation__astre.is-en_cours .constellation__etoile,
	.is-direct .decompte__point {
		animation: none;
	}

	.direct-bandeau__affiche,
	.direct-bandeau__affiche:hover {
		transform: none;
		transition: none;
	}
}

/* ---------- Carte du direct sur le hero de l'accueil (template-parts/direct-carte-hero.php) ---------- */
.direct-carte {
	position: absolute;
	right: max(2rem, calc((100vw - var(--container-max)) / 2 + 2rem));
	bottom: 2.5rem;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 1.1rem;
	width: 370px;
	padding: 1.1rem 1.1rem 1.15rem 1.35rem;
	border: 1px solid rgba(135, 255, 255, 0.32);
	border-radius: 18px;
	background:
		radial-gradient(ellipse 80% 90% at 90% 0%, rgba(0, 122, 220, 0.35) 0%, transparent 70%),
		rgba(0, 21, 32, 0.66);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 20px 60px rgba(0, 8, 20, 0.45), 0 0 50px rgba(135, 255, 255, 0.14);
	color: var(--color-text-light);
	text-decoration: none;
	transition: transform var(--dur-base) var(--ease-out-quad), border-color var(--dur-base) var(--ease-out-quad), box-shadow var(--dur-base) var(--ease-out-quad);
	animation: direct-carte-entree 0.9s var(--ease-out-expo) 0.6s both;
}

.direct-carte:hover,
.direct-carte:focus-visible {
	transform: translateY(-3px);
	border-color: rgba(135, 255, 255, 0.65);
	box-shadow: 0 24px 70px rgba(0, 8, 20, 0.5), 0 0 70px rgba(135, 255, 255, 0.24);
}

.direct-carte:focus-visible {
	outline: 2px solid var(--nia-turquoise);
	outline-offset: 3px;
}

.direct-carte.is-fini {
	display: none;
}

@keyframes direct-carte-entree {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

.direct-carte .decompte--mini {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3rem;
	min-width: 0;
}

.direct-carte__haut {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.3rem 0.55rem;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--nia-orange);
}

.direct-carte.is-direct .direct-carte__haut {
	color: #FF7A6E;
}

.direct-carte__chiffres {
	display: inline-flex;
	gap: 0.35rem;
}

.direct-carte .decompte__unite {
	flex-direction: row;
	align-items: baseline;
	gap: 0.1rem;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.direct-carte .decompte__n {
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0;
	color: #FFFFFF;
	text-shadow: 0 0 14px rgba(135, 255, 255, 0.6);
}

.direct-carte .decompte__l {
	margin: 0;
	font-size: 0.66rem;
	letter-spacing: 0.04em;
	text-transform: none;
	color: var(--nia-turquoise);
}

.direct-carte.is-direct .decompte__chiffres {
	display: none;
}

.direct-carte__titre {
	font-family: var(--font-brand);
	font-size: 1.45rem;
	line-height: 1.15;
	color: var(--nia-logo-text);
}

.direct-carte__suivant {
	display: flex;
	flex-wrap: wrap;
	gap: 0 0.45rem;
	font-size: 0.8rem;
	line-height: 1.4;
	color: var(--color-text-muted);
}

.direct-carte__meta {
	color: var(--nia-turquoise);
	font-weight: 600;
}

.direct-carte.is-direct .direct-carte__suivant {
	color: #FFFFFF;
	font-weight: 600;
}

.direct-carte__fleche {
	display: grid;
	flex: none;
	place-items: center;
	width: 2.9rem;
	height: 2.9rem;
	border-radius: 50%;
	background: var(--nia-turquoise);
	color: #001520;
	box-shadow: 0 0 0 7px rgba(135, 255, 255, 0.14);
	transition: transform var(--dur-base) var(--ease-out-quad);
}

.direct-carte:hover .direct-carte__fleche {
	transform: translateX(3px);
}

.direct-carte.is-direct .direct-carte__fleche {
	background: #FF3B30;
	color: #FFFFFF;
	box-shadow: 0 0 0 7px rgba(255, 59, 48, 0.2);
}

/* téléphone et tablette : barre fine sous le menu, le bouton « Découvrir » garde le bas du hero */
@media (max-width: 1100px) {
	.direct-carte {
		top: calc(72px + 0.9rem);
		right: auto;
		bottom: auto;
		left: var(--container-px);
		width: auto;
		max-width: calc(100% - 2 * var(--container-px));
		gap: 0.75rem;
		padding: 0.6rem 0.6rem 0.6rem 1rem;
		border-radius: var(--radius-pill);
	}

	.direct-carte__titre,
	.direct-carte__suivant {
		display: none;
	}

	.direct-carte .decompte--mini {
		flex-direction: row;
		align-items: center;
	}

	.direct-carte__haut {
		flex-wrap: nowrap;
		font-size: 0.62rem;
		letter-spacing: 0.12em;
		white-space: nowrap;
	}

	.direct-carte .decompte__chiffres {
		width: auto;
	}

	.direct-carte .decompte__unite {
		flex: none;
	}

	/* pendant un direct : « EN DIRECT · titre » sur une ligne, à la place du libellé long */
	.direct-carte.is-direct .direct-carte__etat {
		display: none;
	}

	.direct-carte.is-direct .decompte--mini {
		min-width: 0;
	}

	.direct-carte.is-direct .direct-carte__suivant {
		display: block;
		min-width: 0;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		font-size: 0.8rem;
	}

	.direct-carte.is-direct .direct-carte__suivant::before {
		content: attr(data-en-cours) " · ";
		font-size: 0.66rem;
		font-weight: 700;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: #FF7A6E;
	}

	.direct-carte.is-direct .direct-carte__suivant .direct-carte__meta {
		display: none;
	}

	.direct-carte__fleche {
		width: 2.3rem;
		height: 2.3rem;
		box-shadow: none;
	}
}

@media (max-width: 420px) {
	.direct-carte {
		left: 1rem;
		max-width: calc(100% - 2rem);
	}

	.direct-carte__haut {
		letter-spacing: 0.08em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.direct-carte {
		animation: none;
	}

	.direct-carte:hover,
	.direct-carte:focus-visible {
		transform: none;
	}
}

/* ==========================================================================
   Rediffusions (spec/replay-nia-2026.md) — page du direct après la journée, bandeau et carte de l'accueil
   ========================================================================== */

/* ---------- En-tête de la page ---------- */
.direct-hero.is-replay {
	min-height: min(80svh, 780px);
}

.direct-hero__lead {
	max-width: 44rem;
	margin: 0;
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	line-height: 1.6;
	color: var(--color-text-muted);
}

/* la frise ne doit pas élargir l'en-tête (élément flexible : min-width auto = largeur de la frise) */
.direct-hero.is-replay .direct-hero__contenu {
	min-width: 0;
	width: 100%;
}

/* frise des vignettes de la journée, sous le bouton (décorative) */
.replay-frise {
	display: flex;
	width: 100%;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 0.9rem;
	max-width: 100%;
	margin: 1.4rem 0 0;
	padding: 0.75rem 0;
	overflow: hidden;
	list-style: none;
}

.replay-frise__vignette {
	flex: 0 0 auto;
	width: clamp(92px, 10vw, 136px);
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 8, 20, 0.5), 0 0 0 1px rgba(135, 255, 255, 0.28);
	transform: translateY(5px) rotate(-2deg);
}

.replay-frise__vignette:nth-child(even) {
	transform: translateY(-5px) rotate(2deg);
}

.replay-frise__vignette img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------- La journée en vidéo ---------- */
.replay {
	padding: var(--section-py) 0;
	background:
		radial-gradient(ellipse 60% 40% at 85% 10%, rgba(0, 122, 220, 0.22) 0%, transparent 70%),
		linear-gradient(180deg, #001520 0%, #002D45 55%, #001520 100%);
	color: var(--color-text-light);
}

.replay__entete {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.9rem;
	max-width: 46rem;
	margin: 0 auto 3.5rem;
	text-align: center;
}

.replay__titre {
	margin: 0;
	font-family: var(--font-brand);
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.15;
	color: var(--nia-logo-text);
}

.replay__lead {
	margin: 0;
	line-height: 1.7;
	color: var(--color-text-muted);
}

/* ligne de temps : une étoile par temps fort, reliées par un trait */
.replay-liste {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: clamp(2.75rem, 5vw, 4.5rem);
	max-width: 1120px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.replay-liste::before {
	content: "";
	position: absolute;
	top: 1rem;
	bottom: 1rem;
	left: 0.85rem;
	width: 1px;
	background: linear-gradient(180deg, rgba(135, 255, 255, 0.65), rgba(135, 255, 255, 0.12));
}

.replay-temps {
	position: relative;
	display: grid;
	grid-template-columns: 1.7rem 7.5rem minmax(0, 1.15fr) minmax(0, 1fr);
	grid-template-areas: "etoile heure media texte";
	gap: 0 1.75rem;
	align-items: start;
}

.replay-temps__etoile {
	grid-area: etoile;
	display: block;
	width: 1.7rem;
	height: 1.7rem;
	margin-top: 0.1rem;
	border-radius: 50%;
	background: #001a2b; /* masque le trait derrière l'étoile */
	color: var(--nia-turquoise);
	filter: drop-shadow(0 0 8px rgba(135, 255, 255, 0.8));
}

.replay-temps--site .replay-temps__etoile {
	color: var(--nia-orange);
	filter: drop-shadow(0 0 8px rgba(255, 141, 25, 0.8));
}

.replay-temps__etoile svg {
	display: block;
	width: 100%;
	height: 100%;
}

.replay-temps__heure {
	grid-area: heure;
	margin: 0;
	font-family: var(--font-brand);
	font-size: 1.6rem;
	line-height: 1.1;
	color: #FFFFFF;
	white-space: nowrap;
}

.replay-temps__media {
	grid-area: media;
	min-width: 0;
}

.replay-temps__texte {
	grid-area: texte;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
	min-width: 0;
	padding-top: 0.15rem;
}

.replay-temps__titre {
	margin: 0;
	font-family: var(--font-brand);
	font-size: clamp(1.4rem, 2.2vw, 1.85rem);
	line-height: 1.15;
	color: var(--nia-logo-text);
}

.replay-temps__lieu {
	margin: 0;
	font-size: var(--text-small);
	font-weight: 600;
	letter-spacing: 0.03em;
	color: var(--nia-turquoise);
}

.replay-temps__desc {
	margin: 0;
	line-height: 1.65;
	color: var(--color-text-muted);
}

.replay-temps__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	margin: 0;
	font-size: var(--text-caption);
	color: var(--color-text-muted);
}

.replay-temps__meta:empty {
	display: none;
}

.replay-temps__ici {
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nia-orange);
}

.replay-temps__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	margin: 0.4rem 0 0;
}

.replay-temps__actions:empty {
	display: none;
}

.replay-temps__fb {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.replay-temps__lien-fb,
.replay-temps__lien {
	font-size: var(--text-small);
	font-weight: 600;
	color: var(--nia-turquoise);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.replay-temps__lien-fb::after {
	content: " ↗";
}

/* vignette qui ouvre Facebook */
.replay-vignette {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: #000;
	box-shadow: 0 30px 80px rgba(0, 8, 20, 0.5), 0 0 0 1px rgba(135, 255, 255, 0.18);
	transition: box-shadow var(--dur-slower) var(--ease-out-expo);
}

.replay-vignette:hover {
	box-shadow: 0 30px 80px rgba(0, 8, 20, 0.55), 0 0 0 1px rgba(135, 255, 255, 0.5), 0 0 60px rgba(135, 255, 255, 0.2);
}

.replay-vignette img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--dur-slower) var(--ease-out-expo);
}

.replay-vignette:hover img {
	transform: scale(1.04);
}

.replay-vignette__lecture {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	display: grid;
	place-items: center;
	width: 3.4rem;
	height: 3.4rem;
	border-radius: 50%;
	background: rgba(135, 255, 255, 0.94);
	color: #001520;
	box-shadow: 0 0 0 8px rgba(135, 255, 255, 0.18), 0 12px 40px rgba(0, 0, 0, 0.4);
	transition: transform var(--dur-base) var(--ease-out-quad);
}

.replay-vignette__lecture svg {
	margin-left: 3px;
}

.replay-vignette:hover .replay-vignette__lecture {
	transform: scale(1.08);
}

/* vidéo lue sur le site : même écran que le direct, vignette plus claire */
.replay-ecran .direct__affiche {
	filter: brightness(0.8);
}

.replay-temps--site .replay-ecran {
	box-shadow: 0 30px 80px rgba(0, 8, 20, 0.5), 0 0 0 1px rgba(255, 141, 25, 0.45), 0 0 60px rgba(255, 141, 25, 0.16);
}

/* ---------- Le fil seul, sous la journée en vidéo ---------- */
.section--direct-fil .replay__entete {
	margin-bottom: 2.5rem;
}

.direct__grille--fil-seul {
	grid-template-columns: minmax(0, 1fr);
	max-width: 30rem;
	margin: 0 auto;
}

@media (min-width: 1024px) {
	.direct__grille--fil-seul {
		grid-template-columns: minmax(0, 1fr);
	}
}

.replay-fin {
	padding: 0 0 var(--section-py);
	background: #002D45;
	text-align: center;
}

/* ---------- Accueil : bandeau et carte du hero ---------- */
.direct-bandeau__grille--replay {
	grid-template-areas: "texte affiche";
}

.replay-mosaique {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(0, 1fr)); /* sans minmax, la rangée prend la hauteur de l'image */
	gap: 3px;
	background: #001520;
}

.direct-bandeau__affiche .replay-mosaique__image {
	min-width: 0;
	min-height: 0;
}

.direct-carte.is-replay .direct-carte__corps {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3rem;
	min-width: 0;
}

.direct-carte.is-replay .direct-carte__haut {
	color: var(--nia-turquoise);
}

/* ---------- Téléphone et tablette ---------- */
@media (max-width: 900px) {
	.replay-temps {
		grid-template-columns: 1.7rem minmax(0, 1fr);
		grid-template-areas:
			"etoile heure"
			"etoile media"
			"etoile texte";
		gap: 0.9rem 1.1rem;
	}

	.replay-temps__heure {
		font-size: 1.45rem;
	}

	.replay-temps__texte {
		padding-top: 0.3rem;
	}

	.direct-bandeau__grille--replay {
		grid-template-areas:
			"texte"
			"affiche";
	}
}

@media (max-width: 600px) {
	.replay-frise {
		justify-content: flex-start;
		gap: 0.6rem;
	}

	.replay-vignette__lecture {
		width: 2.9rem;
		height: 2.9rem;
		right: 0.75rem;
		bottom: 0.75rem;
	}
}
