/* Composants de l'extension Hyperion — Équipe. Les couleurs viennent du thème (avec valeurs de repli). */

:root {
	--hyp-orange: var(--wp--preset--color--orange, #ff8000);
	--hyp-rouge: var(--wp--preset--color--rouge, #e3141b);
	--hyp-jaune: var(--wp--preset--color--jaune, #ffd400);
	--hyp-fond: var(--wp--preset--color--charbon, #141417);
	--hyp-fond-2: var(--wp--preset--color--ardoise, #1f1f24);
	--hyp-trait: var(--wp--preset--color--acier, #34343c);
	--hyp-texte: var(--wp--preset--color--blanc, #f6f6f6);
	--hyp-discret: var(--wp--preset--color--gris, #a1a1aa);
	--hyp-titres: var(--wp--preset--font-family--saira, "Saira", system-ui, sans-serif);
	--hyp-flamme: linear-gradient(120deg, var(--hyp-rouge) 0%, var(--hyp-orange) 55%, var(--hyp-jaune) 100%);
}

/* Chiffres clés */
.hyp-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1rem;
}
.hyp-stat {
	background: var(--hyp-fond);
	border: 1px solid var(--hyp-trait);
	border-top: 3px solid var(--hyp-orange);
	padding: 1.5rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: .25rem;
}
.hyp-stat__nombre {
	font-family: var(--hyp-titres);
	font-weight: 800;
	font-style: italic;
	font-size: clamp(2.5rem, 5vw, 3.75rem);
	line-height: 1;
	background: var(--hyp-flamme);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hyp-stat__libelle {
	font-family: var(--hyp-titres);
	text-transform: uppercase;
	letter-spacing: .08em;
	font-weight: 600;
	font-size: .875rem;
	color: var(--hyp-discret);
}
/*
 * Chiffres cliquables de l'accueil (palmares.php) : la même carte, qui s'allume au survol et au clavier ; une flèche
 * suit le libellé. Le lien de l'année de fondation descend à « Notre histoire » (sous l'en-tête collant : scroll-margin).
 */
a.hyp-stat--lien {
	color: inherit;
	text-decoration: none;
	transition: border-color .15s ease, transform .15s ease, background-color .15s ease;
}
a.hyp-stat--lien .hyp-stat__libelle::after {
	content: "→";
	content: "→" / ""; /* décorative : les lecteurs d'écran ne lisent pas la flèche */
	display: inline-block;
	margin-left: .4em;
	transition: transform .15s ease;
}
a.hyp-stat--lien:is(:hover, :focus-visible) {
	border-color: var(--hyp-orange);
	background: var(--hyp-fond-2);
	transform: translateY(-2px);
}
a.hyp-stat--lien:is(:hover, :focus-visible) .hyp-stat__libelle { color: var(--hyp-texte); }
a.hyp-stat--lien:is(:hover, :focus-visible) .hyp-stat__libelle::after { transform: translateX(3px); }
a.hyp-stat--lien:focus-visible { outline: 2px solid var(--hyp-orange); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	a.hyp-stat--lien,
	a.hyp-stat--lien .hyp-stat__libelle::after { transition: none; transform: none !important; }
}
.hyp-histoire { scroll-margin-top: 7rem; }

/*
 * Bandeau de la saison (inc/decompte.php), sur l'accueil juste sous l'en-tête. Téléphone d'abord :
 * ligne du temps puis décompte, l'un sous l'autre ; dès 960 px, sur une ligne, le décompte à droite.
 */
/* Fond de la page : l'écart de 20 px que le thème laisse sous l'en-tête (marge de <main>) ne fait pas de bande. */
.hyp-decompte {
	position: relative;
	margin-block: 0;
	padding-bottom: 2px;
	background: var(--wp--preset--color--noir, #0b0b0d);
	color: var(--hyp-texte);
}
/*
 * Ligne du bas : la même que celle sous l'en-tête (thème, .hyp-entete::after : 2 px, dégradé flamme sur sa seule
 * hauteur), pour encadrer la frise et le décompte. Un border-image prendrait le dégradé sur toute la hauteur du
 * bandeau : les couleurs seraient décalées.
 */
.hyp-decompte::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--wp--preset--gradient--flamme, var(--hyp-flamme));
}
.hyp-decompte + .hyp-hero { margin-block-start: 0; }
.hyp-decompte[hidden],
.hyp-decompte [hidden] { display: none !important; }
.hyp-decompte .hyp-lecteur {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.hyp-decompte__interieur {
	box-sizing: border-box;
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin: 0 auto;
	padding: .25rem var(--wp--style--root--padding-right, 1.25rem) 1rem var(--wp--style--root--padding-left, 1.25rem);
	display: grid;
	gap: .875rem;
}

/* Ligne du temps : 3 rangées alignées sur les mêmes colonnes (une par étape, deux demi-colonnes pour les périodes). */
.hyp-saison { min-width: 0; }
.hyp-saison__legende {
	margin: 0 0 .4rem;
	font-weight: 600;
	font-size: .875rem;
	color: var(--hyp-orange);
}
.hyp-saison__periodes { display: none; }
.hyp-saison__piste { position: relative; height: 1rem; }
.hyp-saison__piste::before,
.hyp-saison__rempli {
	content: "";
	position: absolute;
	top: 50%;
	left: calc(50% / var(--etapes));
	height: 4px;
	margin-top: -2px;
	border-radius: 2px;
}
.hyp-saison__piste::before { right: calc(50% / var(--etapes)); background: var(--hyp-trait); }
.hyp-saison__rempli {
	width: calc((100% - 100% / var(--etapes)) * var(--progression, 0));
	background: var(--hyp-flamme);
	transition: width .6s ease-out;
}
.hyp-saison__points {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(var(--etapes), minmax(0, 1fr));
	align-items: center;
	justify-items: center;
}
.hyp-saison__point {
	box-sizing: border-box;
	width: .875rem;
	height: .875rem;
	border-radius: 50%;
	background: var(--hyp-fond);
	border: 2px solid var(--hyp-trait);
}
.hyp-saison__point.is-passe { background: var(--hyp-orange); border-color: var(--hyp-orange); }
.hyp-saison__point.is-prochain { border-color: var(--hyp-orange); }
.hyp-saison__point.is-en-cours { background: var(--hyp-rouge); border-color: var(--hyp-jaune); box-shadow: 0 0 0 3px rgba(255, 212, 0, .3); }
.hyp-saison__etapes {
	list-style: none;
	margin: .4rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(var(--etapes), minmax(0, 1fr));
	text-align: center;
	font-size: .6875rem;
	line-height: 1.25;
}
.hyp-saison__etape {
	min-width: 0;
	padding: 0 .15rem;
	display: flex;
	flex-direction: column;
	gap: .15rem;
	overflow-wrap: anywhere;
	hyphens: auto;
}
.hyp-saison__nom { font-weight: 600; }
.hyp-saison__date { color: var(--hyp-discret); white-space: nowrap; }
.hyp-saison__etape.is-passe .hyp-saison__nom { color: var(--hyp-discret); }
.hyp-saison__etape.is-prochain .hyp-saison__nom,
.hyp-saison__etape.is-en-cours .hyp-saison__nom { color: var(--hyp-orange); }

/* Décompte */
.hyp-decompte__competition { min-width: 0; }
.hyp-saison + .hyp-decompte__competition { padding-top: .875rem; border-top: 1px solid var(--hyp-trait); }
.hyp-decompte .hyp-decompte__surtitre { margin: 0; }
/*
 * Les quatre cases (jours, heures, minutes, secondes) : réduites de 15 % (demande de Regis, 2026-11-14) ;
 * le surtitre (nom de la compétition) garde sa taille et passe à la ligne s'il est long.
 */
.hyp-decompte__temps {
	margin: .5rem 0 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: .425rem;
}
.hyp-decompte__case {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .13rem;
	padding: .38rem .34rem .34rem;
	background: var(--hyp-fond-2);
	border: 1px solid var(--hyp-trait);
	border-top: 3px solid var(--hyp-orange);
}
.hyp-decompte__nombre {
	font-family: var(--hyp-titres);
	font-weight: 800;
	font-style: italic;
	font-size: clamp(1.38rem, 6.375vw, 1.9125rem);
	line-height: 1;
	font-variant-numeric: tabular-nums;
	padding-right: .08em; /* l'italique déborde un peu */
	background: var(--hyp-flamme);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hyp-decompte__unite {
	font-family: var(--hyp-titres);
	font-weight: 600;
	font-size: .585rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--hyp-discret);
}
.hyp-decompte__message { margin: .5rem 0 0; font-weight: 600; }

/* En compétition : un point rouge qui bat remplace le trait du surtitre. */
.hyp-decompte--en-cours .hyp-decompte__surtitre { color: var(--hyp-jaune); }
.hyp-decompte--en-cours .hyp-decompte__surtitre::before {
	width: .625rem;
	height: .625rem;
	border-radius: 50%;
	background: var(--hyp-rouge);
	animation: hyp-decompte-pouls 1.8s ease-out infinite;
}
@keyframes hyp-decompte-pouls {
	0% { box-shadow: 0 0 0 0 rgba(227, 20, 27, .7); }
	70%, 100% { box-shadow: 0 0 0 .55rem rgba(227, 20, 27, 0); }
}
@media (prefers-reduced-motion: reduce) {
	.hyp-decompte--en-cours .hyp-decompte__surtitre::before { animation: none; }
	.hyp-saison__rempli { transition: none; }
}

/* Dès 600 px : les périodes au-dessus de la ligne ; la phrase « En ce moment » reste pour les lecteurs d'écran. */
@media (min-width: 600px) {
	.hyp-saison__legende {
		position: absolute !important;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}
	.hyp-saison__periodes {
		display: grid;
		grid-template-columns: repeat(var(--colonnes), minmax(0, 1fr));
		align-items: end;
		min-height: 2.5em;
		margin-bottom: .25rem;
		font-size: .75rem;
		font-style: italic;
		line-height: 1.2;
		text-align: center;
		color: var(--hyp-discret);
	}
	.hyp-saison__periode { padding: 0 .35rem; }
	.hyp-saison__periode.is-courante { color: var(--hyp-orange); font-weight: 600; }
	.hyp-saison__etapes { font-size: .8125rem; }
}

/* Dès 960 px : sur une ligne, le décompte à droite. */
@media (min-width: 960px) {
	.hyp-decompte__interieur {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		column-gap: 2rem;
		/*
		 * Bloc du décompte centré en hauteur entre le trait de l'en-tête et le bas du bandeau : au-dessus, il y a
		 * déjà les 20 px de marge de <main> et l'espace du surtitre au-dessus de ses capitales (6,5 px).
		 */
		padding-top: 0;
		padding-bottom: 1.65rem;
	}
	.hyp-decompte__interieur > :only-child { grid-column: 1 / -1; }
	.hyp-saison + .hyp-decompte__competition {
		padding: 0 0 0 2rem;
		border-top: 0;
		border-left: 1px solid var(--hyp-trait);
	}
	.hyp-decompte__competition { width: 23rem; }
	.hyp-decompte__case { padding-inline: .51rem; }
}

/* Fiche robot */
/* En flex, la dernière ligne s'étire : pas de case vide en fin de grille. */
.hyp-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 1px;
	margin: 0 0 2rem;
	background: var(--hyp-trait);
	border: 1px solid var(--hyp-trait);
}
.hyp-specs > div {
	flex: 1 1 140px;
	background: var(--hyp-fond);
	padding: 1rem;
}
.hyp-specs dt {
	font-family: var(--hyp-titres);
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: .75rem;
	font-weight: 600;
	color: var(--hyp-orange);
}
.hyp-specs dd {
	margin: .25rem 0 0;
	font-weight: 600;
}
.hyp-fiche__titre {
	font-size: 1.5rem !important;
	margin: 2rem 0 1rem !important;
}
.hyp-puces {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}
.hyp-puces li {
	border: 1px solid var(--hyp-trait);
	background: var(--hyp-fond-2);
	padding: .35rem .8rem;
	font-size: .9375rem;
}

/* Liste de prix avec trophées */
.hyp-trophees {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: .6rem;
}
.hyp-trophees li {
	position: relative;
	padding: .2rem 0 .2rem 2.1rem;
}
.hyp-trophees li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .2rem;
	width: 1.4rem;
	height: 1.4rem;
	background: var(--hyp-flamme);
	-webkit-mask: var(--hyp-icone) center / contain no-repeat;
	mask: var(--hyp-icone) center / contain no-repeat;
}
.hyp-trophees__prix { --hyp-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10v2h4v3a5 5 0 0 1-4.6 5A5 5 0 0 1 13 14.9V18h3v4H8v-4h3v-3.1A5 5 0 0 1 7.6 12 5 5 0 0 1 3 7V4h4V2Zm0 4H5v1a3 3 0 0 0 2 2.8V6Zm10 0v3.8A3 3 0 0 0 19 7V6h-2Z'/%3E%3C/svg%3E"); }
.hyp-trophees__resultat { --hyp-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2h2v1h11l-2 5 2 5H7v9H5V2Z'/%3E%3C/svg%3E"); }
.hyp-trophees strong { font-weight: 700; }
.hyp-trophees span { color: var(--hyp-discret); }
.hyp-trophees span::before { content: "· "; }

/* Palmarès : ligne du temps */
.hyp-palmares {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}
.hyp-palmares::before {
	content: "";
	position: absolute;
	left: 5.25rem;
	top: .5rem;
	bottom: .5rem;
	width: 2px;
	background: linear-gradient(var(--hyp-jaune), var(--hyp-orange), var(--hyp-rouge));
}
.hyp-palmares__saison {
	display: grid;
	grid-template-columns: 4.5rem 1fr;
	gap: 2rem;
	padding: 0 0 2.5rem;
	position: relative;
}
.hyp-palmares__saison::after {
	content: "";
	position: absolute;
	left: calc(5.25rem - 6px);
	top: .55rem;
	width: 14px;
	height: 14px;
	background: var(--hyp-orange);
	transform: rotate(45deg);
	box-shadow: 0 0 0 4px var(--wp--preset--color--noir, #0b0b0d);
}
.hyp-palmares__annee {
	font-family: var(--hyp-titres);
	font-weight: 800;
	font-style: italic;
	font-size: 1.75rem;
	line-height: 1.1;
	color: var(--hyp-orange);
	text-align: right;
}
.hyp-palmares__contenu h3 {
	margin: 0;
	font-size: 1.5rem;
}
.hyp-palmares__contenu h3 a { color: inherit; text-decoration: none; }
.hyp-palmares__contenu h3 a:hover { color: var(--hyp-orange); }
.hyp-palmares__jeu {
	margin: .1rem 0 .9rem;
	color: var(--hyp-discret);
	font-size: .9375rem;
}

/* Badges des cartes de robots */
.hyp-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin: .25rem 0 0; }
.hyp-badge {
	margin: 0 !important;
	font-family: var(--hyp-titres);
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: .75rem;
	font-weight: 700;
	padding: .2rem .55rem;
	border: 1px solid var(--hyp-trait);
	color: var(--hyp-discret);
}
.hyp-badge--prix { border-color: var(--hyp-orange); color: var(--hyp-orange); }
.hyp-badge:empty { display: none; }

/* Commanditaires */
.hyp-commanditaires { display: grid; gap: 2.5rem; }
.hyp-niveau__titre {
	font-size: 1.125rem !important;
	letter-spacing: .12em;
	margin: 0 0 1rem !important;
	display: flex;
	align-items: center;
	gap: .75rem;
	color: var(--hyp-orange);
}
.hyp-niveau__titre::after { content: ""; flex: 1; height: 1px; background: var(--hyp-trait); }
.hyp-niveau__logos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 1rem;
}
.hyp-niveau--diamant .hyp-niveau__logos,
.hyp-niveau--platine .hyp-niveau__logos { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.hyp-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 3 / 2;
	padding: 1rem;
	background: #fff;
	border: 1px solid var(--hyp-trait);
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}
a.hyp-logo:hover, a.hyp-logo:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 0 -2px var(--hyp-orange); }
.hyp-logo__image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.hyp-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.hyp-logo__nom { color: #111; font-weight: 700; text-align: center; font-size: .9375rem; line-height: 1.3; }
/* Logo blanc ou pâle : fond foncé */
.hyp-logo--pale { background: var(--wp--preset--color--ardoise, #1f1f24); }
.hyp-logo--pale .hyp-logo__nom { color: var(--hyp-texte); }
.hyp-bande-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
}
.hyp-bande-logos .hyp-logo { width: 140px; aspect-ratio: 3 / 2; padding: .6rem; }

/* Vidéo */
.hyp-video { aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--hyp-trait); }
.hyp-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.wp-block-embed .hyp-video { aspect-ratio: auto; border: 0; }
.hyp-video-robot { margin-top: 2.5rem; }

/* Modèle 3D d'un robot */
.hyp-modele-3d { margin-top: 2.5rem; }
.hyp-modele-3d__scene {
	position: relative;
	aspect-ratio: 4 / 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .75rem;
	padding: 1rem;
	text-align: center;
	background: radial-gradient(circle at 50% 45%, var(--hyp-trait) 0%, var(--hyp-fond-2) 70%);
	border: 1px solid var(--hyp-trait);
}
.hyp-modele-3d__scene:has(model-viewer) { padding: 0; }
.hyp-modele-3d__scene model-viewer { width: 100%; height: 100%; --poster-color: transparent; }
.hyp-modele-3d__scene p { margin: 0; }
.hyp-modele-3d__poids { color: var(--hyp-discret); font-size: .875rem; }
.hyp-modele-3d__aide { margin: .6rem 0 0; color: var(--hyp-discret); font-size: .875rem; }

/* Plein écran : celui du navigateur, ou (iPhone) le visionneur posé par-dessus la page. */
.hyp-modele-3d__scene--plein {
	position: fixed;
	inset: 0;
	z-index: 100000; /* au-dessus de la barre d'administration */
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	border: 0;
}
html.hyp-modele-3d-ouvert { overflow: hidden; }

/* Commandes posées sur le modèle */
.hyp-modele-3d__commande {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	min-height: 2.25rem;
	padding: .45rem .75rem;
	color: var(--hyp-texte);
	font: 600 .8125rem/1 system-ui, sans-serif;
	background: rgb(20 20 23 / .8);
	border: 1px solid var(--hyp-trait);
	border-radius: 6px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.hyp-modele-3d__commande:hover { border-color: var(--hyp-orange); }
.hyp-modele-3d__commande:focus-visible { outline: 2px solid var(--hyp-orange); outline-offset: 1px; }
.hyp-modele-3d__commande[aria-pressed="true"] { color: var(--hyp-orange); border-color: var(--hyp-orange); }
.hyp-modele-3d__commande[aria-disabled="true"] { opacity: .6; cursor: default; }
.hyp-modele-3d__commande[aria-disabled="true"]:hover { border-color: var(--hyp-trait); }
.hyp-modele-3d__commande[aria-busy="true"] { opacity: 1; cursor: progress; }
.hyp-modele-3d__commande svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hyp-modele-3d__titre {
	display: none;
	position: absolute;
	top: .9rem;
	left: 1rem;
	right: 18rem; /* « Arêtes » et « Quitter le plein écran » */
	font-family: var(--hyp-titres);
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	text-align: left;
	letter-spacing: .02em;
	color: var(--hyp-texte);
}
.hyp-modele-3d__scene--plein .hyp-modele-3d__titre { display: block; }
/* En haut à droite : « Arêtes », puis « Plein écran ». */
.hyp-modele-3d__haut { position: absolute; top: .6rem; right: .6rem; display: flex; gap: .35rem; }

.hyp-modele-3d__vues {
	position: absolute;
	left: .6rem;
	bottom: .6rem;
	right: 4.5rem; /* place du bouton de réalité augmentée, sur téléphone */
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
}

.hyp-modele-3d__pave {
	position: absolute;
	right: .6rem;
	top: 50%;
	transform: translateY(-50%);
	display: grid;
	grid-template-columns: repeat(3, 2.25rem);
	grid-template-areas: ". haut ." "gauche centre droite" ". bas ." "moins . plus";
	gap: .25rem;
}
.hyp-modele-3d__pave .hyp-modele-3d__commande { padding: 0; font-size: .875rem; }
.hyp-modele-3d__pave-haut { grid-area: haut; }
.hyp-modele-3d__pave-gauche { grid-area: gauche; }
.hyp-modele-3d__pave-centre { grid-area: centre; color: var(--hyp-orange); }
.hyp-modele-3d__pave-droite { grid-area: droite; }
.hyp-modele-3d__pave-bas { grid-area: bas; }
.hyp-modele-3d__pave-moins { grid-area: moins; margin-top: .4rem; font-size: 1.1rem !important; }
.hyp-modele-3d__pave-plus { grid-area: plus; margin-top: .4rem; font-size: 1.1rem !important; }

/* Petit écran, hors plein écran : le doigt suffit, le pavé laisserait trop peu de place au robot. */
@media (max-width: 600px) {
	.hyp-modele-3d__scene:not(.hyp-modele-3d__scene--plein) .hyp-modele-3d__pave { display: none; }
	.hyp-modele-3d__plein span { display: none; }
	/* « Arêtes » en icône seule, sauf pendant le calcul ou en cas d'erreur. */
	.hyp-modele-3d__aretes:not([aria-busy="true"], .hyp-modele-3d__aretes--erreur) span { display: none; }
	.hyp-modele-3d__commande { padding-inline: .6rem; }
}

/* Formulaires */
.hyp-formulaire__grille {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1.25rem;
}
.hyp-formulaire__grille p { margin: 0 0 1.1rem; }
.hyp-formulaire__large { grid-column: 1 / -1; }
.hyp-formulaire label { display: block; font-weight: 600; margin-bottom: .35rem; }
.hyp-formulaire input,
.hyp-formulaire select,
.hyp-formulaire textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	color: var(--hyp-texte);
	background: var(--hyp-fond-2);
	border: 1px solid var(--hyp-trait);
	border-bottom: 2px solid var(--hyp-discret);
	padding: .75rem .9rem;
	border-radius: 0;
}
.hyp-formulaire input:focus,
.hyp-formulaire select:focus,
.hyp-formulaire textarea:focus { outline: 2px solid var(--hyp-orange); outline-offset: 1px; border-bottom-color: var(--hyp-orange); }
.hyp-formulaire__note { font-size: .875rem; color: var(--hyp-discret); }
.hyp-formulaire__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hyp-formulaire button { cursor: pointer; border: 0; }
.hyp-message { padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-left: 4px solid; background: var(--hyp-fond-2); }
.hyp-message--ok { border-color: #3ccf7a; }
.hyp-message--erreur { border-color: var(--hyp-rouge); }
.hyp-formulaire__aide { display: block; margin-top: .35rem; font-size: .875rem; color: var(--hyp-discret); }
.hyp-formulaire input[type="file"] { padding: .6rem; cursor: pointer; }
.hyp-formulaire input[type="checkbox"],
.hyp-formulaire input[type="radio"] { width: auto; margin: 0 .5rem 0 0; accent-color: var(--hyp-orange); }
.hyp-formulaire__choix { border: 1px solid var(--hyp-trait); padding: .75rem 1rem 1rem; margin: 0 0 1.1rem; }
.hyp-formulaire__choix legend { font-weight: 600; padding: 0 .35rem; }
.hyp-formulaire__choix label { display: inline-flex; align-items: center; font-weight: 400; margin: .35rem 1.5rem 0 0; }
.hyp-formulaire button:disabled { opacity: .6; cursor: wait; }

/* Espace équipe : connexion, formulaire de publication, listes d'articles */
.hyp-espace__compte { font-size: .9rem; color: var(--hyp-discret); }
.hyp-espace h2 { margin-top: 2.5rem; }
.hyp-espace #loginform { max-width: 420px; }
.hyp-espace #loginform p { margin: 0 0 1.1rem; }
.hyp-espace #loginform .login-remember label { display: inline-flex; align-items: center; font-weight: 400; }
.hyp-espace #loginform input[type="submit"] {
	width: auto;
	background: var(--hyp-flamme);
	color: #0b0b0d;
	border: 0;
	font-family: var(--hyp-titres);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: .9rem 1.6rem;
	cursor: pointer;
}
/*
 * Mon espace, visiteur : un seul module, deux onglets, « Se connecter » et « Créer mon compte » (inc/mon-espace.php,
 * hyperion_module_acces ; assets/acces.js). Sans JavaScript, l'onglet ouvert est marqué aria-current ; avec,
 * aria-selected. Les champs prennent toute la largeur du module.
 */
.hyp-acces {
	max-width: 34rem;
	margin-top: 1.5rem;
	border: 1px solid var(--hyp-trait);
	background: var(--hyp-fond);
}
.hyp-acces__onglets {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-bottom: 1px solid var(--hyp-trait);
}
.hyp-acces__onglet {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem .75rem;
	text-align: center;
	font-family: var(--hyp-titres);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--hyp-discret);
	text-decoration: none;
	background: var(--wp--preset--color--noir, #0b0b0d);
	transition: color .15s ease, background-color .15s ease;
}
.hyp-acces__onglet + .hyp-acces__onglet { border-left: 1px solid var(--hyp-trait); }
.hyp-acces__onglet:hover { color: var(--hyp-texte); }
.hyp-acces__onglet:focus-visible { outline: 2px solid var(--hyp-orange); outline-offset: -4px; }
.hyp-acces__onglet:is([aria-current="page"], [aria-selected="true"]) {
	color: var(--hyp-texte);
	background: var(--hyp-fond);
}
/* L'onglet ouvert : un trait en dégradé flamme sous son nom, posé sur la bordure du bas. */
.hyp-acces__onglet:is([aria-current="page"], [aria-selected="true"])::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
	background: var(--hyp-flamme);
}
.hyp-acces__panneau { padding: 1.5rem 1.5rem .5rem; }
.hyp-acces__panneau[hidden] { display: none; }
.hyp-acces__panneau > p:first-child { margin-top: 0; }
.hyp-espace .hyp-acces #loginform { max-width: none; }
@media (max-width: 480px) {
	.hyp-acces__onglet { padding: .85rem .5rem; font-size: .875rem; letter-spacing: .03em; }
	.hyp-acces__panneau { padding: 1.25rem 1rem .25rem; }
}
.hyp-liste-articles { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hyp-trait); }
.hyp-liste-articles li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .25rem 1rem;
	padding: .85rem 0;
	border-bottom: 1px solid var(--hyp-trait);
}
.hyp-liste-articles__titre { font-weight: 600; flex: 1 1 16rem; }
.hyp-liste-articles__infos { font-size: .875rem; color: var(--hyp-discret); }
.hyp-liste-articles__actions { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; }
.hyp-liste-articles form { display: inline; margin: 0; }
.hyp-liste-articles button {
	background: var(--hyp-flamme);
	color: #0b0b0d;
	border: 0;
	font: 700 .8rem var(--hyp-titres);
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: .45rem .9rem;
	cursor: pointer;
}
.hyp-statut { font-weight: 600; }
.hyp-statut--publish { color: #3ccf7a; }
.hyp-statut--pending { color: var(--hyp-orange); }
.hyp-statut--envoyee { color: var(--hyp-orange); }
.hyp-statut--validee { color: #3ccf7a; }
.hyp-statut--a_remplir { color: var(--hyp-jaune); }

/* Mon espace : fiche d'inscription */
.hyp-fiche__section { border: 1px solid var(--hyp-trait); padding: 1.25rem 1.25rem .25rem; margin: 0 0 1.75rem; }
.hyp-fiche__section > legend {
	font: 700 1.05rem var(--hyp-titres);
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 0 .5rem;
}
.hyp-fiche__intro { margin: 0 0 1.1rem; color: var(--hyp-discret); }
.hyp-fiche__groupe { margin: .25rem 0 .9rem; font-size: 1rem; }
.hyp-fiche [hidden] { display: none !important; }
/* Dans la fiche, déjà en sections encadrées : une question à choix se présente comme les autres champs, sans cadre
   (sur téléphone, une longue question coupait le cadre). */
.hyp-fiche .hyp-formulaire__choix { border: 0; padding: 0; min-width: 0; }
.hyp-fiche .hyp-formulaire__choix legend { padding: 0; margin-bottom: .15rem; }
.hyp-formulaire__choix--liste label { display: flex; align-items: flex-start; margin: .6rem 0 0; }
.hyp-formulaire__choix--liste input[type="radio"],
.hyp-formulaire .hyp-formulaire__case input { margin-top: .3rem; }
.hyp-formulaire .hyp-formulaire__case { display: flex; align-items: flex-start; font-weight: 400; }
.hyp-formulaire__erreur { display: block; margin-top: .35rem; font-size: .875rem; font-weight: 600; color: #ff7a7a; }
.hyp-champ--erreur input,
.hyp-champ--erreur select,
.hyp-champ--erreur textarea { border-bottom-color: var(--hyp-rouge); }
fieldset.hyp-champ--erreur { border-color: var(--hyp-rouge); }
.hyp-fiche__boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hyp-formulaire .hyp-bouton-discret { background: none; color: var(--hyp-texte); text-decoration: underline; padding: .5rem 0; font: inherit; }
.hyp-message ul { margin: .5rem 0 0; }
/* Piège à robots du formulaire « Créer mon compte » : hors de l'écran, pas display:none (que certains robots repèrent). */
.hyp-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hyp-message a { color: inherit; }
.hyp-resume { display: grid; grid-template-columns: minmax(10rem, 35%) 1fr; gap: .4rem 1.25rem; margin: 0 0 1.5rem; }
.hyp-resume dt { color: var(--hyp-discret); }
.hyp-resume dd { margin: 0; }
.hyp-resume__sous-titre { margin: 0 0 .5rem; font-size: 1rem; }

@media (max-width: 640px) {
	.hyp-formulaire__grille { grid-template-columns: 1fr; }
	.hyp-fiche__section { padding: 1rem .9rem .25rem; }
	.hyp-resume { grid-template-columns: 1fr; gap: 0; }
	.hyp-resume dd { margin-bottom: .6rem; }
	.hyp-palmares::before { left: .45rem; }
	.hyp-palmares__saison { grid-template-columns: 1fr; gap: .25rem; padding-left: 2rem; }
	.hyp-palmares__saison::after { left: 0; }
	.hyp-palmares__annee { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	.hyp-logo { transition: none; }
}

/* Mon espace : calendrier de l'équipe (calendrier.php). Une couleur par type d'activité, ou celle choisie (hyp-couleur--…). */
.hyp-cal--reunion { --hyp-cal-couleur: var(--hyp-orange); }
.hyp-cal--atelier { --hyp-cal-couleur: var(--hyp-jaune); }
.hyp-cal--financement { --hyp-cal-couleur: #3ccf7a; }
.hyp-cal--sortie { --hyp-cal-couleur: #4aa3ff; }
.hyp-cal--conge { --hyp-cal-couleur: var(--hyp-discret); }
.hyp-cal--autre { --hyp-cal-couleur: #b07cff; }
.hyp-cal--evenement { --hyp-cal-couleur: var(--hyp-rouge); }
.hyp-couleur--orange { --hyp-cal-couleur: var(--hyp-orange); }
.hyp-couleur--rouge { --hyp-cal-couleur: var(--hyp-rouge); }
.hyp-couleur--jaune { --hyp-cal-couleur: var(--hyp-jaune); }
.hyp-couleur--vert { --hyp-cal-couleur: #3ccf7a; }
.hyp-couleur--turquoise { --hyp-cal-couleur: #2dd4bf; }
.hyp-couleur--bleu { --hyp-cal-couleur: #4aa3ff; }
.hyp-couleur--violet { --hyp-cal-couleur: #b07cff; }
.hyp-couleur--rose { --hyp-cal-couleur: #ff6fb5; }
.hyp-couleur--gris { --hyp-cal-couleur: var(--hyp-discret); }
.hyp-cal__entete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 1.5rem; margin: 1.5rem 0 1rem; }
.hyp-cal__entete h2 { margin: 0; }
.hyp-cal__surtitre { margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--hyp-discret); }
.hyp-cal__nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; }
.hyp-cal__ajouter { margin: 0 0 1.25rem; }
.hyp-cal__grille { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0 0 2rem; }
.hyp-cal__grille th { padding: .35rem .4rem; text-align: left; font: 700 .75rem var(--hyp-titres); text-transform: uppercase; letter-spacing: .06em; color: var(--hyp-discret); }
.hyp-cal__grille th abbr { text-decoration: none; }
.hyp-cal__grille td { height: 6.25rem; padding: .3rem; vertical-align: top; border: 1px solid var(--hyp-trait); overflow: hidden; }
.hyp-cal__jour--hors-mois { opacity: .45; }
.hyp-cal__jour--aujourdhui { box-shadow: inset 0 0 0 2px var(--hyp-orange); }
.hyp-cal__num { display: inline-block; min-width: 1.5rem; margin-bottom: .2rem; font-size: .85rem; font-weight: 700; color: var(--hyp-texte); text-decoration: none; }
a.hyp-cal__num:hover, a.hyp-cal__num:focus { color: var(--hyp-orange); text-decoration: underline; }
.hyp-cal__jour--aujourdhui .hyp-cal__num { color: var(--hyp-orange); }
.hyp-cal__element { display: block; margin-top: .2rem; padding: .15rem .3rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .75rem; line-height: 1.3; color: var(--hyp-texte); text-decoration: none; background: var(--hyp-fond-2); border-left: 3px solid var(--hyp-cal-couleur, var(--hyp-orange)); }
/* Fond teinté de la couleur de l'activité (sans color-mix : le fond ardoise, bordure seule). */
.hyp-cal__element { background: color-mix(in srgb, var(--hyp-cal-couleur, var(--hyp-orange)) 22%, var(--hyp-fond-2)); }
.hyp-cal__element:hover, .hyp-cal__element:focus { background: var(--hyp-trait); background: color-mix(in srgb, var(--hyp-cal-couleur, var(--hyp-orange)) 40%, var(--hyp-fond-2)); }
.hyp-cal__element--moi { font-weight: 700; }
.hyp-cal__heure { color: var(--hyp-discret); }
.hyp-agenda { list-style: none; margin: 0 0 1.5rem; padding: 0; border-top: 1px solid var(--hyp-trait); }
.hyp-agenda__element { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--hyp-trait); scroll-margin-top: 6rem; }
.hyp-agenda__element:target { background: var(--hyp-fond-2); }
.hyp-agenda__element--passe { opacity: .6; }
.hyp-agenda__date { margin: 0; padding-left: .5rem; border-left: 3px solid var(--hyp-cal-couleur, var(--hyp-orange)); line-height: 1.1; }
.hyp-agenda__date span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--hyp-discret); }
.hyp-agenda__date strong { display: block; font: 700 1.5rem var(--hyp-titres); }
.hyp-agenda__titre { margin: 0; font-weight: 700; }
.hyp-agenda__infos { margin: .15rem 0 0; font-size: .875rem; color: var(--hyp-discret); }
.hyp-agenda__details { margin: .45rem 0 0; font-size: .95rem; white-space: pre-line; }
.hyp-agenda__actions { margin: .45rem 0 0; font-size: .875rem; }
.hyp-agenda__participants { margin: .35rem 0 0; font-size: .875rem; }
.hyp-cal__moi { display: inline-block; margin-left: .5rem; padding: .05rem .5rem; font-size: .75rem; font-weight: 600; line-height: 1.5; vertical-align: .1em; white-space: nowrap; color: var(--hyp-texte); background: var(--hyp-fond-2); border: 1px solid var(--hyp-cal-couleur, var(--hyp-orange)); border-radius: 999px; }
.hyp-cal__mois { margin: 0 0 .5rem; font: 700 1.1rem var(--hyp-titres); }
.hyp-cal__mois a { color: var(--hyp-texte); text-decoration: none; }
.hyp-cal__mois a:hover, .hyp-cal__mois a:focus { color: var(--hyp-orange); text-decoration: underline; }
.hyp-cal-accueil .hyp-cal__grille { margin-bottom: 1.5rem; }
.hyp-cal-accueil .hyp-cal__grille td { height: 4.75rem; }
.hyp-cal__sous-titre { margin: 0 0 .5rem; font-size: 1.05rem; }
.hyp-cal__vide { color: var(--hyp-discret); }
.hyp-prochains li { border-left: 3px solid var(--hyp-cal-couleur, var(--hyp-orange)); padding-left: .75rem; }
.hyp-cal__supprimer { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--hyp-trait); }
.hyp-cal__supprimer .hyp-bouton-discret { color: #ff7a7a; }
.hyp-cal__formulaire .hyp-formulaire__case span { font-weight: 400; }
.hyp-couleurs__pastille { flex: none; display: inline-block; width: 1rem; height: 1rem; margin-right: .4rem; border-radius: 50%; background: var(--hyp-cal-couleur, var(--hyp-orange)); }
.hyp-participants .hyp-participants__titre { margin: .75rem 0 0; }
.hyp-participants__boutons { margin-left: .75rem; font-size: .875rem; }
.hyp-formulaire .hyp-participants__boutons .hyp-bouton-discret { padding: 0; }
.hyp-participants__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0 1rem; }
.hyp-participants__liste label { margin: .4rem 0 0; }
/* Téléphone : la grille du mois en petit, une pastille par activité (le texte reste lu par les lecteurs d'écran). */
@media (max-width: 720px) {
	.hyp-cal__grille, .hyp-cal-accueil .hyp-cal__grille { margin-bottom: 1.25rem; }
	.hyp-cal__grille th { padding: .25rem 0; text-align: center; letter-spacing: 0; }
	.hyp-cal__grille td, .hyp-cal-accueil .hyp-cal__grille td { height: 3.1rem; padding: .2rem .1rem; text-align: center; }
	.hyp-cal__num { display: block; min-width: 0; margin: 0 0 .1rem; font-size: .8rem; }
	.hyp-cal__element, .hyp-cal__element:hover, .hyp-cal__element:focus { display: inline-block; width: .55rem; height: .55rem; margin: .1rem; padding: 0; border: 0; border-radius: 50%; background: var(--hyp-cal-couleur, var(--hyp-orange)); font-size: 0; line-height: 0; vertical-align: top; }
	.hyp-cal__element--moi { box-shadow: 0 0 0 2px var(--hyp-texte); }
}

/* ------------------------------------------------------------------ */
/* Mentors (page Notre équipe) : cartes à collectionner et fenêtres     */
/* ------------------------------------------------------------------ */

/*
 * Grille des quatre ateliers : chaque colonne tient la carte de l'atelier, puis ses mentors. Sous-grille : les cartes
 * d'ateliers d'une même rangée ont la même hauteur, et les mentors commencent à la même ligne.
 */
.hyp-ateliers > .hyp-atelier {
	display: grid;
	grid-row: span 2;
	grid-template-rows: subgrid;
	row-gap: 1.25rem;
	align-content: start;
}
.hyp-ateliers > .hyp-atelier > :not(dialog) { margin: 0; }
/* Atelier sans mentor publié : pas d'espace pour une rangée vide. */
.hyp-ateliers > .hyp-atelier:not(:has(.hyp-mentors)) { row-gap: 0; }

.hyp-mentors {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr));
	gap: 1.25rem;
	align-items: start;
	align-content: start; /* la rangée de la sous-grille est celle de l'atelier qui a le plus de mentors : pas d'étirement */
}

/* Carte : cadre en dégradé flamme, nom et numéro d'atelier en haut, photo, type, présentation, pied. */
.hyp-mentor {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .6rem;
	padding: .7rem .7rem .55rem;
	border: 3px solid transparent;
	border-radius: 14px;
	background:
		linear-gradient(160deg, #26262c 0%, var(--hyp-fond-2) 45%, #18181c 100%) padding-box,
		var(--hyp-flamme) border-box;
	box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .9);
	color: var(--hyp-texte);
	cursor: pointer;
	transition: transform .3s ease, box-shadow .3s ease;
}
.hyp-mentor:hover,
.hyp-mentor:focus-within {
	transform: scale(1.04);
	box-shadow: 0 22px 44px -16px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 212, 0, .25);
	z-index: 2;
}
.hyp-mentor:has(.hyp-mentor__ouvrir:focus-visible) { outline: 3px solid var(--hyp-jaune); outline-offset: 4px; }

.hyp-mentor__haut { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.hyp-mentor__nom {
	margin: 0;
	font: italic 800 1.15rem/1.15 var(--hyp-titres);
	letter-spacing: .01em;
	text-transform: none;
	min-width: 0;
}
/* Le bouton porte le nom ; son ::after couvre toute la carte (clic n'importe où). */
.hyp-mentor__ouvrir {
	all: unset;
	cursor: pointer;
	overflow-wrap: anywhere;
}
.hyp-mentor__ouvrir::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: 1; }
.hyp-mentor__ouvrir:focus { outline: none; }
.hyp-mentor__numero {
	flex: none;
	padding: .1rem .45rem;
	border-radius: 999px;
	background: var(--hyp-flamme);
	color: #111;
	font: italic 800 .8rem/1.3 var(--hyp-titres);
}

.hyp-mentor__photo {
	position: relative;
	aspect-ratio: 5 / 4;
	overflow: hidden;
	border-radius: 8px;
	border: 2px solid rgba(255, 212, 0, .55);
	background: radial-gradient(circle at 50% 35%, #3a2a1c 0%, var(--hyp-fond) 75%);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6);
}
.hyp-mentor__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 30%;
	transition: transform .4s ease;
}
.hyp-mentor:hover .hyp-mentor__photo img,
.hyp-mentor:focus-within .hyp-mentor__photo img { transform: scale(1.06); }
.hyp-mentor__initiales {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font: italic 800 3.25rem/1 var(--hyp-titres);
	background: var(--hyp-flamme);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hyp-mentor__type {
	margin: 0;
	padding: .2rem .5rem;
	border-radius: 4px;
	background: rgba(255, 128, 0, .12);
	border-left: 3px solid var(--hyp-orange);
	color: var(--hyp-orange);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.hyp-mentor__texte {
	margin: 0;
	font-size: .9rem;
	line-height: 1.45;
	color: #cfcfd4;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	overflow: hidden;
}
.hyp-mentor__pied {
	display: flex;
	justify-content: space-between;
	gap: .5rem;
	margin: auto 0 0;
	padding-top: .45rem;
	border-top: 1px solid var(--hyp-trait);
	font-size: .72rem;
	letter-spacing: .04em;
	color: var(--hyp-discret);
}
.hyp-mentor__pied span:last-child { color: var(--hyp-orange); }
.hyp-mentor .hyp-lecteur {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Emplacement « Ajouter un mentor » : vu seulement des mentors et éditeurs connectés. */
.hyp-mentor--ajouter {
	align-items: center;
	justify-content: center;
	gap: .35rem;
	min-height: 9rem;
	padding: 1rem;
	border: 2px dashed var(--hyp-trait);
	background: transparent;
	box-shadow: none;
	color: var(--hyp-discret);
	text-align: center;
	text-decoration: none;
}
.hyp-mentor--ajouter:hover,
.hyp-mentor--ajouter:focus-visible { border-color: var(--hyp-orange); color: var(--hyp-texte); box-shadow: none; transform: none; }
.hyp-mentor--ajouter:focus-visible { outline: 3px solid var(--hyp-jaune); outline-offset: 4px; }
.hyp-mentor__plus { font: italic 800 2.25rem/1 var(--hyp-titres); color: var(--hyp-orange); }
.hyp-mentor--ajouter small { font-size: .75rem; }

/* Fenêtre de la fiche : la carte en grand, puis l'entrevue. */
.hyp-mentor-fenetre {
	width: min(58rem, calc(100% - 2rem));
	max-width: none;
	max-height: calc(100dvh - 2rem);
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--hyp-texte);
	overflow: visible;
}
.hyp-mentor-fenetre::backdrop { background: rgba(8, 8, 10, .82); backdrop-filter: blur(3px); }
.hyp-mentor-fenetre__boite {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
	gap: 1.75rem;
	align-items: start;
	max-height: calc(100dvh - 2rem);
	overflow: auto;
	overscroll-behavior: contain;
	box-sizing: border-box;
	padding: 1.75rem;
	border: 3px solid transparent;
	border-radius: 18px;
	background:
		linear-gradient(160deg, #26262c 0%, var(--hyp-fond-2) 40%, #18181c 100%) padding-box,
		var(--hyp-flamme) border-box;
	box-shadow: 0 30px 80px -20px #000;
}
.hyp-mentor-fenetre__photo {
	position: sticky;
	top: 0;
	grid-column: 1;
	grid-row: 1 / span 2;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 12px;
	border: 2px solid rgba(255, 212, 0, .55);
	background: radial-gradient(circle at 50% 35%, #3a2a1c 0%, var(--hyp-fond) 75%);
}
.hyp-mentor-fenetre__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hyp-mentor-fenetre__photo .hyp-mentor__initiales { font-size: 5rem; }
.hyp-mentor-fenetre__texte { grid-column: 2; grid-row: 1 / span 2; min-width: 0; }
.hyp-mentor-fenetre__texte > :first-child { margin-top: 0; }
.hyp-mentor-fenetre h2 { margin: .35rem 2.5rem 1rem 0; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.1; }
.hyp-mentor-fenetre__presentation { margin: 0; font-size: 1.05rem; color: #e7e7ea; }
.hyp-mentor-fenetre h3 {
	margin: 1.5rem 0 .75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--hyp-trait);
	font-size: 1.25rem;
}
.hyp-mentor-fenetre__entrevue { color: #cfcfd4; }
.hyp-mentor-fenetre__entrevue strong { color: var(--hyp-texte); }
.hyp-mentor-fenetre__entrevue > :first-child { margin-top: 0; }
.hyp-mentor-fenetre__vide { font-style: italic; color: var(--hyp-discret); }
/* Bouton × : dans le coin, il reste visible quand on fait défiler une longue entrevue. */
.hyp-mentor-fenetre__fermer {
	position: sticky;
	top: 0;
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: start;
	justify-self: end;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	margin: -.75rem -.75rem 0 0;
	padding: 0;
	border: 1px solid var(--hyp-trait);
	border-radius: 50%;
	background: var(--hyp-fond);
	color: var(--hyp-texte);
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}
.hyp-mentor-fenetre__fermer:hover { border-color: var(--hyp-orange); color: var(--hyp-orange); }
.hyp-mentor-fenetre__fermer:focus-visible { outline: 3px solid var(--hyp-jaune); outline-offset: 2px; }
/* La page derrière ne défile pas pendant la lecture. */
html:has(.hyp-mentor-fenetre[open]) { overflow: hidden; }

@media (max-width: 760px) {
	.hyp-mentor-fenetre { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
	.hyp-mentor-fenetre__boite { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; max-height: calc(100dvh - 1rem); padding: 1.25rem; }
	.hyp-mentor-fenetre__fermer { grid-column: 1; grid-row: 1 / span 2; margin: -.5rem -.5rem 0 0; }
	.hyp-mentor-fenetre__photo { position: relative; grid-column: 1; grid-row: 1; width: min(15rem, 70%); }
	.hyp-mentor-fenetre__texte { grid-column: 1; grid-row: 2; }
}

@media (prefers-reduced-motion: no-preference) {
	.hyp-mentor-fenetre[open] { animation: hyp-fenetre .25s ease-out; }
	.hyp-mentor-fenetre[open]::backdrop { animation: hyp-fondu .25s ease-out; }
}
@keyframes hyp-fenetre { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes hyp-fondu { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	.hyp-mentor,
	.hyp-mentor__photo img { transition: none; }
	.hyp-mentor:hover,
	.hyp-mentor:focus-within,
	.hyp-mentor:hover .hyp-mentor__photo img,
	.hyp-mentor:focus-within .hyp-mentor__photo img { transform: none; }
}

/* ------------------------------------------------------------------ */
/* Accueil : « Notre histoire » et diaporama des robots                 */
/* ------------------------------------------------------------------ */

.hyp-diaporama { position: relative; }
/* Toute l'image est un lien vers Nos robots. Cadre décalé orange, comme les photos « Cadre orange ». */
.hyp-diaporama__lien {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--hyp-fond);
	box-shadow: 12px 12px 0 var(--hyp-orange);
	color: var(--hyp-texte);
	text-decoration: none;
}
.hyp-diaporama__lien:focus-visible { outline: 3px solid var(--hyp-jaune); outline-offset: 4px; }
.hyp-diaporama__vues { position: absolute; inset: 0; }
.hyp-diaporama__vue {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 1s ease;
}
.hyp-diaporama__vue.is-active { opacity: 1; }
.hyp-diaporama__vue img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.hyp-diaporama__lien:hover .hyp-diaporama__vue img,
.hyp-diaporama__lien:focus-visible .hyp-diaporama__vue img { transform: scale(1.04); }

.hyp-diaporama__legende {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: .2rem;
	padding: 3.5rem 1.25rem 1.1rem;
	background: linear-gradient(to top, rgba(8, 8, 10, .9) 0%, rgba(8, 8, 10, .55) 55%, rgba(8, 8, 10, 0) 100%);
}
.hyp-diaporama__saison {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--hyp-orange);
}
.hyp-diaporama__nom {
	font: italic 800 clamp(1.5rem, 3vw, 2.1rem)/1.05 var(--hyp-titres);
	text-transform: uppercase;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}
/* « Voir tous nos robots → » : en haut à droite, plein orange au survol. */
.hyp-diaporama__appel {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 2;
	padding: .45rem .8rem;
	border: 1px solid rgba(255, 255, 255, .25);
	background: rgba(8, 8, 10, .72);
	font-size: .85rem;
	font-weight: 700;
	line-height: 1.2;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.hyp-diaporama__lien:hover .hyp-diaporama__appel,
.hyp-diaporama__lien:focus-visible .hyp-diaporama__appel { background: var(--hyp-orange); border-color: var(--hyp-orange); color: #111; }

/* Sous l'image : bouton pause / lecture et points (un par robot). */
.hyp-diaporama__commandes {
	display: flex;
	align-items: center;
	gap: .9rem;
	margin-top: calc(12px + 1.1rem);
}
.hyp-diaporama__pause {
	flex: none;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 1px solid var(--hyp-trait);
	border-radius: 50%;
	background: var(--hyp-fond);
	color: var(--hyp-texte);
	cursor: pointer;
}
.hyp-diaporama__pause[hidden] { display: none; }
.hyp-diaporama__pause:hover { border-color: var(--hyp-orange); color: var(--hyp-orange); }
.hyp-diaporama__pause:focus-visible { outline: 3px solid var(--hyp-jaune); outline-offset: 2px; }
/* Icône : deux barres (pause), ou un triangle (lecture) quand le diaporama est arrêté. */
.hyp-diaporama__pause span {
	box-sizing: border-box;
	width: .7rem;
	height: .8rem;
	border-left: 3px solid currentColor;
	border-right: 3px solid currentColor;
}
.hyp-diaporama.is-arret .hyp-diaporama__pause span {
	width: 0;
	height: 0;
	margin-left: .2rem;
	border-style: solid;
	border-width: .45rem 0 .45rem .75rem;
	border-color: transparent transparent transparent currentColor;
}
.hyp-diaporama__points { display: flex; flex-wrap: wrap; gap: .45rem; }
.hyp-diaporama__points > span {
	width: .5rem;
	height: .5rem;
	border-radius: 50%;
	background: var(--hyp-trait);
	transition: background .3s ease, transform .3s ease;
}
.hyp-diaporama__points > span.is-active { background: var(--hyp-orange); transform: scale(1.35); }

@media (prefers-reduced-motion: reduce) {
	.hyp-diaporama__vue,
	.hyp-diaporama__vue img,
	.hyp-diaporama__points > span { transition: none; }
	.hyp-diaporama__lien:hover .hyp-diaporama__vue img,
	.hyp-diaporama__lien:focus-visible .hyp-diaporama__vue img { transform: none; }
}

/* ---------- Page Nos défis (inc/defis.php) ---------- */

/* Les sections visées par le sommaire ne se cachent pas sous l'en-tête collant. */
.hyp-defis-etape { scroll-margin-top: 7rem; }

/* Sommaire : toute la carte est cliquable (le lien du titre la recouvre). */
.hyp-defis-sommaire .is-style-carte h3 a { color: inherit; text-decoration: none; }
.hyp-defis-sommaire .is-style-carte h3 a::after { content: ""; position: absolute; inset: 0; }
.hyp-defis-sommaire .is-style-carte:has(a:focus-visible) { outline: 3px solid var(--hyp-orange); outline-offset: 3px; }
.hyp-defis-sommaire .is-style-carte h3 a:focus-visible { outline: none; }

/*
 * Frise du match (hyperion_defis_frise_match(), extension 0.30.0). Ordinateur : une colonne par période, de largeur
 * proportionnelle à sa durée (--hyp-match-colonnes, avec un minimum lisible) ; les phases au-dessus, puis une ligne
 * pour les périodes, une par HUB et une pour l'heure. Téléphone : la même grille se lit de haut en bas, une ligne par
 * période (heure, période, les deux HUB). Chaque case est placée par ses variables : --i (période), --l (ligne du HUB),
 * --r et --c (ligne sur ordinateur et colonne sur téléphone d'un libellé), --de et --a (colonnes d'une phase).
 */
.hyp-match {
	display: grid;
	grid-template-columns: 8.5rem var(--hyp-match-colonnes, repeat(7, minmax(5.75rem, 1fr)));
	gap: 4px 3px;
	margin: 1.25rem 0 1.75rem;
	font-size: .8125rem;
	line-height: 1.3;
}
.hyp-match > * { min-width: 0; box-sizing: border-box; }
.hyp-match__phase {
	grid-row: 1;
	grid-column: var(--de) / var(--a);
	padding-bottom: .35rem;
	border-bottom: 2px solid var(--hyp-discret);
	font-family: var(--hyp-titres);
	font-weight: 700;
	font-size: .75rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-align: center;
	color: var(--hyp-texte);
}
.hyp-match__phase--auto { border-color: var(--hyp-orange); color: var(--hyp-orange); }
.hyp-match__libelle {
	grid-row: var(--r);
	grid-column: 1;
	align-self: center;
	padding-right: .75rem;
	font-size: .75rem;
	color: var(--hyp-discret);
}
.hyp-match__court { display: none; }
.hyp-match__periode {
	grid-row: 2;
	grid-column: calc(var(--i) + 1);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .1rem;
	min-height: 3.25rem;
	padding: .35rem .3rem;
	background: var(--hyp-fond-2);
	border: 1px solid var(--hyp-trait);
	text-align: center;
}
.hyp-match__periode strong {
	font-family: var(--hyp-titres);
	font-weight: 800;
	font-style: italic;
	font-size: .8125rem;
	letter-spacing: .02em;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--hyp-texte);
	overflow-wrap: break-word;
}
.hyp-match__periode span { font-size: .75rem; color: var(--hyp-discret); }
.hyp-match__hub {
	grid-row: var(--l);
	grid-column: calc(var(--i) + 1);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2.25rem;
	font-family: var(--hyp-titres);
	font-weight: 700;
	font-size: .6875rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.hyp-match__hub.est-actif { background: var(--hyp-orange); color: #0b0b0d; }
.hyp-match__hub.est-eteint { border: 1px dashed #5a5a64; color: #8a8a94; }
.hyp-match__heure {
	grid-row: 5;
	grid-column: calc(var(--i) + 1);
	display: flex;
	justify-content: space-between;
	padding: .2rem 0 0 .3rem;
	border-left: 1px solid var(--hyp-trait);
	font-size: .75rem;
	font-variant-numeric: tabular-nums;
	color: var(--hyp-discret);
}
.hyp-match__fin { display: none; }
.hyp-match > .hyp-match__heure:last-child .hyp-match__fin { display: inline; }
@media (max-width: 879px) {
	.hyp-match { grid-template-columns: 4rem minmax(0, 1fr) 4.5rem 4.5rem; gap: 3px; }
	.hyp-match__phase { display: none; }
	.hyp-match__libelle {
		grid-row: 1;
		grid-column: var(--c);
		align-self: end;
		padding: 0 0 .3rem;
		font-size: .6875rem;
		text-align: center;
	}
	.hyp-match__long { display: none; }
	.hyp-match__court { display: inline; }
	.hyp-match__periode {
		grid-row: calc(var(--i) + 1);
		grid-column: 2;
		flex-direction: row;
		justify-content: space-between;
		gap: .5rem;
		min-height: 2.75rem;
		padding: .4rem .6rem;
		text-align: left;
	}
	.hyp-match__hub { grid-row: calc(var(--i) + 1); grid-column: var(--l); }
	.hyp-match__heure {
		grid-row: calc(var(--i) + 1);
		grid-column: 1;
		flex-direction: column;
		justify-content: center;
		padding: 0 .4rem 0 0;
		border-left: 0;
		text-align: right;
	}
	.hyp-match__fin,
	.hyp-match > .hyp-match__heure:last-child .hyp-match__fin { display: block; }
	.hyp-match__fin::before { content: "– "; }
}

/* Ancienne frise du match (Auto, T, 1 à 4, Fin), jusqu'à l'extension 0.29.0 : pour une page qui l'aurait gardée. */
.hyp-frise {
	display: flex;
	gap: 3px;
	height: 2.75rem;
	margin: 1.25rem 0 .5rem;
	font-family: var(--hyp-titres);
	font-weight: 800;
	font-style: italic;
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.hyp-frise > span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	overflow: hidden;
	color: #0b0b0d;
}
.hyp-frise__auto { flex: 20 1 0; background: var(--hyp-flamme); }
.hyp-frise__transition { flex: 10 1 0; background: var(--hyp-orange); }
.hyp-frise__shift { flex: 25 1 0; background: var(--hyp-trait); color: var(--hyp-texte) !important; }
.hyp-frise__shift--b { background: #4a4a54; }
.hyp-frise__fin { flex: 30 1 0; background: var(--hyp-flamme); }
.hyp-frise__legende {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem 1.5rem;
	margin: 0 0 1.5rem;
	font-size: .875rem;
	color: var(--hyp-discret);
}
.hyp-frise__legende span { display: inline-flex; align-items: center; gap: .5rem; }
.hyp-frise__pastille { display: inline-block; width: .9rem; height: .9rem; background: var(--hyp-flamme); }
.hyp-frise__pastille--shift { background: linear-gradient(90deg, var(--hyp-trait) 50%, #4a4a54 50%); }

/*
 * 3. La conception : la présentation à gauche, collée en haut de l'écran pendant qu'on lit les étapes, à droite
 * (liste « Étapes » du thème). Étiquette « Kickoff → 1re compétition » sous la présentation.
 */
.hyp-defis-colonnes { gap: var(--wp--preset--spacing--60, 3rem); }
.hyp-defis-intro > :first-child { margin-top: 0; }
@media (min-width: 782px) {
	.hyp-defis-intro { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 2rem); align-self: flex-start; }
}
.hyp-defis-chrono {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .45rem .8rem;
	border: 1px solid var(--hyp-orange);
	color: var(--hyp-orange);
	font-family: var(--hyp-titres);
	font-weight: 700;
	font-size: .8125rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.hyp-defis-colonnes .is-style-etapes { margin-top: 0; }

/*
 * 4. Les compétitions : les étapes regroupées par journée, en trois colonnes (une sous l'autre sous 960 px) ; la
 * numérotation continue d'une journée à l'autre (classe hyp-etapes-suite, thème).
 */
.hyp-defis-jours { gap: var(--wp--preset--spacing--50, 2rem); margin: var(--wp--preset--spacing--50, 2rem) 0; }
@media (max-width: 959px) {
	.wp-block-columns.hyp-defis-jours { flex-wrap: wrap !important; }
	.wp-block-columns.hyp-defis-jours > .wp-block-column { flex-basis: 100% !important; }
}
.hyp-defis-jour {
	margin: 0 0 1.25rem;
	padding-top: .75rem;
	border-top: 1px solid var(--hyp-trait);
	font-family: var(--hyp-titres);
	font-weight: 700;
	font-size: .8125rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--hyp-discret);
}
.hyp-defis-jour::before {
	content: "";
	display: block;
	width: 2.5rem;
	height: 3px;
	margin: calc(-.75rem - 2px) 0 calc(.75rem - 1px);
	background: var(--hyp-flamme);
}
.hyp-defis-jours .is-style-etapes { margin: 0; }

/* Tableau des points : trois colonnes courtes, pas besoin de défiler sur téléphone. */
.wp-block-table.hyp-tableau-compact table { min-width: 0; }
.wp-block-table.hyp-tableau-compact td:first-child { width: 55%; }
.hyp-defis-etape .hyp-note { box-sizing: border-box; }
@media (max-width: 600px) {
	.wp-block-table.hyp-tableau-compact :is(th, td) { padding: .6rem .45rem; }
	.wp-block-table.hyp-tableau-compact thead th { font-size: .6875rem; letter-spacing: .04em; }
	.wp-block-table.hyp-tableau-compact td:first-child { width: 62%; }
}

/* ---------- Résultats de la saison (inc/resultats.php), page Notre palmarès ---------- */
.hyp-resultats__interieur { max-width: 1200px; margin-inline: auto; }
/* En tête d'une page au gabarit par défaut (Notre palmarès), dont le contenu a déjà son espace du haut : pas un second. */
.entry-content.hyp-section > .hyp-resultats:first-child { padding-top: 0; }
.hyp-resultats h2 { margin: .5rem 0 0; }
.hyp-resultats__chiffres { margin-top: 2rem; }
.hyp-stat__nombre sup { font-size: .45em; }
/* « Finalistes », « Gagnants » : un mot, pas un nombre ; plus petit pour tenir dans la case. */
.hyp-stat--texte .hyp-stat__nombre { font-size: clamp(1.75rem, 3.2vw, 2.5rem); padding-right: .08em; }
/* Une compétition : toute la largeur, ses infos sur deux colonnes ; deux ou trois : côte à côte. */
.hyp-resultats__cartes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
	align-items: start;
	gap: 1.25rem;
	margin-top: 1.25rem;
}
.hyp-resultats .hyp-resultat { display: flex; flex-direction: column; gap: .75rem; height: auto; }
.hyp-resultat > * { margin: 0; }
.hyp-resultat__badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.hyp-resultat__badge {
	font-family: var(--hyp-titres);
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	padding: .15rem .55rem;
	border: 1px solid var(--hyp-trait);
	color: var(--hyp-discret);
}
.hyp-resultat__badge--en-cours { border-color: var(--hyp-orange); color: var(--hyp-orange); }
.hyp-resultat__badge--a-venir { border-color: var(--hyp-texte); color: var(--hyp-texte); }
.hyp-carte .hyp-resultat__nom { margin: 0; }
.hyp-carte .hyp-resultat__lieu { color: var(--hyp-discret); font-size: .9375rem; }
.hyp-resultat__infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: .65rem 2rem; }
.hyp-resultat__prix { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); column-gap: 2rem; }
.hyp-resultat__infos dt {
	font-family: var(--hyp-titres);
	font-size: .8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--hyp-orange);
}
.hyp-resultat__infos dd { margin: .15rem 0 0; }
.hyp-resultat__infos sup { font-size: .7em; }
.hyp-resultat__prix { padding-top: .85rem; border-top: 1px solid var(--hyp-trait); }
.hyp-resultats__source { margin: 1.5rem 0 0; font-size: .875rem; color: var(--hyp-discret); }
.hyp-resultats__source a { color: inherit; }
.hyp-resultats__vide { margin: 0; padding: 1rem 1.25rem; border: 1px dashed var(--hyp-trait); color: var(--hyp-discret); }
.hyp-resultats__vide small { display: block; margin-top: .35rem; }

/* Tableau des éliminatoires (double élimination) : la carte prend toute la largeur ; dessin SVG défilant sur téléphone. */
.hyp-resultats .hyp-resultat--large { grid-column: 1 / -1; }
.hyp-tableau { padding-top: .85rem; border-top: 1px solid var(--hyp-trait); }
.hyp-tableau summary {
	cursor: pointer;
	font-family: var(--hyp-titres);
	font-size: .9375rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--hyp-orange);
}
.hyp-tableau summary:focus-visible { outline: 2px solid var(--hyp-orange); outline-offset: 4px; }
.hyp-carte .hyp-tableau__aide { margin: .6rem 0 0; font-size: .875rem; color: var(--hyp-discret); }
.hyp-tableau__defile { overflow-x: auto; margin-top: .75rem; padding-bottom: .5rem; }
/* La liste des matchs, pour les lecteurs d'écran seulement (le dessin leur est masqué). */
.hyp-tableau .hyp-lecteur {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.hyp-tableau__dessin { display: block; width: 100%; min-width: 860px; height: auto; }
@media (min-width: 960px) { .hyp-tableau__glisser { display: none; } }
.hyp-tableau__colonne { font-family: var(--hyp-titres); font-weight: 800; font-style: italic; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; fill: var(--hyp-texte); }
.hyp-tableau__trait { fill: none; stroke: #55555f; stroke-width: 2; }
.hyp-tableau__trait--nous { stroke: var(--hyp-orange); stroke-width: 3; }
.hyp-tableau__boite { fill: var(--hyp-fond); stroke: var(--hyp-trait); stroke-width: 1; }
.hyp-tableau__match--nous .hyp-tableau__boite { stroke: var(--hyp-orange); stroke-width: 2; }
.hyp-tableau__titre { font-family: var(--hyp-titres); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; fill: var(--hyp-discret); }
.hyp-tableau__ligne--rouge { fill: rgba(227, 20, 27, .2); }
.hyp-tableau__ligne--bleu { fill: rgba(42, 107, 224, .24); }
.hyp-tableau__bande--rouge { fill: #e3141b; }
.hyp-tableau__bande--bleu { fill: #2a6be0; }
.hyp-tableau__nom { font-size: 13px; font-weight: 600; fill: var(--hyp-texte); }
.hyp-tableau__nom--attente { font-weight: 400; font-style: italic; fill: var(--hyp-discret); }
.hyp-tableau__nom--elimine { fill: var(--hyp-discret); text-decoration: line-through; }
.hyp-tableau__nom--nous { font-weight: 800; fill: var(--hyp-orange); }
.hyp-tableau__score { font-family: var(--hyp-titres); font-weight: 700; font-size: 14px; fill: var(--hyp-texte); }
.hyp-tableau__trophee { fill: var(--hyp-jaune); }
.hyp-tableau__x { fill: none; stroke: var(--hyp-rouge); stroke-width: 2.2; stroke-linecap: round; }
.hyp-tableau__parties { font-size: 11px; fill: var(--hyp-discret); }
.hyp-carte .hyp-tableau__legende { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; margin: .5rem 0 0; font-size: .875rem; color: var(--hyp-discret); }
.hyp-tableau__legende span { display: inline-flex; align-items: center; gap: .45rem; }
.hyp-tableau__legende span::before { content: ""; flex: none; width: 1rem; height: 1rem; }
.hyp-tableau__legende-trophee::before {
	background: var(--hyp-jaune);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10v2h4v3a5 5 0 0 1-4.6 5A5 5 0 0 1 13 14.9V18h3v4H8v-4h3v-3.1A5 5 0 0 1 7.6 12 5 5 0 0 1 3 7V4h4V2Zm0 4H5v1a3 3 0 0 0 2 2.8V6Zm10 0v3.8A3 3 0 0 0 19 7V6h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10v2h4v3a5 5 0 0 1-4.6 5A5 5 0 0 1 13 14.9V18h3v4H8v-4h3v-3.1A5 5 0 0 1 7.6 12 5 5 0 0 1 3 7V4h4V2Zm0 4H5v1a3 3 0 0 0 2 2.8V6Zm10 0v3.8A3 3 0 0 0 19 7V6h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hyp-tableau__legende-x::before { background: linear-gradient(45deg, transparent 43%, var(--hyp-rouge) 43% 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--hyp-rouge) 43% 57%, transparent 57%); }
.hyp-tableau__legende .hyp-tableau__legende-nous::before { width: 1.25rem; height: 3px; background: var(--hyp-orange); }
.hyp-tableau__alliances {
	list-style: none;
	margin: .75rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
	gap: .3rem 1.5rem;
	font-size: .875rem;
	color: var(--hyp-discret);
}
.hyp-tableau__alliances strong { color: var(--hyp-texte); font-weight: 600; }
.hyp-tableau__alliance--nous strong,
.hyp-tableau__alliance--nous { color: var(--hyp-orange); }

/* ---------- Bouton « Suivre en direct » (inc/decompte.php) : bandeau de l'accueil, carte de la compétition en cours ---------- */
.hyp-bouton-direct { margin: .75rem 0 0; }
.hyp-bouton-direct .wp-element-button { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.hyp-bouton-direct__point {
	flex: none;
	width: .55rem;
	height: .55rem;
	border-radius: 50%;
	background: currentColor;
	animation: hyp-decompte-pouls 1.8s ease-out infinite;
}
.hyp-resultat .hyp-bouton-direct { margin: 0; }

/* ---------- Page En direct (inc/direct.php) ---------- */
.hyp-direct__interieur { max-width: 1200px; margin-inline: auto; }
.hyp-direct__interieur > * { margin-block: 0; }
.hyp-direct__apercu { margin: 0 0 1.5rem !important; padding: .85rem 1.1rem; border: 1px dashed var(--hyp-jaune); font-size: .9375rem; }
.hyp-direct__apercu a { color: var(--hyp-jaune); }
.hyp-direct__entete > * { margin: 0; }
.hyp-direct__entete h1 { margin-top: .35rem; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.05; }
.hyp-direct__surtitre { color: var(--hyp-jaune); }
.hyp-direct:not(.hyp-direct--ferme) .hyp-direct__surtitre::before {
	width: .625rem;
	height: .625rem;
	border-radius: 50%;
	background: var(--hyp-rouge);
	animation: hyp-decompte-pouls 1.8s ease-out infinite;
}
.hyp-direct__lieu { margin-top: .5rem !important; color: var(--hyp-discret); }
.hyp-direct__lieu a,
.hyp-direct__petit a,
.hyp-direct__source a { color: inherit; }
.hyp-direct--ferme h1 { margin-top: .35rem; }
.hyp-direct__intro { max-width: 46rem; margin-top: 1rem !important; }
.hyp-direct__ouverture { margin-top: 1rem !important; }
.hyp-direct--ferme .wp-element-button { margin-top: 1.5rem; }
.hyp-direct__avis { margin-top: 1.5rem !important; padding: 1rem 1.25rem; border: 1px dashed var(--hyp-trait); color: var(--hyp-discret); }
.hyp-direct__avis small { display: block; margin-top: .35rem; }

/* Les trois cartes du haut : l'une sous l'autre sur téléphone, côte à côte sur grand écran. */
.hyp-direct__cartes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
	align-items: start;
	gap: 1.25rem;
	margin-top: 1.75rem !important;
}
.hyp-direct .hyp-direct__carte { display: flex; flex-direction: column; gap: .65rem; height: auto; padding: 1.4rem 1.5rem; }
.hyp-direct__carte > * { margin: 0; }
.hyp-direct__titre {
	margin: 0;
	font-family: var(--hyp-titres);
	font-size: .9375rem;
	font-weight: 700;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--hyp-orange);
}
.hyp-direct__message { color: var(--hyp-discret); }
.hyp-direct__prochain { border-top: 3px solid var(--hyp-trait); }
.hyp-direct__prochain--rouge { border-top-color: #e3141b; }
.hyp-direct__prochain--bleu { border-top-color: #2a6be0; }
.hyp-direct__match { font-family: var(--hyp-titres); font-weight: 800; font-style: italic; font-size: clamp(1.6rem, 3.5vw, 2.1rem); line-height: 1.1; }
.hyp-direct__quand { font-size: 1.0625rem; font-weight: 600; }
.hyp-direct__cote {
	display: inline-block;
	padding: .1rem .55rem;
	font-family: var(--hyp-titres);
	font-size: .8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: #fff;
	white-space: nowrap;
}
.hyp-direct__cote--rouge { background: #c4121a; }
.hyp-direct__cote--bleu { background: #2459c4; }
.hyp-direct__face { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hyp-direct .hyp-direct__face h3 { margin: 0; font-family: var(--hyp-titres); font-size: .8125rem; font-weight: 700; font-style: normal; line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; color: var(--hyp-discret); }
.hyp-direct__equipes { list-style: none; margin: .3rem 0 0; padding: 0; display: grid; gap: .15rem; }
.hyp-direct__rang { color: var(--hyp-discret); font-size: .875rem; }
.hyp-direct__rang sup { font-size: .7em; }
.hyp-direct__terrain,
.hyp-direct__ensuite,
.hyp-direct__petit { font-size: .875rem; color: var(--hyp-discret); }
.hyp-direct__terrain { padding-top: .65rem; border-top: 1px solid var(--hyp-trait); }
.hyp-direct__bilan { display: grid; gap: .6rem; margin: 0; }
.hyp-direct__bilan dt {
	font-family: var(--hyp-titres);
	font-size: .8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--hyp-discret);
}
.hyp-direct__bilan dd { margin: .1rem 0 0; }
.hyp-direct__bilan sup { font-size: .7em; }
.hyp-direct__diffusions { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; justify-items: start; }
/* Un lien-bouton dans une liste ou un paragraphe : bloc en ligne, sinon son rembourrage déborde sur ce qui est au-dessus. */
.hyp-direct .wp-element-button { display: inline-block; text-decoration: none; }
.hyp-direct__lien { color: var(--hyp-texte); }

/* Blocs : nos matchs, classement, alliances, prix. */
.hyp-direct__bloc { margin-top: 2.5rem !important; }
.hyp-direct__bloc > .hyp-direct__titre { margin-bottom: .85rem; }
.hyp-direct__repli > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .6rem; margin-bottom: .85rem; }
.hyp-direct__repli > summary::-webkit-details-marker { display: none; }
.hyp-direct__repli > summary::before { content: "▸"; color: var(--hyp-orange); transition: transform .15s ease; }
.hyp-direct__repli[open] > summary::before { transform: rotate(90deg); }
.hyp-direct__repli > summary:focus-visible { outline: 2px solid var(--hyp-orange); outline-offset: 4px; }
.hyp-direct__defile { overflow-x: auto; border: 1px solid var(--hyp-trait); }
.hyp-direct__defile:focus-visible { outline: 2px solid var(--hyp-orange); outline-offset: 2px; }
.hyp-direct__table { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.hyp-direct__table th,
.hyp-direct__table td { padding: .55rem .8rem; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--hyp-trait); }
.hyp-direct__table thead th {
	font-family: var(--hyp-titres);
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--hyp-discret);
	background: var(--hyp-fond);
}
.hyp-direct__table tbody th { font-weight: 600; }
.hyp-direct__table tbody tr:last-child > * { border-bottom: 0; }
.hyp-direct__matchs .hyp-direct__ligne > :first-child { border-left: 4px solid transparent; }
.hyp-direct__matchs .hyp-direct__ligne--rouge > :first-child { border-left-color: #e3141b; }
.hyp-direct__matchs .hyp-direct__ligne--bleu > :first-child { border-left-color: #2a6be0; }
.hyp-direct__matchs .is-a-venir { color: var(--hyp-discret); }
.hyp-direct__matchs .is-prochain { color: var(--hyp-texte); background: rgba(255, 128, 0, .1); }
.hyp-direct__matchs .is-prochain .hyp-direct__issue { color: var(--hyp-orange); font-weight: 700; }
.hyp-direct__matchs .is-victoire .hyp-direct__issue { color: #5bd17a; font-weight: 700; }
.hyp-direct__matchs .is-defaite .hyp-direct__issue { color: #ff7a7a; }
.hyp-direct__score { font-family: var(--hyp-titres); font-weight: 700; }
.hyp-direct__classement .is-nous { background: rgba(255, 128, 0, .14); }
.hyp-direct__classement .is-nous th,
.hyp-direct__classement .is-nous td { color: var(--hyp-orange); font-weight: 700; }
.hyp-direct__classement th[scope="row"] { font-weight: 400; }
.hyp-direct__surnom { display: inline-block; max-width: 16rem; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; color: var(--hyp-discret); }
.hyp-direct__classement .is-nous .hyp-direct__surnom { color: inherit; }
/* Téléphone : sans les surnoms, le classement tient en largeur. */
@media (max-width: 599px) { .hyp-direct__surnom { display: none; } }
.hyp-direct .hyp-tableau__aide { margin: .6rem 0 0; font-size: .875rem; color: var(--hyp-discret); }
.hyp-direct .hyp-tableau__legende { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; margin: .5rem 0 0; font-size: .875rem; color: var(--hyp-discret); }
.hyp-direct .hyp-trophees { margin: 0; }
.hyp-direct__source { margin-top: 2.5rem !important; font-size: .875rem; color: var(--hyp-discret); }
.hyp-direct__retard { display: block; margin-top: .35rem; color: var(--hyp-jaune); }
@media (prefers-reduced-motion: reduce) {
	.hyp-bouton-direct__point,
	.hyp-direct:not(.hyp-direct--ferme) .hyp-direct__surtitre::before { animation: none; }
}
