/* AFK Players Abroad – charte afrik-foot (Blocksy : palette 1 = vert, 2 = lime) */
.afk-pa {
	--afk-green: var(--theme-palette-color-1, #638f30);
	--afk-lime: #c9d84a;
	--afk-orange: #f5a623;
	--afk-bg: #1a1a1a;
	--afk-card: #1f2226;
	--afk-line: #2e3238;
	--afk-line-2: #3a3f46;
	--afk-text: #ffffff;
	--afk-soft: #e6e8eb;
	--afk-muted: #a9b0b8;
	color: var(--afk-text);
	font-size: 15px;
	line-height: 1.45;
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0 0 32px;
}
.afk-pa * { box-sizing: border-box; }
.afk-pa h2 { margin: 8px 0 4px; font-size: 22px; font-weight: 800; line-height: 1.25; color: var(--afk-text); }
.afk-pa small { display: block; font-size: 12px; color: var(--afk-muted); }
.afk-pa-sub { margin: 0; font-size: 16px; font-weight: 600; color: var(--afk-lime); }
.afk-pa-updated { margin: -18px 0 0; font-size: 13px; color: var(--afk-muted); }
.afk-pa-empty { padding: 16px; background: var(--afk-card); border-radius: 8px; }
.afk-pa-lbl { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--afk-muted); font-weight: 600; }

/* Autres sélections */
.afk-pa-nations { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.afk-pa-nation { padding: 10px 14px; border-radius: 8px; border: 1px solid var(--afk-line-2); color: var(--afk-text); text-decoration: none; font-weight: 700; font-size: 14px; }
.afk-pa-nation:hover { border-color: var(--afk-lime); color: var(--afk-text); }
.afk-pa-nation.is-current { background: #fff; color: #14171a; border-color: #fff; }

/* KPI */
.afk-pa-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.afk-pa-kpi { background: var(--afk-card); border: 1px solid var(--afk-line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.afk-pa-kpi-v { font-size: 30px; font-weight: 800; }

/* Filtres + pays */
.afk-pa-bar { display: flex; flex-direction: column; gap: 10px; }
.afk-pa-row { display: flex; flex-wrap: wrap; gap: 8px; }
.afk-pa-fbtn { font: inherit; font-size: 13px; font-weight: 600; padding: 10px 14px; min-height: 44px; border-radius: 8px; border: 1px solid var(--afk-line-2); background: #14171a; color: var(--afk-soft); cursor: pointer; }
.afk-pa-fbtn[aria-pressed="true"] { background: var(--afk-green); border-color: var(--afk-green); color: #fff; }
.afk-pa-chip { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 999px; background: var(--afk-card); border: 1px solid var(--afk-line); color: var(--afk-text); text-decoration: none; font-size: 13px; font-weight: 600; }
.afk-pa-chip:hover { border-color: var(--afk-lime); color: var(--afk-text); }
.afk-pa-chip em { font-style: normal; color: var(--afk-lime); }
.afk-pa-chip.is-empty { display: none; }

/* Tops */
.afk-pa-tops { display: flex; flex-direction: column; gap: 12px; }
.afk-pa-tops-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.afk-pa-top { margin: 0; min-height: 0; background: var(--afk-card); border: 1px solid var(--afk-line); border-top: 3px solid var(--afk-lime); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.afk-pa-top-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.afk-pa-top-h { font-size: 14px; font-weight: 700; color: var(--afk-lime); }

/* Groupes et lignes joueurs */
.afk-pa-group { display: flex; flex-direction: column; gap: 8px; scroll-margin-top: calc(var(--afk-pa-sticky-top, 0px) + 140px); }
.afk-pa-count { font-size: 14px; color: var(--afk-muted); font-weight: 600; }
.afk-pa-thead { display: flex; gap: 16px; padding: 0 12px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--afk-muted); font-weight: 600; }
.afk-pa-thead span:nth-child(1), .afk-pa-pmain .afk-pa-who { flex: 1 1 260px; }
.afk-pa-thead span:nth-child(2), .afk-pa-pmain .afk-pa-last { flex: 1 1 250px; }
.afk-pa-thead span:nth-child(3), .afk-pa-pmain .afk-pa-30 { flex: 0 1 220px; }
.afk-pa-thead span:nth-child(4), .afk-pa-pmain .afk-pa-tgl { width: 96px; flex: 0 0 96px; }
.afk-pa-p { background: var(--afk-card); border: 1px solid var(--afk-line); border-radius: 8px; }
.afk-pa-p.is-hidden { display: none; }
.afk-pa-pmain { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 10px 12px; cursor: pointer; list-style: none; }
.afk-pa-pmain::-webkit-details-marker { display: none; }
.afk-pa-pmain:focus-visible { outline: 2px solid var(--afk-lime); outline-offset: 2px; border-radius: 8px; }
.afk-pa-who { display: flex; gap: 10px; align-items: center; min-width: 0; }
.afk-pa-who b, .afk-pa-name { display: block; font-size: 15px; font-weight: 700; color: var(--afk-text); }
.afk-pa-photo { object-fit: cover; padding: 0; border: 0; max-width: none; }
.afk-pa-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--afk-line); color: var(--afk-lime); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.afk-pa-last { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.afk-pa-30 { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--afk-soft); }
.afk-pa-tgl { display: inline-flex; gap: 6px; align-items: center; justify-content: center; min-height: 44px; margin-left: auto; padding: 0 10px; border-radius: 8px; border: 1px solid var(--afk-line-2); background: #14171a; color: var(--afk-soft); font-size: 12px; font-weight: 700; }
.afk-pa-p[open] .afk-pa-tgl svg { transform: rotate(180deg); }
.afk-pa-det { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; padding: 12px 14px 14px; border-top: 1px solid var(--afk-line); font-size: 13px; }
.afk-pa-det > div { display: flex; flex-direction: column; gap: 4px; }

.afk-pa-pill { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.afk-pa-pill--start { background: var(--afk-green); color: #fff; }
.afk-pa-pill--sub { background: var(--afk-lime); color: #14171a; }
.afk-pa-pill--bench { background: var(--afk-line-2); color: var(--afk-soft); }
.afk-pa-pill--out { color: var(--afk-orange); border: 1px solid var(--afk-orange); }
.afk-pa-pill { display: inline-flex; gap: 5px; align-items: center; }
.afk-pa-pill--injured { background: #4a1f22; color: #ff8f8f; border: 1px solid #ff8f8f; }
.afk-pa-pill--suspended { background: #3d3510; color: #f5d34f; border: 1px solid #f5d34f; }
.afk-pa-pill--ineligible { background: transparent; color: #c7ccd2; border: 1px solid #6b737c; }
.afk-pa-abs-ret { font-size: 12px; color: #c7ccd2; }
.afk-pa-ic { width: 14px; height: 14px; flex-shrink: 0; color: var(--afk-muted); }
.afk-pa-pill .afk-pa-ic { width: 12px; height: 12px; color: currentColor; }
.afk-pa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.afk-pa-mini { font-size: 13px; font-weight: 700; color: var(--afk-soft); display: inline-flex; align-items: center; gap: 4px; }
.afk-pa-rate { font-weight: 800; font-size: 13px; padding: 3px 7px; border-radius: 6px; color: #14171a; }
.afk-pa-rate--hi { background: #7fd15a; }
.afk-pa-rate--mid { background: var(--afk-lime); }
.afk-pa-rate--lo { background: var(--afk-orange); }
.afk-pa-rate--none { background: var(--afk-line-2); color: var(--afk-soft); }
.afk-pa-wl { font-weight: 700; font-size: 12px; padding: 1px 5px; border-radius: 4px; color: #14171a; }
.afk-pa-wl--w { background: #7fd15a; }
.afk-pa-wl--d { background: #c9cdd2; }
.afk-pa-wl--l { background: var(--afk-orange); }

.afk-pa-more { font: inherit; font-size: 13px; font-weight: 700; min-height: 44px; border-radius: 8px; border: 1px dashed #4a5058; background: transparent; color: var(--afk-lime); cursor: pointer; }
.afk-pa-other-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.afk-pa-other-list .afk-pa-p { padding: 10px 12px; }
.afk-pa-note { margin: 0; font-size: 14px; color: var(--afk-muted); }
.afk-pa-method { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--afk-line); font-size: 12px; line-height: 1.6; color: var(--afk-muted); }

/* Mobile : barre de filtres collante et défilante */
@media (max-width: 640px) {
	/* 0.4.6 : plus de défilement horizontal (règle du 26/11) : filtres et pastilles passent à la ligne, barre non collante */
	.afk-pa-bar { position: static; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--afk-line); }
	.afk-pa-bar .afk-pa-row { flex-wrap: wrap; overflow: visible; gap: 8px; }
	.afk-pa-bar .afk-pa-row > * { flex: 0 1 auto; }
	.afk-pa-fbtn { padding: 8px 12px; }
	.afk-pa-chip { padding: 7px 11px; font-size: 12px; }
	.afk-pa-thead, .afk-pa-30 { display: none; }
	.afk-pa-pmain { gap: 8px 12px; }
	/* Lignes joueurs : bouton Détails réduit à une icône en haut à droite (2 lignes au lieu de 3) */
	.afk-pa-pmain { position: relative; padding-right: 60px; }
	.afk-pa-pmain .afk-pa-tgl { position: absolute; top: 8px; right: 8px; width: 44px; min-width: 44px; height: 44px; padding: 0; flex: none; margin: 0; }
	.afk-pa-tgl-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	/* Indicateurs en 2 × 2 */
	.afk-pa-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.afk-pa-kpi { padding: 12px; }
	.afk-pa-kpi-v { font-size: 24px; }
	/* Tops : empilés (0.4.6, plus de carrousel horizontal) */
	.afk-pa-tops-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; overflow: visible; }
	.afk-pa-top { min-width: 0; }
}
/* 0.3.0 : section « joueurs au pays » */
.afk-pa-home { margin-top: 40px; padding-top: 24px; border-top: 2px solid var(--afk-green, #638f30); }
.afk-pa-group > .afk-pa-note { margin: -4px 0 12px; }
.afk-pa-chip--home { border-style: dashed; }

/* ------------------------------------------------------------------ */
/* 0.4.0 – Hub sélection ([afk_selection]) et fiches joueurs            */
/* ------------------------------------------------------------------ */
.afk-hub, .afk-player { gap: 28px; }
.afk-hub h2, .afk-player h2 { font-size: 20px; }
.afk-hub-h3 { margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.afk-hub-h3 small { display: inline; margin-left: 8px; font-weight: 500; }
.afk-hub-muted { color: var(--afk-muted); }
.afk-hub-right { text-align: right; }
/* Règle de design (26/11/2026) : aucun défilement horizontal, les tableaux se replient sur mobile */
.afk-hub-scroll { overflow: visible; min-width: 0; }
.afk-hub-table { width: 100%; table-layout: auto; }
.afk-hub-av { --afk-av: 28px; width: var(--afk-av) !important; height: var(--afk-av) !important; font-size: 11px; }
.afk-hub-pl { display: inline-flex; align-items: center; gap: 8px; color: var(--afk-text); text-decoration: none; font-weight: 600; }
.afk-hub-pl:hover { color: var(--afk-lime); }

/* Onglets d'ancres */
.afk-hub-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--afk-line); }
.afk-hub-tabs a { padding: 12px 14px; color: var(--afk-muted); text-decoration: none; font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; }
.afk-hub-tabs a:hover, .afk-hub-tabs a.is-current { color: var(--afk-text); border-color: var(--afk-lime); }

/* Synthèse */
.afk-hub-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.afk-hub-kv { font-size: 17px; font-weight: 700; line-height: 1.2; }
.afk-hub-form { display: flex; gap: 4px; margin-top: 4px; }
.afk-hub-form .afk-pa-wl { width: 26px; height: 26px; }
.afk-hub-delta { font-style: normal; font-size: 13px; font-weight: 700; }
.afk-hub-delta--up { color: var(--afk-lime); }
.afk-hub-delta--down { color: #ff8a80; }

/* Prochain match */
.afk-hub-next { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding: 20px 22px; border-radius: 12px; border: 1px solid var(--afk-green); background: linear-gradient(90deg, rgba(99,143,48,.25), var(--afk-card)); }
.afk-hub-next-main { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.afk-hub-next-title { font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.afk-hub-next-sub { font-size: 14px; color: var(--afk-soft); }
.afk-hub-next-side { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.afk-hub-tv { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 8px; background: var(--afk-bg); border: 1px solid var(--afk-line); font-size: 14px; }
.afk-hub-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 8px; background: var(--afk-green); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none; }

/* Colonnes */
.afk-hub-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.afk-hub-main, .afk-hub-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.afk-hub-box { background: var(--afk-card); border: 1px solid var(--afk-line); border-radius: 10px; padding: 14px 16px; min-width: 0; }
.afk-hub-box h2 { margin: 0 0 8px; font-size: 16px; }
.afk-hub-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.afk-hub-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.afk-hub-head a { font-weight: 600; font-size: 14px; color: var(--afk-lime); text-decoration: none; }

/* Tables */
.afk-hub-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.afk-hub-table th { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--afk-muted); text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--afk-line-2); font-weight: 600; }
.afk-hub-table td { padding: 9px 8px; border-bottom: 1px solid var(--afk-line); vertical-align: middle; }
.afk-hub-table td small { display: block; font-size: 11px; color: var(--afk-muted); margin-top: 2px; }
.afk-hub-table tr:last-child td { border-bottom: 0; }
.afk-hub-date { white-space: nowrap; color: var(--afk-muted); font-size: 12px; width: 1%; }
.afk-hub-team { font-weight: 600; }
.afk-hub-score { display: inline-block; font-weight: 800; background: var(--afk-bg); border: 1px solid var(--afk-line-2); border-radius: 4px; padding: 0 7px; margin: 0 4px; }
.afk-hub-standings td:first-child, .afk-hub-standings th:first-child { width: 1%; color: var(--afk-muted); }
.afk-hub-standings tr.is-us td { color: var(--afk-lime); font-weight: 700; }
.afk-hub-facts td:first-child { width: 36%; }

/* Actus */
.afk-hub-news { display: flex; flex-direction: column; gap: 14px; }
.afk-hub-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.afk-hub-card { display: flex; flex-direction: column; background: var(--afk-card); border-radius: 10px; overflow: hidden; color: var(--afk-text); text-decoration: none; border: 1px solid var(--afk-line); }
.afk-hub-card:hover { border-color: var(--afk-lime); color: var(--afk-text); }
.afk-hub-card img, .afk-hub-card-ph { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--afk-line); }
.afk-hub-card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px; }
.afk-hub-card-body b { font-size: 15px; line-height: 1.3; }
.afk-hub-cat { color: var(--afk-lime) !important; font-weight: 700; }
.afk-hub-list { list-style: none; margin: 0; padding: 0; }
.afk-hub-list li { border-bottom: 1px solid var(--afk-line); }
.afk-hub-list a { display: flex; gap: 12px; padding: 10px 0; color: var(--afk-text); text-decoration: none; font-size: 14px; }
.afk-hub-list a:hover { color: var(--afk-lime); }
.afk-hub-list-date { flex: none; width: 56px; color: var(--afk-muted); font-size: 12px; padding-top: 2px; }

/* Grille effectif (minutes par match) */
.afk-hub-squad { display: flex; flex-direction: column; gap: 10px; }
.afk-hub-switch { display: flex; gap: 6px; }
.afk-hub-switch button { font: inherit; font-size: 13px; font-weight: 600; min-height: 40px; padding: 8px 14px; border-radius: 20px; border: 1px solid var(--afk-line-2); background: none; color: var(--afk-text); cursor: pointer; }
.afk-hub-switch button[aria-selected="true"] { background: var(--afk-green); border-color: var(--afk-green); color: #fff; }
[data-panel].is-hidden { display: none; }
.afk-hub-legend { margin: 0; font-size: 12px; color: var(--afk-muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.afk-hub-lg-bar { display: inline-block; width: 34px; height: 10px; border-radius: 2px; background: linear-gradient(90deg, #334a3a 70%, #1c231f 70%); }
.afk-hub-lg-bench { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: #1c231f; border: 1px solid #2a3330; }
.afk-hub-g { color: var(--afk-lime); font-style: normal; font-weight: 700; }
.afk-hub-a { color: var(--afk-soft); font-style: normal; font-weight: 700; }
.afk-hub-yc, .afk-hub-rc { display: inline-block; width: 7px; height: 10px; margin-left: 3px; vertical-align: middle; background: #e2c300; }
.afk-hub-rc { background: #d23c3c; }
.afk-hub-grid { table-layout: fixed; }
.afk-hub-grid th.afk-hub-gm { text-align: center; }
.afk-hub-grid th.afk-hub-gm span { display: block; color: var(--afk-text); text-transform: none; letter-spacing: 0; font-size: 12px; }
.afk-hub-grid th.afk-hub-gm b { display: block; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--afk-soft); }
.afk-hub-grid th.afk-hub-gm small { color: var(--afk-muted); }
.afk-hub-grid .afk-hub-gp { width: 22%; }
.afk-hub-grid td.afk-hub-gp { overflow: hidden; }
.afk-hub-grid td.afk-hub-gp .afk-hub-pl, .afk-hub-grid td.afk-hub-gp small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.afk-hub-grid .afk-hub-gh td { padding: 10px 8px 4px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--afk-muted); background: rgba(255,255,255,.02); }
.afk-hub-grid td { padding: 6px 8px; }
.afk-hub-abs { text-align: center; color: var(--afk-muted); font-size: 12px; }
/* Barres sobres (26/11) : le vert vif est réservé aux buts, lisible sur mobile */
.afk-hub-bar { position: relative; height: 22px; border-radius: 3px; overflow: hidden; background: #1c231f; display: flex; justify-content: space-between; align-items: center; padding: 0 6px; font-size: 12px; font-weight: 700; color: var(--afk-text); }
.afk-hub-bar::before { content: ""; position: absolute; inset: 0; width: var(--afk-pct, 0%); background: #334a3a; }
.afk-hub-bar > * { position: relative; }
.afk-hub-bar.is-light { color: var(--afk-soft); }
.afk-hub-bar.is-bench { color: var(--afk-muted); font-weight: 600; }
.afk-hub-marks { display: inline-flex; gap: 2px; align-items: center; font-size: 11px; }
.afk-hub-camp { width: 100%; }

/* Mobile */
@media (max-width: 782px) {
	.afk-hub-cols { grid-template-columns: minmax(0, 1fr); }
	.afk-hub-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.afk-hub-kv { font-size: 15px; }
	.afk-hub-next { padding: 16px; }
	.afk-hub-next-title { font-size: 22px; }
	/* Onglets : grille de pastilles, 3 par ligne, sans défilement */
	.afk-hub-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; border-bottom: 0; }
	.afk-hub-tabs a { padding: 9px 6px; text-align: center; border: 1px solid var(--afk-line); border-radius: 8px; font-size: 13px; color: var(--afk-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.afk-hub-tabs a:hover, .afk-hub-tabs a.is-current { background: var(--afk-green); border-color: var(--afk-green); color: #fff; }
	/* Grille des minutes : 5 colonnes étroites, en-tête réduit à la date, barres = minutes seules */
	.afk-hub-grid .afk-hub-gp { width: 36%; }
	.afk-hub-grid .afk-hub-gp .afk-hub-av { display: none; }
	.afk-hub-bar.is-bench > span:first-child { display: none; } /* bloc sombre seul = banc (voir légende) */
	.afk-hub-grid th.afk-hub-gm b, .afk-hub-grid th.afk-hub-gm small { display: none; }
	.afk-hub-grid th.afk-hub-gm span { font-size: 11px; }
	.afk-hub-grid td { padding: 5px 2px; }
	.afk-hub-bar { padding: 0 4px; font-size: 11px; height: 20px; }
	.afk-hub-marks { font-size: 9px; gap: 1px; }
	.afk-hub-yc, .afk-hub-rc { width: 5px; height: 8px; margin-left: 1px; }
	.afk-hub-abs { font-size: 11px; }
	/* Tableaux de totaux : colonnes secondaires masquées (poste, club, titularisations, cartons, statut) */
	.afk-hub-table th, .afk-hub-table td { padding-left: 6px; padding-right: 6px; }
	.afk-hub-camp--campaign th:nth-child(2), .afk-hub-camp--campaign td:nth-child(2),
	.afk-hub-camp--campaign th:nth-child(3), .afk-hub-camp--campaign td:nth-child(3),
	.afk-hub-camp--campaign th:nth-child(5), .afk-hub-camp--campaign td:nth-child(5),
	.afk-hub-camp--campaign th:nth-child(9), .afk-hub-camp--campaign td:nth-child(9),
	.afk-hub-camp--campaign th:nth-child(10), .afk-hub-camp--campaign td:nth-child(10),
	.afk-hub-camp--abroad th:nth-child(2), .afk-hub-camp--abroad td:nth-child(2),
	.afk-hub-camp--abroad th:nth-child(6), .afk-hub-camp--abroad td:nth-child(6),
	.afk-hub-camp--season th:nth-child(3), .afk-hub-camp--season td:nth-child(3),
	.afk-hub-camp--season th:nth-child(7), .afk-hub-camp--season td:nth-child(7),
	.afk-hub-camp--season th:nth-child(8), .afk-hub-camp--season td:nth-child(8),
	.afk-hub-camp--matches th:nth-child(3), .afk-hub-camp--matches td:nth-child(3) { display: none; }
	.afk-hub-camp td small { display: block; }
	.afk-hub-camp { table-layout: fixed; }
	.afk-hub-camp th:first-child, .afk-hub-camp td:first-child { width: 38%; }
	.afk-hub-camp--abroad th:nth-child(3), .afk-hub-camp--abroad td:nth-child(3), .afk-hub-camp--matches th:nth-child(2), .afk-hub-camp--matches td:nth-child(2) { width: 30%; }
	.afk-hub-camp td, .afk-hub-camp th { overflow-wrap: anywhere; }
	.afk-hub-camp .afk-pa-pill { white-space: normal; display: inline-block; }
}

/* Fiche joueur */
.afk-player-hero { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 20px 22px; border-radius: 12px; background: var(--afk-card); border: 1px solid var(--afk-line); }
.afk-player-photo { --afk-av: 120px; flex: none; border: 3px solid var(--afk-green); background: var(--afk-line); font-size: 32px; }
.afk-player-id { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.afk-player-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--afk-muted); }
.afk-player-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 4px; background: rgba(99,143,48,.25); border: 1px solid var(--afk-green); color: var(--afk-lime); font-weight: 700; }
.afk-player-chip img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }
.afk-player-club { font-size: 15px; color: var(--afk-soft); }
.afk-player-club a { color: var(--afk-lime); text-decoration: none; }
.afk-player-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; flex: 0 1 340px; }
.afk-player-kpis .afk-pa-kpi { align-items: center; text-align: center; padding: 10px; }
.afk-player-kpis .afk-pa-kpi-v { font-size: 26px; }
.afk-player-sel { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--afk-green); background: linear-gradient(90deg, rgba(99,143,48,.25), var(--afk-card)); }
.afk-player-sel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.afk-player-sel-grid > div { display: flex; flex-direction: column; gap: 2px; }
.afk-player-sel-grid b { font-size: 20px; }
.afk-player-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.afk-player-tile { background: var(--afk-card); border: 1px solid var(--afk-line); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.afk-player-tile b { font-size: 22px; font-weight: 800; }
.afk-player-avail { display: flex; align-items: center; gap: 10px; }
.afk-player-dot { width: 10px; height: 10px; border-radius: 50%; background: #5ec24a; flex: none; }
.afk-player-dot--out { background: #ff8a80; }
.afk-player-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 782px) {
	.afk-player-cols { grid-template-columns: minmax(0, 1fr); }
	.afk-player-kpis { flex-basis: 100%; }
	.afk-player-photo { --afk-av: 88px; }
}

/* 0.4.0 – liens vers les fiches joueurs dans le tracker (le résumé <summary> reste cliquable autour) */
.afk-pa-plink { color: inherit; text-decoration: none; }
.afk-pa-plink:hover { color: var(--afk-lime); text-decoration: underline; }

/* 0.4.5 : encart « Équipe nationale » en fin d'article */
.afk-link-box { margin: 28px 0; padding: 16px 18px; border-radius: 12px; background: var(--afk-card); border: 1px solid var(--afk-line); border-left: 4px solid var(--afk-green); }
.afk-link-box-title { margin: 0 0 8px; display: flex; flex-direction: column; gap: 2px; }
.afk-link-box-title b { font-size: 18px; color: var(--afk-text); }
.afk-link-box-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.afk-link-box-list a { color: var(--afk-lime); font-weight: 600; text-decoration: none; }
.afk-link-box-list a:hover { text-decoration: underline; }
.afk-pa-hublinks { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.afk-hub-btn--ghost { background: transparent; border: 1px solid var(--afk-line); color: var(--afk-text); }
