@charset "UTF-8";

/* =====================================================================
   PANAFIVE — LES ANNONCES : LES BANDES DE FILM ET LE FILM (07/11/2026)
   =====================================================================
   « Je veux un style particulier, comme une cinématique, un truc visuel de
   plein écran quand on lit le post. » — Jimmy. Le balisage est décrit en
   tête de includes/annonces_rendu.php.

   HORS COUCHE, comme forum-fil.css : ces règles passent devant tout le socle,
   et c'est ce qui leur permet de retirer la coquille du site pendant le film.

   ⚠ TOUJOURS DE NUIT. Une annonce se joue sur son image, et ses couleurs ne
   suivent pas le thème : une bande reste sombre sur une page en thème clair.
   D'où ces valeurs fixes, celles du thème nuit (style.css), écrites ici une
   seule fois. Le film, lui, passe toute la page en nuit (`data-cine`) : le fil
   et le composeur qui le suivent gardent leurs jetons habituels.

   LA GRAMMAIRE DU JEU, comme tous les forums : les coins coupés, la barre d'or,
   l'hexagone, la Saira resserrée.
   ===================================================================== */

.ann-bandes,
.ann-racine {
	--ann-noir: #0b0a07;
	--ann-encre: #f5f1e8;
	--ann-encre-douce: rgba(245, 241, 232, .84);
	--ann-encre-pale: rgba(245, 241, 232, .66);
	--ann-or: #cfa43a;
	--ann-or-vif: #efd27d;
	--ann-or-doux: rgba(207, 164, 58, .18);
	--ann-chemin: cubic-bezier(.2, 0, 0, 1);
	--ann-biseau: 18px;
}

/* =====================================================================
   LA CARTE QUI GRANDIT — LA TRANSITION ENTRE LES DEUX PAGES
   =====================================================================
   Une vraie navigation, animée par le navigateur. Les deux pages portent cette
   feuille : c'est la condition pour que le mouvement ait lieu, et il ne touche
   donc aucune autre page du site. Le cadre de la carte et le fond du film
   portent le même nom (includes/annonces_rendu.php). */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }

	.ann-bande-cadre,
	.ann-fond { view-transition-class: ann-grandit; }

	.ann-bande-titre,
	.ann-titre { view-transition-class: ann-vole; }

	::view-transition-group(.ann-grandit),
	::view-transition-group(.ann-vole) {
		animation-duration: .62s;
		animation-timing-function: var(--ann-chemin, cubic-bezier(.2, 0, 0, 1));
	}

	/* L'image remplit le cadre pendant qu'il grandit, sans se déformer : la
	   carte est en bandeau, le film en plein écran. */
	::view-transition-image-pair(.ann-grandit) { overflow: clip; }

	::view-transition-old(.ann-grandit),
	::view-transition-new(.ann-grandit) {
		width: 100%;
		height: 100%;
		object-fit: cover;
		animation-duration: .62s;
	}

	::view-transition-old(root),
	::view-transition-new(root) { animation-duration: .36s; }
}

/* =====================================================================
   LES BANDES DE FILM
   ===================================================================== */

.ann-bandes {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	min-width: 0;
}

/* La marque « Équipe » et « tout cocher » : ce qu'elle voit en plus. */
.ann-bandes-equipe {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
}

.ann-liste {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ann-liste > li + li { margin-top: 0; }

/* --- Une bande --------------------------------------------------------- */
.ann-bande {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--space-4);
	min-width: 0;
	min-height: 112px;
	padding: var(--space-4) var(--space-5) var(--space-4) clamp(120px, 27%, 320px);
	color: var(--ann-encre);
}

/* L'anneau du clavier reste entier : le cadre seul est découpé. */
.ann-bande:focus-within { outline: 2px solid var(--ann-or-vif); outline-offset: 2px; }

.ann-bande:has(.ann-bande-lien:focus:not(:focus-visible)):not(:has(:focus-visible)) { outline: none; }

/* LE CADRE porte l'image, le voile et le coin coupé. C'est lui qui grandit
   jusqu'au plein écran : il est écrit pour se suffire à lui-même. */
.ann-bande-cadre {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	background: var(--ann-noir);
	clip-path: polygon(var(--ann-biseau) 0, 100% 0, 100% calc(100% - var(--ann-biseau)), calc(100% - var(--ann-biseau)) 100%, 0 100%, 0 var(--ann-biseau));
}

.ann-bande-image {
	position: absolute;
	inset: 0 auto 0 0;
	width: 54%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 45%;
	opacity: .92;
	-webkit-mask-image: linear-gradient(90deg, #000 28%, transparent);
	mask-image: linear-gradient(90deg, #000 28%, transparent);
	transition: transform 1.1s var(--ann-chemin);
}

.ann-bande:hover .ann-bande-image,
.ann-bande:focus-within .ann-bande-image { transform: scale(1.05); }

.ann-bande-voile {
	position: absolute;
	inset: 0;
	box-shadow: inset 0 3px 0 var(--ann-or);
	transition: box-shadow .25s ease;
}

.ann-bande:hover .ann-bande-voile,
.ann-bande:focus-within .ann-bande-voile { box-shadow: inset 0 3px 0 var(--ann-or-vif), inset 4px 0 0 var(--ann-or-vif); }

/* Du nouveau : le rouge des pastilles, le même que sur le bouton Forums. */
.ann-bande.est-neuf .ann-bande-voile { box-shadow: inset 0 3px 0 var(--background-notif), inset 4px 0 0 var(--background-notif); }

/* --- Le texte ---------------------------------------------------------- */
.ann-bande-texte {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	min-width: 0;
}

.ann-bande-surtitre {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-1) var(--space-3);
	margin: 0;

	font-family: var(--pf-police-titre);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ann-or-vif);
}

.ann-bande-etat {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
}

.ann-bande-numero { font-variant-numeric: tabular-nums; color: var(--ann-encre-douce); }

.ann-bande-neuf {
	padding: 1px var(--space-2);
	letter-spacing: .1em;
	color: #fff;
	background: var(--background-notif);
	clip-path: var(--pf-forme-pastille);
}

.ann-bande-titre {
	margin: 0;

	font-family: var(--pf-police-titre);
	font-size: clamp(1.05rem, 1.65cqi + .55rem, 1.45rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: .01em;
	text-transform: uppercase;
	text-wrap: balance;
	color: var(--ann-encre);
}

/* TOUTE LA BANDE EST CLIQUABLE : le lien s'étend sur elle, et l'auteur et la
   case de l'équipe passent au-dessus de lui. */
.ann-bande-lien {
	color: inherit;
	text-decoration: none;
	outline: none;
}

.ann-bande-lien::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ann-bande-extrait {
	display: -webkit-box;
	max-width: 62ch;
	margin: var(--space-1) 0 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;

	font-size: var(--fs-md);
	line-height: 1.5;
	color: var(--ann-encre-douce);
}

.ann-bande-meta {
	margin: var(--space-1) 0 0;
	font-size: var(--fs-xs);
	color: var(--ann-encre-pale);
}

.ann-bande-meta .frm-n { color: var(--ann-encre); }
.ann-bande-meta .frm-sep { color: var(--ann-encre-pale); }

.ann-bande-meta .frm-nom-auteur {
	position: relative;
	z-index: 1;
	color: var(--ann-encre-douce);
}

.ann-bande-meta a.frm-nom-auteur:hover,
.ann-bande-meta a.frm-nom-auteur:focus-visible { color: var(--ann-or-vif); }

/* --- La flèche, dans l'hexagone du jeu --------------------------------- */
.ann-bande-fleche {
	display: grid;
	flex: none;
	place-items: center;
	width: 52px;
	height: 45px;

	font-size: 1.35rem;
	color: var(--ann-or-vif);
	background: var(--ann-or-doux);
	clip-path: var(--pf-forme-hexagone);
	transition: transform .35s var(--ann-chemin), background-color .25s ease, color .25s ease;
}

.ann-bande-fleche .ti { width: 1em; height: 1em; }

.ann-bande:hover .ann-bande-fleche,
.ann-bande:focus-within .ann-bande-fleche {
	color: #15120b;
	background: var(--ann-or-vif);
	transform: translateX(4px);
}

.ann-bande.est-neuf .ann-bande-fleche {
	color: #fff;
	background: var(--background-notif);
}

/* La case de l'équipe, au-dessus du lien, dans le coin haut-droit. */
.ann-bande > .frm-coche {
	position: absolute;
	top: var(--space-2);
	inset-inline-end: var(--space-3);
	z-index: 1;
}

/* --- LA GRANDE BANDE : la dernière annonce ------------------------------ */
.ann-bande.est-grande {
	align-items: end;
	min-height: clamp(300px, 34cqi, 440px);
	padding: var(--space-6) var(--space-6) var(--space-5);
}

.ann-bande.est-grande .ann-bande-image {
	inset: 0;
	width: 100%;
	object-position: 60% 55%;
	opacity: 1;
	-webkit-mask-image: none;
	mask-image: none;
}

.ann-bande.est-grande .ann-bande-voile {
	background:
		linear-gradient(90deg, rgba(11, 10, 7, .9) 0%, rgba(11, 10, 7, .66) 38%, rgba(11, 10, 7, .08) 78%),
		linear-gradient(0deg, rgba(11, 10, 7, .72) 0%, transparent 58%);
}

.ann-bande.est-grande .ann-bande-titre {
	max-width: 22ch;
	font-size: clamp(1.7rem, 3.5cqi + .6rem, 3.15rem);
	line-height: 1.02;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .55);
}

.ann-bande.est-grande .ann-bande-texte { gap: var(--space-2); }

/* La largeur de la PAGE décide, et non celle de l'écran : la colonne de gauche
   du site peut être ouverte ou repliée (`frm-page`, forums.css). */
@container frm-page (max-width: 640px) {
	.ann-bande {
		gap: var(--space-3);
		min-height: 104px;
		padding: var(--space-4) var(--space-4) var(--space-4) 96px;
	}

	.ann-bande-image { width: 62%; }

	.ann-bande-fleche { width: 40px; height: 35px; font-size: 1.1rem; }

	.ann-bande.est-grande {
		grid-template-columns: minmax(0, 1fr);
		min-height: 340px;
		padding: var(--space-5) var(--space-4) var(--space-4);
	}

	.ann-bande.est-grande .ann-bande-fleche {
		position: absolute;
		top: var(--space-4);
		inset-inline-end: var(--space-4);
	}

	.ann-bande.est-grande .ann-bande-voile {
		background: linear-gradient(0deg, rgba(11, 10, 7, .94) 8%, rgba(11, 10, 7, .55) 52%, rgba(11, 10, 7, .08) 86%);
	}
}

/* =====================================================================
   LE FILM — LA COQUILLE S'EFFACE
   =====================================================================
   `data-cine` est posé sur <html> par le serveur : la page est peinte d'emblée
   sans colonne ni barre du haut. La coquille reste dans le document (main.js
   s'y accroche), simplement hors d'atteinte. Le pied de page reste, lui : les
   mentions légales et le choix de la langue ne disparaissent d'aucune page. */
html[data-cine] .rail,
html[data-cine] .rail-voile,
html[data-cine] .topbar { display: none !important; }

html[data-cine],
html[data-cine] body {
	padding-inline-start: 0 !important;
	background: #000;
}

html[data-cine] body::before,
html[data-cine] body::after { display: none; }

html[data-cine] .page {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

html[data-cine] .site-footer {
	position: relative;
	z-index: 3;
	background: var(--pf-void);
}

.ann-racine {
	position: relative;
	display: block;
	max-width: none;
	min-width: 0;
	color: var(--ann-encre);

	/* La hauteur des bandes de cinéma, et le retrait du texte. */
	--ann-bande-h: clamp(28px, 8svh, 84px);
	--ann-marge: clamp(20px, 7vw, 120px);
}

/* --- Le décor, fixé derrière tout le reste ------------------------------ */
.ann-fond {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background: #000;
}

.ann-fond-image,
.ann-fond-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 55%;
}

.ann-fond-video {
	opacity: 0;
	transition: opacity 1.4s ease;
}

.ann-fond.est-video .ann-fond-video { opacity: 1; }

/* Le fond caché par la conversation ne se dessine plus. */
.ann-racine.est-fond-cache .ann-fond { visibility: hidden; }

.ann-fond-voile {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(8, 7, 5, .8) 0%, rgba(8, 7, 5, .46) 44%, rgba(8, 7, 5, 0) 76%),
		linear-gradient(0deg, rgba(8, 7, 5, .9) 0%, rgba(8, 7, 5, .22) 48%, rgba(8, 7, 5, .2) 100%);
}

/* Pendant la lecture, l'image passe au second plan : le texte doit se lire. */
.ann-fond-voile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(8, 7, 5, .74);
	opacity: 0;
	transition: opacity 1s ease;
}

.ann-racine.est-lecture .ann-fond-voile::after { opacity: 1; }

/* --- Les bandes de cinéma ------------------------------------------------
   Chacune fait plus de la moitié de l'écran, mais n'en montre que sa bordure :
   fermées l'une contre l'autre, elles font le noir de l'ouverture. */
.ann-barres {
	position: fixed;
	inset: 0;
	z-index: 2;
	overflow: hidden;
	pointer-events: none;
}

.ann-barre {
	position: absolute;
	left: 0;
	right: 0;
	height: 51svh;
	background: #000;
	transition: transform .8s var(--ann-chemin);
}

.ann-barre.est-haut { top: 0; transform: translateY(calc(var(--ann-bande-h) - 100%)); }
.ann-barre.est-bas { bottom: 0; transform: translateY(calc(100% - var(--ann-bande-h))); }

.ann-racine.est-lecture .ann-barre.est-haut { transform: translateY(-100%); }
.ann-racine.est-lecture .ann-barre.est-bas { transform: translateY(100%); }

/* --- La barre du haut --------------------------------------------------- */
.ann-haut {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: var(--space-3);
	min-height: 56px;
	padding: var(--space-2) clamp(12px, 2.4vw, 32px);
	transition: background-color .5s ease;
}

.ann-racine.est-lecture .ann-haut { background: linear-gradient(180deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .55) 70%, transparent); }

/* Sur la conversation, le texte défile dessous : la barre devient pleine. */
.ann-racine.est-fond-cache .ann-haut {
	background: var(--ann-noir);
	box-shadow: 0 1px 0 var(--pf-line-soft);
}

.ann-fermer {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	min-width: 40px;
	min-height: 40px;
	padding: var(--space-2) var(--space-3);

	font-family: var(--pf-police-titre);
	font-size: var(--fs-sm);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ann-encre);
	background: rgba(0, 0, 0, .45);
	clip-path: var(--pf-forme-pastille);
	transition: color .2s ease, background-color .2s ease;
}

.ann-fermer:hover,
.ann-fermer:focus-visible {
	color: #15120b;
	background: var(--ann-or-vif);
}

.ann-haut-titre {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	overflow: hidden;

	font-family: var(--pf-police-titre);
	font-size: var(--fs-sm);
	font-weight: 700;
	letter-spacing: .06em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--ann-encre-douce);
	opacity: 0;
	transition: opacity .5s ease;
}

.ann-racine.est-lecture .ann-haut-titre { opacity: 1; }

.ann-haut-droite {
	display: flex;
	flex: none;
	align-items: center;
	gap: var(--space-2);
	margin-inline-start: auto;
}

.ann-passer {
	padding: var(--space-2) var(--space-3);

	font-family: var(--pf-police-titre);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ann-encre-douce);
	background: rgba(0, 0, 0, .45);
	border: 0;
	clip-path: var(--pf-forme-pastille);
	cursor: pointer;
}

.ann-passer:hover,
.ann-passer:focus-visible { color: var(--ann-or-vif); }

/* Sans script, le bouton ne ferait rien ; et une fois l'ouverture finie, il n'y
   a plus rien à passer. */
html:not([data-js]) .ann-passer,
html[data-ann-vue] .ann-passer { display: none; }

.ann-progression {
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	pointer-events: none;
}

.ann-progression > span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--ann-or), var(--ann-or-vif));
	transform: scaleX(0);
	transform-origin: 0 50%;
}

/* --- L'ouverture -------------------------------------------------------- */
.ann-ouverture {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 100svh;
	padding: calc(var(--ann-bande-h) + 64px) var(--ann-marge) calc(var(--ann-bande-h) + clamp(32px, 7svh, 72px));
}

.ann-ouverture-texte { max-width: min(100%, 72rem); }

.ann-surtitre {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2) var(--space-4);
	margin: 0 0 var(--space-4);

	font-family: var(--pf-police-titre);
	font-size: clamp(.82rem, .7rem + .4vw, 1.05rem);
	font-weight: 700;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--ann-or-vif);
}

.ann-surtitre::before {
	content: "";
	width: clamp(28px, 5vw, 72px);
	height: 2px;
	background: linear-gradient(90deg, var(--ann-or), var(--ann-or-vif));
}

.ann-surtitre-numero {
	font-variant-numeric: tabular-nums;
	color: var(--ann-encre-douce);
}

.ann-titre {
	margin: 0;
	max-width: 19ch;

	font-family: var(--pf-police-titre);
	font-size: clamp(2.3rem, 2.4vh + 4.6vw, 6.2rem);
	font-weight: 800;
	line-height: .98;
	letter-spacing: .005em;
	text-transform: uppercase;
	text-wrap: balance;
	color: #fff;
	text-shadow: 0 2px 34px rgba(0, 0, 0, .6);
}

.ann-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-1) var(--space-3);
	margin: var(--space-5) 0 0;

	font-size: clamp(.92rem, .85rem + .25vw, 1.1rem);
	color: var(--ann-encre-douce);
	text-shadow: 0 1px 10px rgba(0, 0, 0, .7);
}

.ann-meta time::first-letter { text-transform: uppercase; }

.ann-meta .forum-sujet-auteur,
.ann-meta .forum-sujet-auteur a { color: var(--ann-encre); }

.ann-sep { color: var(--ann-or); }

.ann-defiler {
	position: absolute;
	inset-inline-end: var(--ann-marge);
	bottom: calc(var(--ann-bande-h) + clamp(24px, 5svh, 56px));
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-1);

	font-family: var(--pf-police-titre);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: .16em;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--ann-encre-douce);
	text-shadow: 0 1px 10px rgba(0, 0, 0, .7);
	transition: opacity .4s ease, color .2s ease;
}

.ann-defiler:hover,
.ann-defiler:focus-visible { color: var(--ann-or-vif); }

.ann-defiler .ti { width: 1.6em; height: 1.6em; }

.ann-racine.est-lecture .ann-defiler { opacity: 0; pointer-events: none; }

/* --- Le récit ------------------------------------------------------------ */
.ann-recit {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	padding: 8svh var(--ann-marge) 10svh;
	scroll-margin-top: 40px;
}

.ann-scene {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	max-width: 46rem;
	min-height: 58svh;
	padding-block: 4svh;
}

/* Elles n'attendent d'apparaître que si le script est là pour les montrer :
   c'est lui qui pose `est-anime`. */
.ann-racine.est-anime .ann-scene,
.ann-racine.est-anime .ann-fin > * {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity .9s ease, transform 1.1s var(--ann-chemin);
}

.ann-racine.est-anime .ann-scene.est-vue,
.ann-racine.est-anime .ann-fin.est-vue > * {
	opacity: 1;
	transform: none;
}

.ann-racine.est-anime .ann-fin.est-vue > :nth-child(2) { transition-delay: .12s; }
.ann-racine.est-anime .ann-fin.est-vue > :nth-child(3) { transition-delay: .24s; }
.ann-racine.est-anime .ann-fin.est-vue > :nth-child(4) { transition-delay: .36s; }

.ann-salut {
	margin: 0 0 var(--space-4);

	font-family: var(--pf-police-titre);
	font-size: clamp(1.25rem, 1rem + .9vw, 1.8rem);
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--ann-or-vif);
}

.ann-texte {
	position: relative;
	padding-inline-start: clamp(14px, 1.6vw, 24px);

	font-size: clamp(1.1rem, 1rem + .5vw, 1.42rem);
	line-height: 1.72;
	color: var(--ann-encre);
	text-shadow: 0 1px 14px rgba(0, 0, 0, .55);
}

.ann-texte::before {
	content: "";
	position: absolute;
	inset: .4em auto .4em 0;
	width: 2px;
	background: linear-gradient(180deg, var(--ann-or-vif), rgba(207, 164, 58, .12));
}

.ann-texte a { color: var(--ann-or-vif); }

/* La phrase en grand, seule à l'écran. */
.ann-scene.est-choc {
	align-items: center;
	align-self: center;
	max-width: none;
	min-height: 86svh;
	text-align: center;
}

.ann-choc {
	margin: 0;
	font-family: var(--pf-police-titre);
	font-weight: 800;
	text-transform: uppercase;
}

.ann-choc-ligne {
	display: block;
	font-size: clamp(2.5rem, 8.2vw, 8.4rem);
	line-height: 1;
	letter-spacing: .005em;
	color: var(--ann-or-vif);
	background: linear-gradient(120deg, var(--ann-or) 0%, var(--ann-or-vif) 42%, #fff6d6 58%, var(--ann-or-vif) 72%, var(--ann-or) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .55));
}

.ann-choc-ligne + .ann-choc-ligne {
	margin-top: .55em;
	font-size: clamp(1.15rem, 3vw, 2.9rem);
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.1;
	color: var(--ann-encre);
	background: none;
	-webkit-text-fill-color: currentColor;
}

/* Les images jointes qui ne servent pas de fond. */
.ann-scene.est-images {
	flex-direction: row;
	flex-wrap: wrap;
	gap: var(--space-3);
	max-width: 72rem;
}

.ann-image {
	display: block;
	flex: 1 1 280px;
	min-width: 0;
	max-width: 100%;
}

.ann-image img {
	display: block;
	width: 100%;
	height: auto;
	clip-path: var(--pf-forme-fenetre);
}

.ann-traduit {
	margin: var(--space-3) 0 0;
	font-size: var(--fs-xs);
	letter-spacing: .04em;
	color: var(--ann-encre-pale);
}

/* --- Le générique -------------------------------------------------------- */
.ann-fin {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-5);
	min-height: 92svh;
	padding: 12svh var(--ann-marge) 10svh;
	text-align: center;
	background: linear-gradient(180deg, transparent 0%, rgba(11, 10, 7, .84) 34%, var(--ann-noir) 100%);
}

.ann-fin-logo {
	width: clamp(72px, 8vw, 112px);
	height: auto;
	filter: drop-shadow(0 0 28px rgba(207, 164, 58, .4));
}

.ann-fin-date,
.ann-fin-slogan {
	margin: 0;

	font-family: var(--pf-police-titre);
	font-size: clamp(1.25rem, 1rem + 1.5vw, 2.3rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--ann-encre);
}

.ann-fin-slogan b { color: var(--ann-or-vif); }

/* Le compte à rebours du bandeau du site, en grand : ses chiffres sont tenus
   par assets/js/ouverture.js, comme partout. */
.ann-fin .ouv-rebours {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-3);
	font-family: var(--pf-police-titre);
	font-size: var(--fs-xs);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ann-encre-pale);
}

.ann-fin .ouv-case {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	min-width: clamp(64px, 9vw, 104px);
	padding: var(--space-3) var(--space-2);
	background: rgba(207, 164, 58, .09);
	box-shadow: inset 0 2px 0 var(--ann-or);
	clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.ann-fin .ouv-case b {
	font-size: clamp(1.7rem, 1.2rem + 2.2vw, 3.2rem);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	letter-spacing: .01em;
	color: var(--ann-or-vif);
}

.ann-fin-boutons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-3);
}

/* --- La conversation ------------------------------------------------------
   Le fond s'arrête ici : les réactions et les réponses se lisent sur un aplat,
   comme sur tous les sujets. La largeur est celle de la colonne du site. */
.ann-conversation {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	padding: var(--space-6) max(var(--gutter-page, 20px), calc((100% - 62rem) / 2)) var(--space-8);
	color: var(--pf-ink);
	background: var(--ann-noir);
}

.ann-reactions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-3);
	padding-block: var(--space-4);
	text-align: center;
	scroll-margin-top: 72px;
}

.ann-reactions-titre {
	margin: 0;

	font-family: var(--pf-police-titre);
	font-size: var(--fs-lg);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ann-or-vif);
}

.ann-reactions-gestes {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-2) var(--space-3);
}

/* `.mp-msg-action` (messagerie.css) fixe un carré de 26 px, écrit pour une icône
   seule : ces gestes portent leur nom. La classe reste pour la règle
   `html:not([data-js])`, qui les retire sans script. */
.ann-reactions .forum-action {
	width: auto;
	height: auto;
}

/* Le menu ⋯ et les ancres : la barre du haut reste posée sur la page. */
.ann-conversation [id] { scroll-margin-top: 72px; }

/* --- LE TÉLÉPHONE --------------------------------------------------------- */
@media (max-width: 640px) {
	.ann-racine { --ann-bande-h: clamp(20px, 5svh, 44px); }

	.ann-fermer span { display: none; }

	.ann-ouverture { padding-bottom: calc(var(--ann-bande-h) + 84px); }

	.ann-defiler {
		inset-inline: 0;
		bottom: calc(var(--ann-bande-h) + 14px);
		margin-inline: auto;
		width: max-content;
	}

	.ann-scene { min-height: 52svh; }

	.ann-fin .ouv-case { min-width: 62px; }
}

/* =====================================================================
   L'OUVERTURE EN MOUVEMENT
   =====================================================================
   Toutes ces animations commencent par `ann-i-` : assets/js/annonces.js les
   retrouve par ce nom pour les finir d'un coup quand on passe l'ouverture.

   `backwards` et jamais `both` : à la fin de l'animation, c'est la règle de
   base qui reprend la main, et la transition de la lecture peut jouer.

   `data-ann-vue` (posé dans <head>, avant la première peinture) : ce navigateur
   a déjà vu cette annonce, ou l'on revient sur elle après un geste ; pas de
   rideau. `data-ann-carte` : on arrive par la carte qui grandit ; l'image est
   déjà là, les bandes de cinéma entrent après elle, le titre vole seul. */
@media (prefers-reduced-motion: no-preference) {
	.ann-fond-image {
		transform-origin: 62% 58%;
		will-change: transform;
		animation: ann-zoom 56s ease-in-out infinite alternate;
	}

	html:not([data-ann-vue]) .ann-barre.est-haut { animation: ann-i-rideau-haut 1.2s .3s cubic-bezier(.65, 0, .2, 1) backwards; }
	html:not([data-ann-vue]) .ann-barre.est-bas { animation: ann-i-rideau-bas 1.2s .3s cubic-bezier(.65, 0, .2, 1) backwards; }
	html:not([data-ann-vue]) .ann-haut { animation: ann-i-fondu .7s 1.3s ease backwards; }
	html:not([data-ann-vue]) .ann-surtitre { animation: ann-i-monte .8s 1.1s var(--ann-chemin) backwards; }
	html:not([data-ann-vue]) .ann-titre { animation: ann-i-titre 1.1s 1.35s var(--ann-chemin) backwards; }
	html:not([data-ann-vue]) .ann-meta { animation: ann-i-monte .8s 2.1s var(--ann-chemin) backwards; }
	html:not([data-ann-vue]) .ann-defiler { animation: ann-i-fondu .8s 2.6s ease backwards; }

	.ann-defiler .ti { animation: ann-rebond 2.2s ease-in-out infinite; }

	/* La carte vient de grandir : tout entre après elle. */
	html[data-ann-carte] .ann-barre.est-haut { animation: ann-i-entre-haut .7s .5s var(--ann-chemin) backwards; }
	html[data-ann-carte] .ann-barre.est-bas { animation: ann-i-entre-bas .7s .5s var(--ann-chemin) backwards; }
	html[data-ann-carte] .ann-haut { animation: ann-i-fondu .6s .55s ease backwards; }
	html[data-ann-carte] .ann-surtitre { animation: ann-i-monte .7s .5s var(--ann-chemin) backwards; }
	html[data-ann-carte] .ann-titre { animation: none; }
	html[data-ann-carte] .ann-meta { animation: ann-i-monte .7s .7s var(--ann-chemin) backwards; }
	html[data-ann-carte] .ann-defiler { animation: ann-i-fondu .7s 1s ease backwards; }
}

@keyframes ann-zoom {
	from { transform: scale(1.03); }
	to { transform: scale(1.16) translate3d(-1.4%, -1%, 0); }
}

@keyframes ann-rebond {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(6px); }
}

@keyframes ann-i-rideau-haut { from { transform: translateY(0); } }
@keyframes ann-i-rideau-bas { from { transform: translateY(0); } }
@keyframes ann-i-entre-haut { from { transform: translateY(-100%); } }
@keyframes ann-i-entre-bas { from { transform: translateY(100%); } }
@keyframes ann-i-fondu { from { opacity: 0; } }
@keyframes ann-i-monte { from { opacity: 0; transform: translateY(24px); } }
@keyframes ann-i-titre { from { opacity: 0; transform: translateY(34px) scale(.985); filter: blur(10px); } }

/* Qui demande moins de mouvement voit tout, tout de suite. */
@media (prefers-reduced-motion: reduce) {
	.ann-bande-image,
	.ann-bande-fleche,
	.ann-barre,
	.ann-fond-video,
	.ann-fond-voile::after { transition: none; }
}

/* À l'impression, le texte et rien d'autre. */
@media print {
	.ann-fond,
	.ann-barres,
	.ann-haut,
	.ann-defiler,
	.ann-conversation,
	.ann-fin { display: none !important; }

	.ann-racine,
	.ann-titre,
	.ann-texte,
	.ann-choc-ligne { color: #000 !important; background: none !important; -webkit-text-fill-color: #000 !important; text-shadow: none !important; }

	.ann-ouverture,
	.ann-scene { min-height: 0; padding: 0 0 1em; }
}
