/*
Theme Name: USA Sports
Theme URI: https://example.com/usa-sports
Author: Youssef
Description: Thème WordPress original pour un site d'actualité sportive américaine (NFL, NBA, soccer, college football, MLB, NHL). Bandeau de scores en direct alimenté par un flux JSON gratuit, rubriques par sport, emplacements publicitaires et newsletter. Aucun plugin requis, polices hébergées dans le thème.
Version: 2.7.1
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: usa-sports
Tags: news, blog, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready
*/

/* ==========================================================================
   Polices (hébergées dans le thème, licence OFL)
   ========================================================================== */
@font-face {
	font-family: "Archivo Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Archivo Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Source Serif 4 Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("assets/fonts/source-serif-4-latin-opsz-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Source Serif 4 Variable";
	font-style: italic;
	font-display: swap;
	font-weight: 200 900;
	src: url("assets/fonts/source-serif-4-latin-opsz-italic.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Variables
   Palette : craie, gazon, encre + un seul accent (modifiable dans le Customizer)
   ========================================================================== */
:root {
	/* Blanc, bleu marine et rouge : les couleurs du drapeau américain */
	--chalk: #ffffff;
	--paper: #f0f6ff;
	--wash: #e2eefd;
	--ink: #0e2347;
	--turf: #1b50a0;
	--turf-2: #2d6bc9;
	--muted: #38599a;
	--rule: #c9dcf6;
	--accent: #dc1431;
	--accent-ink: #b50d26;
	--accent-lit: #f59aa8;
	--f-head: "Archivo Variable", "Archivo", "Arial Narrow", Arial, sans-serif;
	--f-text: "Source Serif 4 Variable", "Source Serif 4", Georgia, "Times New Roman", serif;
	--wrap: 1240px;
	--gap: clamp(20px, 2.6vw, 36px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--chalk);
	color: var(--ink);
	font: 400 1rem/1.5 var(--f-head);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 { text-wrap: balance; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: absolute; left: 12px; top: -80px; z-index: 100;
	padding: 10px 16px; background: var(--ink); color: var(--paper);
	font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: clamp(16px, 3vw, 32px);
}

/* Boutons et champs */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px;
	border: 2px solid var(--ink); background: var(--ink); color: var(--paper);
	font: 700 .95rem/1 var(--f-head); font-stretch: 100%;
	text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn--accent { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

input[type="text"], input[type="email"], input[type="search"], input[type="url"], textarea {
	width: 100%; min-height: 44px; padding: 10px 14px;
	border: 2px solid var(--ink); border-radius: 0;
	background: var(--paper); color: var(--ink);
	font: 400 1rem/1.3 var(--f-head);
}
textarea { min-height: 140px; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header { position: relative; z-index: 30; background: var(--chalk); border-bottom: 1px solid var(--rule); }

.site-header__bar { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); min-height: 70px; }

.brand {
	display: inline-flex; align-items: center; gap: 10px; flex: none;
	color: var(--ink); text-decoration: none;
	font: 900 1.75rem/1 var(--f-head); font-stretch: 100%; letter-spacing: -.005em;
}
.brand__mark { width: 30px; height: 24px; flex: none; color: var(--turf); }
.brand__mark .brand__mid { fill: var(--accent); }
.footer-brand .brand__mark { color: #ffffff; }
.footer-brand .brand__mark .brand__mid { fill: var(--accent-lit); }
.brand .custom-logo { display: block; max-height: 48px; width: auto; }

.nav-toggle {
	display: none; margin-left: auto;
	width: 44px; height: 44px; padding: 0;
	border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { display: block; margin: auto; }

.primary-nav { flex: 1; min-width: 0; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul { display: flex; flex-wrap: wrap; gap: 2px; }
.primary-nav li { position: relative; }
.primary-nav a {
	display: block; padding: 12px 12px;
	color: var(--ink); text-decoration: none;
	font: 650 1rem/1.1 var(--f-head); font-stretch: 100%;
}
.primary-nav a:hover { box-shadow: inset 0 -3px 0 var(--ink); }
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current-cat > a { box-shadow: inset 0 -3px 0 var(--accent); }

.primary-nav .sub-menu {
	position: absolute; left: 0; top: 100%; z-index: 40; min-width: 210px;
	display: none; padding: 6px 0;
	background: var(--paper); border: 1px solid var(--ink); border-top-width: 3px;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { display: block; }
.primary-nav .sub-menu a { padding: 10px 16px; font-weight: 550; }
.primary-nav .sub-menu a:hover { background: var(--wash); box-shadow: none; }

.site-header__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
	border: 0; background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--wash); }

.search-panel { border-top: 1px solid var(--rule); background: var(--paper); padding-block: 14px; }
.search-panel[hidden] { display: none; }

.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { flex: 1; }

/* Liens rapides (menu facultatif) */
.quick { background: var(--paper); border-bottom: 1px solid var(--rule); }
.quick ul { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.quick a {
	display: inline-block; padding: 6px 12px; border: 1px solid var(--rule);
	font: 600 .9rem/1.2 var(--f-head); font-stretch: 100%; text-decoration: none; background: var(--chalk);
}
.quick a:hover { border-color: var(--ink); }

/* ==========================================================================
   Tableau d'affichage (scores)
   ========================================================================== */
.scoreboard { background: var(--turf); color: #f0f6ff; }

.scoreboard__top { display: flex; align-items: center; gap: 16px; padding-top: 10px; flex-wrap: wrap; }
.scoreboard__label {
	display: inline-flex; align-items: center; gap: 9px; flex: none;
	font: 800 1.05rem/1 var(--f-head); font-stretch: 100%;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-lit); flex: none; }
.is-live .dot, .scoreboard__label .dot { animation: usas-pulse 1.8s ease-in-out infinite; }
@keyframes usas-pulse { 50% { opacity: .35; transform: scale(.8); } }

.scoreboard__tabs { display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.scoreboard__tabs::-webkit-scrollbar { display: none; }
.scoreboard__tab {
	flex: none; padding: 7px 12px; border: 0; background: transparent; color: #dbe8ff; cursor: pointer;
	font: 650 .9rem/1 var(--f-head); font-stretch: 100%;
}
.scoreboard__tab:hover { color: #fff; }
.scoreboard__tab[aria-selected="true"] { color: var(--turf); background: #ffffff; }
.scoreboard__all { flex: none; margin-left: auto; color: #f0f6ff; font: 650 .9rem/1 var(--f-head); }

.scoreboard__track {
	display: flex; gap: 10px; padding: 12px 0 16px;
	overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #4f7fd0 transparent;
}
.scoreboard__empty { margin: 0; padding: 18px 0 22px; color: #dbe8ff; font-size: .95rem; }

.score {
	flex: none; width: 214px; padding: 10px 12px 11px; scroll-snap-align: start;
	background: var(--turf-2); color: #f4f7fd; text-decoration: none;
	clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
	display: block;
}
a.score:hover { background: #1a4c92; }
.score__status { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; color: #cfe0ff; font: 600 .78rem/1 var(--f-head); }
.score.is-live .score__status { color: var(--accent-lit); }
.score__row { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; font: 600 1rem/1.3 var(--f-head); font-variant-numeric: tabular-nums; }
.score__row.is-lead { font-weight: 800; }
.score__row:not(.is-lead) { color: #cfe0ff; }
.score__league { margin-left: auto; padding-right: 14px; font-weight: 600; color: #cfe0ff; }

/* ==========================================================================
   Le repère de terrain : titre de rubrique + règle de yards (élément signature)
   ========================================================================== */
.yard { --tick: var(--ink); display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 22px; }
.yard__title { margin: 0; padding-bottom: 2px; font: 850 clamp(1.7rem, 2.8vw, 2.35rem)/1 var(--f-head); font-stretch: 100%; letter-spacing: -.005em; }
.yard__title a { text-decoration: none; }
.yard__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .1em; }
.yard__rule {
	flex: 1 1 80px; height: 20px; margin-bottom: 3px; min-width: 60px;
	background-image:
		linear-gradient(var(--tick), var(--tick)),
		repeating-linear-gradient(90deg, var(--tick) 0 2px, transparent 2px 60px),
		repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 12px);
	background-size: 100% 2px, 100% 20px, 100% 9px;
	background-position: left bottom;
	background-repeat: no-repeat;
}
.yard__tabs { display: flex; flex-wrap: wrap; gap: 2px; align-self: flex-end; }
.yard__tab {
	padding: 5px 11px; text-decoration: none;
	font: 650 .9rem/1.1 var(--f-head); font-stretch: 100%; border: 1px solid transparent;
}
.yard__tab:hover { border-color: currentColor; }
.yard__tab[aria-current="page"] { background: var(--ink); color: var(--paper); }
.yard--lg .yard__title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }

/* Onglets en bouton (jours des matchs) */
button.yard__tab { background: transparent; color: inherit; cursor: pointer; }
.yard__tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.section--band .yard__tab[aria-selected="true"] { background: var(--chalk); color: var(--turf); }

/* ==========================================================================
   Tableau des matchs du jour (accueil et page Scores)
   ========================================================================== */
.board { padding-block: 30px 8px; }
.board__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 16px; }
.board__select {
	min-height: 40px; padding: 6px 12px; max-width: 100%;
	border: 2px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink);
	font: 650 .92rem/1.2 var(--f-head);
}
.board__live {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px;
	border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
	font: 700 .92rem/1 var(--f-head);
}
.board__live .dot { background: var(--accent); }
.board__live[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.board__live:disabled { opacity: .5; cursor: default; }
.board__note { margin-left: auto; font: 500 .8rem/1 var(--f-head); color: var(--muted); }
.board__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px var(--gap); align-items: start; }
.board__empty { grid-column: 1 / -1; margin: 0; padding: 22px 0; font: 400 1.05rem/1.4 var(--f-text); color: var(--muted); }

.lg { background: var(--paper); border: 1px solid var(--rule); }
.lg__head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
	padding: 10px 12px; border: 0; background: var(--turf); color: #ffffff; cursor: pointer; text-align: left;
	font: 800 1rem/1 var(--f-head); font-stretch: 100%;
}
.lg__head:focus-visible { outline-offset: -3px; }
.lg__count { display: inline-flex; align-items: center; gap: 10px; font: 600 .85rem/1 var(--f-head); color: #cfe0ff; }
.lg__count::after {
	content: ""; width: 8px; height: 8px; margin-top: -3px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.lg__head[aria-expanded="false"] .lg__count::after { margin-top: 0; transform: rotate(-45deg); }
.lg__head[aria-expanded="false"] + .lg__rows { display: none; }

.gm {
	display: grid; grid-template-columns: 82px minmax(0, 1fr) 104px minmax(0, 1fr); align-items: center; gap: 8px;
	padding: 11px 12px; border-top: 1px solid var(--rule);
	color: inherit; text-decoration: none; font: 600 1rem/1.2 var(--f-head);
}
.lg__rows > .gm:first-child { border-top: 0; }
a.gm:hover { background: var(--wash); }
.gm__status { display: flex; align-items: center; gap: 6px; font: 600 .8rem/1.2 var(--f-head); color: var(--muted); }
.gm.is-live .gm__status { color: var(--accent-ink); font-weight: 750; }
.gm.is-live .dot { background: var(--accent); }
.gm__team { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gm__team--away { text-align: right; }
.gm__team.is-lead { font-weight: 850; }
.gm__score { white-space: nowrap; padding: 4px 0; background: var(--wash); text-align: center; font: 800 1.05rem/1.2 var(--f-head); font-variant-numeric: tabular-nums; }
.gm__score.is-pending { background: transparent; font-weight: 600; font-size: .85rem; color: var(--muted); }

/* ==========================================================================
   Dernières infos / Les plus lus
   ========================================================================== */
.latest__tabs { display: none; }
.js .latest__tabs { display: flex; gap: 2px; margin-bottom: 8px; border-bottom: 2px solid var(--ink); }
.js .latest__title { display: none; }
.latest__tab {
	padding: 9px 14px 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer;
	font: 850 1.1rem/1 var(--f-head); font-stretch: 100%;
}
.latest__tab:hover { color: var(--ink); }
.latest__tab[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -4px 0 var(--accent); }
.latest__panel[hidden] { display: none; }
.latest__panel + .latest__panel { margin-top: 26px; }
.js .latest__panel + .latest__panel { margin-top: 0; }

.latest__list--ranked { counter-reset: rank; border-left: 0; }
.latest__list--ranked .latest__item { counter-increment: rank; padding-left: 46px; }
.latest__list--ranked .latest__item::before {
	content: counter(rank); top: 11px; width: auto; height: auto; background: none;
	font: 850 2rem/1 var(--f-head); font-stretch: 100%; color: var(--accent-ink); font-variant-numeric: tabular-nums;
}
.latest__list--ranked .latest__item:first-child::before { top: 9px; }

/* Lien « More … » en fin de rubrique */
.more-link { margin: 22px 0 0; }
.more-link a {
	display: inline-block; padding: 9px 16px; border: 2px solid currentColor;
	font: 700 .92rem/1 var(--f-head); font-stretch: 100%; text-decoration: none;
}
.more-link a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.section--band .more-link a:hover { background: var(--chalk); border-color: var(--chalk); color: var(--turf); }

/* Élément de menu « Live » : ajouter la classe CSS menu-live au lien du menu */
.primary-nav .menu-live > a::before {
	content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px;
	border-radius: 50%; background: var(--accent); animation: usas-pulse 1.8s ease-in-out infinite;
}

/* ==========================================================================
   Cartes
   ========================================================================== */
.card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }

.card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--turf); }
.card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph {
	display: block; width: 100%; height: 100%;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .09) 0 2px, transparent 2px 46px),
		linear-gradient(180deg, var(--turf-2), var(--turf));
}

.kicker {
	position: relative; z-index: 2; align-self: flex-start;
	display: inline-flex; align-items: center; gap: 7px;
	color: var(--accent-ink); text-decoration: none;
	font: 750 .85rem/1 var(--f-head); font-stretch: 100%;
}
.kicker::before { content: ""; width: 9px; height: 9px; background: var(--accent); flex: none; }
.kicker:hover { text-decoration: underline; }

.card__title { margin: 0; font: 800 1.34rem/1.13 var(--f-head); font-stretch: 100%; letter-spacing: -.003em; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card__title a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .12em; text-underline-offset: .15em; }

.card__excerpt { margin: 0; font: 400 1.02rem/1.5 var(--f-text); color: #2a3752; }
.meta { font: 500 .83rem/1.2 var(--f-head); color: var(--muted); }
.meta--fresh { color: var(--accent-ink); font-weight: 700; }

.card--feature .card__title { font-size: clamp(1.7rem, 2.9vw, 2.45rem); line-height: 1.04; font-weight: 850; font-stretch: 100%; }

.card--row { flex-direction: row; align-items: flex-start; gap: 16px; }
.card--row .card__media { flex: 0 0 38%; aspect-ratio: 3 / 2; }
.card--row .card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card--row .card__title { font-size: 1.2rem; }

.card--compact { gap: 8px; padding-top: 14px; border-top: 1px solid var(--rule); }
.card--compact .card__title { font-size: 1.12rem; }

.card--lead .card__title { font: 850 clamp(2.15rem, 4.6vw, 3.7rem)/.98 var(--f-head); font-stretch: 100%; letter-spacing: -.012em; }
.card--lead .card__excerpt { font-size: 1.2rem; max-width: 52ch; }
.card--lead { gap: 14px; }

/* ==========================================================================
   Accueil
   ========================================================================== */
.hero { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr); gap: var(--gap); padding-block: 30px 14px; }

.latest__title { margin: 0 0 6px; font: 850 1.3rem/1 var(--f-head); font-stretch: 100%; display: flex; align-items: center; gap: 9px; }
.latest__title .dot { background: var(--accent); }
.latest__list { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--ink); }
.latest__item { position: relative; padding: 13px 0 13px 18px; border-bottom: 1px solid var(--rule); }
.latest__item::before { content: ""; position: absolute; left: 0; top: 21px; width: 9px; height: 2px; background: var(--ink); }
.latest__item:first-child { padding-top: 10px; }
.latest__item:first-child::before { top: 18px; }
.latest__head { display: flex; gap: 10px; align-items: baseline; margin-bottom: 4px; }
.latest__item .card { gap: 4px; }
.latest__item .card__title { font-size: 1.1rem; line-height: 1.16; }

.section { padding-block: 40px; }
.section--band { background: var(--turf); color: #f0f6ff; }
.section--band .yard { --tick: rgba(255, 255, 255, .6); }
.section--band .yard__tab[aria-current="page"] { background: var(--chalk); color: var(--turf); }
.section--band .kicker { color: var(--accent-lit); }
.section--band .card__excerpt { color: #cfe0ff; }
.section--band .meta { color: #cfe0ff; }
.section--band .card--compact { border-top-color: #4f7fd0; }
.section--band .card:hover .card__title a { text-decoration-color: var(--accent-lit); }

.grid { display: grid; gap: var(--gap); }
.grid--trio { grid-template-columns: 1.55fr 1fr 1fr; }
.grid--quad { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--band { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.grid--more { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 4px; }

.more-sport .yard { margin-bottom: 14px; }
.more-sport .yard__title { font-size: 1.5rem; }
.more-sport__lead { margin-bottom: 14px; }

/* Newsletter */
.signup {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: center;
	padding: clamp(22px, 3vw, 36px); background: var(--paper); border: 1px solid var(--ink); border-left: 10px solid var(--accent);
}
.signup h2 { margin: 0 0 8px; font: 850 clamp(1.7rem, 3vw, 2.4rem)/1.03 var(--f-head); font-stretch: 100%; }
.signup p { margin: 0; font: 400 1.05rem/1.5 var(--f-text); color: #2a3752; }
.signup__form { display: flex; gap: 8px; flex-wrap: wrap; }
.signup__form input[type="email"] { flex: 1 1 220px; }
.signup .signup__note { margin-top: 8px; font: 500 .82rem/1.3 var(--f-head); color: var(--muted); }

.admin-hint { margin: 0; padding: 12px 14px; border: 1px dashed var(--ink); background: var(--paper); font: 500 .9rem/1.4 var(--f-head); }

/* Publicités */
.ad-slot { margin: 22px auto; text-align: center; }
.ad-slot__label { display: block; margin-bottom: 4px; font: 500 .72rem/1 var(--f-head); color: var(--muted); }
.ad-slot--banner { padding-top: 6px; }

/* ==========================================================================
   Articles
   ========================================================================== */
.crumbs { padding-top: 20px; font: 500 .85rem/1.3 var(--f-head); color: var(--muted); }
.crumbs a { color: inherit; }
.crumbs .separator, .crumbs .sep { margin: 0 .45em; }

.article-head { padding-block: 14px 22px; }
.article-head .kicker { margin-bottom: 12px; font-size: .95rem; }
.article-head h1 { max-width: 15em; margin: 0; font: 850 clamp(2.2rem, 5vw, 3.9rem)/1 var(--f-head); font-stretch: 100%; letter-spacing: -.012em; }
.deck { margin: 16px 0 0; max-width: 48ch; font: 400 1.32rem/1.42 var(--f-text); color: #2a3752; }

.byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; font: 500 .92rem/1.3 var(--f-head); color: var(--muted); }
.byline img { border-radius: 50%; display: block; }
.byline strong { color: var(--ink); font-weight: 700; }
.byline a { color: var(--ink); }

.article-figure { margin: 0 auto 8px; }
.article-figure img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-figure figcaption { padding-top: 8px; font: 400 .85rem/1.4 var(--f-head); color: var(--muted); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 64px); padding-block: 26px 20px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 22px; }
.share__label { margin-right: 6px; font: 650 .88rem/1 var(--f-head); }
.share a, .share button {
	display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px;
	border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
	font: 650 .88rem/1 var(--f-head); text-decoration: none;
}
.share a:hover, .share button:hover { background: var(--ink); color: var(--paper); }

.prose { max-width: 68ch; font: 400 1.19rem/1.7 var(--f-text); font-optical-sizing: auto; }
.prose > * { margin-block: 0 1.15em; }
.prose a { color: var(--accent-ink); text-decoration-thickness: .1em; }
.prose a:hover { color: var(--ink); }
.prose h2, .prose h3, .prose h4 { font-family: var(--f-head); line-height: 1.12; margin: 1.9em 0 .6em; }
.prose h2 { font-size: 1.75rem; font-weight: 850; font-stretch: 100%; }
.prose h3 { font-size: 1.4rem; font-weight: 800; font-stretch: 100%; }
.prose blockquote { margin: 1.6em 0; padding: .1em 0 .1em 1.2em; border-left: 5px solid var(--accent); font-style: italic; }
.prose blockquote p { margin: 0 0 .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose img { display: block; }
.prose figure { margin-inline: 0; }
.prose figcaption, .wp-caption-text { margin-top: 6px; font: 400 .85rem/1.4 var(--f-head); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font: 500 .95rem/1.35 var(--f-head); font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 8px 10px; border-bottom: 1px solid var(--rule); text-align: left; }
.prose thead th { border-bottom: 2px solid var(--ink); }
.prose iframe { width: 100%; border: 0; }
.prose hr { border: 0; height: 18px; margin: 2em 0; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 24px) left bottom / 100% 14px no-repeat, linear-gradient(var(--ink), var(--ink)) left bottom / 100% 2px no-repeat; }
.alignleft { float: left; margin: .3em 1.4em .8em 0; }
.alignright { float: right; margin: .3em 0 .8em 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-block-image img { height: auto; }
.page-links { margin: 1.5em 0; font: 600 .95rem/1.3 var(--f-head); }

.topics { margin-top: 30px; padding-top: 18px; border-top: 2px solid var(--ink); }
.topics h2 { margin: 0 0 10px; font: 800 1.05rem/1 var(--f-head); font-stretch: 100%; }
.topics ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.topics a { display: inline-block; padding: 6px 12px; background: var(--paper); border: 1px solid var(--rule); font: 600 .9rem/1.2 var(--f-head); text-decoration: none; }
.topics a:hover { border-color: var(--ink); }

.author-box { display: flex; gap: 16px; margin-top: 30px; padding: 20px; background: var(--paper); border: 1px solid var(--rule); }
.author-box img { border-radius: 50%; flex: none; display: block; }
.author-box h2 { margin: 0 0 4px; font: 800 1.15rem/1.1 var(--f-head); }
.author-box p { margin: 0; font: 400 1rem/1.5 var(--f-text); }

.aside > * + * { margin-top: 28px; }
.aside__title { margin: 0 0 4px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font: 850 1.2rem/1 var(--f-head); font-stretch: 100%; }

.related { padding-block: 24px 54px; }

/* Pagination */
.pagination { margin-top: 34px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 4px; }
.pagination .page-numbers {
	min-width: 42px; padding: 10px 14px; text-align: center;
	border: 1px solid var(--ink); text-decoration: none; font: 650 .95rem/1 var(--f-head);
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--ink); color: var(--paper); }
.pagination .dots { border-color: transparent; }

/* Pages et archives */
.page-head { padding-block: 30px 8px; }
.page-head .deck { margin-top: 4px; }
.page-title { margin: 0; font: 850 clamp(2.2rem, 4.8vw, 3.6rem)/1 var(--f-head); font-stretch: 100%; letter-spacing: -.01em; }
.page-body { padding-block: 10px 56px; }
.archive-list { display: grid; gap: var(--gap); }
.archive-list .card--row { padding-bottom: var(--gap); border-bottom: 1px solid var(--rule); }
.archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 64px); padding-block: 8px 56px; }
.empty { padding-block: 40px 60px; max-width: 60ch; }
.empty h2 { margin: 0 0 8px; font: 850 1.8rem/1.1 var(--f-head); font-stretch: 100%; }
.empty p { font: 400 1.1rem/1.55 var(--f-text); }
.author-head { display: flex; gap: 22px; align-items: center; padding-block: 34px 10px; }
.author-head img { border-radius: 50%; display: block; }

/* Commentaires */
.comments { max-width: 68ch; margin-top: 40px; }
.comments h2 { font: 850 1.5rem/1.1 var(--f-head); font-stretch: 100%; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 22px; }
.comment-body { padding: 14px 0; border-top: 1px solid var(--rule); font: 400 1rem/1.55 var(--f-text); }
.comment-meta { font: 500 .85rem/1.3 var(--f-head); color: var(--muted); }
.comment-form label { display: block; margin: 12px 0 4px; font: 650 .9rem/1.2 var(--f-head); }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { margin-top: 20px; background: var(--turf); color: #e6efff; }
.site-footer .yard { --tick: rgba(255, 255, 255, .55); margin: 0; padding-top: 28px; }
.site-footer .yard__rule { flex-basis: 100%; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gap); padding-block: 30px 28px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin: 12px 0 0; max-width: 34ch; font: 400 1rem/1.5 var(--f-text); color: #dbe8ff; }
.footer-col h2 { margin: 0 0 10px; font: 800 1.05rem/1 var(--f-head); font-stretch: 100%; color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 6px; }
.footer-col a { color: #e6efff; text-decoration: none; font: 500 .96rem/1.3 var(--f-head); }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 16px 30px; border-top: 1px solid #4f7fd0; font: 400 .85rem/1.45 var(--f-head); color: #cfe0ff; }
.footer-bottom p { margin: 0; max-width: 78ch; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1020px) {
	.grid--quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--trio > :first-child { grid-column: 1 / -1; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.board__groups { grid-template-columns: minmax(0, 1fr); }
	.article-layout, .archive-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
	.site-header__bar { flex-wrap: wrap; padding-block: 10px; }
	.nav-toggle { display: block; }
	.site-header__tools { margin-left: 0; }
	.primary-nav { order: 5; flex: 1 0 100%; display: none; }
	.primary-nav.is-open { display: block; }
	.primary-nav > ul { flex-direction: column; border-top: 1px solid var(--rule); }
	.primary-nav a { padding: 14px 4px; border-bottom: 1px solid var(--rule); }
	.primary-nav .sub-menu { position: static; display: block; border: 0; padding: 0 0 0 16px; background: transparent; }
	.hero { grid-template-columns: minmax(0, 1fr); }
	.grid--band, .grid--rows { grid-template-columns: minmax(0, 1fr); }
	.signup { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
	.site-header__tools .btn { display: none; }
	.grid--quad, .grid--trio { grid-template-columns: minmax(0, 1fr); }
	.card--row { flex-direction: column; }
	.card--row .card__media { flex: none; width: 100%; aspect-ratio: 16 / 9; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); }
	.scoreboard__all { display: none; }
	.score { width: 190px; }
	.gm { grid-template-columns: 62px minmax(0, 1fr) 92px minmax(0, 1fr); padding-inline: 10px; font-size: .95rem; }
	.board__note { margin-left: 0; flex-basis: 100%; }
	.author-box, .author-head { flex-direction: column; align-items: flex-start; }
	.yard__tabs { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
	.site-header, .scoreboard, .site-footer, .share, .ad-slot, .related, .aside, .signup { display: none !important; }
	body { background: #fff; }
}

[hidden] { display: none !important; }


/* ==========================================================================
   v1.3 : plus de blanc. Tableau des scores et bandes en bleu très clair,
   cartes blanches, bleu plus vif, rouge plus vif.
   ========================================================================== */
.scoreboard { background: var(--wash); color: var(--ink); border-bottom: 1px solid var(--rule); }
.scoreboard__tab { color: var(--muted); }
.scoreboard__tab:hover { color: var(--ink); }
.scoreboard__tab[aria-selected="true"] { color: #fff; background: var(--turf); }
.scoreboard__all { color: var(--turf); }
.scoreboard__track { scrollbar-color: #7fa5e6 transparent; }
.scoreboard__empty { color: var(--muted); }
.dot { background: var(--accent); }
.score { background: #fff; color: var(--ink); box-shadow: inset 0 3px 0 var(--turf); border: 0; }
a.score:hover { background: #f3f8ff; }
.score__status { color: var(--muted); }
.score.is-live .score__status { color: var(--accent-ink); font-weight: 750; }
.score__row:not(.is-lead) { color: var(--muted); }
.score__league { color: var(--muted); }

.section--band { background: var(--wash); color: var(--ink); }
.section--band .yard { --tick: var(--ink); }
.section--band .yard__tab[aria-current="page"], .section--band .yard__tab[aria-selected="true"] { background: var(--turf); color: #fff; }
.section--band .kicker { color: var(--accent-ink); }
.section--band .card__excerpt { color: var(--muted); }
.section--band .meta { color: var(--muted); }
.section--band .card--compact { border-top-color: var(--rule); }
.section--band .card:hover .card__title a { text-decoration-color: var(--accent); }
.section--band .more-link a:hover { background: var(--turf); border-color: var(--turf); color: #fff; }

.lg__head { background: var(--turf); }
.site-footer { background: var(--turf); border-top: 6px solid var(--accent); }
.site-footer .footer-bottom { border-top-color: rgba(255,255,255,.28); }
.footer-brand p, .footer-bottom { color: #dbe6f8; }


/* ==========================================================================
   v1.4 : mélange « une immersive » (titre sur la photo, moments forts)
   Aucun gris : tous les neutres sont des bleus ou du blanc.
   ========================================================================== */
.card--overlay, .card--tile { display: block; overflow: hidden; background: var(--turf); color: #fff; isolation: isolate; }
.card--overlay .card__media, .card--tile .card__media { position: absolute; inset: 0; aspect-ratio: auto; z-index: -2; }
.card--overlay .card__media img, .card--tile .card__media img { transition: transform .5s ease; }
.card--overlay:hover .card__media img, .card--tile:hover .card__media img { transform: scale(1.04); }
.card--overlay::before, .card--tile::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(10, 36, 84, 0) 38%, rgba(10, 36, 84, .94) 100%);
}
.card--overlay .card__body, .card--tile .card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(16px, 2.4vw, 30px); gap: 10px; }
.card--overlay .card__title a, .card--tile .card__title a { color: #fff; }
.card--overlay:hover .card__title a, .card--tile:hover .card__title a { text-decoration-color: #fff; }
.card--overlay .kicker, .card--tile .kicker { align-self: flex-start; padding: 5px 9px; background: var(--accent); color: #fff; }
.card--overlay .kicker::before, .card--tile .kicker::before { display: none; }
.card--overlay .meta, .card--tile .meta, .card--overlay .meta--fresh, .card--tile .meta--fresh { color: #e6efff; }
.card--overlay .card__excerpt { color: #f0f6ff; }

.card--overlay { aspect-ratio: auto; min-height: clamp(420px, 46vw, 560px); }
.card--overlay .card__title { font: 850 clamp(2rem, 4.2vw, 3.5rem)/1 var(--f-head); font-stretch: 100%; letter-spacing: -.012em; max-width: 17em; }
.card--overlay .card__excerpt { font-size: 1.12rem; max-width: 54ch; margin: 0; }
.hero__lead { display: flex; }
.hero__lead .card--overlay { flex: 1; }

.highlights { padding-block: 22px 8px; }
.highlights__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.card--tile { aspect-ratio: 4 / 5; }
.card--tile .card__title { font-size: 1.28rem; line-height: 1.08; }

.latest__list, .latest__tabs { border-color: var(--turf); }
.latest__item::before { background: var(--turf); }
.latest__item + .latest__item { border-top-color: var(--rule); }

@media (max-width: 1020px) { .highlights__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
	.card--overlay { min-height: 440px; }
	.highlights__row { grid-template-columns: minmax(0, 1fr); }
	.card--tile { aspect-ratio: 16 / 10; }
}


/* ==========================================================================
   v2.0 : portail sportif inspiré de Sport88 (en-tête centré, bande de scores,
   fil d'actualité en trois colonnes) et Fox Sports Latam (une immersive,
   cartes teintées, rangée « Most read » + newsletter).
   Blanc, bleu, rouge. Aucun gris.
   ========================================================================== */
:root { --r: 18px; --r-s: 10px; }
body { background: #fff; }

/* En-tête centré, boutons en pilule */
.site-header { background: #fff; border-bottom: 0; }
.btn { border-radius: 999px; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.icon-btn, .nav-toggle { border-radius: 999px; }
.primary-nav a { padding: 9px 15px; border-radius: 999px; font-weight: 650; box-shadow: none !important; }
.primary-nav a:hover { background: var(--wash); }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current-cat > a { background: var(--turf); color: #fff; }
.primary-nav .sub-menu { border-radius: var(--r-s); border: 1px solid var(--rule); border-top-width: 1px; background: #fff; box-shadow: 0 10px 28px rgba(14, 35, 71, .14); }
@media (min-width: 901px) {
	.site-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; padding-block: 14px; }
	.primary-nav { flex: none; justify-self: center; }
	.primary-nav > ul { flex-wrap: nowrap; }
	.site-header__tools { justify-self: end; margin-left: 0; }
}

/* Liens rapides : ligne de texte gras sous le menu */
.quick { background: #fff; border: 0; }
.quick ul { padding: 0 0 14px; gap: 6px 24px; justify-content: center; }
.quick a { padding: 4px 0; border: 0; background: transparent; font: 800 .8rem/1.2 var(--f-head); letter-spacing: .03em; text-transform: uppercase; }
.quick a:hover { color: var(--accent); }

/* Bande de scores : cartes arrondies, flèches */
.scoreboard { background: #fff; color: var(--ink); border: 0; }
.scoreboard__label { display: none; }
.scoreboard__top { padding-top: 0; justify-content: space-between; }
.scoreboard__tabs { gap: 6px; }
.scoreboard__tab { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--rule); background: #fff; color: var(--ink); }
.scoreboard__tab:hover { border-color: var(--turf); color: var(--turf); }
.scoreboard__tab[aria-selected="true"] { background: var(--turf); border-color: var(--turf); color: #fff; }
.scoreboard__all { color: var(--turf); font-weight: 750; text-decoration: none; }
.scoreboard__all::after { content: " \2192"; }
.scoreboard__rail { position: relative; }
.scoreboard__track { padding: 12px 2px 18px; gap: 12px; }
.score { width: 224px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; box-shadow: none; clip-path: none; }
a.score:hover { background: var(--wash); border-color: var(--turf-2); }
.score__status { margin-bottom: 8px; }
.score.is-live { background: #fff; border-color: var(--accent); }
.score.is-live .score__status { color: var(--accent-ink); }
.score__row { font-weight: 650; }
.score__row.is-lead { color: var(--ink); }
.scoreboard__arrow {
	position: absolute; top: calc(50% - 3px); z-index: 3; transform: translateY(-50%);
	display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
	border: 1px solid var(--rule); border-radius: 50%; background: #fff; color: var(--turf); cursor: pointer;
	box-shadow: 0 4px 14px rgba(14, 35, 71, .16);
}
.scoreboard__arrow:hover { background: var(--turf); border-color: var(--turf); color: #fff; }
.scoreboard__arrow[hidden] { display: none; }
.scoreboard__arrow--prev { left: -12px; }
.scoreboard__arrow--next { right: -12px; }

/* Titres de section : simples, sans règle */
.yard { margin-bottom: 18px; gap: 8px 12px; justify-content: space-between; }
.yard__rule { display: none; }
.yard__title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 800; letter-spacing: -.01em; }
.yard__tabs { gap: 6px; }
.yard__tab { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--rule); background: #fff; }
.section--band .yard__tab { background: #fff; }
.site-footer .yard { display: none; }
.block { padding-block: 22px 8px; }
.section { padding-block: 34px; }

/* Étiquettes en pastille */
.kicker { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 7px; background: var(--turf); color: #fff; font-size: .72rem; letter-spacing: .01em; }
.kicker::before { display: none; }
.section--band .kicker { color: #fff; }
.card--overlay .kicker, .card--tile .kicker { background: var(--accent); }
.latest__head .kicker { padding: 2px 8px; }

/* Une immersive */
.hero { gap: 26px; padding-block: 8px 14px; grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr); }
.card--overlay { border-radius: 22px; min-height: clamp(440px, 44vw, 540px); }
.card--overlay .card__title { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.04; font-weight: 800; letter-spacing: -.015em; max-width: 16em; }
.card--tile { border-radius: var(--r); }

/* Colonne de droite : miniatures + titres */
.latest { align-self: stretch; }
.latest__tabs { border-bottom: 1px solid var(--rule); gap: 4px; }
.latest__tab { padding: 8px 14px; border-radius: 999px 999px 0 0; }
.latest__list { border-left: 0; }
.latest__item { padding: 11px 0; border-bottom: 1px solid var(--rule); }
.latest__item::before { display: none; }
.latest__list--ranked .latest__item { padding-left: 40px; }
.latest__item .card--thumb { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; }
.card--thumb .card__media { aspect-ratio: 4 / 3; border-radius: 12px; }
.card--thumb .card__title { font-size: 1rem; line-height: 1.22; font-weight: 750; }
.card--thumb .card__body { gap: 4px; }
.latest__title .dot { display: none; }

/* Cartes teintées « Top stories » */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card--stack { gap: 0; background: var(--paper); border-radius: var(--r); overflow: hidden; }
.card--stack .card__media { aspect-ratio: 16 / 10; }
.card--stack .card__body { padding: 14px 16px 16px; gap: 9px; }
.card--stack .card__title { font-size: 1.05rem; line-height: 1.22; font-weight: 750; }

/* Rangée mixte */
.mix { align-items: stretch; }
.mix .card--tile { aspect-ratio: auto; min-height: 280px; }
.mix .card--tile .card__title { font-size: 1.15rem; }
.rankcard, .newscard, .sidecard { background: var(--paper); border-radius: var(--r); padding: 20px; }
.rankcard__title, .sidecard__title, .newscard h2 { margin: 0 0 12px; font: 800 1.1rem/1.2 var(--f-head); }
.rankcard__list, .heads, .sidecard__list { list-style: none; margin: 0; padding: 0; }
.rankcard__list li + li { margin-top: 14px; }
.rankcard__list a { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start; text-decoration: none; }
.rankcard__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--turf); color: #fff; font: 800 .9rem/1 var(--f-head); }
.rankcard__t { font: 750 .98rem/1.25 var(--f-head); }
.rankcard__list a:hover .rankcard__t { text-decoration: underline; text-decoration-color: var(--accent); }
.newscard { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.newscard h2 { margin: 0; font-size: 1.3rem; }
.newscard p { margin: 0; font: 400 .98rem/1.45 var(--f-text); color: var(--muted); }
.newscard__icon { color: var(--turf); }
.newscard .signup__form { display: flex; flex-direction: column; gap: 8px; }
.newscard input[type="email"] { width: 100%; padding: 12px 16px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; font: 500 1rem/1.2 var(--f-head); }

/* Fil d'actualité : trois colonnes */
.feed { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.feed__main { display: grid; gap: 34px; }
.feed .sidecard { position: sticky; top: 16px; }
.sidecard__list a { display: flex; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; font: 700 .98rem/1.2 var(--f-head); }
.sidecard__list li:last-child a { border-bottom: 0; }
.sidecard__list a::after { content: "\2192"; color: var(--turf); }
.sidecard__list a:hover { color: var(--accent-ink); }
.heads li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.heads li:last-child { border-bottom: 0; }
.heads a { display: block; margin-bottom: 4px; font: 700 .98rem/1.25 var(--f-head); text-decoration: none; }
.heads a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.card--feed { gap: 14px; }
.card--feed .card__media { aspect-ratio: 16 / 9; border-radius: var(--r); }
.card--feed .card__body { gap: 10px; }
.card--feed .card__title { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.1; font-weight: 800; letter-spacing: -.01em; }
.card--feed .card__excerpt { margin: 0; font-size: 1.05rem; }

/* Rubriques par sport : coins arrondis */
.card__media { border-radius: 12px; }
.card--feature .card__media, .card--row .card__media { border-radius: var(--r); }
.section--band { background: var(--paper); }
.more-link a { border-radius: 999px; border-width: 1px; }
.signup { border-radius: var(--r); border-left-width: 1px; }

/* Pied de page : grand nom */
.site-footer { border-top: 0; margin-top: 40px; }
.footer-mark {
	margin: 4px 0 -.2em; overflow: hidden; white-space: nowrap; text-align: center;
	font: 900 clamp(3rem, 15.5vw, 12rem)/.82 var(--f-head); letter-spacing: -.035em; color: #4f86dd;
}
.footer-bottom { border-top: 0; padding-top: 6px; }

@media (max-width: 1020px) {
	.grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feed { grid-template-columns: minmax(0, 1fr); }
	.feed .sidecard { position: static; }
	.feed__sports .sidecard__list { display: flex; flex-wrap: wrap; gap: 6px; }
	.feed__sports .sidecard__list a { padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; }
	.feed__sports .sidecard__list a::after { display: none; }
	.feed__heads { order: 3; }
}
@media (max-width: 620px) {
	.grid4 { grid-template-columns: minmax(0, 1fr); }
	.quick ul { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 12px; }
	.quick li { flex: none; }
	.scoreboard__arrow { display: none; }
	.card--overlay { min-height: 460px; }
}
.newscard .signup__form input[type="email"] { flex: none; height: auto; min-height: 0; }
.newscard .signup__form .btn { flex: none; }
.footer-mark { margin: 10px 0 22px; line-height: .9; padding-bottom: .04em; }


/* Publicité : espace réservé pour éviter les sauts de page */
.ad-slot { clear: both; margin: 26px auto; text-align: center; max-width: 100%; overflow: hidden; }
.ad-slot__label { display: block; margin-bottom: 6px; color: var(--muted); font: 600 .72rem/1 var(--f-head); letter-spacing: .04em; text-transform: uppercase; }
.ad-slot--banner { min-height: 100px; }
.ad-slot--home, .ad-slot--archive, .ad-slot--after { min-height: 110px; }
.ad-slot--article, .ad-slot--sidebar { min-height: 270px; }
.ad-slot.is-placeholder { min-height: 0; overflow: visible; }
.ad-slot__box {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	min-height: 96px; padding: 14px 18px; border: 2px dashed var(--turf-2); border-radius: var(--r-s);
	background: var(--paper); color: var(--turf); font: 500 .9rem/1.35 var(--f-head);
}
.ad-slot__box strong { font-weight: 800; font-size: 1rem; }
.ad-slot__box a { color: var(--accent-ink); font-weight: 700; }
.ad-slot--article.is-placeholder .ad-slot__box, .ad-slot--sidebar.is-placeholder .ad-slot__box { min-height: 250px; }
.hero--solo { grid-template-columns: minmax(0, 1fr); }

/* Défilement de la bande de scores : les flèches suffisent, pas de barre native */
.scoreboard__track { scrollbar-width: none; -ms-overflow-style: none; }
.scoreboard__track::-webkit-scrollbar { display: none; }

/* Responsive : doit venir après les réglages v2.0 qui redéfinissent .hero */
@media (max-width: 900px) {
	.hero { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 620px) {
	.quick a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 2px; }
	.quick ul { gap: 4px 18px; }
	.yard__tab { min-height: 40px; display: inline-flex; align-items: center; }
	.brand { min-height: 40px; display: inline-flex; align-items: center; }
	.footer-col a { display: inline-block; padding: 7px 0; }
	.crumbs a, .byline a { display: inline-block; padding: 8px 0; }
	.kicker { padding: 6px 12px; }
}

/* Formulaire de commentaire : bouton et cases lisibles au doigt */
.comment-form .submit, .comment-form input[type="submit"] {
	min-height: 46px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--accent); color: #fff;
	font: 800 .95rem/1 var(--f-head); cursor: pointer;
}
.comment-form .submit:hover { background: var(--accent-ink); }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { margin: 0; font-weight: 500; }
.comment-form-cookies-consent input { margin-top: 3px; }
.comment-form input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--turf); }

/* En-tête : sous 1180px, la marque garde sa largeur (pas de retour à la ligne) */
@media (min-width: 901px) and (max-width: 1179px) {
	.site-header__bar { grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; }
	.brand { max-width: 300px; }
	.primary-nav { justify-self: center; }
	.primary-nav a { padding: 9px 10px; }
}

/* Nom de site long : il passe à la ligne au lieu de déborder sur téléphone */
@media (max-width: 900px) {
	.site-header .brand { flex: 0 1 auto; min-width: 0; max-width: calc(100% - 110px); font-size: clamp(1.1rem, 5.2vw, 1.75rem); line-height: 1.05; overflow-wrap: anywhere; }
	.site-header .brand > span { min-width: 0; overflow-wrap: anywhere; }
	.footer-brand .brand { max-width: 100%; min-width: 0; font-size: clamp(1.1rem, 5.2vw, 1.75rem); }
	.footer-brand .brand > span { min-width: 0; overflow-wrap: anywhere; }
}
.footer-mark { overflow-wrap: anywhere; max-width: 100%; }
/* Rangées défilantes : pas de barre grise (Windows) */
.quick ul, .scoreboard__filters, .scoreboard__tabs { scrollbar-width: none; }
.quick ul::-webkit-scrollbar, .scoreboard__filters::-webkit-scrollbar, .scoreboard__tabs::-webkit-scrollbar { display: none; }

/* ==========================================================================
   Animations (assets/js/motion.js). Seulement transform et opacity, pour rester
   fluide sur téléphone. Coupées si le visiteur préfère moins d'animations.
   ========================================================================== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }

/* Apparition au défilement */
.usas-motion [data-reveal] {
	opacity: 0; transform: translate3d(0, 28px, 0);
	transition: opacity .7s var(--ease-out), transform .8s var(--ease-out);
	transition-delay: var(--reveal-delay, 0ms);
}
.usas-motion [data-reveal].is-in { opacity: 1; transform: none; }
.usas-motion .card--tile[data-reveal], .usas-motion .rankcard[data-reveal], .usas-motion .newscard[data-reveal] { transform: translate3d(0, 34px, 0) scale(.97); }
.usas-motion .card--tile[data-reveal].is-in, .usas-motion .rankcard[data-reveal].is-in, .usas-motion .newscard[data-reveal].is-in { transform: none; }

/* Grande carte : rideau qui s'ouvre, puis titre qui monte */
.usas-motion .hero__lead[data-reveal] { transform: none; clip-path: inset(0 0 100% 0 round var(--r)); transition: opacity .3s ease, clip-path .95s var(--ease-out); }
.usas-motion .hero__lead[data-reveal].is-in { clip-path: inset(0 0 0 0 round var(--r)); }
.usas-motion .hero__lead .card__body > * { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.usas-motion .hero__lead.is-in .card__body > * { opacity: 1; transform: none; }
.usas-motion .hero__lead.is-in .card__body > *:nth-child(1) { transition-delay: .45s; }
.usas-motion .hero__lead.is-in .card__body > *:nth-child(2) { transition-delay: .58s; }
.usas-motion .hero__lead.is-in .card__body > *:nth-child(3) { transition-delay: .71s; }
.usas-motion .hero__lead.is-in .card__body > *:nth-child(4) { transition-delay: .84s; }
.usas-motion .hero__lead .card__media img { transform: scale(1.12); transition: none; will-change: transform; }

/* Titres de section : trait rouge qui se dessine */
.usas-motion .yard[data-reveal] { position: relative; }
.usas-motion .yard[data-reveal] .yard__title { position: relative; }
.usas-motion .yard[data-reveal] .yard__title::after {
	content: ""; position: absolute; left: 0; bottom: -6px; width: 42px; height: 4px; border-radius: 4px; background: var(--accent);
	transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out) .25s;
}
.usas-motion .yard.is-in .yard__title::after { transform: scaleX(1); }

/* Grand nom en bas de page : glisse et se colore */
.usas-motion .footer-mark[data-reveal] { transform: translate3d(0, 60px, 0); transition-duration: 1s, 1.2s; }
.footer-mark { background: linear-gradient(90deg, #5d8fe0 0%, #9cc0ff 45%, #5d8fe0 90%) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.usas-motion .footer-mark.is-in { animation: usas-sheen 7s ease-in-out 1s infinite; }
@keyframes usas-sheen { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }

/* Cartes : survol vivant */
.card, .rankcard, .newscard, .sidecard, .more-sport { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.card__media img { transition: transform .9s var(--ease-out); }
@media (hover: hover) {
	.card:not(.card--overlay):not(.card--compact):not(.card--latest):not(.card--ranked):hover { transform: translate3d(0, -6px, 0); }
	.card--stack:hover, .card--feature:hover, .card--lead:hover, .card--standard:hover { box-shadow: 0 18px 40px -18px rgba(14, 35, 71, .35); }
	.card:hover .card__media img { transform: scale(1.07); }
	.card--tile:hover { transform: translate3d(0, -6px, 0) scale(1.01); box-shadow: 0 22px 46px -20px rgba(14, 35, 71, .55); }
	.card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--ease-out); }
	.card:hover .card__title a { background-size: 100% 2px; }
	.rankcard__list li { transition: transform .35s var(--ease-out); }
	.rankcard__list li:hover { transform: translate3d(6px, 0, 0); }
	.latest__item { transition: transform .35s var(--ease-out); }
	.latest__item:hover { transform: translate3d(4px, 0, 0); }
	.feed__sports .sidecard__list a::after, .sidecard__list a::after { transition: transform .3s var(--ease-out); }
	.sidecard__list a:hover::after { transform: translate3d(5px, 0, 0); }
	.score { transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out); }
	.score:hover { transform: translate3d(0, -4px, 0); box-shadow: 0 14px 26px -16px rgba(14, 35, 71, .45); }
}

/* Boutons et pilules : réponse au clic */
.btn, .yard__tab, .scoreboard__tabs button, .primary-nav a, .icon-btn, .nav-toggle, .scoreboard__arrow { transition: transform .25s var(--ease-spring), background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.btn:active, .yard__tab:active, .scoreboard__tabs button:active, .icon-btn:active, .nav-toggle:active, .scoreboard__arrow:active { transform: scale(.94); }
.btn--accent:hover { box-shadow: 0 10px 22px -10px rgba(220, 20, 49, .7); transform: translate3d(0, -2px, 0); }

/* Point « en direct » qui pulse */
.score.is-live .score__status span:first-child::before, .primary-nav .menu-live > a::before, .scoreboard__label .dot, .gm.is-live .gm__status::before { animation: usas-pulse 1.6s ease-out infinite; }
@keyframes usas-pulse { 0% { box-shadow: 0 0 0 0 rgba(220, 20, 49, .55); } 70% { box-shadow: 0 0 0 9px rgba(220, 20, 49, 0); } 100% { box-shadow: 0 0 0 0 rgba(220, 20, 49, 0); } }

/* Cartes de scores : entrée en cascade */
.usas-motion .score:not(.is-shown), .usas-motion .gm:not(.is-shown) { opacity: 0; transform: translate3d(22px, 0, 0); }
.usas-motion .score.is-shown, .usas-motion .gm.is-shown { opacity: 1; transform: none; transition: opacity .55s var(--ease-out), transform .65s var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.usas-motion .score.no-anim, .usas-motion .gm.no-anim { transition: none; }

/* En-tête collant : se réduit, se cache en descendant, revient en remontant */
.site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); transition: transform .45s var(--ease-out), box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(14, 35, 71, .45); }
.site-header.is-hidden { transform: translate3d(0, calc(-100% - 8px), 0); }
@media (min-width: 901px) {
	.site-header__bar { transition: padding .35s var(--ease-out), min-height .35s var(--ease-out); }
	.site-header.is-scrolled .site-header__bar { padding-block: 6px; min-height: 58px; }
	.site-header .brand { transition: font-size .35s var(--ease-out); }
}
@media screen and (max-width: 600px) { .site-header { top: 0; } }

/* Barre de progression de lecture */
.usas-progress {
	position: fixed; left: 0; right: 0; top: var(--wp-admin--admin-bar--height, 0px); z-index: 99999; height: 3px;
	background: linear-gradient(90deg, var(--accent), #ff5a6e); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}

/* Menu mobile : les liens arrivent en cascade */
@media (max-width: 900px) {
	.usas-motion .primary-nav.is-open > ul > li { animation: usas-drop .45s var(--ease-out) both; }
	.usas-motion .primary-nav.is-open > ul > li:nth-child(2) { animation-delay: .04s; }
	.usas-motion .primary-nav.is-open > ul > li:nth-child(3) { animation-delay: .08s; }
	.usas-motion .primary-nav.is-open > ul > li:nth-child(4) { animation-delay: .12s; }
	.usas-motion .primary-nav.is-open > ul > li:nth-child(5) { animation-delay: .16s; }
	.usas-motion .primary-nav.is-open > ul > li:nth-child(n+6) { animation-delay: .2s; }
}
@keyframes usas-drop { from { opacity: 0; transform: translate3d(0, -10px, 0); } to { opacity: 1; transform: none; } }

/* Retour au défilement vers le haut : le bloc redescend à sa place */
.usas-motion [data-reveal][data-from="top"]:not(.is-in) { transform: translate3d(0, -28px, 0); }
.usas-motion .card--tile[data-reveal][data-from="top"]:not(.is-in), .usas-motion .rankcard[data-reveal][data-from="top"]:not(.is-in), .usas-motion .newscard[data-reveal][data-from="top"]:not(.is-in) { transform: translate3d(0, -34px, 0) scale(.97); }

/* Changement de page : transition native (Chrome, Edge, Safari récents) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: usas-page-out .32s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: usas-page-in .55s cubic-bezier(.16, 1, .3, 1) both; }
.site-header { view-transition-name: usas-header; }
::view-transition-group(usas-header) { animation-duration: .4s; }
@keyframes usas-page-out { to { opacity: 0; transform: translate3d(0, -18px, 0) scale(.985); filter: blur(2px); } }
@keyframes usas-page-in { from { opacity: 0; transform: translate3d(0, 26px, 0); } }

/* Autres navigateurs : la page sort en fondu */
.usas-motion #main, .usas-motion .site-footer { transition: opacity .26s ease, transform .26s ease; }
.usas-motion.is-leaving #main, .usas-motion.is-leaving .site-footer { opacity: 0; transform: translate3d(0, -14px, 0); }

/* Barre de chargement rouge pendant le changement de page */
.usas-loader {
	position: fixed; left: 0; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100000; height: 3px; width: 100%;
	background: linear-gradient(90deg, var(--accent), #ff7a8a, var(--accent)); transform-origin: 0 50%; transform: scaleX(0); opacity: 0; pointer-events: none;
}
.is-loading .usas-loader { opacity: 1; animation: usas-load 2.4s cubic-bezier(.1, .7, .2, 1) forwards; }
@keyframes usas-load { from { transform: scaleX(0); } to { transform: scaleX(.85); } }

/* Moins d'animations demandé : fondus doux, aucun déplacement */
@media (prefers-reduced-motion: reduce) {
	::view-transition-old(root), ::view-transition-new(root) { animation: none; }
	::view-transition-group(*) { animation-duration: .2s; }
}
.usas-calm [data-reveal][data-from="top"]:not(.is-in) { transform: none; }
.usas-calm [data-reveal], .usas-calm .card--tile[data-reveal], .usas-calm .rankcard[data-reveal], .usas-calm .newscard[data-reveal],
.usas-calm .footer-mark[data-reveal], .usas-calm .score:not(.is-shown), .usas-calm .gm:not(.is-shown), .usas-calm .hero__lead .card__body > * { transform: none; }
.usas-calm [data-reveal] { transition: opacity .8s ease; transition-delay: var(--reveal-delay, 0ms); }
.usas-calm .hero__lead[data-reveal] { clip-path: none; transition: opacity .8s ease; }
.usas-calm .hero__lead .card__media img { transform: none; }
.usas-calm .footer-mark.is-in, .usas-calm .score.is-live .score__status span:first-child::before, .usas-calm .primary-nav .menu-live > a::before,
.usas-calm .scoreboard__label .dot, .usas-calm .gm.is-live .gm__status::before, .usas-calm .primary-nav.is-open > ul > li { animation: none; }
.usas-calm .card:hover, .usas-calm .card--tile:hover, .usas-calm .score:hover, .usas-calm .btn--accent:hover,
.usas-calm .rankcard__list li:hover, .usas-calm .latest__item:hover, .usas-calm .card:hover .card__media img { transform: none; }
.usas-calm .site-header.is-hidden { transform: none; }

/* Formulaire de contact */
.contact-form { display: grid; gap: 14px; margin: 26px 0; padding: clamp(18px, 3vw, 28px); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); }
.contact-form p { margin: 0; }
.contact-form label { display: block; margin-bottom: 6px; font: 700 .9rem/1.2 var(--f-head); color: var(--ink); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea {
	width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: var(--r-s); background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--f-body);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--turf-2); box-shadow: 0 0 0 3px rgba(45, 107, 201, .22); }
.contact-form__note { font-size: .88rem; color: var(--muted); }
.contact-form__error { padding: 10px 14px; border-radius: var(--r-s); background: #fde8eb; color: var(--accent-ink); font-weight: 600; }
.contact-form--done { background: #e9f7ee; border-color: #b7e2c4; }
.contact-form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { border: 0; cursor: pointer; }

/* Impression : tout est visible, sans animation */
@media print {
	.usas-motion [data-reveal], .usas-motion .score, .usas-motion .gm { opacity: 1 !important; transform: none !important; clip-path: none !important; }
	.site-header { position: static; transform: none !important; }
	.usas-progress, .usas-loader { display: none; }
}

/* ==========================================================================
   Centre de match (page-game.php + assets/js/game.js)
   ========================================================================== */
.scoreboard__track, .score, .gm { -webkit-user-select: none; user-select: none; }
.game-wrap { padding-block: 22px 56px; }
.gc { min-height: 60vh; }
.gc__loading { display: grid; place-items: center; gap: 14px; padding: 90px 0; color: var(--muted); }
.gc__spinner { width: 38px; height: 38px; border-radius: 50%; border: 4px solid var(--wash); border-top-color: var(--accent); animation: gc-spin .8s linear infinite; }
@keyframes gc-spin { to { transform: rotate(360deg); } }
.gc__empty { max-width: 560px; margin: 40px auto; padding: 32px; text-align: center; background: var(--paper); border-radius: var(--r); }
.gc__empty-title { margin: 0 0 8px; font: 800 1.8rem/1.1 var(--f-head); color: var(--ink); }

.gc__head {
	position: relative; overflow: hidden; padding: clamp(18px, 3vw, 30px); border-radius: var(--r); color: #fff;
	background: radial-gradient(120% 140% at 0% 0%, var(--turf-2) 0%, var(--turf) 45%, var(--ink) 100%);
}
.gc__head::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 64px); pointer-events: none; }
.gc__head > * { position: relative; z-index: 1; }
.gc__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 18px; font: 700 .9rem/1.2 var(--f-head); }
.gc__back { color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.14); transition: background .2s ease; }
.gc__back:hover { background: rgba(255,255,255,.26); }
.gc__league { padding: 5px 12px; border-radius: 999px; background: var(--accent); }
.gc__status { display: inline-flex; align-items: center; gap: 8px; }
.gc__status .dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4d63; animation: usas-pulse 1.6s ease-out infinite; }
.gc__board { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(10px, 3vw, 36px); }
.gc__team { display: flex; align-items: center; gap: 14px; min-width: 0; }
.gc__team--home { flex-direction: row-reverse; text-align: right; }
.gc__badge {
	flex: none; display: grid; place-items: center; width: clamp(52px, 8vw, 84px); aspect-ratio: 1; border-radius: 50%;
	background: var(--team); border: 3px solid rgba(255,255,255,.85); box-shadow: 0 10px 24px -12px rgba(0,0,0,.6);
	font: 900 clamp(.8rem, 1.6vw, 1.15rem)/1 var(--f-head); letter-spacing: .02em; color: #fff;
}
.gc__teammeta { display: grid; gap: 4px; min-width: 0; }
.gc__teamname { font: 800 clamp(1rem, 2.4vw, 1.6rem)/1.1 var(--f-head); overflow-wrap: anywhere; }
.gc__record { font-size: .88rem; opacity: .8; }
.gc__team:not(.is-lead) .gc__teamname { opacity: .92; }
.gc__score { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 18px); font: 900 clamp(2.4rem, 7vw, 4.6rem)/1 var(--f-head); font-variant-numeric: tabular-nums; }
.gc__num { opacity: .75; }
.gc__num.is-lead { opacity: 1; }
.gc__sep { opacity: .5; font-weight: 400; }
.gc__vs { font-size: clamp(1.4rem, 4vw, 2.2rem); opacity: .7; }
.gc__info { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); font-size: .92rem; opacity: .9; }

.gc__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; margin-top: 22px; align-items: start; }
.gc__main, .gc__side { display: grid; gap: 22px; min-width: 0; }
.gc__card { padding: clamp(16px, 2.4vw, 24px); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); }
.gc__h { margin: 0 0 14px; font: 800 1.2rem/1.2 var(--f-head); color: var(--ink); }
.gc__tablewrap { overflow-x: auto; }
.gc__table { width: 100%; border-collapse: collapse; font: 600 1rem/1 var(--f-head); font-variant-numeric: tabular-nums; }
.gc__table th, .gc__table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.gc__table thead th { font-size: .8rem; color: var(--muted); }
.gc__table tbody th { text-align: left; color: var(--ink); }
.gc__table .gc__total { font-weight: 900; color: var(--accent); }
.gc__legend { display: flex; justify-content: space-between; font: 800 .85rem/1 var(--f-head); color: var(--muted); margin-bottom: 6px; }
.gc__stat { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.gc__stat:last-child { border-bottom: 0; }
.gc__sv { font: 800 1rem/1 var(--f-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.gc__sv:last-of-type { text-align: right; }
.gc__sl { font-size: .85rem; color: var(--muted); text-align: center; }
.gc__bar { grid-column: 1 / -1; display: flex; gap: 4px; height: 6px; }
.gc__bar span { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--team); transform-origin: left; animation: gc-grow .9s cubic-bezier(.16,1,.3,1) both; }
.gc__bar-h { transform-origin: right !important; }
@keyframes gc-grow { from { transform: scaleX(0); } }
.gc__playlist { margin: 0; padding: 0; list-style: none; display: grid; }
.gc__play { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.gc__play:last-child { border-bottom: 0; }
.gc__play.is-score { position: relative; }
.gc__play.is-score::before { content: ""; position: absolute; left: -12px; top: 14px; width: 4px; height: calc(100% - 28px); border-radius: 4px; background: var(--accent); }
.gc__when { font: 700 .82rem/1.3 var(--f-head); color: var(--muted); }
.gc__what { display: grid; gap: 3px; font-size: .95rem; color: var(--ink); }
.gc__tally { font: 900 .95rem/1 var(--f-head); color: var(--turf); white-space: nowrap; }
.gc__lteam + .gc__lteam { margin-top: 16px; }
.gc__lh { margin: 0 0 6px; font: 800 .95rem/1 var(--f-head); color: var(--turf); }
.gc__leader { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: .92rem; }
.gc__lcat { color: var(--muted); }
.gc__lname { font-weight: 700; color: var(--ink); }
.gc__lval { font: 800 .92rem/1.2 var(--f-head); color: var(--ink); }
.gc__series p { margin: 0; }
.gc__source { margin: 0; font-size: .82rem; color: var(--muted); }
.gc.is-first .gc__head, .gc.is-first .gc__card { animation: gc-in .7s cubic-bezier(.16,1,.3,1) both; }
.gc.is-first .gc__card:nth-child(2) { animation-delay: .08s; }
.gc.is-first .gc__card:nth-child(3) { animation-delay: .16s; }
@keyframes gc-in { from { opacity: 0; transform: translate3d(0, 22px, 0); } }
.usas-calm .gc__head, .usas-calm .gc__card { animation-name: usas-fade !important; }
@keyframes usas-fade { from { opacity: 0; } }
.usas-calm .gc__bar span { animation: none; }
@media (max-width: 900px) {
	.gc__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.gc__board { grid-template-columns: 1fr; justify-items: stretch; gap: 14px; }
	.gc__team--home { flex-direction: row; text-align: left; }
	.gc__score { justify-content: center; order: 3; }
	.gc__team--away { order: 1; } .gc__team--home { order: 2; }
	.gc__play { grid-template-columns: minmax(0, 1fr) auto; }
	.gc__when { grid-column: 1 / -1; }
}

/* Lien « scores de ce sport » sur les pages de catégorie */
.league-scores-link {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 16px; border-radius: 999px;
	background: var(--wash); color: var(--turf); font: 800 .92rem/1 var(--f-head); text-decoration: none; transition: background .2s ease, transform .25s ease;
}
.league-scores-link:hover { background: var(--rule); transform: translate3d(2px, 0, 0); }
.league-scores-link .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: usas-pulse 1.6s ease-out infinite; }
/* Barres de stats : extérieur en bleu, domicile en rouge (lisible même si les deux équipes ont la même couleur) */
.gc__bar .gc__bar-a { background: var(--turf-2); }
.gc__bar .gc__bar-h { background: var(--accent); }
.gc__legend span:first-child { color: var(--turf-2); }
.gc__legend span:last-child { color: var(--accent); }
/* Meilleurs joueurs : la valeur passe sous le nom (les valeurs longues ne chevauchent plus) */
.gc__leader { grid-template-columns: 82px minmax(0, 1fr); row-gap: 2px; }
.gc__lval { grid-column: 2; color: var(--turf); }
