/*
Theme Name: Videosports V2
Theme URI: https://videosports.fr
Author: Digicalys
Description: Theme custom videosports.fr — identite fanzine sportif (CDC v1.0). Trois piliers : Les Pronos, Le Radar, Hors champ. Zero jQuery, un CSS unique, un JS defer.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 8.0
License: Propriétaire Digicalys
Text Domain: videosports
*/

:root {
	--encre: #14213D;
	--encre-80: rgba(20, 33, 61, .8);
	--encre-60: rgba(20, 33, 61, .6);
	--encre-12: rgba(20, 33, 61, .12);
	--creme: #FFF6E8;
	--creme-2: #FDF1DD;
	--papier: #FFFDF8;
	--fond-encre: #0E1A34;
	/* Mode nuit "Canapé" : le site vit sur l'encre */
	--surface: #1C2B4E;
	--surface-2: #243759;
	--line: rgba(255, 246, 232, .28);
	--line-soft: rgba(255, 246, 232, .14);
	--shadow-dark: 6px 6px 0 rgba(6, 12, 26, .55);
	--txt-dim: rgba(255, 246, 232, .68);

	--peloton: #C6FF3D;
	--direct: #2F80ED;
	--panache: #FF5A5F;
	--trophee: #F6C945;
	--violet: #7B5FE8;
	--papier: #FFFDF8;

	--font-display: "Bricolage Grotesque", system-ui, sans-serif;
	--font-body: "Atkinson Hyperlegible", system-ui, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, monospace;

	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 5px 5px 0 var(--encre);
	--shadow-sm: 3px 3px 0 var(--encre);
	--border: 2px solid var(--encre);
	--container: 1160px;
	--gap: clamp(16px, 3vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; }

::selection { background: var(--peloton); color: var(--encre); }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--fond-encre); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
	margin: 0;
	background: var(--fond-encre);
	color: var(--creme);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #7EB6FF; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--creme); }

:focus-visible { outline: 3px solid var(--direct); outline-offset: 2px; border-radius: 4px; }

/* Ancres (TOC) : ne pas passer sous le header sticky */
h2[id], h3[id], [id^="h2-"] { scroll-margin-top: 100px; }

hr {
	border: 0;
	border-top: 2px dashed var(--line-soft);
	margin: 2em 0;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.015em;
	margin: 0 0 .5em;
	text-wrap: balance;
}

/* Titres fanzine nets, sans décalage derrière les lettres. */
.sticker {
	text-transform: uppercase;
	letter-spacing: -.01em;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 12px; top: -60px;
	z-index: 1000;
	background: var(--encre);
	color: var(--creme);
	padding: 10px 16px;
	border-radius: var(--radius-sm);
	font-weight: 700;
	transition: top .15s ease;
}
.skip-link:focus { top: 12px; color: var(--creme); }

/* ============ BOUTONS ============ */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	padding: 14px 22px;
	border: var(--border);
	border-radius: var(--radius-sm);
	background: var(--peloton);
	color: var(--encre);
	text-decoration: none;
	cursor: pointer;
	box-shadow: var(--shadow-sm);
	transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 rgba(6, 12, 26, .55); color: var(--encre); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(6, 12, 26, .55); }
.btn--direct { background: var(--direct); color: #fff; }
.btn--direct:hover { color: #fff; }
.btn--panache { background: var(--panache); color: #fff; }
.btn--panache:hover { color: #fff; }
.btn--ghost { background: var(--surface); color: var(--creme); border-color: var(--line); }
.btn--ghost:hover { color: var(--creme); }
.btn--sm { padding: 9px 14px; font-size: .9rem; box-shadow: 2px 2px 0 var(--encre); }

/* ============ HEADER ============ */

.topbar {
	background: var(--encre);
	color: var(--creme);
	font-family: var(--font-mono);
	font-size: .78rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-align: center;
	padding: 7px 12px;
}
.topbar strong { color: var(--trophee); }

.site-header {
	background: var(--creme);
	border-bottom: var(--border);
	position: sticky;
	top: 0;
	z-index: 900;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 68px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--encre);
	flex-shrink: 0;
}
.brand__vs {
	width: 44px; height: 44px;
	flex-shrink: 0;
}
.brand__name {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.28rem;
	letter-spacing: -.02em;
	line-height: 1;
}
.brand__name span { color: var(--panache); }

.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	border: var(--border);
	border-radius: 50%;
	background: var(--papier);
	color: var(--encre);
	cursor: pointer;
}
.search-toggle:hover { background: var(--peloton); }
.search-toggle svg { width: 20px; height: 20px; }

.header-search {
	display: none;
	position: absolute;
	inset-inline: 0;
	top: 100%;
	background: var(--creme);
	border-bottom: var(--border);
	padding: 16px 20px;
	z-index: 970;
}
.header-search:not([hidden]) { display: block; }
.header-search form { display: flex; gap: 10px; max-width: var(--container); margin-inline: auto; }
.header-search input[type="search"] {
	flex: 1;
	font-family: var(--font-mono);
	font-size: 1.05rem;
	padding: 12px 16px;
	border: var(--border);
	border-radius: var(--radius-sm);
	background: var(--papier);
	color: var(--encre);
}

/* Autocomplétion (moteur digi-search) */

.search-form { position: relative; }
.vs-ac {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 960;
	background: var(--surface);
	border: 2px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	max-height: 70vh;
	overflow-y: auto;
}
.vs-ac[hidden] { display: none; }
.vs-ac__item {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px 14px;
	color: var(--creme);
	text-decoration: none;
	border-bottom: 1px dashed var(--line-soft);
}
.vs-ac__item:last-child { border-bottom: 0; }
.vs-ac__item:hover, .vs-ac__item.is-active { background: var(--peloton); color: var(--encre); }
.vs-ac__item img {
	width: 48px; height: 32px;
	object-fit: cover;
	border: 2px solid var(--line);
	border-radius: 4px;
	flex-shrink: 0;
	background: var(--fond-encre);
}
.vs-ac__item b {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .95rem;
	display: block;
	line-height: 1.25;
}
.vs-ac__item em {
	font-family: var(--font-mono);
	font-size: .66rem;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: var(--txt-dim);
	font-style: normal;
}
.vs-ac__item.is-active em { color: var(--encre-60); }
.vs-ac__empty {
	padding: 12px 14px;
	font-family: var(--font-mono);
	font-size: .8rem;
	color: var(--txt-dim);
	margin: 0;
}

/* Nav */

.main-nav { flex: 1 1 auto; min-width: 0; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 1px; }

.main-nav a {
	display: block;
	padding: 9px 10px;
	color: var(--encre);
	text-decoration: none;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .9rem;
	border-radius: var(--radius-sm);
	white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a:focus { background: var(--peloton); color: var(--encre); }

.main-nav .menu-item-has-children { position: relative; }
.main-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 8px; height: 8px;
	margin-left: 7px;
	border-right: 2.5px solid currentColor;
	border-bottom: 2.5px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
}

.main-nav .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 230px;
	background: var(--papier);
	border: var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 8px;
	display: none;
	flex-direction: column;
	max-height: 70vh;
	overflow: auto;
	z-index: 950;
}
.main-nav .sub-menu .sub-menu { top: 0; left: calc(100% + 6px); }
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav li.is-open > .sub-menu { display: flex; }
.main-nav .sub-menu a { font-size: .92rem; padding: 9px 12px; }
.main-nav .sub-menu a:hover { background: var(--creme-2); }

.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	border: var(--border);
	border-radius: var(--radius-sm);
	background: var(--papier);
	cursor: pointer;
	position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	content: "";
	position: absolute;
	left: 10px;
	width: 22px; height: 3px;
	background: var(--encre);
	border-radius: 2px;
	transition: transform .15s ease, opacity .15s ease;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO FRONT ============ */

.hero {
	position: relative;
	overflow: hidden;
	background: var(--fond-encre);
	min-height: clamp(420px, 38vw, 620px);
}
.hero::before {
	content: "";
	position: absolute;
	inset: auto -60px -110px auto;
	width: 420px; height: 420px;
	background: radial-gradient(circle at center, var(--peloton) 0 54%, transparent 55%);
	opacity: .14;
	border-radius: 50%;
}
.hero__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(40px, 6vw, 72px);
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}
.hero__copy { max-width: 34em; }
.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--encre);
	background: var(--peloton);
	border: 2px solid var(--creme);
	border-radius: 999px;
	padding: 6px 14px;
	margin-bottom: 22px;
	transform: rotate(-1.5deg);
	box-shadow: 3px 3px 0 rgba(255, 246, 232, .3);
}
.hero h1 {
	font-size: clamp(2.4rem, 6vw, 4.3rem);
	text-transform: uppercase;
	letter-spacing: -.02em;
	color: var(--creme);
	margin-bottom: .35em;
	line-height: .98;
}
.hero h1 .l1 { color: var(--peloton); }
.hero h1 .l2 { color: var(--creme); }
.hero h1 .l3 { color: var(--panache); }
.hero__sub {
	font-size: clamp(1.02rem, 2.2vw, 1.22rem);
	color: rgba(255, 246, 232, .82);
	max-width: 36em;
	margin: 0 0 28px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__art {
	position: absolute;
	right: calc((min(100vw, var(--container)) - 100vw) / 2 - 20px);
	top: 50%;
	transform: translateY(-50%);
	width: clamp(440px, 42vw, 700px);
	margin-bottom: -18px;
}
.hero__art::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(to right, #0E1A34 0%, rgba(14, 26, 52, 0) 14%),
		linear-gradient(to bottom, #0E1A34 0%, rgba(14, 26, 52, 0) 12%),
		linear-gradient(to top, #0E1A34 0%, rgba(14, 26, 52, 0) 14%);
	pointer-events: none;
}
.hero__art img {
	width: 100%;
	height: auto;
	display: block;
}
.hero__art::after {
	content: "L'ÉTAPE DU JOUR EN DIRECT";
	position: absolute;
	bottom: 12px; left: 40px;
	z-index: 2;
	font-family: var(--font-mono);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .08em;
	background: var(--panache);
	color: #fff;
	border: 2px solid var(--creme);
	border-radius: 999px;
	padding: 5px 12px;
	transform: rotate(-2deg);
	box-shadow: 3px 3px 0 rgba(0, 0, 0, .35);
}

/* ============ PILIERS ============ */

.pillars { padding-block: clamp(36px, 6vw, 72px); }

.pillars__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--gap);
}

.pillar {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 3px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-dark);
	text-decoration: none;
	color: var(--creme);
	background: var(--surface);
	transition: transform .14s ease, box-shadow .14s ease;
}
.pillar:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: 10px 10px 0 rgba(6, 12, 26, .7); color: var(--creme); }
.pillar__thumb {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-bottom: 3px solid var(--line);
	background: var(--fond-encre);
	position: relative;
}
.pillar__thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .25s ease;
}
.pillar:hover .pillar__thumb img { transform: scale(1.04); }
.pillar__num {
	position: absolute;
	top: 14px; left: 14px;
	font-family: var(--font-mono);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .1em;
	background: var(--fond-encre);
	color: var(--creme);
	border: 2px solid var(--line);
	border-radius: 999px;
	padding: 4px 12px;
	transform: rotate(-3deg);
	box-shadow: 2px 2px 0 rgba(6, 12, 26, .6);
	z-index: 2;
}
.pillar__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px 22px;
	flex: 1;
}
.pillar__title { font-size: clamp(1.45rem, 2.8vw, 1.8rem); margin: 0; text-transform: uppercase; }
.pillar__tag { font-weight: 700; margin: 0; }
.pillar--pronos .pillar__body { background: var(--peloton); color: var(--encre); }
.pillar--radar .pillar__body { background: var(--direct); color: #fff; }
.pillar--radar .pillar__title { color: #fff; }
.pillar--horschamp .pillar__body { background: var(--panache); color: #fff; }
.pillar--horschamp .pillar__title { color: #fff; }
.pillar__soon {
	font-family: var(--font-mono);
	font-size: .76rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .8;
	margin: 2px 0 0;
}

/* ============ ENTREES DU MOMENT (home) ============ */

.entries__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }

.entry {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px;
	background: var(--surface);
	border: 2px solid var(--line);
	border-radius: var(--radius);
	color: var(--creme);
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease;
}

.entries__grid > .entry:hover { transform: translate(-2px, -2px) rotate(-.5deg); box-shadow: 8px 8px 0 rgba(6, 12, 26, .7); }

.entry__race {
	align-self: flex-start;
	font-family: var(--font-mono);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--encre);
	background: var(--trophee);
	border: 2px solid var(--encre);
	border-radius: 999px;
	padding: 3px 12px;
}

.entry__title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	line-height: 1.2;
	text-transform: uppercase;
	margin: 0;
}

.entry__meta {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--font-mono);
	font-size: .78rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	opacity: .85;
}

.entry__cta { margin-top: auto; align-self: flex-start; }

@media (max-width: 900px) { .entries__grid { grid-template-columns: 1fr; } }

.pillar__live { opacity: 1; }
.pillar--pronos .pillar__live { display: inline-block; margin-top: 4px; padding: 3px 10px; border-radius: 999px; background: var(--encre); color: var(--peloton); font-weight: 700; }

/* ============ BOUCLE QUOTIDIENNE ============ */

.loop { padding-block: 16px 8px; }
.loop__panel {
	position: relative;
	padding: clamp(24px, 3vw, 36px);
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	box-shadow: var(--shadow-dark);
}
.loop__panel::before {
	content: "";
	position: absolute;
	left: -1px;
	top: 28px;
	bottom: 28px;
	width: 4px;
	border-radius: 4px;
	background: var(--peloton);
}
.loop .section__head { margin-bottom: 0; gap: 20px; }
.loop .section__head h2::after { display: none; }
.loop__timer {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: .82rem;
	font-weight: 600;
	background: var(--trophee);
	border: 2px solid var(--encre);
	border-radius: 999px;
	padding: 7px 16px;
	transform: none;
	white-space: nowrap;
	color: var(--encre);
}
.loop__steps {
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 18px;
	counter-reset: step;
}
.loop__steps li {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	font-size: .92rem;
}
.loop__steps li::before {
	content: "";
	position: absolute;
	top: 30px;
	left: calc(-50% + 34px);
	right: calc(50% + 34px);
	border-top: 3px dashed var(--line-soft);
}
.loop__steps li:first-child::before { display: none; }
.loop__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px; height: 62px;
	border-radius: 50%;
	background: var(--dot, var(--peloton));
	border: 3px solid var(--line);
	box-shadow: var(--shadow-dark);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.35rem;
	color: var(--encre);
}
.loop__steps li:nth-child(2) .loop__dot, .loop__steps li:nth-child(4) .loop__dot { color: #fff; }
.loop__steps li:nth-child(6) .loop__dot { color: var(--creme); border-color: var(--line); }
.loop__steps strong {
	font-family: var(--font-display);
	font-weight: 800;
	text-transform: uppercase;
	font-size: .95rem;
	letter-spacing: .02em;
}
.loop__steps .step-sub {
	font-family: var(--font-mono);
	font-size: .74rem;
	color: var(--txt-dim);
	line-height: 1.4;
}

/* ============ SCOREBOARD APERÇU ============ */

.duel { padding-block: clamp(36px, 6vw, 72px); }
.duel__grid {
	display: grid;
	grid-template-columns: 1fr .9fr;
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}
.duel__copy h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.duel__check {
	list-style: none;
	margin: 18px 0 26px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.duel__check li { display: flex; align-items: baseline; gap: 10px; }
.duel__check .tick {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--peloton);
	border: 2px solid var(--encre);
	font-size: .8rem;
	font-weight: 800;
	transform: translateY(4px);
}

.scoremock {
	position: relative;
	background: var(--surface);
	border: 3px solid var(--line);
	border-radius: 18px;
	box-shadow: var(--shadow-dark);
	padding: 22px 22px 16px;
	transform: rotate(1.4deg);
	max-width: 430px;
	justify-self: center;
	width: 100%;
}
.scoremock__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}
.scoremock__title {
	font-family: var(--font-display);
	font-weight: 800;
	text-transform: uppercase;
	font-size: 1.02rem;
	margin: 0;
	letter-spacing: .02em;
}
.scoremock__code {
	font-family: var(--font-mono);
	font-size: .7rem;
	font-weight: 600;
	background: var(--surface-2);
	border: 2px solid var(--line);
	border-radius: 999px;
	padding: 3px 10px;
	white-space: nowrap;
	color: var(--creme);
}
.scoremock ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.scoremock li {
	display: flex;
	align-items: center;
	gap: 12px;
	border: 2px solid var(--line);
	border-radius: 10px;
	padding: 10px 14px;
	font-weight: 700;
	background: var(--surface-2);
}
.scoremock li .rank {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px; height: 26px;
	border-radius: 50%;
	border: 2px solid var(--line);
	font-family: var(--font-mono);
	font-size: .78rem;
	font-weight: 600;
	background: var(--fond-encre);
	color: var(--creme);
	flex-shrink: 0;
}
.scoremock li b { margin-left: auto; font-family: var(--font-mono); font-weight: 600; }
.scoremock li em {
	font-family: var(--font-mono);
	font-style: normal;
	font-size: .66rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #FF8A8E;
	margin-left: 8px;
}
.scoremock li.is-first { background: var(--trophee); color: var(--encre); box-shadow: 3px 3px 0 rgba(6, 12, 26, .6); }
.scoremock li.is-first .rank { background: var(--papier); border-color: var(--encre); color: var(--encre); }
.scoremock li.is-last { background: rgba(255, 90, 95, .22); }
.scoremock li.is-last .rank { background: var(--panache); color: #fff; border-color: var(--panache); }
.scoremock__note {
	margin: 14px 0 0;
	font-family: var(--font-mono);
	font-size: .7rem;
	color: var(--txt-dim);
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .06em;
}

/* ============ SECTIONS / CARTES ============ */

.section { padding-block: clamp(30px, 5vw, 56px); }
.section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}
.section__head h2 {
	font-size: clamp(1.6rem, 4vw, 2.3rem);
	margin: 0;
	text-transform: uppercase;
}
.section__head h2::after {
	content: "";
	display: block;
	width: 72px; height: 6px;
	margin-top: 12px;
	background: var(--peloton);
	border: 2px solid var(--encre);
	border-radius: 4px;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 2px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	color: var(--creme);
	box-shadow: var(--shadow-dark);
	transition: transform .14s ease, box-shadow .14s ease;
}
.card:hover { transform: translate(-2px, -2px) rotate(-.5deg); box-shadow: 8px 8px 0 rgba(6, 12, 26, .7); color: var(--creme); }
.card__thumb { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 2px solid var(--line); background: var(--fond-encre); position: relative; }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.card:hover .card__thumb img { transform: scale(1.05); }
.card__cat {
	position: absolute;
	top: 12px; left: 12px;
	z-index: 2;
	font-family: var(--font-mono);
	font-size: .72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .07em;
	background: var(--trophee);
	color: var(--encre);
	border: 2px solid var(--encre);
	border-radius: 999px;
	padding: 3px 11px;
	transform: rotate(-3deg);
	box-shadow: 2px 2px 0 rgba(6, 12, 26, .6);
}
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { font-size: 1.18rem; margin: 0; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__meta {
	margin-top: auto;
	font-family: var(--font-mono);
	font-size: .78rem;
	color: var(--txt-dim);
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}
.card__meta svg { width: 13px; height: 13px; transform: translateY(2px); }

/* ============ ARTICLE ============ */

.single-hero { border-bottom: 2px solid var(--line-soft); padding-block: 34px 28px; }
.single-hero h1 { font-size: clamp(1.8rem, 4.6vw, 3rem); max-width: 20em; }
.breadcrumb {
	font-family: var(--font-mono);
	font-size: .8rem;
	margin-bottom: 14px;
	color: var(--txt-dim);
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.breadcrumb a { color: var(--txt-dim); }
.single-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	font-family: var(--font-mono);
	font-size: .82rem;
	color: var(--txt-dim);
	margin-top: 16px;
}
.single-hero__meta .card__cat { position: static; transform: rotate(-2deg); }
.single-hero__thumb { max-width: 880px; margin: 26px auto 0; }
.single-hero__thumb img { border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-dark); }

/* ============ CONTENU ARTICLE / PAGE ============ */

/* Articles : composition éditoriale, lecture ouverte et repères du fanzine. */
.single-post .single-hero { border: 0; padding-block: 32px 36px; }
.single-hero__grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 4vw, 52px); align-items: center; }
.single-hero__grid.single-hero__grid--text { grid-template-columns: 1fr; }
.single-post .single-hero h1 { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.06; text-transform: uppercase; letter-spacing: -.025em; text-wrap: balance; margin: 0; max-width: 23ch; }
.single-hero__grid--text h1 { max-width: 34ch; }
.single-post .single-hero__meta { gap: 12px 16px; margin-top: 24px; line-height: 1.6; }
.single-hero__meta > span, .single-hero__discuss { display: inline-flex; gap: 6px; align-items: center; }
.single-hero__meta svg { width: 16px; height: 16px; }
.single-hero__meta a.card__cat { color: var(--encre); text-decoration: none; }
.single-hero__discuss { color: var(--creme); text-underline-offset: 4px; }
.single-post .single-hero__thumb { min-width: 0; width: 100%; max-width: none; margin: 0; }
.single-post .single-hero__thumb img { display: block; width: 100%; aspect-ratio: 5 / 4; height: auto; object-fit: cover; border: 2px solid var(--line); }
.single-post .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(28px, 4vw, 56px); padding-block: 22px 64px; }
.article-layout .entry-col { grid-column: 1; grid-row: 1; }
.article-rail { grid-column: 2; grid-row: 1; position: sticky; top: 96px; display: grid; gap: 20px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; padding: 0 7px 8px 0; scrollbar-color: var(--surface-2) var(--fond-encre); scrollbar-width: thin; }
.single-post .article-content { display: block; min-width: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0; font-size: 1.18rem; line-height: 1.75; overflow-wrap: anywhere; }
.article-content > .article-lead { font-size: 1.3rem; line-height: 1.65; font-weight: 700; }
.single-post .article-content h2 { position: relative; margin: 2.1em 0 .8em; padding-bottom: 18px; font-size: clamp(1.55rem, 2.1vw, 1.95rem); line-height: 1.18; text-wrap: balance; }
.single-post .article-content h2::before { display: none; }
.single-post .article-content h2::after { content: ""; position: absolute; width: 48px; height: 3px; background: var(--peloton); bottom: 0; left: 0; }
.single-post .article-content h3 { font-size: 1.3rem; line-height: 1.3; margin-top: 1.7em; }
.article-content p, .article-content li { color: var(--creme); }
.article-content > p:empty, .article-content > .article-empty { display: none; }
.article-content ul, .article-content ol { padding-left: 1.5em; }
.single-post .article-content li::marker { color: var(--peloton); }
.article-toc, .article-search, .article-game { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.article-toc summary { cursor: pointer; padding: 18px 20px; font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.article-toc summary::marker { color: var(--peloton); }
.article-toc nav { padding: 0 20px 20px; }
.article-toc ol { list-style: decimal; margin: 0; padding-left: 22px; font-size: .92rem; line-height: 1.4; }
.article-toc li { padding: 8px 0 8px 3px; }
.article-toc li::marker { color: var(--peloton); font-family: var(--font-mono); font-size: .75rem; }
.article-toc a { color: var(--creme); text-decoration: none; }
.article-toc a:hover { color: var(--peloton); text-decoration: underline; text-underline-offset: 3px; }
.article-extras { display: grid; gap: 20px; }
.article-search, .article-game { padding: 20px; }
.article-search h2 { font-size: 1rem; margin: 0 0 14px; }
.article-search .search-form { display: grid; gap: 10px; }
.article-search .search-form input { width: 100%; min-width: 0; font-size: .94rem; }
.article-search .search-form button { width: 100%; min-height: 44px; }
.article-game { background: var(--surface-2); }
.article-game__icon { width: 32px; height: 32px; color: var(--peloton); margin-bottom: 12px; }
.article-game h2 { font-size: 1.4rem; margin: 0 0 12px; line-height: 1.15; }
.article-game p { font-size: 1rem; color: var(--txt-dim); line-height: 1.5; margin: 0 0 18px; }
.article-game .btn { width: 100%; justify-content: center; min-height: 44px; }
.article-table { max-width: 100%; overflow-x: auto; overflow-wrap: normal; margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--radius-sm); scrollbar-color: var(--direct) var(--surface); scrollbar-width: thin; }
.single-post .article-table table { margin: 0; min-width: 540px; font-family: var(--font-body); font-size: 1rem; line-height: 1.45; }
.single-post .article-table th, .single-post .article-table td { border: 0; border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); padding: 14px 16px; }
.single-post .article-table th { background: var(--trophee); color: var(--encre); font-weight: 800; }
.single-post .article-table tr:last-child td { border-bottom: 0; }
.single-post .article-table td:last-child, .single-post .article-table th:last-child { border-right: 0; }
.single-post .article-table tbody tr:nth-child(odd) { background: var(--surface); }
.single-post .article-table tbody tr:nth-child(even) { background: var(--surface-2); }
.single-post .article-content .digi-related { margin-top: 48px; }
.single-post .digi-related .digi-related__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.single-post .digi-related .digi-related__link { background: var(--surface); color: var(--creme); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-dark); text-decoration: none; }
.single-post .digi-related .digi-related__link:hover { background: var(--surface-2); box-shadow: var(--shadow-dark); border-color: var(--direct); }
.single-post .digi-related .digi-related__item-title { font-size: 1rem; line-height: 1.3; margin: 0; }
.single-post .digi-related .digi-related__image { border: 0; border-radius: 0; box-shadow: none; }
.single-post .digi-related .digi-related__media { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.single-post .digi-related .digi-related__excerpt, .single-post .digi-related .digi-related__date { color: var(--txt-dim); }
.single-post .digi-related .digi-related__date { font-family: var(--font-mono); font-size: .72rem; }
.single-post .digi-related .digi-related__category { background: var(--trophee); color: var(--encre); font-family: var(--font-mono); }
.single-post .comments-area { margin-top: 28px; border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); }
@media (max-width: 1024px) {
	.single-post .single-hero { padding-block: 28px; }
	.single-hero__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
	.single-post .single-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
	.single-post .article-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.article-rail { display: contents; }
	.article-toc { grid-row: 1; }
	.article-layout .entry-col { grid-row: 2; grid-column: 1; }
	.article-extras { grid-row: 3; grid-template-columns: 1fr 1fr; }
	.article-layout--no-outline .entry-col { grid-row: 1; }
	.article-layout--no-outline .article-extras { grid-row: 2; }
	.single-post .article-content { max-width: 760px; }
}
@media (max-width: 620px) {
	.single-post .single-hero { padding-block: 24px 12px; }
	.single-post .breadcrumb { font-size: .68rem; line-height: 1.6; }
	.single-hero__grid { grid-template-columns: 1fr; gap: 22px; }
	.single-post .single-hero h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); max-width: none; line-height: 1.08; }
	.single-post .single-hero__meta { gap: 10px 12px; margin-top: 20px; font-size: .73rem; }
	.single-post .single-hero__thumb img { aspect-ratio: 16 / 10; }
	.single-post .article-layout { gap: 24px; padding-block: 16px 44px; }
	.single-post .article-content { font-size: 1.08rem; line-height: 1.7; }
	.article-content > .article-lead { font-size: 1.2rem; }
	.article-toc summary { padding: 16px 18px; }
	.article-extras { grid-template-columns: 1fr; }
	.single-post .digi-related .digi-related__items { grid-template-columns: 1fr; }
	.single-post .digi-related .digi-related__item-title { font-size: 1.18rem; }
}

.entry-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(24px, 4vw, 56px);
	padding-block: clamp(28px, 5vw, 48px);
	align-items: start;
}
.entry {
	background: var(--surface);
	border: 2px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-dark);
	padding: clamp(20px, 4vw, 42px);
	color: var(--creme);
}
.entry > *:first-child { margin-top: 0; }
.entry > *:last-child { margin-bottom: 0; }
.entry h2 { font-size: 1.55rem; margin-top: 1.6em; }
.entry h2::before { content: "# "; color: var(--panache); font-weight: 800; }
.entry h3 { font-size: 1.25rem; margin-top: 1.4em; }
.entry p { margin: 0 0 1.15em; }
.entry ul, .entry ol { padding-left: 1.3em; margin: 0 0 1.15em; }
.entry li { margin-bottom: .45em; }
.entry li::marker { color: #7EB6FF; font-weight: 700; }
.entry a { color: #7EB6FF; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry a:hover { color: var(--creme); background: var(--surface-2); }

/* Images de contenu : traitement fanzine uniforme */
.entry img,
.entry .wp-block-image img {
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: 4px 4px 0 rgba(6, 12, 26, .5);
}
.entry figure { margin: 1.6em 0; }
.entry .wp-caption-text,
.entry figcaption {
	font-family: var(--font-mono);
	font-size: .78rem;
	color: var(--txt-dim);
	padding-top: 8px;
	text-align: center;
}
.entry img.emoji, .entry img[src*="smiley"] { border: 0; box-shadow: none; border-radius: 0; display: inline; }

/* Médias embarqués (YouTube…) */
.entry iframe,
.entry embed,
.entry video {
	max-width: 100%;
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: 4px 4px 0 rgba(6, 12, 26, .5);
}
.entry .wp-block-embed { margin: 1.6em 0; }

.entry blockquote {
	margin: 1.6em 0;
	padding: 18px 22px;
	border-left: 6px solid var(--trophee);
	background: var(--surface-2);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-style: italic;
}
.entry blockquote p:last-child { margin-bottom: 0; }
.entry table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: .88rem; margin: 1.4em 0; }
.entry th, .entry td { border: 2px solid var(--line); padding: 9px 13px; text-align: left; }
.entry th { background: var(--surface-2); font-family: var(--font-display); letter-spacing: .02em; }
.entry tbody tr:nth-child(even) { background: rgba(36, 55, 89, .5); }
.entry code { font-family: var(--font-mono); font-size: .88em; background: var(--surface-2); padding: 2px 6px; border-radius: 4px; }
.entry pre { background: var(--fond-encre); border: 2px solid var(--line-soft); color: var(--creme); padding: 16px; border-radius: var(--radius-sm); overflow: auto; }
.entry pre code { background: transparent; color: inherit; }

/* Formulaire digi-contact, harmonisé fanzine */
.digi-contact-form { display: flex; flex-direction: column; gap: 16px; margin: 1.8em 0 0; }
.digi-contact-field { display: flex; flex-direction: column; gap: 6px; }
.digi-contact-field > label,
.digi-contact-field > .digi-contact-label {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .95rem;
}
.digi-contact-field input[type="text"],
.digi-contact-field input[type="email"],
.digi-contact-field input[type="url"],
.digi-contact-field input[type="tel"],
.digi-contact-field select,
.digi-contact-field textarea {
	width: 100%;
	font-family: var(--font-body);
	font-size: 1rem;
	padding: 11px 14px;
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface-2);
	color: var(--creme);
}
.digi-contact-form input:focus, .digi-contact-form textarea:focus, .digi-contact-form select:focus {
	outline: 3px solid var(--direct);
	outline-offset: 2px;
}
.digi-contact-field-error, .digi-contact-error {
	color: var(--panache);
	font-family: var(--font-mono);
	font-size: .78rem;
}
.digi-contact-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.digi-contact-submit {
	align-self: flex-start;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	background: var(--peloton);
	color: var(--encre);
	border: var(--border);
	border-radius: var(--radius-sm);
	padding: 13px 22px;
	cursor: pointer;
	box-shadow: var(--shadow-sm);
	transition: transform .12s ease, box-shadow .12s ease;
}
.digi-contact-submit:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--encre); }
.digi-contact-status { display: none; }
.digi-contact-status:has(.digi-contact-success),
.digi-contact-status:has(.digi-contact-error) {
	display: block;
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface-2);
	padding: 14px 16px;
	font-weight: 700;
	margin: 1.4em 0 0;
}
.digi-contact-status.digi-contact-error { background: rgba(255, 90, 95, .22); border-color: var(--panache); }
.digi-contact-status.digi-contact-success { background: rgba(198, 255, 61, .16); }
.digi-contact-choice-group { display: flex; flex-direction: column; gap: 8px; }
.digi-contact-single-check { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.digi-contact-single-check input { width: 18px; height: 18px; accent-color: var(--direct); }

/* TOC */

.toc {
	background: var(--surface-2);
	border: 2px solid var(--line);
	border-radius: var(--radius);
	padding: 16px 18px;
	margin: 0 0 1.6em;
}
.toc__title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1rem;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	user-select: none;
}
.toc__title::after {
	content: "";
	width: 9px; height: 9px;
	border-right: 3px solid var(--creme);
	border-bottom: 3px solid var(--creme);
	transform: rotate(45deg);
	transition: transform .15s ease;
}
.toc.is-closed .toc__title::after { transform: rotate(-135deg); }
.toc ol {
	margin: 12px 0 2px;
	padding-left: 1.2em;
	font-size: .95rem;
}
.toc.is-closed ol { display: none; }
.toc a { color: var(--creme); text-decoration-color: var(--line); }
.toc a:hover { text-decoration-color: var(--panache); }

/* Sidebar */

.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 92px; }
.widget {
	background: var(--surface);
	border: 2px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-dark);
	padding: 18px;
}
.widget h2, .widget .widget-title {
	font-size: .92rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 3px solid var(--peloton);
}
.widget ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.widget li { padding: 7px 0 7px 18px; border-bottom: 1px dashed var(--line-soft); position: relative; }
.widget li:last-child { border-bottom: 0; }
.widget li::before {
	content: "►";
	position: absolute;
	left: 0;
	color: #7EB6FF;
	font-size: .65rem;
	top: 13px;
}
.widget a { color: var(--creme); }
.widget a:hover { color: #7EB6FF; }
.widget .search-form { display: flex; gap: 8px; }
.widget .search-form input[type="search"] { flex: 1; min-width: 0; }

/* Lire aussi (legacy shortcode) */

.lireaussi, .listepost {
	margin: 1.8em 0;
	padding: 18px 20px;
	background: var(--surface-2);
	border: 2px solid var(--line);
	border-radius: var(--radius);
}
.lireaussi__title, .listepost__title {
	font-size: 1.1rem;
	margin: 0 0 10px;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.lireaussi ul, .listepost ul { list-style: none; margin: 0; padding: 0; }
.lireaussi li { padding: 8px 0 8px 22px; border-bottom: 1px dashed var(--line-soft); position: relative; }
.lireaussi li:last-child { border-bottom: 0; }
.lireaussi li::before {
	content: "►";
	position: absolute;
	left: 0;
	color: var(--panache);
	font-size: .7rem;
	top: 12px;
}
.lireaussi a, .listepost a { font-weight: 700; color: var(--creme); text-decoration-color: var(--line); }
.lireaussi a:hover, .listepost a:hover { color: #7EB6FF; }

/* ============ ARCHIVES / RECHERCHE ============ */

.archive-hero { border-bottom: 2px solid var(--line-soft); padding-block: 30px; }
.archive-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 0; }
.archive-hero p { margin: 8px 0 0; color: var(--txt-dim); max-width: 44em; }
.archive-count {
	font-family: var(--font-mono);
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: var(--txt-dim);
	background: var(--surface);
	border: 2px solid var(--line-soft);
	border-radius: 999px;
	display: inline-block;
	padding: 4px 14px;
	margin: 0 0 20px;
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	padding: 34px 0 10px;
	font-family: var(--font-mono);
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px; height: 42px;
	padding: 0 12px;
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--creme);
	text-decoration: none;
	font-weight: 600;
}
.pagination .page-numbers.current { background: var(--peloton); color: var(--encre); border-color: var(--peloton); }
.pagination .page-numbers:hover:not(.current) { background: var(--surface-2); }
.pagination .page-numbers.dots { border: 0; background: transparent; }

/* ============ PAGE / 404 ============ */

.page-wrap { padding-block: clamp(28px, 5vw, 48px); }
.notfound { text-align: center; padding-block: 60px 80px; }
.notfound h1 { font-size: clamp(3rem, 10vw, 6rem); }
.notfound h1 span { color: var(--panache); }
.notfound p { font-size: 1.15rem; color: var(--txt-dim); }

/* ============ HERO PILIER (template Pilier) ============ */

.pillar-hero { padding-block: 40px 34px; border-bottom: 2px solid var(--line-soft); }
.pillar-hero h1 { color: var(--creme); }
.pillar-hero__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.pillar-hero__tag {
	font-family: var(--font-mono);
	font-size: .82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .1em;
	margin: 0 0 10px;
	color: var(--txt-dim);
}
.pillar-hero__icon {
	width: 84px; height: 84px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 3px solid var(--line);
	border-radius: 50%;
	box-shadow: var(--shadow-dark);
	overflow: hidden;
	background: var(--surface);
}
.pillar-hero__icon svg { width: 44px; height: 44px; }
.pillar-hero__icon img { width: 100%; height: 100%; object-fit: cover; }
.pillar-hero--peloton .pillar-hero__icon { background: var(--peloton); }
.pillar-hero--direct .pillar-hero__icon { background: var(--direct); color: #fff; }
.pillar-hero--panache .pillar-hero__icon { background: var(--panache); color: #fff; }
.pillar-hero--trophee .pillar-hero__icon { background: var(--trophee); }

/* ============ FORMULAIRES / COMMENTAIRES ============ */

input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea, select {
	font-family: var(--font-body);
	font-size: 1rem;
	padding: 11px 14px;
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface-2);
	color: var(--creme);
	max-width: 100%;
}
input[type="text"]::placeholder, input[type="email"]::placeholder, input[type="url"]::placeholder, input[type="search"]::placeholder, textarea::placeholder { color: var(--txt-dim); }
input[type="submit"], button[type="submit"] {
	font-family: var(--font-display);
	font-weight: 700;
	background: var(--peloton);
	color: var(--encre);
	border: 2px solid var(--encre);
	border-radius: var(--radius-sm);
	padding: 12px 20px;
	cursor: pointer;
	box-shadow: var(--shadow-dark);
}
input[type="submit"]:hover, button[type="submit"]:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 rgba(6, 12, 26, .55); }

.entry-col { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

.comments-area {
	background: var(--surface);
	border: 2px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-dark);
	padding: clamp(20px, 4vw, 42px);
	margin-top: 0;
}
.comments-area .comment-form input[type="text"],
.comments-area .comment-form input[type="email"],
.comments-area .comment-form input[type="url"],
.comments-area .comment-form textarea { background: var(--surface-2); }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .comment {
	border: 2px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface-2);
	padding: 16px 18px;
	margin-bottom: 16px;
}
.comment-list .children { list-style: none; margin: 14px 0 0; padding-left: 22px; }
.comment-meta { font-family: var(--font-mono); font-size: .8rem; color: var(--txt-dim); margin-bottom: 8px; }
.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; font-weight: 700; margin-bottom: 5px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; }
.vs-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ============ FOOTER ============ */

.site-footer {
	background: var(--fond-encre);
	color: var(--creme);
	border-top: 2px solid var(--line-soft);
	margin-top: clamp(40px, 7vw, 80px);
}
html { background: var(--fond-encre); }
body { position: relative; }
.site-footer a { color: var(--creme); }
.site-footer a:hover { color: var(--peloton); }
.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: var(--gap);
	padding-block: clamp(36px, 6vw, 60px);
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .brand__name { color: var(--creme); }
.footer-tagline { color: rgba(255, 246, 232, .75); max-width: 30em; margin: 0; }
.site-footer h2 {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--trophee);
	margin: 0 0 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-bottom {
	border-top: 1px solid rgba(255, 246, 232, .18);
	padding-block: 18px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: .78rem;
	color: rgba(255, 246, 232, .6);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1180px) and (min-width: 1025px) {
	.main-nav a { padding: 8px 7px; font-size: .84rem; }
	.main-nav .menu-item-has-children > a::after { margin-left: 5px; }
}

@media (max-width: 1024px) {
	.main-nav a { padding: 10px 13px; font-size: .98rem; white-space: normal; }
	.cards, .pillars__grid { grid-template-columns: repeat(2, 1fr); }
	.loop__steps { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
	.loop__steps li:nth-child(4)::before { display: none; }
	.duel__grid { grid-template-columns: 1fr; }
	.entry-wrap { grid-template-columns: 1fr; }
	.sidebar { position: static; }
	.main-nav { display: none; }
	.nav-toggle { display: block; }

	.hero { min-height: 0; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__art { position: static; transform: none; max-width: 520px; width: 100%; margin: 0 0 -20px; }
	.hero__art::before {
		background:
			linear-gradient(to right, #0E1A34 0%, rgba(14, 26, 52, 0) 18%),
			linear-gradient(to top, #0E1A34 0%, rgba(14, 26, 52, 0) 12%);
	}
	.hero__copy { max-width: none; }

	.main-nav.is-open {
		display: block;
		position: absolute;
		top: 100%;
		inset-inline: 0;
		background: var(--creme);
		border-bottom: var(--border);
		max-height: calc(100vh - 70px);
		overflow: auto;
		padding: 12px 20px 20px;
		box-shadow: var(--shadow-sm);
	}
	.main-nav.is-open ul { flex-direction: column; gap: 2px; }
	.main-nav.is-open .sub-menu {
		position: static;
		display: flex;
		box-shadow: none;
		border: 0;
		border-left: 3px solid var(--encre-12);
		border-radius: 0;
		margin-left: 14px;
		padding: 2px 0 2px 10px;
		max-height: none;
		overflow: visible;
	}
	.header-search { position: static; border-bottom: 0; }
	.site-header { position: relative; }
}

@media (max-width: 860px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
	.cards, .pillars__grid, .cards--2, .footer-grid { grid-template-columns: 1fr; }
	.loop__steps { grid-template-columns: repeat(2, 1fr); }
	.loop__steps li:nth-child(odd)::before { display: none; }
	.pillar__thumb img { aspect-ratio: 16 / 10; height: auto; }
	.brand__name { font-size: 1.1rem; }
	.hero__inner { padding-block: 40px; }
	.scoremock { transform: none; }
}

/* Impressions propres */
@media print {
	.site-header, .site-footer, .sidebar, .pagination, .toc, .hero { display: none !important; }
	body { background: #fff; }
	.entry { border: 0; box-shadow: none; padding: 0; }
}

/* ============ RUBRIQUES ÉDITORIALES ============ */
.editorial-hub { --editorial-accent: var(--direct); padding-bottom: 64px; }
.editorial-hub--hors-champ { --editorial-accent: var(--panache); }
.editorial-hero { padding-block: 32px 54px; }
.editorial-hero .breadcrumb { margin-bottom: 30px; }
.editorial-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.editorial-hero h1 { font-size: clamp(2.7rem, 4.5vw, 4.5rem); text-transform: uppercase; letter-spacing: -.025em; line-height: 1.05; margin: 0 0 20px; }
.editorial-hero__promise { font-family: var(--font-display); font-size: clamp(2rem, 3.1vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; margin: 0 0 22px; max-width: 17ch; }
.editorial-hero__promise span { display: block; color: var(--editorial-accent); }
.editorial-hero__intro { color: var(--txt-dim); max-width: 52ch; font-size: 1.08rem; line-height: 1.6; margin-bottom: 26px; }
.editorial-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.editorial-hub .editorial-button { background: var(--editorial-accent); color: var(--creme); border-color: var(--editorial-accent); font-size: 1.18rem; font-weight: 800; }
.editorial-hub--hors-champ .editorial-button { color: var(--encre); }
.editorial-hero__art { overflow: hidden; border-radius: var(--radius); border: 2px solid var(--line); box-shadow: var(--shadow-dark); }
.editorial-hero__art img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.editorial-publications { scroll-margin-top: 100px; }
.editorial-section-head { border-top: 1px solid var(--line); padding-top: 30px; margin-bottom: 24px; }
.editorial-section-head h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; margin: 0; text-wrap: balance; }
.editorial-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 36px; align-items: center; }
.editorial-feature__media { overflow: hidden; border-radius: var(--radius); border: 2px solid var(--line); }
.editorial-feature__media > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.editorial-feature__cover { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 30px; aspect-ratio: 4 / 3; color: var(--encre); background: var(--creme) url('assets/img/article-placeholder-neutre.webp') center / cover; }
.editorial-feature__cover > span:first-child { background: var(--encre); color: var(--creme); padding: 6px 10px; font-size: .73rem; font-family: var(--font-mono); border-radius: var(--radius-sm); }
.editorial-feature__cover strong { background: var(--creme); font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.2vw, 3.1rem); line-height: 1.05; max-width: 9ch; padding: 3px 8px; margin-left: -8px; }
.editorial-feature__signature { font-family: var(--font-display); font-weight: 800; font-size: .9rem; background: var(--creme); padding: 3px 8px; }
.editorial-feature__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: .75rem; color: var(--txt-dim); margin: 0 0 14px; }
.editorial-feature__meta span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; color: var(--creme); }
.editorial-feature h2 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 18px; text-wrap: balance; }
.editorial-feature h2 a { color: var(--creme); text-decoration: none; }
.editorial-feature h2 a:hover { text-decoration: underline; text-underline-offset: 6px; }
.editorial-feature__copy > p:not(.editorial-feature__meta) { color: var(--txt-dim); font-size: 1.05rem; line-height: 1.55; margin-bottom: 22px; max-width: 56ch; }
.editorial-list { margin-top: 36px; }
.editorial-empty { background: var(--surface); padding: 28px; border-radius: var(--radius); }
.editorial-empty h3 { margin: 0 0 12px; }
.editorial-method { margin-top: 54px; padding-top: 32px; border-top: 1px solid var(--line); }
.editorial-method > h2 { font-size: 1.65rem; margin: 0 0 28px; }
.editorial-method__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.editorial-method__item { position: relative; padding-right: 20px; }
.editorial-method__item + .editorial-method__item { border-left: 1px solid var(--line); padding-left: 28px; }
.editorial-method__icon { display: inline-flex; align-items: center; justify-content: center; background: var(--editorial-accent); color: var(--encre); width: 46px; height: 46px; border-radius: 50%; margin-bottom: 14px; }
.editorial-method__icon svg { width: 25px; height: 25px; }
.editorial-method__item h3 { font-size: 1.15rem; margin: 0 0 10px; }
.editorial-method__item p { color: var(--txt-dim); font-size: .98rem; line-height: 1.6; margin: 0; }
.editorial-method__link { display: inline-flex; gap: 8px; align-items: center; margin-top: 26px; text-underline-offset: 4px; }
.editorial-method__link svg { width: 18px; height: 18px; }
.editorial-cross { display: grid; grid-template-columns: minmax(0, 1fr) 200px; align-items: center; gap: 36px; margin-top: 48px; overflow: hidden; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 30px; }
.editorial-cross h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 0 0 12px; line-height: 1.15; }
.editorial-cross p { max-width: 60ch; color: var(--txt-dim); margin-bottom: 20px; }
.editorial-cross > img { width: 200px; height: 200px; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 900px) {
	.editorial-hero__grid { grid-template-columns: 1.15fr 1fr; gap: 28px; }
	.editorial-hero h1 { font-size: 3rem; }
	.editorial-hero__promise { font-size: 2.3rem; }
	.editorial-feature { gap: 24px; grid-template-columns: 1fr 1.3fr; }
	.editorial-feature__cover { padding: 20px; }
	.editorial-method__grid { gap: 20px; }
	.editorial-method__item + .editorial-method__item { padding-left: 20px; }
}
@media (max-width: 760px) {
	.editorial-hub { padding-bottom: 36px; }
	.editorial-hero { padding-block: 22px 34px; }
	.editorial-hero .breadcrumb { margin-bottom: 24px; }
	.editorial-hero__grid { grid-template-columns: 1fr; gap: 28px; }
	.editorial-hero h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); margin-bottom: 16px; }
	.editorial-hero__promise { font-size: 2.15rem; max-width: 19ch; margin-bottom: 20px; }
	.editorial-hero__intro { font-size: 1.04rem; }
	.editorial-actions { flex-direction: column; }
	.editorial-actions .btn { justify-content: center; min-height: 50px; }
	.editorial-hero__art { max-width: 420px; width: 100%; justify-self: center; }
	.editorial-section-head { padding-top: 24px; margin-bottom: 22px; }
	.editorial-feature { grid-template-columns: 1fr; gap: 22px; }
	.editorial-feature__cover { aspect-ratio: 16 / 9; padding: 24px; }
	.editorial-feature__cover strong { font-size: 2.4rem; max-width: 14ch; }
	.editorial-feature h2 { font-size: 1.8rem; }
	.editorial-feature__media > img { aspect-ratio: 16 / 9; }
	.editorial-method { margin-top: 36px; padding-top: 28px; }
	.editorial-method > h2 { font-size: 1.5rem; margin-bottom: 24px; }
	.editorial-method__grid { grid-template-columns: 1fr; gap: 24px; }
	.editorial-method__item, .editorial-method__item + .editorial-method__item { border: 0; padding: 0 0 0 62px; }
	.editorial-method__icon { position: absolute; top: 0; left: 0; margin: 0; }
	.editorial-cross { grid-template-columns: 1fr; padding: 24px; margin-top: 32px; gap: 22px; }
	.editorial-cross > img { display: none; }
	.editorial-cross .btn { width: 100%; justify-content: center; }
}

/* ============ IDENTITÉ MARMOTTE / ACCUEIL 2026 ============ */

.topbar { display: none; }
.brand__logo { width: 156px; height: 52px; object-fit: contain; }
.footer-brand .brand__logo { width: 138px; height: 46px; }
.site-header__inner { min-height: 72px; }

.home .hero { min-height: 600px; }
.home .hero::before { display: none; }
.home .hero__inner { min-height: 600px; padding-block: 54px 60px; grid-template-columns: 1fr 1fr; }
.home .hero__copy { position: relative; z-index: 2; max-width: 610px; }
.home .hero h1 { max-width: 700px; font-size: clamp(3rem, 5.25vw, 5.1rem); margin-bottom: .24em; }
.home .hero__sub { max-width: 30em; }
.home .hero__art {
	right: 20px;
	top: 0;
	transform: none;
	width: min(720px, 55vw);
	height: 100%;
	margin: 0;
}
.home .hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home .hero__art::before {
	background: linear-gradient(to left, var(--fond-encre), transparent 12%),
		linear-gradient(to right, var(--fond-encre) 0%, rgba(14,26,52,.82) 8%, transparent 28%),
		linear-gradient(to bottom, var(--fond-encre), transparent 9%, transparent 86%, var(--fond-encre));
}
.home .hero__art::after { display: none; }

.home .pillars { padding-block: 16px 64px; }
.home .pillar__thumb { aspect-ratio: 1.34; }
.home .pillar__body { min-height: 142px; }

.duel__visual { position: relative; min-height: 360px; display: flex; align-items: center; justify-content: flex-end; }
.home .duel { overflow: hidden; }
.duel__marmot { position: absolute; z-index: 2; width: clamp(170px, 19vw, 280px); height: auto; bottom: -54px; left: -90px; pointer-events: none; filter: drop-shadow(5px 8px 0 rgba(6,12,26,.35)); }
.duel__visual .scoremock { margin-left: auto; }

.crosspromo { overflow: hidden; background: var(--creme); color: var(--encre); }
.crosspromo__inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: end; }
.crosspromo__copy { padding-block: 48px; }
.crosspromo__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 26px; }
.crosspromo__brand img { width: 210px; height: auto; }
.crosspromo__free { display: inline-block; padding: 6px 13px; border-radius: 999px; background: #DDE6D5; color: #173F35; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.crosspromo h2 { font-size: clamp(1.9rem, 2.8vw, 2.55rem); text-transform: uppercase; line-height: 1.08; margin: 0 0 30px; }
.crosspromo h2 > span { display: block; }
.crosspromo__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 28px; }
.crosspromo__feature { display: flex; gap: 12px; align-items: flex-start; }
.crosspromo__feature > svg { flex: 0 0 30px; width: 30px; height: 30px; color: #173F35; margin-top: 2px; }
.crosspromo__feature h3 { font-size: 1.03rem; line-height: 1.3; margin: 0 0 8px; }
.crosspromo__feature p { font-size: 1rem; line-height: 1.45; margin: 0; }
.crosspromo__button { background: #173F35; color: var(--creme); border-color: #173F35; box-shadow: 3px 3px 0 var(--encre); }
.crosspromo__button:hover { color: var(--creme); }
.crosspromo__copy .crosspromo__note { font-size: .84rem; margin: 14px 0 0; }
.crosspromo__visual { overflow: hidden; height: 480px; align-self: end; }
.crosspromo__mascot { width: 120%; max-width: none; margin-left: -10%; height: auto; mix-blend-mode: darken; }
.home .site-footer { margin-top: 0; }

@media (max-width: 900px) {
	.crosspromo__inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.crosspromo__copy { padding-block: 36px 24px; }
	.crosspromo h2 { font-size: 2.2rem; max-width: 640px; }
	.crosspromo__visual { justify-self: center; width: 350px; height: 340px; }
}

@media (max-width: 1024px) {
	.home .hero__inner { min-height: 620px; display: flex; align-items: center; }
	.home .hero__copy { max-width: 590px; }
	.home .hero__art { position: absolute; width: calc(78% - 40px); max-width: none; right: 20px; height: 100%; }
	.home .hero__sub { max-width: 26em; }
	.home .hero__art::before { background: linear-gradient(to left, var(--fond-encre), transparent 12%), linear-gradient(to right, var(--fond-encre) 0%, rgba(14,26,52,.94) 35%, rgba(14,26,52,.72) 55%, transparent 85%), linear-gradient(to top, var(--fond-encre), transparent 14%); }
	.duel__marmot { left: calc(50% - 330px); }
}

@media (min-width: 621px) and (max-width: 1024px) {
	.home .pillars__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.home .pillar__body { padding-inline: 14px; }
	.home .pillar__soon { font-size: .65rem; letter-spacing: .02em; }
}

@media (max-width: 620px) {
	.topbar { display: none; }
	.site-header__inner { min-height: 62px; }
	.brand__logo { width: 150px; height: 50px; }
	.home .hero { min-height: 0; }
	.home .hero__inner { min-height: 610px; align-items: flex-start; padding-block: 26px 26px; }
	.home .hero__copy { width: 100%; }
	.home .hero__badge { font-size: .61rem; padding: 5px 9px; margin-bottom: 22px; }
	.home .hero h1 { font-size: clamp(2.2rem, 10.2vw, 2.9rem); max-width: 370px; }
	.home .hero h1 .l3 { display: inline-block; max-width: none; }
	.home .hero__sub { max-width: 260px; font-size: .98rem; line-height: 1.45; margin-bottom: 18px; }
	.home .hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
	.home .hero__cta .btn { min-height: 48px; padding: 11px 15px; }
	.home .hero__art { width: 100%; height: 100%; right: 0; top: 0; margin: 0; }
	.home .hero__art img { object-position: 42% center; }
	.home .hero__art::before { background: linear-gradient(to right, rgba(14,26,52,.98), rgba(14,26,52,.88) 55%, rgba(14,26,52,.22) 88%, transparent), linear-gradient(to bottom, transparent 58%, var(--fond-encre) 100%); }
	.home .pillars { padding-block: 0 35px; }
	.home .pillars .section__head { margin-bottom: 18px; }
	.home .pillars .section__head h2 { font-size: 1.24rem; }
	.home .pillar { height: 176px; }
	.home .pillar__thumb { position: absolute; inset: 0; aspect-ratio: auto; border: 0; }
	.home .pillar__thumb img { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 64% center; }
	.home .pillar__num { top: 10px; left: 11px; font-size: .72rem; padding: 2px 9px; }
	.home .pillar__body { position: relative; z-index: 1; min-height: 0; padding: 45px 12px 8px; gap: 0; background: linear-gradient(to right, var(--peloton) 0%, rgba(198,255,61,.96) 36%, transparent 73%); }
	.home .pillar--radar .pillar__body { background: linear-gradient(to right, var(--direct) 0%, rgba(47,128,237,.97) 36%, transparent 73%); }
	.home .pillar--horschamp .pillar__body { background: linear-gradient(to right, var(--panache) 0%, rgba(255,90,95,.97) 36%, transparent 73%); }
	.home .pillar__title { font-size: 1.45rem; max-width: 58%; }
	.home .pillar__tag { max-width: 55%; font-size: .85rem; line-height: 1.25; }
	.home .pillar__soon { position: absolute; left: 8px; right: 8px; bottom: 7px; background: var(--fond-encre); color: var(--creme); border-radius: 6px; padding: 5px 9px; font-size: .58rem; line-height: 1.2; letter-spacing: .03em; opacity: 1; }
	.home .pillar--pronos .pillar__live { display: block; margin: 0; border-radius: 6px; background: var(--fond-encre); color: var(--peloton); }
	.home .loop__panel { padding: 24px 18px; }
	.home .loop .section__head { align-items: flex-start; flex-direction: column; gap: 16px; }
	.home .loop .section__head h2 { font-size: 1.4rem; }
	.home .loop__timer { font-size: .7rem; padding: 6px 11px; }
	.home .loop__steps { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
	.home .loop__steps li:nth-child(even)::before { display: block; }
	.home .loop__steps li:nth-child(odd)::before { display: none; }
	.home .loop__dot { width: 48px; height: 48px; font-size: 1.1rem; }
	.home .loop__steps li::before { top: 23px; left: calc(-50% + 28px); right: calc(50% + 28px); }
	.home .loop__steps strong { font-size: .83rem; }
	.home .loop__steps .step-sub { font-size: .7rem; }
	.home .duel__grid { gap: 20px; }
	.home .duel__visual { min-height: 300px; }
	.home .duel__marmot { width: 145px; left: -10px; bottom: -30px; }
	.home .duel__visual .scoremock { width: calc(100% - 55px); }
	.crosspromo__brand { gap: 12px; margin-bottom: 24px; }
	.crosspromo__brand img { width: 185px; }
	.crosspromo__free { font-size: .66rem; padding: 6px 9px; }
	.crosspromo h2 { font-size: clamp(1.6rem, 7.3vw, 2.2rem); margin-bottom: 24px; }
	.crosspromo__features { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-bottom: 24px; }
	.crosspromo__button { width: 100%; }
	.crosspromo__copy .crosspromo__note { text-align: center; }
	.crosspromo__visual { width: min(100%, 350px); height: 340px; }
}

/* ============================================================
   MOTEUR VIDEOSPORTS — ecrans courses / pronostic / coureurs
   ============================================================ */

/* --- Cartes etapes (page course) --- */

.stage-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 16px;
	border-bottom: 2px solid var(--line-soft);
}
.stage-card__num {
	font-family: var(--font-mono);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--txt-dim);
}
.stage-card__badge {
	font-family: var(--font-mono);
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .05em;
	background: var(--peloton);
	color: var(--encre);
	border-radius: 999px;
	padding: 3px 10px;
}
.stage-card__badge--done { background: var(--surface-2); color: var(--txt-dim); }
.stage-card--next { border-color: var(--peloton); }
.stage-card--next .stage-card__badge { border: 2px solid var(--encre); }
.stage-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.cards--stages { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .cards--stages { grid-template-columns: 1fr; } }

/* --- Favoris (cards riders) --- */

.rider-card { min-height: 0; }
.rider-card__rating {
	align-self: flex-start;
	font-family: var(--font-mono);
	font-size: .7rem;
	font-weight: 600;
	background: var(--surface-2);
	border: 2px solid var(--line);
	border-radius: 999px;
	padding: 3px 10px;
	color: var(--txt-dim);
}
.rider-card__flag {
	font-family: var(--font-mono);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .08em;
}

/* --- Fiche coureur : rating hero --- */

.rider-hero__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.rider-hero__rating {
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 3px solid var(--line);
	border-radius: 14px;
	padding: 10px 18px;
	box-shadow: var(--shadow-dark);
	background: var(--surface);
}
.rider-hero__rating-num {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.7rem;
	color: var(--peloton);
	line-height: 1;
}
.rider-hero__rating-label {
	font-family: var(--font-mono);
	font-size: .64rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--txt-dim);
	margin-top: 4px;
}

/* --- Ecran de pronostic --- */

.pick-screen { padding-block: clamp(28px, 5vw, 48px); }
.pick-head { margin-bottom: 26px; }
.pick-head__sub { color: var(--txt-dim); font-size: 1.05rem; margin: 6px 0 10px; }
.pick-head__deadline {
	font-family: var(--font-mono);
	font-size: .9rem;
	background: var(--trophee);
	color: var(--encre);
	display: inline-block;
	border-radius: 999px;
	padding: 7px 16px;
	border: 2px solid var(--encre);
	box-shadow: var(--shadow-dark);
}
.pick-section-title {
	font-family: var(--font-display);
	font-weight: 800;
	text-transform: uppercase;
	font-size: 1.15rem;
	margin: 0 0 8px;
}
.pick-hint { color: var(--txt-dim); font-size: .92rem; margin: 0 0 14px; }

.pick-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(20px, 3vw, 40px);
	margin-top: 22px;
}
@media (max-width: 860px) { .pick-grid { grid-template-columns: 1fr; } }

/* Slots du podium */
.pick-slots { display: flex; flex-direction: column; gap: 10px; }
.pick-slot {
	display: flex;
	align-items: center;
	gap: 14px;
	border: 2px dashed var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
	padding: 16px 18px;
	min-height: 64px;
	transition: border-color .15s ease, background .15s ease;
}
.pick-slot.is-filled {
	border: 2px solid var(--peloton);
	background: var(--surface-2);
}
.pick-slot__rank {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.2rem;
	width: 34px; height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--peloton);
	color: var(--encre);
	flex-shrink: 0;
}
.pick-slot__name { flex: 1; font-weight: 700; }
.pick-slot__clear {
	background: none;
	border: 0;
	color: var(--txt-dim);
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
	padding: 4px;
}
.pick-slot__clear:hover { color: var(--panache); }
.pick-status { font-family: var(--font-mono); font-size: .82rem; color: var(--trophee); min-height: 1.2em; margin: 10px 0 0; }

/* Favoris selectionnables */
.pick-favorites__list { display: flex; flex-direction: column; gap: 8px; max-height: 700px; overflow: auto; scrollbar-width: thin; }
.pick-fav {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	text-align: left;
	background: var(--surface);
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--creme);
	padding: 10px 14px;
	cursor: pointer;
	font-family: var(--font-body);
	font-size: .98rem;
	transition: transform .1s ease, border-color .1s ease;
}
.pick-fav:hover { transform: translateX(4px); border-color: var(--peloton); }
.pick-fav__flag {
	font-family: var(--font-mono);
	font-size: .7rem;
	font-weight: 600;
	background: var(--surface-2);
	border: 1px solid var(--line-soft);
	border-radius: 4px;
	padding: 3px 7px;
	color: var(--txt-dim);
}
.pick-fav__name { flex: 1; font-weight: 700; }
.pick-fav__rating { font-family: var(--font-mono); font-size: .78rem; color: var(--txt-dim); }

/* Confirmation / mur d'inscription */
.pick-confirm, .pick-submit { margin-top: 26px; }
.pick-confirm__inner {
	background: var(--surface);
	border: 2px solid var(--trophee);
	border-radius: var(--radius);
	box-shadow: var(--shadow-dark);
	padding: clamp(20px, 4vw, 36px);
	text-align: center;
	max-width: 560px;
	margin-inline: auto;
}
.pick-confirm__inner h2 { font-size: 1.5rem; margin-bottom: 10px; }
.pick-confirm__inner p { color: var(--txt-dim); }
.pick-confirm__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
.pick-confirm__note { font-family: var(--font-mono); font-size: .74rem; margin-top: 14px; color: var(--txt-dim); }
.pick-submit .btn--panache { font-size: 1.1rem; padding: 16px 30px; }
.pick-note { font-family: var(--font-mono); font-size: .74rem; color: var(--txt-dim); margin-top: 10px; }

/* --- Blocs resultats --- */

.result-block {
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 14px 16px;
	margin-bottom: 16px;
}
.result-block__title { font-size: 1.05rem; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.result-block__corrected {
	font-family: var(--font-mono);
	font-size: .66rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	background: var(--panache);
	color: #fff;
	border-radius: 999px;
	padding: 3px 10px;
}
.result-block__podium { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.result-block__podium li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 700;
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 12px 16px;
	background: var(--surface-2);
}
.result-block__podium li.is-first { background: var(--trophee); color: var(--encre); box-shadow: 3px 3px 0 rgba(6, 12, 26, .6); }
.result-block__podium li a { color: inherit; }
.result-block__rank {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px; height: 30px;
	border: 2px solid var(--line);
	border-radius: 50%;
	font-family: var(--font-mono);
	font-size: .8rem;
	font-weight: 600;
	flex-shrink: 0;
	background: var(--fond-encre);
	color: var(--creme);
}
.result-block__podium li.is-first .result-block__rank { background: var(--papier); color: var(--encre); border-color: var(--encre); font-weight: 800; }
.result-block__podium li.is-second .result-block__rank { background: #D9DCE3; color: var(--encre); border-color: var(--encre); }
.result-block__podium li.is-third .result-block__rank { background: #E8B08A; color: var(--encre); border-color: var(--encre); }
.result-block__meta { font-family: var(--font-mono); font-size: .74rem; color: var(--txt-dim); margin-top: 10px; }

/* --- Classement des joueurs --- */

.players-ranking { list-style: none; margin: 0; padding: 0; }
.players-ranking li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px dashed var(--line-soft);
}
.players-ranking__pos {
	font-family: var(--font-mono);
	font-weight: 600;
	width: 26px;
	color: var(--txt-dim);
}
.players-ranking li:first-child .players-ranking__pos { color: var(--trophee); font-weight: 700; }
.players-ranking__name { flex: 1; font-weight: 700; }
.players-ranking__pts { font-family: var(--font-mono); font-weight: 600; }

/* --- Effectif equipe --- */

.team-roster { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.team-roster li {
	break-inside: avoid;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 0;
	border-bottom: 1px dashed var(--line-soft);
}
.team-roster li a { color: var(--creme); font-weight: 700; }
.team-roster li a:hover { color: #7EB6FF; }
.team-roster__rating { font-family: var(--font-mono); font-size: .74rem; color: var(--txt-dim); }
@media (max-width: 620px) { .team-roster { columns: 1; } }

/* ============ LE JEU : écran mobile d'abord ============ */
/* Compte joueur : mêmes tokens que le site, formulaires natifs et mobile d'abord. */
.header-account { position:relative; flex-shrink:0; color:var(--encre); }
.header-account summary { display:flex; align-items:center; gap:8px; min-height:44px; padding:10px 14px; border:1px solid var(--encre); border-radius:var(--radius-sm); background:var(--peloton); cursor:pointer; font-family:var(--font-display); font-weight:800; font-size:.92rem; line-height:1.2; list-style:none; white-space:nowrap; }
.header-account summary::-webkit-details-marker { display:none; }
.header-account summary::marker { content:""; }
.header-account summary:hover,.header-account[open] summary { background:var(--encre); color:var(--creme); }
.header-account svg { width:20px; height:20px; flex-shrink:0; }
.header-account__mobile-label { display:none; }
.header-account__chevron { width:7px; height:7px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg) translateY(-2px); margin-left:3px; }
.header-account[open] .header-account__chevron { transform:rotate(225deg) translate(-1px,-1px); }
.header-account__panel { position:absolute; top:calc(100% + 12px); right:0; width:280px; padding:20px; background:var(--creme); border:var(--border); border-radius:var(--radius); box-shadow:var(--shadow-sm); z-index:960; max-height:calc(100dvh - 100px); overflow-y:auto; }
.header-account__welcome { font-family:var(--font-display); font-weight:800; font-size:1.18rem; margin:0 0 8px; overflow-wrap:anywhere; }
.header-account__intro { font-size:.92rem; line-height:1.5; margin:0 0 18px; }
.header-account__panel nav { display:flex; flex-direction:column; gap:6px; }
.header-account__panel a { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:44px; padding:10px 12px; color:var(--encre); border-radius:var(--radius-sm); font-weight:700; text-decoration:none; line-height:1.4; }
.header-account__panel a:hover { background:var(--creme-2); }
.header-account__panel .header-account__signup { background:var(--peloton); }
.header-account__panel .header-account__signup:hover { background:var(--encre); color:var(--creme); }
.header-account__panel .header-account__logout { margin-top:8px; border-top:1px solid var(--encre-12); border-radius:0; }
@media (max-width:620px) {
 .site-header__inner { gap:8px; }
 .site-header__actions { gap:6px; }
 .site-header .brand__logo { width:118px; }
 .header-account__desktop-label { display:none; }
 .header-account__mobile-label { display:inline; }
 .header-account summary { gap:5px; padding:10px 8px; font-size:.83rem; }
 .header-account summary svg { width:17px; height:17px; }
 .header-account__chevron { margin-left:0; }
 .site-header .search-toggle { width:38px; height:44px; }
 .site-header .nav-toggle { width:40px; }
 .header-account { position:static; }
 .header-account__panel { top:100%; right:20px; width:min(280px,calc(100vw - 40px)); max-height:calc(100dvh - 80px); }
}
@media (max-width:359px) { .site-header .brand__logo { width:92px; } }
.account-shell { background:var(--fond-encre); }
.account-main { max-width:1040px; padding-block:32px 60px; }
.account-back { display:inline-flex; align-items:center; gap:8px; margin-bottom:28px; font-size:.9rem; text-decoration:none; }
.account-back svg { width:18px; height:18px; transform:rotate(180deg); }
.account-layout { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.account-intro { min-width:0; padding-block:10px; }
.account-intro .game-eyebrow { color:var(--peloton); }
.account-intro h1 { font-size:clamp(2rem,3.6vw,3.5rem); line-height:1.05; text-transform:none; margin:16px 0; letter-spacing:-.03em; }
.account-intro>p:not(.game-eyebrow) { max-width:390px; font-size:1.12rem; color:var(--txt-dim); line-height:1.5; }
.account-mascot { width:240px; height:230px; object-fit:contain; margin:26px auto 16px; }
.account-benefits { display:flex; justify-content:space-between; gap:12px; list-style:none; padding:20px 0 0; border-top:1px solid var(--line-soft); margin:0; font-size:.8rem; }
.account-benefits li { flex:1; text-align:center; }
.account-benefits svg { display:block; width:28px; height:28px; color:var(--trophee); margin:0 auto 10px; }
.account-progress { display:flex; list-style:none; padding:0; gap:12px; margin:22px 0 26px; }
.account-progress li { display:flex; align-items:center; gap:6px; color:var(--txt-dim); font-size:.76rem; }
.account-progress li span { display:flex; align-items:center; justify-content:center; width:25px; height:25px; border:1px solid var(--line); border-radius:50%; font-family:var(--font-mono); }
.account-progress li.is-active { color:var(--peloton); }
.account-progress li.is-active span { background:var(--peloton); color:var(--encre); border-color:var(--peloton); }
.account-panel { min-width:0; border:2px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow-dark); padding:30px; }
.account-panel h2 { font-size:1.7rem; line-height:1.15; margin:0 0 10px; }
.account-panel>p { color:var(--txt-dim); margin:0 0 24px; }
.account-panel>p.game-tag--ready { color:var(--encre); }
.account-form { display:flex; flex-direction:column; gap:17px; }
.account-form>label { display:flex; flex-direction:column; gap:7px; font-weight:700; font-size:.92rem; }
.account-form input:not([type=checkbox]):not([type=hidden]),.account-code input { width:100%; min-height:48px; background:var(--surface-2); color:var(--creme); border:1px solid var(--line); border-radius:var(--radius-sm); padding:12px; font:inherit; }
.account-form input:focus-visible,.account-code input:focus-visible { outline:3px solid var(--peloton); outline-offset:2px; }
.account-form small { color:var(--txt-dim); font-size:.8rem; line-height:1.5; margin-top:-12px; }
.account-password { display:flex; position:relative; }
.account-form .account-password input { padding-right:80px!important; }
.account-show-password { position:absolute; right:8px; top:8px; height:32px; padding:0 6px; font:inherit; font-size:.76rem; color:var(--creme); background:transparent; border:0; cursor:pointer; text-decoration:underline; }
.account-form .account-check,.account-check { display:flex; flex-direction:row; align-items:start; gap:9px; font-size:.82rem; font-weight:400; line-height:1.5; }
.account-check input { flex:none; width:18px; height:18px; accent-color:var(--peloton); margin:2px 0 0; }
.account-form__links { display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:.79rem; }
.account-form__links a { text-align:right; }
.account-form .btn,.account-wide { display:flex; width:100%; justify-content:center; gap:10px; text-align:center; }
.account-panel .btn--ghost { background:transparent; color:var(--creme); border-color:var(--line); box-shadow:none; }
.account-divider { display:flex; align-items:center; gap:12px; margin:24px 0 16px; color:var(--txt-dim); font-size:.8rem; }
.account-divider::before,.account-divider::after { content:""; flex:1; height:1px; background:var(--line-soft); }
.account-panel .account-switch { margin:22px 0 0; text-align:center; font-size:.88rem; }
.account-alert { padding:14px; margin-bottom:20px; border:1px solid var(--peloton); border-radius:8px; background:var(--surface-2); font-size:.92rem; color:var(--creme); }
.account-alert--error { border-color:var(--panache); color:#ffb6b9; }
.account-honey { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.account-rule-podium { display:flex; flex-direction:column; gap:8px; margin:24px 0; padding:0; list-style:none; }
.account-rule-podium li { display:flex; align-items:center; gap:14px; padding:12px; border:1px solid var(--line); border-radius:8px; font-weight:700; background:var(--surface-2); }
.account-rule-podium li:first-child { background:var(--trophee); border-color:var(--trophee); color:var(--encre); }
.account-rule-podium li span { font-family:var(--font-display); font-size:1.5rem; width:28px; text-align:center; }
.account-rules { padding:15px; border:1px solid var(--line); border-radius:8px; margin:0 0 18px; }
.account-rules>div { display:flex; justify-content:space-between; gap:12px; padding:8px 0; font-size:.86rem; }
.account-rules dd { flex:none; margin:0; font-family:var(--font-mono); color:var(--trophee); font-weight:600; }
.account-rules .is-bonus { border-top:1px solid var(--line); color:var(--peloton); margin-top:6px; padding-top:13px; }
.account-choice { border:1px solid var(--line); border-radius:10px; margin-bottom:12px; background:var(--surface-2); }
.account-choice summary { display:flex; gap:12px; align-items:center; padding:18px 16px; cursor:pointer; list-style:none; font-family:var(--font-display); font-weight:700; }
.account-choice summary::after { content:"+"; margin-left:auto; font-size:1.4rem; color:var(--peloton); }
.account-choice[open] summary::after { content:"−"; }
.account-choice summary::-webkit-details-marker { display:none; }
.account-choice summary svg { width:26px; height:26px; color:var(--peloton); flex:none; }
.account-choice summary small { display:block; margin-top:5px; font-family:var(--font-body); font-size:.8rem; font-weight:400; color:var(--txt-dim); }
.account-choice .account-form { padding:0 16px 20px; }
.account-league-preview { border:1px solid var(--line); background:var(--surface-2); padding:18px; border-radius:8px; margin-bottom:20px; }
.account-league-preview h3 { margin:0 0 6px; font-size:1.15rem; }
.account-league-preview p { margin:0 0 10px; font-size:.9rem; }
.account-code { display:flex; align-items:center; gap:8px; margin:12px 0; }
.account-code input { min-width:0; font-family:var(--font-mono); letter-spacing:.12em; }
.account-solo { margin-top:22px; }
.account-solo .game-fineprint { text-align:center; margin:0; }
.account-back-button { background:none!important; color:var(--txt-dim)!important; font:inherit!important; border:0!important; box-shadow:none!important; padding:14px 0!important; cursor:pointer; text-decoration:underline; }
@media(max-width:760px) {
  .account-main { padding-block:24px 38px; }
  .account-layout { grid-template-columns:1fr; gap:22px; }
  .account-intro { padding:0; position:relative; }
  .account-intro h1 { max-width:100%; font-size:2.25rem; }
  .account-intro>p:not(.game-eyebrow) { margin-bottom:0; font-size:1rem; }
  .account-mascot { position:absolute; right:0; bottom:0; width:80px; height:80px; margin:0; }
  .account-intro>p:not(.game-eyebrow) { padding-right:95px; min-height:80px; }
  .account-benefits { display:none; }
  .account-progress { margin:18px 0; gap:16px; }
  .account-panel { padding:22px; }
  .account-panel h2 { font-size:1.45rem; }
  .account-back { margin-bottom:22px; }
}

.game-shell { --game-line:#28517d; --game-blue:#0676f9; background:radial-gradient(circle at 75% 0,#123966 0,#061f40 28%,#031936 72%); color:var(--creme); padding-bottom:24px; }
body.has-game-shell .site-footer { margin-top:0; }
.game-shell a { color:inherit; }
.game-shell .btn { color:var(--encre); }
.game-shell .btn--ghost { color:var(--creme); background:transparent; border-color:#9db8d9; box-shadow:none; }
.game-shell .btn:disabled { opacity:.5; cursor:not-allowed; }
.game-main { padding-block:26px 52px; }
.game-nav { border-bottom:1px solid var(--game-line); background:#071f40; }
.game-nav__inner { max-width:var(--container); margin:auto; display:flex; padding:0 20px; gap:5px; }
.game-nav__item { display:flex; align-items:center; justify-content:center; gap:9px; min-height:64px; padding:12px 22px; color:#c4d7f0!important; text-decoration:none; font-family:var(--font-display); font-weight:700; }
.game-nav__item svg { width:22px; height:22px; }
.game-nav__item.is-current { color:var(--peloton)!important; box-shadow:inset 0 -4px var(--peloton); }
.game-heading { position:relative; margin:12px 0 26px; max-width:100%; }
.game-heading--hero { display:flex; align-items:end; justify-content:space-between; min-height:165px; padding-right:190px; }
.game-heading__mascot { position:absolute; right:8px; bottom:-26px; width:190px; height:auto; object-fit:contain; }
.game-heading h1,.game-course-hero h1 { font-size:clamp(2.5rem,5vw,4.7rem); margin:.12em 0; }
.game-heading p { margin:0; color:#c4d7f0; }
.game-heading .game-eyebrow { color:var(--peloton); }
.game-eyebrow { font-family:var(--font-mono); text-transform:uppercase; font-size:.72rem; letter-spacing:.075em; font-weight:600; color:#a8c7ec; margin:0 0 8px; }
.game-eyebrow a { text-decoration:underline; }
.game-panel { position:relative; min-width:0; padding:23px; border:1px solid var(--game-line); border-radius:16px; background:linear-gradient(135deg,#09294f,#082244 65%,#071f3e); box-shadow:0 8px 24px #00152a52; }
.game-panel h2 { font-size:clamp(1.35rem,2.2vw,2rem); margin:0 0 12px; }
.game-panel p { margin:0 0 12px; }
.game-panel__large { font-family:var(--font-display); font-weight:800; font-size:clamp(1.25rem,2vw,1.65rem); }
.game-panel__title { display:flex; justify-content:space-between; align-items:start; gap:15px; margin-bottom:13px; }
.game-panel__title > svg { width:38px; height:38px; color:var(--trophee); }
.game-dashboard-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:20px; margin-bottom:20px; }
.game-dashboard-grid--bottom { grid-template-columns:1fr 1fr; }
.game-panel--next { border-color:#3576b0; overflow:hidden; }
.game-panel--next::after { content:""; position:absolute; right:-42px; bottom:-54px; width:250px; height:150px; border:28px solid #154f6a; border-radius:50% 50% 0 0; transform:rotate(-12deg); opacity:.35; pointer-events:none; }
.game-panel--next > * { position:relative; z-index:1; }
.game-deadline { color:#c5dff7; display:flex; align-items:center; gap:8px; }
.game-deadline svg { color:var(--peloton); width:21px; height:21px; }
.game-tag { display:inline-flex; align-items:center; gap:5px; border-radius:99px; padding:5px 10px; font-family:var(--font-mono); font-size:.69rem; font-weight:600; line-height:1.2; white-space:normal; }
.game-tag svg { width:15px; height:15px; }
.game-tag--ready { color:#13213e; background:var(--peloton); }
.game-tag--pending { color:#d2e5fa; background:#193e64; }
.game-tag--gold { color:#14213d; background:var(--trophee); }
.game-tag--me { background:var(--game-blue); color:white; }
.game-stats { display:flex; gap:0; margin:15px 0; }
.game-stats > div { min-width:0; flex:1; padding:0 14px; border-right:1px solid var(--game-line); }
.game-stats > div:first-child { padding-left:0; }
.game-stats > div:last-child { border:0; }
.game-stats strong { display:block; font-family:var(--font-display); font-size:clamp(1.45rem,3vw,2.5rem); line-height:1.1; }
.game-stats span { font-size:.8rem; color:#b8cde7; }
.game-text-link { display:inline-flex; align-items:center; gap:7px; font-weight:700; text-decoration:none; color:#acd0fc!important; }
button.game-text-link { border:0; padding:0; background:transparent; font:inherit; cursor:pointer; }
.game-text-link:hover { color:var(--peloton)!important; }
.game-text-link svg { width:17px; height:17px; }
.game-simple-list,.game-mini-podium,.game-my-picks { list-style:none; padding:0; margin:0 0 15px; }
.game-simple-list li+li,.game-mini-podium li+li { border-top:1px solid var(--game-line); }
.game-simple-list a { display:flex; align-items:center; justify-content:space-between; padding:12px 0; text-decoration:none; gap:12px; }
.game-simple-list span { color:#b8cde7; font-size:.85rem; }
.game-simple-list svg { width:14px; height:14px; }
.game-fineprint { color:#a8bfdc; font-size:.78rem; line-height:1.5; }
.game-empty { padding:30px; text-align:center; border:1px dashed #4b739d; border-radius:13px; color:#c4d7f0; }
.game-empty h1,.game-empty h2 { color:white; }
.game-empty img { margin:0 auto 12px; }
.game-empty__mascot { width:96px; height:96px; object-fit:contain; }
.game-section-head { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:26px 0 14px; }
.game-section-head h2 { margin:0; font-size:clamp(1.35rem,2.5vw,2rem); }
.game-section-head .btn { flex-shrink:0; }
.game-filter-bar { display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin:16px 0; }
.game-filter-bar form { display:flex; align-items:center; gap:9px; }
.game-filter-bar label,.game-field label,.game-join-panel label,.game-riders label,.game-league-hero__invite label { display:block; font-weight:700; font-size:.85rem; }
.game-shell input:not([type=radio]),.game-shell select { min-height:45px; border:1px solid #6788ac; border-radius:8px; background:#0b3158; color:white; font:inherit; padding:8px 12px; }
.game-shell input::placeholder { color:#a5bcda; }
.game-shell input:focus-visible,.game-shell select:focus-visible { outline:3px solid var(--peloton); }
.game-filter-bar__submit,.game-subtle-button { border:1px solid #6788ac; border-radius:8px; background:#163e68; color:white; padding:9px 13px; font:inherit; font-weight:700; cursor:pointer; }
.game-scope,.game-course-chips { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 16px; }
.game-scope__tab,.game-course-chips__item { display:inline-flex; align-items:center; justify-content:center; min-height:43px; padding:8px 15px; border:1px solid #416a94; border-radius:9px; text-decoration:none; background:#0d3158; font-weight:700; }
.game-scope__tab.is-current,.game-course-chips__item.is-current { background:var(--game-blue); border-color:var(--game-blue); color:#fff; }
.game-ranking-panel { padding:25px; }
.game-podium { display:flex; justify-content:center; align-items:end; gap:10px; margin:30px 0 24px; }
.game-podium__step { display:flex; flex-direction:column; align-items:center; text-align:center; justify-content:end; flex:1; max-width:240px; min-height:155px; padding:14px 8px; border:2px solid #8ca9c9; border-radius:13px; background:#20416a; }
.game-podium__step--1 { order:2; min-height:195px; background:var(--trophee); border-color:#fff0a8; color:#13213e; }
.game-podium__step--2 { order:1; }
.game-podium__step--3 { order:3; background:#503b43; border-color:#eaa46b; }
.game-podium__step strong { margin:7px 0 2px; line-height:1.1; }
.game-avatar { display:inline-flex; align-items:center; justify-content:center; flex:none; width:38px; height:38px; border-radius:50%; background:#fff5e6; color:#0c2546; font-family:var(--font-display); font-weight:800; font-size:.8rem; }
.game-podium .game-avatar { width:55px; height:55px; font-size:1rem; margin-top:10px; }
.game-avatar--large { width:68px; height:68px; font-size:1.35rem; }
.game-rank { display:inline-flex; align-items:center; justify-content:center; flex:none; width:34px; height:34px; border-radius:8px; background:#345c84; font-family:var(--font-mono); font-weight:800; }
.game-rank--1 { background:var(--trophee); color:#14213d; }
.game-rank--2 { background:#d5e7fa; color:#14213d; }
.game-rank--3 { background:#ffad68; color:#14213d; }
.game-ranking-wrap { overflow-x:auto; border:1px solid var(--game-line); border-radius:11px; }
.game-ranking { width:100%; border-collapse:collapse; min-width:450px; }
.game-ranking th,.game-ranking td { padding:10px 12px; text-align:left; border-bottom:1px solid var(--game-line); }
.game-ranking thead { background:#0a2749; color:#b7d3ed; font-size:.8rem; }
.game-ranking tbody tr:last-child>* { border:0; }
.game-ranking tbody tr.is-me { outline:2px solid var(--game-blue); outline-offset:-2px; background:#0f3a6a; }
.game-ranking__player { display:flex; align-items:center; gap:10px; }
.game-ranking__player>span:last-child { min-width:0; overflow-wrap:anywhere; }
.game-ranking__points { font-family:var(--font-mono); font-weight:700; white-space:nowrap; }
.game-ranking__points small { font-weight:400; }
.game-ranking__my-outside { margin:12px 0 0; }
.game-leagues-layout,.game-league-grid,.game-create-grid,.game-result-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:20px; }
.game-league-grid { grid-template-columns:1.5fr .7fr; margin:20px 0; }
.game-league-grid > * { min-width:0; }
.game-league-sidebar { display:grid; align-content:start; gap:16px; }
.game-league-list { display:grid; gap:11px; }
.game-league-card { display:flex; align-items:center; gap:13px; padding:15px; border:1px solid var(--league-accent,var(--game-line)); border-radius:12px; background:#0b2b50; }
.game-league-card__badge,.game-league-hero__badge { display:grid; place-items:center; width:54px; height:54px; border-radius:12px; background:var(--league-accent,var(--violet)); color:white; flex:none; }
.game-league-card__badge svg,.game-league-hero__badge svg { width:30px; height:30px; }
.game-league-card h3 { margin:0 0 4px; }
.game-league-card h3 a { text-decoration:none; }
.game-league-card p { margin:0; color:#b5cee9; font-size:.82rem; }
.game-league-card__arrow { margin-left:auto; }
.game-league-card__arrow svg { width:20px; height:20px; }
.game-join-panel form { display:grid; gap:8px; }
.game-join-panel input { text-transform:uppercase; letter-spacing:.12em; font-family:var(--font-mono)!important; font-weight:700!important; }
.game-join-panel .btn { justify-content:center; }
.game-league-preview { display:flex; justify-content:space-between; gap:10px; padding:12px; border-radius:8px; background:#234879; }
.game-league-hero { --league-accent:var(--violet); display:flex; align-items:center; gap:20px; padding:22px; border:1px solid var(--league-accent); border-radius:16px; background:linear-gradient(110deg,#211e58,#0a2a4c 65%); }
.game-league-hero h1 { margin:0 0 6px; }
.game-league-hero p { margin:0; }
.game-league-hero__invite { margin-left:auto; min-width:225px; }
.game-code-copy { display:flex; gap:7px; margin:5px 0; }
.game-code-copy input { min-width:0; width:115px; font-family:var(--font-mono)!important; letter-spacing:.08em; }
.game-code-copy .btn { padding:8px; font-size:.8rem; }
.game-league-my-rank strong { font-family:var(--font-display); font-size:3rem; line-height:1; color:var(--trophee); }
.game-league-my-rank strong span { font-size:1rem; }
.game-mini-podium li { display:flex; align-items:center; gap:8px; padding:9px 0; font-size:.86rem; }
.game-mini-podium li strong { margin-left:auto; white-space:nowrap; }
.game-private-note { display:flex; gap:10px; align-items:start; }
.game-private-note svg { flex:none; width:24px; height:24px; color:var(--peloton); }
.game-create-form { display:grid; gap:20px; }
.game-field { border:0; padding:0; margin:0; }
.game-field legend { font-weight:700; margin-bottom:7px; }
.game-field input:not([type=radio]) { width:100%; }
.game-field small { display:block; color:#a8bfdc; }
.game-badge-options,.game-color-options { display:flex; flex-wrap:wrap; gap:8px; }
.game-badge-options label,.game-color-options label { cursor:pointer; }
.game-badge-options input,.game-color-options input { position:absolute; opacity:0; }
.game-badge-options span,.game-color-options span { display:flex; align-items:center; gap:6px; min-height:48px; border:2px solid #5276a0; border-radius:8px; padding:8px 12px; }
.game-badge-options svg { width:19px; height:19px; }
.game-badge-options input:checked+span,.game-color-options input:checked+span { border-color:var(--peloton); background:#21506f; }
.game-badge-options input:focus-visible+span,.game-color-options input:focus-visible+span { outline:3px solid var(--peloton); outline-offset:2px; }
.game-color-options span { font-size:0; width:44px; background:var(--swatch); }
.game-create-preview { --league-accent:var(--violet); align-self:start; text-align:center; border-color:var(--league-accent); }
.game-create-preview__badge { width:80px; height:80px; display:grid; place-items:center; margin:10px auto; border-radius:16px; background:var(--league-accent); }
.game-create-preview img { width:200px; margin:0 auto; }
.game-form-status { min-height:1.5em; color:var(--peloton); }
.game-form-status.is-error { color:#ffaaa6; }
.game-course-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; }
.game-course-card { overflow:hidden; border:1px solid var(--game-line); border-radius:14px; background:#0b2b50; }
.game-course-card__art,.game-course-hero__art { position:relative; display:grid; place-items:center; overflow:hidden; min-height:115px; background:linear-gradient(90deg,#041d3c25,#041d3c00),url('assets/img/working-out-col.webp') center 53%/cover no-repeat,#174b7e; }
.game-course-card:nth-child(3n+2) .game-course-card__art { background-position:center,68% 46%; }
.game-course-card:nth-child(3n+3) .game-course-card__art { background-position:center,86% 55%; }
.game-course-card__art svg,.game-course-hero__art svg { position:relative; z-index:2; width:70px; height:70px; color:var(--peloton); filter:drop-shadow(3px 4px #092343); }
.game-course-card__mountain,.game-course-hero__mountain { position:absolute; width:120%; height:100%; bottom:-58%; background:#073858; transform:rotate(-13deg); border-radius:35%; }
.game-course-card__mountain,.game-course-hero__mountain { display:none; }
.game-course-card__art svg,.game-course-hero__art svg { display:none; }
.game-course-card__body { padding:17px; }
.game-course-card h2 { margin:10px 0; font-size:1.4rem; }
.game-course-card h2 a { text-decoration:none; }
.game-course-card p { margin:0 0 10px; color:#bfd1e8; font-size:.9rem; }
.game-course-card__date { font-family:var(--font-mono); }
.game-pagination { display:flex; gap:7px; margin:22px 0; }
.game-pagination a { padding:8px 12px; border:1px solid var(--game-line); border-radius:6px; }
.game-pagination a[aria-current] { background:var(--game-blue); }
.game-course-hero { display:flex; align-items:stretch; justify-content:space-between; overflow:hidden; border:1px solid #356b9d; border-radius:18px; background:#0b3159; }
.game-course-hero__copy { padding:30px; }
.game-course-hero__art { width:35%; min-height:210px; }
.game-course-hero__art svg { width:110px; height:110px; }
.game-course-stats { display:flex; gap:12px; margin:18px 0; }
.game-course-stats>* { flex:1; border:1px solid var(--game-line); border-radius:10px; padding:15px; background:#0b2b50; text-decoration:none; }
.game-course-stats span { display:block; color:#a8c7ec; font-size:.78rem; }
.game-course-stats strong { display:block; font-size:1.25rem; }
.game-stage-list { list-style:none; padding:0; margin:0; }
.game-stage { display:flex; gap:16px; padding-bottom:14px; }
.game-stage__marker { display:grid; place-items:center; flex:none; width:30px; height:30px; border:2px solid #7199bd; border-radius:50%; color:var(--peloton); }
.game-stage--open .game-stage__marker { background:var(--peloton); color:#14213d; }
.game-stage__card { flex:1; padding:17px; border:1px solid var(--game-line); border-radius:11px; background:#0c2b50; }
.game-stage--open .game-stage__card { border-color:var(--peloton); }
.game-stage__top { display:flex; justify-content:space-between; align-items:center; gap:9px; }
.game-stage__card h3 { margin:4px 0 10px; }
.game-stage__card p { margin:0 0 10px; }
.game-stage__date { color:#a4c6e6; font-family:var(--font-mono); font-size:.82rem; }
.game-course-note { display:flex; align-items:start; gap:10px; margin-top:15px; }
.game-course-note svg { flex:none; width:24px; height:24px; }
.game-pick-deadline { display:inline-flex; flex-wrap:wrap; align-items:center; gap:8px; padding:9px 13px; margin-top:15px; border-radius:10px; color:#17213b; background:var(--trophee); font-size:.86rem; font-weight:700; }
.game-pick-deadline svg { width:20px; height:20px; }
.game-pick-deadline__count { margin-left:7px; font-family:var(--font-mono); }
.game-pick-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:20px; align-items:start; }
.game-pick-selection { position:sticky; top:20px; }
.game-pick-slots { list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.game-pick-slot { display:flex; align-items:stretch; min-height:82px; border:2px solid #406d9a; border-radius:12px; overflow:hidden; background:#0b3159; }
.game-pick-slot.is-target { border-color:var(--game-blue); }
.game-pick-slot.is-dragging { opacity:.65; }
.game-pick-slot__rank { display:grid; place-items:center; width:56px; flex:none; font-family:var(--font-display); font-size:1.8rem; font-weight:800; background:var(--trophee); color:#14213d; }
.game-pick-slot:nth-child(2) .game-pick-slot__rank { background:#d4e5f6; }
.game-pick-slot:nth-child(3) .game-pick-slot__rank { background:#ffac66; }
.game-pick-slot__choose { flex:1; min-width:0; padding:10px; border:0; background:transparent; color:white; text-align:left; font:inherit; cursor:pointer; }
.game-pick-slot__name { display:block; font-weight:700; line-height:1.2; }
.game-pick-slot__team { display:block; color:#acc6e3; font-size:.75rem; }
.game-pick-slot__actions { display:flex; align-items:center; gap:2px; padding-right:5px; }
.game-pick-slot__actions[hidden] { display:none; }
.game-pick-slot__actions button { display:grid; place-items:center; width:29px; height:35px; border:1px solid #416a94; border-radius:6px; background:#143e67; color:white; cursor:pointer; font-size:1.3rem; touch-action:none; }
.game-pick-slot__actions button:disabled { opacity:.3; cursor:not-allowed; }
.game-pick-slot__actions svg { width:16px; height:16px; }
.game-pick-slot__actions [data-move-up] svg { transform:rotate(-90deg); }
.game-pick-slot__actions [data-move-down] svg { transform:rotate(90deg); }
.game-pick-summary { padding:13px; border-radius:9px; background:#0a2546; }
.game-pick-summary h3 { margin:0 0 5px; font-size:1rem; }
.game-pick-summary p { margin:0; }
.game-pick-submit { margin-top:15px; }
.game-pick-submit__progress { display:none; }
.game-pick-submit .btn { width:100%; justify-content:center; }
.game-pick-submit p { margin:8px 0 0; }
.game-pick-success { display:flex; align-items:center; gap:12px; margin-top:15px; padding:12px; border:1px solid var(--peloton); border-radius:10px; background:#224b3b; }
.game-pick-success[hidden] { display:none; }
.game-pick-success img { width:80px; }
.game-riders__filters { display:grid; grid-template-columns:1fr 160px; gap:10px; }
.game-riders__filters input,.game-riders__filters select { width:100%; }
.game-rider-list { list-style:none; margin:10px 0; padding:0; max-height:650px; overflow:auto; }
.game-rider { display:flex; align-items:center; gap:11px; min-height:68px; padding:8px; border-bottom:1px solid var(--game-line); }
.game-rider[hidden] { display:none; }
.game-rider.is-chosen { background:#153f5a; }
.game-rider__info { flex:1; min-width:0; }
.game-rider__info strong,.game-rider__info small { display:block; overflow-wrap:anywhere; }
.game-rider__info small { color:#b8cde7; font-size:.75rem; }
.game-rider__add { flex:none; padding:8px 11px; border:0; border-radius:7px; background:var(--peloton); color:#14213d; font:inherit; font-weight:700; cursor:pointer; }
.game-rider.is-chosen .game-rider__add { background:#52715e; color:white; }
.game-pick-state { display:flex; align-items:center; gap:25px; }
.game-pick-state img { width:170px; }
.game-pick-state .game-my-picks li { display:flex; gap:10px; align-items:center; margin:5px 0; }
.game-profile-hero { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.game-profile-hero__person { display:flex; align-items:center; gap:14px; }
.game-profile-hero h2 { margin:0; }
.game-rewards { margin-top:28px; }
.game-jersey-grid,.game-trophy-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.game-jersey,.game-trophy { padding:18px; border:1px solid var(--game-line); border-radius:12px; background:#0d3056; }
.game-jersey--yellow { border-color:var(--trophee); }
.game-jersey--green { border-color:var(--peloton); }
.game-jersey--locked { opacity:.7; }
.game-jersey__icon { display:grid; place-items:center; width:56px; height:60px; margin-bottom:12px; border-radius:10px 10px 15px 15px; background:var(--trophee); color:#14213d; font-size:2rem; }
.game-jersey--green .game-jersey__icon { background:var(--peloton); }
.game-jersey--locked .game-jersey__icon { background:white; color:#14213d; }
.game-jersey--locked .game-jersey__icon { background:radial-gradient(circle at 25% 25%,#ed5155 0 5px,transparent 6px),radial-gradient(circle at 75% 55%,#ed5155 0 5px,transparent 6px),radial-gradient(circle at 40% 80%,#ed5155 0 5px,transparent 6px),white; }
.game-jersey__icon svg { width:43px; height:43px; }
.game-jersey.is-earned { box-shadow:0 0 0 2px var(--peloton); }
.game-jersey h3,.game-trophy h3 { margin:0 0 8px; }
.game-jersey p,.game-trophy p { color:#bed3ea; margin:0; font-size:.86rem; }
.game-trophy svg { color:var(--trophee); width:38px; height:38px; margin-bottom:9px; }
.game-trophy:not(.is-earned) svg { opacity:.45; }
.game-trophy strong { display:block; color:var(--peloton); margin-top:12px; }
.game-trophy__placeholder { display:block; width:38px; height:38px; margin-bottom:9px; border:2px solid var(--game-line); border-radius:50%; text-align:center; font-weight:800; }
.game-result-celebrate { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center; border-color:var(--trophee); overflow:hidden; }
.game-result-celebrate.is-perfect::before { content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(circle,#f6c945 0 3px,transparent 4px) 8% 10%/70px 65px,radial-gradient(circle,#c6ff3d 0 2px,transparent 3px) 50% 22%/90px 72px,radial-gradient(circle,#ff5a5f 0 2px,transparent 3px) 75% 45%/80px 90px; opacity:.75; animation:game-confetti 1.7s ease-out both; }
.game-result-celebrate.is-perfect>* { position:relative; }
@keyframes game-confetti { from { opacity:0; transform:translateY(-28px); } to { opacity:.75; transform:translateY(0); } }
.game-result-celebrate img { width:160px; }
.game-score-lines { list-style:none; padding:0; }
.game-score-lines li { display:flex; justify-content:space-between; gap:10px; padding:9px 0; border-bottom:1px solid var(--game-line); }
.game-score-total { padding:14px; border-radius:9px; background:var(--peloton); color:#14213d; font-family:var(--font-display); font-weight:800; font-size:1.6rem; }
.game-result-leagues__list { list-style:none; padding:0; }
.game-result-leagues__list a { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 0; border-bottom:1px solid var(--game-line); text-decoration:none; }
.game-result-leagues__list a svg { width:18px; height:18px; }
.game-result-next { margin-top:20px; }
.result-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin:8px 0 28px; }
.result-heading h1 { font-size:clamp(2rem,4vw,3.4rem); line-height:1.1; text-transform:none; margin:10px 0; }
.result-heading>.game-tag { flex:none; margin-bottom:4px; }
.result-arrival { padding:26px!important; background:var(--surface); border-color:var(--line); box-shadow:var(--shadow-dark); }
.result-arrival .game-panel__title { align-items:center; }
.result-podium { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:end; gap:14px; margin:32px 0 24px; padding:0; list-style:none; }
.result-podium__rider { display:flex; flex-direction:column; align-items:center; justify-content:start; min-width:0; min-height:216px; position:relative; border:2px solid #a5b7ce; background:var(--surface-2); padding:35px 14px 20px; border-radius:12px; text-align:center; }
.result-podium__rider--1 { order:2; min-height:250px; color:var(--encre); background:var(--trophee); border-color:var(--trophee); }
.result-podium__rider--2 { order:1; }
.result-podium__rider--3 { order:3; border-color:#d6986c; }
.result-medal { position:absolute; top:-23px; display:flex; align-items:center; justify-content:center; width:46px; height:46px; border:3px solid var(--fond-encre); border-radius:50%; background:#b7c7dd; color:var(--encre); font-family:var(--font-display); font-size:1.5rem; font-weight:800; }
.result-podium__rider--1 .result-medal { background:var(--trophee); }
.result-podium__rider--3 .result-medal { background:#d6986c; }
.result-rider-avatar { width:60px; height:60px; font-size:1.1rem; margin:0 0 14px; border:2px solid var(--line); }
.result-podium__rider--1 .result-rider-avatar { background:var(--encre); color:var(--creme); border-color:var(--encre); }
.result-podium__label { font-family:var(--font-mono); text-transform:uppercase; letter-spacing:.05em; font-size:.64rem; margin-bottom:6px; }
.result-podium__rider a { font-family:var(--font-display); font-weight:800; font-size:clamp(1rem,1.6vw,1.35rem); text-decoration:none; line-height:1.2; }
.result-podium__rider a:hover { text-decoration:underline; }
.result-podium__rider small { font-size:.78rem; line-height:1.4; margin-top:8px; opacity:.85; }
.result-publication { display:flex; align-items:center; justify-content:space-between; gap:20px; border-top:1px solid var(--line-soft); padding-top:18px; }
.result-publication p { margin:0; }
.result-publication .game-text-link { font-size:.85rem; }
.result-player-grid { display:grid; grid-template-columns:1.35fr .85fr; gap:20px; margin:24px 0; }
.result-player-grid .game-panel { background:var(--surface); border-color:var(--line); box-shadow:var(--shadow-dark); padding:26px; }
.result-my-score .btn { margin-block:8px 18px; }
.game-panel .result-signup { color:var(--txt-dim); margin:0; font-size:.85rem; }
.result-signup a { text-decoration:underline; }
.result-support { border-color:var(--trophee)!important; padding:22px!important; }
.result-support img { width:150px; height:145px; object-fit:contain; }
.result-support h2 { font-size:1.5rem; margin:0; }
.result-support p { font-size:.92rem; max-width:300px; }
.result-picks { margin:0 0 18px; padding:0; list-style:none; }
.result-picks li { display:flex; align-items:center; gap:12px; padding:14px 0; border-bottom:1px solid var(--line-soft); }
.result-picks li>div { flex:1; min-width:0; }
.result-picks li small { display:block; font-size:.78rem; color:var(--txt-dim); }
.result-pick-points { white-space:nowrap; font-family:var(--font-mono); color:var(--peloton); }
.result-pick-points small { display:inline!important; color:inherit!important; }
.result-bonus { display:flex; align-items:center; gap:8px; font-size:.86rem; color:var(--trophee); }
.result-bonus svg { flex:none; width:22px; height:22px; }
.result-bonus strong { margin-left:auto; white-space:nowrap; }
.result-score-total { display:flex; justify-content:space-between; align-items:center; gap:15px; border-top:2px solid var(--line); padding-top:20px; }
.result-score-total>span { font-weight:700; max-width:180px; }
.result-score-total strong { font-family:var(--font-display); font-size:2.6rem; line-height:1; color:var(--peloton); white-space:nowrap; }
.result-score-total small { font-size:1rem; }
.result-footer { display:flex; justify-content:space-between; align-items:start; gap:24px; margin-top:26px; }
.result-footer .game-fineprint { max-width:500px; }
@media(max-width:760px) {
  .result-heading { flex-direction:column; align-items:start; gap:12px; }
  .result-heading h1 { font-size:2.15rem; }
  .result-arrival { padding:20px 14px!important; }
  .result-arrival h2 { font-size:1.3rem; }
  .result-podium { gap:7px; margin-top:34px; }
  .result-podium__rider { padding:28px 6px 14px; min-height:190px; }
  .result-podium__rider--1 { min-height:218px; }
  .result-rider-avatar { width:42px; height:42px; font-size:.8rem; margin-bottom:12px; }
  .result-medal { width:38px; height:38px; top:-20px; font-size:1.2rem; }
  .result-podium__rider a { font-size:.95rem; overflow-wrap:anywhere; }
  .result-podium__rider small { font-size:.65rem; overflow-wrap:anywhere; }
  .result-podium__label { font-size:.51rem; }
  .result-publication,.result-footer { align-items:start; flex-direction:column; gap:12px; }
  .result-player-grid { grid-template-columns:1fr; }
  .result-player-grid .game-panel { padding:22px; }
  .result-support { display:grid; grid-template-columns:92px 1fr; gap:4px 14px; text-align:left; align-items:center; }
  .result-support img { grid-column:1; grid-row:1/5; width:92px!important; height:110px; }
  .result-support>*:not(img) { grid-column:2; }
  .result-support h2 { font-size:1.3rem; }
  .result-support .game-text-link { font-size:.8rem; }
}
@media (max-width:900px) {
  .game-dashboard-grid,.game-leagues-layout,.game-league-grid,.game-create-grid,.game-result-grid,.game-pick-grid { grid-template-columns:1fr; }
  .game-nav__item { flex:1; min-width:0; padding-inline:8px; font-size:.86rem; }
  .game-pick-selection { position:static; }
  .game-course-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .game-profile-hero { display:block; }
  .game-jersey-grid,.game-trophy-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:620px) {
  .game-shell { padding-bottom:24px; }
  .game-shell--pick { padding-bottom:110px; }
  body.has-game-shell .site-footer { padding-bottom:calc(72px + env(safe-area-inset-bottom)); }
  .game-main { padding:19px 14px 35px; }
  .game-nav { position:fixed; z-index:80; bottom:0; left:0; right:0; border-top:1px solid #315c84; border-bottom:0; box-shadow:0 -8px 25px #00152a8c; }
  .game-nav__inner { justify-content:space-around; padding:0 4px env(safe-area-inset-bottom); }
  .game-nav__item { flex:1; min-width:0; min-height:66px; flex-direction:column; gap:1px; padding:5px 2px; font-size:.72rem; }
  .game-nav__item svg { width:25px; height:25px; }
  .game-nav__item.is-current { box-shadow:inset 0 -4px var(--peloton); }
  .game-heading { margin:8px 0 20px; }
  .game-heading--hero { min-height:143px; padding-right:116px; }
  .game-heading__mascot { right:-10px; bottom:-15px; width:138px; }
  .game-heading h1,.game-course-hero h1 { font-size:clamp(2rem,8.8vw,3rem); }
  .game-heading p { font-size:.91rem; }
  .game-panel { padding:16px; border-radius:13px; }
  .game-dashboard-grid { gap:12px; margin-bottom:12px; }
  .game-stats>div { padding:0 7px; }
  .game-stats span { font-size:.69rem; }
  .game-section-head { align-items:start; }
  .game-section-head .btn { font-size:.77rem; padding:11px; }
  .game-course-grid,.game-jersey-grid,.game-trophy-grid { grid-template-columns:1fr; }
  .game-scope { flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; }
  .game-scope__tab { flex:none; font-size:.78rem; }
  .game-course-chips { flex-wrap:nowrap; overflow-x:auto; padding-bottom:5px; }
  .game-course-chips__item { flex:none; font-size:.78rem; }
  .game-podium__step { min-height:130px; padding:9px 3px; font-size:.72rem; }
  .game-podium__step--1 { min-height:160px; }
  .game-podium .game-avatar { width:42px; height:42px; }
  .game-league-hero { flex-wrap:wrap; padding:16px; }
  .game-league-hero__main { flex:1; }
  .game-league-hero__invite { margin-left:0; width:100%; }
  .game-course-hero__copy { padding:18px; }
  .game-course-hero__art { width:28%; min-height:160px; }
  .game-course-hero__art svg { width:52px; }
  .game-course-stats { flex-wrap:wrap; }
  .game-course-stats>* { flex-basis:calc(50% - 12px); }
  .game-pick-grid { gap:12px; }
  .game-pick-slot { min-height:71px; }
  .game-pick-slot__rank { width:45px; }
  .game-pick-slot__actions button { width:27px; }
  .game-riders__filters { grid-template-columns:1fr 120px; }
  .game-pick-submit { position:fixed; left:0; right:0; bottom:66px; z-index:70; display:flex; align-items:center; gap:12px; padding:9px 14px; margin:0; border:1px solid #3c729e; background:#082648; box-shadow:0 -6px 19px #00152a80; }
  .game-pick-submit__progress { display:block; flex:0 0 96px; font-family:var(--font-display); font-weight:800; font-size:.85rem; line-height:1.1; }
  .game-pick-submit .btn { flex:1; min-width:0; padding:12px 10px; font-size:.78rem; }
  .game-pick-submit p { display:none; }
  .game-pick-state { display:block; }
  .game-pick-state img { width:120px; margin:auto; }
  .game-result-celebrate { flex-wrap:wrap; }
  .game-result-celebrate img { width:100px; }
}

/* Comparatifs cyclisme — fanzine, tableaux lisibles et ligue entre amis. */
.comparison-page { padding:34px 0 64px; }
.comparison-breadcrumb { display:flex; flex-wrap:wrap; gap:9px; font-size:.85rem; color:var(--text-muted,#a9b9d1); }
.comparison-breadcrumb a { text-underline-offset:4px; }
.comparison-hero { display:grid; grid-template-columns: .9fr 1.1fr; align-items:center; gap:16px; padding:46px 0 32px; }
.comparison-hero__copy { position:relative; z-index:1; }
.comparison-hero h1 { margin:0 0 24px; font-family:var(--font-display); font-size:clamp(2.8rem,4.6vw,4.5rem); font-weight:800; line-height:1.02; letter-spacing:-.03em; text-transform:uppercase; text-wrap:balance; }
.comparison-hero h1 > span { display:block; font-size:.4em; line-height:1.3; letter-spacing:0; margin-bottom:10px; }
.comparison-hero h1 em { display:block; color:#C6FF3D; font-style:normal; }
.comparison-hero__lead { font-size:1.2rem; line-height:1.6; max-width:43ch; margin:0 0 28px; color:#c5d0e2; }
.comparison-hero__art { margin:0; min-width:0; }
.comparison-hero__art img { display:block; width:100%; height:auto; mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent),linear-gradient(to bottom,transparent,#000 5%,#000 95%,transparent); mask-composite:intersect; }
.comparison-jump,.comparison-actions { display:flex; flex-wrap:wrap; gap:12px 18px; align-items:center; }
.comparison-jump a { display:inline-flex; align-items:center; min-height:44px; padding:10px 16px; border:1px solid #65738f; border-radius:24px; font-weight:700; text-decoration:none; }
.comparison-jump a:first-child { background:#C6FF3D; color:#14213D; border-color:#C6FF3D; }
.comparison-jump a:hover { background:#FFF6E8; color:#14213D; }
.comparison-actions .btn,.comparison-final .btn { display:inline-flex; align-items:center; gap:12px; background:#C6FF3D; color:#14213D; }
.comparison-actions .btn:hover,.comparison-final .btn:hover { background:#e0ff8d; }
.comparison-text-link { display:inline-flex; gap:8px; align-items:center; font-weight:700; text-underline-offset:5px; }
.comparison-fineprint,.comparison-independence { font-size:.85rem; color:#b4c1d5; }
.comparison-fineprint { margin:16px 0 0; }
.comparison-independence { max-width:88ch; padding:0 0 28px; margin:0; }
.comparison-mpp-feature { display:flex; gap:20px; align-items:center; padding:22px 28px; border-radius:16px; background:#FFF6E8; color:#14213D; text-decoration:none; margin:18px 0 64px; }
.comparison-mpp-feature img { width:126px; height:126px; object-fit:contain; flex-shrink:0; }
.comparison-mpp-feature h2 { margin:0 0 8px; font-size:1.8rem; line-height:1.15; }
.comparison-mpp-feature p { margin:0; }
.comparison-mpp-feature > span { display:flex; gap:12px; align-items:center; margin-left:auto; padding:14px 18px; background:#C6FF3D; font-weight:700; border-radius:8px; }
.comparison-mpp-feature:hover h2 { text-decoration:underline; text-underline-offset:5px; }
.comparison-directory { margin:64px 0; scroll-margin-top:100px; }
.comparison-section-head { display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:end; margin-bottom:24px; }
.comparison-section-head h2 { margin:0; font-size:2.25rem; line-height:1.12; text-wrap:balance; }
.comparison-section-head p { margin:0; color:#b4c1d5; line-height:1.6; }
.comparison-directory ul { list-style:none; padding:0; margin:0; }
.comparison-directory li + li { margin-top:12px; }
.comparison-directory li a { display:grid; grid-template-columns: .9fr 1.1fr 24px; gap:24px; align-items:center; background:#FFF6E8; color:#14213D; padding:24px; border-radius:12px; text-decoration:none; transition:background .15s ease; }
.comparison-directory li a:hover { background:#e4ffb0; }
.comparison-directory__name { font-family:var(--font-display); font-weight:800; font-size:1.45rem; line-height:1.2; }
.comparison-directory__name small { display:block; margin-top:8px; font-family:var(--font-body); font-size:.9rem; line-height:1.4; font-weight:400; color:#394965; }
.comparison-directory__description { font-size:1rem; line-height:1.5; }
.comparison-history { padding:28px; border-radius:14px; background:#1C2B4E; margin-bottom:48px; }
.comparison-history h2 { margin:0 0 10px; font-size:1.5rem; }
.comparison-history a { display:inline-flex; align-items:center; gap:10px; font-weight:700; color:#C6FF3D; }
.comparison-matrix { background:#FFF6E8; color:#14213D; padding:32px; border-radius:16px; scroll-margin-top:100px; }
.comparison-matrix h2 { font-size:2rem; line-height:1.15; margin:0 0 24px; }
.comparison-table-scroll { overflow-x:auto; }
.comparison-table-scroll:focus-visible { outline:3px solid #2F80ED; outline-offset:4px; }
.comparison-matrix table { border-collapse:collapse; width:100%; table-layout:fixed; font-size:1rem; text-align:left; line-height:1.45; }
.comparison-matrix caption { caption-side:bottom; text-align:left; font-size:.8rem; color:#495570; padding:20px 0 0; }
.comparison-matrix th,.comparison-matrix td { padding:18px 16px; border-bottom:1px solid #d5d2c9; vertical-align:top; overflow-wrap:anywhere; }
.comparison-matrix thead th { font-family:var(--font-display); font-size:1.35rem; font-weight:800; }
.comparison-matrix th:first-child { width:23%; padding-left:0; }
.comparison-matrix thead th:last-child { color:#14213D; background:#C6FF3D; border-radius:8px 8px 0 0; }
.comparison-matrix tbody td:last-child { background:#edffd0; }
.comparison-matrix tbody tr:last-child td,.comparison-matrix tbody tr:last-child th { border-bottom:0; }
.comparison-editorial { margin:60px 0; max-width:76ch; font-size:1.1rem; line-height:1.75; }
.comparison-editorial h2 { margin:40px 0 18px; font-size:2rem; line-height:1.2; text-wrap:balance; }
.comparison-editorial p { margin:0 0 20px; }
.comparison-editorial a { color:#C6FF3D; text-underline-offset:4px; }
.comparison-editorial li { margin:10px 0; }
.comparison-choose { margin:60px 0; }
.comparison-choose > h2,.comparison-start > h2,.comparison-faq > h2 { font-size:2rem; line-height:1.2; margin:0 0 24px; text-wrap:balance; }
.comparison-choose > div { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid #4a5873; border-bottom:1px solid #4a5873; }
.comparison-choose section { padding:26px 32px 26px 0; }
.comparison-choose section + section { border-left:1px solid #4a5873; padding-left:32px; }
.comparison-choose h3 { margin:0 0 12px; font-size:1.45rem; }
.comparison-choose section + section h3 { color:#C6FF3D; }
.comparison-choose p { font-size:1.1rem; line-height:1.6; margin:0 0 14px; }
.comparison-score { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; margin:70px 0; }
.comparison-score h2 { font-size:3rem; line-height:1.05; font-weight:800; text-transform:uppercase; margin:0 0 24px; }
.comparison-score h2 em,.comparison-final em { color:#C6FF3D; font-style:normal; }
.comparison-score p { color:#c5d0e2; line-height:1.6; }
.comparison-score ol { list-style:none; margin:0; padding:0; }
.comparison-score li { display:flex; align-items:center; gap:20px; padding:18px 20px; background:#1C2B4E; border-radius:12px; margin-bottom:12px; font-family:var(--font-display); font-size:1.4rem; font-weight:800; }
.comparison-score li > span { display:flex; align-items:center; justify-content:center; width:52px; height:52px; background:#F6C945; color:#14213D; border-radius:50%; flex-shrink:0; }
.comparison-score li:nth-child(2) > span { background:#C6FF3D; }
.comparison-score li:nth-child(3) > span { background:#FFF6E8; }
.comparison-score small { display:block; font-family:var(--font-body); font-size:.92rem; font-weight:400; margin-top:4px; color:#c5d0e2; }
.comparison-start { padding:32px; background:#1C2B4E; border-radius:16px; margin:60px 0; }
.comparison-start > ol { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; counter-reset:league-steps; list-style:none; padding:0; margin:0 0 32px; }
.comparison-start > ol li { counter-increment:league-steps; }
.comparison-start > ol li::before { content:counter(league-steps); display:inline-flex; justify-content:center; align-items:center; width:34px; height:34px; background:#C6FF3D; color:#14213D; border-radius:50%; margin:0 10px 10px 0; font-weight:800; }
.comparison-start strong { font-size:1.15rem; }
.comparison-start p { color:#c5d0e2; line-height:1.5; }
.comparison-availability { padding-top:24px; border-top:1px solid #52617e; }
.comparison-availability h3 { margin:0 0 10px; font-size:1.35rem; }
.comparison-availability p { max-width:76ch; }
.comparison-availability a { display:inline-flex; align-items:center; gap:12px; color:#C6FF3D; text-underline-offset:4px; font-weight:700; }
.comparison-faq { max-width:84ch; margin:60px 0; }
.comparison-faq details { border-bottom:1px solid #4a5873; padding:20px 0; }
.comparison-faq summary { cursor:pointer; font-weight:700; font-size:1.15rem; padding-right:18px; }
.comparison-faq details p { margin:18px 0 0; font-size:1.05rem; line-height:1.65; color:#c5d0e2; }
.comparison-sources { font-size:.92rem; max-width:84ch; margin:60px 0; }
.comparison-sources h2 { font-size:1.35rem; margin:0 0 14px; }
.comparison-sources p { color:#b4c1d5; line-height:1.6; }
.comparison-sources ul { padding-left:22px; }
.comparison-sources li { margin:10px 0; }
.comparison-sources a { text-underline-offset:4px; overflow-wrap:anywhere; }
.comparison-final { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:36px 40px; background:#1C2B4E; border-radius:16px; margin:64px 0 28px; }
.comparison-final h2 { font-size:2.3rem; line-height:1.1; margin:0 0 18px; text-wrap:balance; }
.comparison-final p { color:#c5d0e2; margin:0 0 24px; }
.comparison-final img { width:200px; height:auto; flex-shrink:0; }
.comparison-related { display:flex; flex-wrap:wrap; gap:24px; }
.comparison-related a { display:inline-flex; gap:10px; align-items:center; text-underline-offset:5px; }
@media (max-width:900px) {
 .comparison-hero { gap:0; }
 .comparison-hero h1 { font-size:3rem; }
 .comparison-hero__lead { font-size:1.1rem; }
 .comparison-mpp-feature { padding:20px; gap:16px; }
 .comparison-mpp-feature img { width:90px; height:90px; }
 .comparison-mpp-feature > span { max-width:150px; }
 .comparison-section-head h2 { font-size:1.8rem; }
 .comparison-start > ol { gap:20px; }
 .comparison-start strong { display:block; }
 .comparison-score { gap:32px; }
}
@media (max-width:760px) {
 .comparison-page { padding:22px 0 40px; }
 .comparison-breadcrumb { font-size:.75rem; gap:7px; }
 .comparison-hero { grid-template-columns:1fr; padding:36px 0 20px; }
 .comparison-hero h1 { font-size:clamp(2.4rem,8.6vw,3.8rem); line-height:1.04; margin-bottom:20px; }
 .comparison-hero h1 > span { font-size:.46em; }
 .comparison-hero__lead { max-width:50ch; margin-bottom:22px; }
 .comparison-hero__art { margin-top:22px; }
 .comparison-hero__art img { width:100%; }
 .comparison-actions { gap:18px; }
 .comparison-jump { gap:8px; }
 .comparison-jump a { padding:10px 12px; font-size:.9rem; }
 .comparison-mpp-feature { flex-wrap:wrap; margin:12px 0 44px; }
 .comparison-mpp-feature > div { flex:1; }
 .comparison-mpp-feature img { width:76px; height:76px; }
 .comparison-mpp-feature h2 { font-size:1.45rem; }
 .comparison-mpp-feature > span { margin:0; max-width:none; width:100%; justify-content:center; }
 .comparison-section-head { grid-template-columns:1fr; gap:14px; }
 .comparison-directory { margin:44px 0; }
 .comparison-directory li a { grid-template-columns:1fr 22px; gap:10px 16px; padding:20px; }
 .comparison-directory__description { grid-column:1; }
 .comparison-directory__arrow { grid-column:2; grid-row:1 / span 2; }
 .comparison-directory__name { font-size:1.4rem; }
 .comparison-history { padding:24px; }
 .comparison-independence { padding-bottom:22px; }
 .comparison-matrix { padding:22px 18px; }
 .comparison-matrix h2 { font-size:1.65rem; }
 .comparison-matrix table { font-size:.89rem; }
 .comparison-matrix thead th { font-size:1rem; }
 .comparison-matrix th,.comparison-matrix td { padding:14px 8px; }
 .comparison-matrix th:first-child { width:23%; }
 .comparison-editorial { margin:40px 0; font-size:1.05rem; }
 .comparison-editorial h2 { font-size:1.7rem; }
 .comparison-choose { margin:40px 0; }
 .comparison-choose > div,.comparison-score { grid-template-columns:1fr; }
 .comparison-choose section,.comparison-choose section + section { padding:22px 0; border-left:0; }
 .comparison-choose section + section { border-top:1px solid #4a5873; }
 .comparison-score { gap:24px; margin:44px 0; }
 .comparison-score h2 { font-size:2.5rem; }
 .comparison-start { margin:44px 0; padding:24px; }
 .comparison-start > ol { grid-template-columns:1fr; gap:18px; margin-bottom:24px; }
 .comparison-start strong { display:inline; }
 .comparison-start > ol li p { margin:0; }
 .comparison-choose > h2,.comparison-start > h2,.comparison-faq > h2 { font-size:1.7rem; }
 .comparison-faq,.comparison-sources { margin:44px 0; }
 .comparison-final { flex-direction:column; padding:28px 24px; align-items:flex-start; margin-top:44px; gap:20px; }
 .comparison-final h2 { font-size:1.9rem; }
 .comparison-final img { width:128px; align-self:center; }
 .comparison-final .btn { width:100%; justify-content:center; }
}
@media (prefers-reduced-motion:reduce) { .comparison-directory li a { transition:none; } }
