/* Cresus365 – interface des pages de matchs et de compétitions */
:root {
	--c365x-ink: var(--wp--preset--color--contrast, #111318);
	--c365x-muted: var(--wp--preset--color--contrast-2, #5B6170);
	--c365x-line: #E3E1DB;
	--c365x-soft: var(--wp--preset--color--base-2, #F7F6F3);
	--c365x-paper: #fff;
	--c365x-home: #111318;
	--c365x-away: #0A6CC2; /* bleu assombri : contraste 5,3:1 sur blanc */
	--c365x-win: #0F7A57;
	--c365x-draw: #B8BCC6;
	--c365x-loss: #C92A2A;
	--c365x-radius: 14px;
}

.c365x-logo { display: inline-block; object-fit: contain; vertical-align: middle; flex: none; }
.c365x-source { font-size: .78rem; color: var(--c365x-muted); margin: .6rem 0 0; }
.c365x-small { font-size: .85rem; color: var(--c365x-muted); margin: .4rem 0; }
.c365x-note { font-size: .82rem; color: var(--c365x-muted); margin: 1rem 0 0; line-height: 1.5; }
.c365x-kicker { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem; margin: 0 0 .75rem; }
.c365x-link { font-weight: 600; text-decoration: none; color: var(--c365x-away); }
.c365x-link:hover { text-decoration: underline; }

.c365x-card {
	background: var(--c365x-paper);
	border: 1px solid var(--c365x-line);
	border-radius: var(--c365x-radius);
	padding: 1.1rem 1.2rem;
	margin: 1rem 0;
}
.c365x-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0 0; }
.c365x-grid2 .c365x-card { margin: 0; }
@media (max-width: 680px) { .c365x-grid2 { grid-template-columns: 1fr; } }

/* ---------- En-tête de match ---------- */
.c365x-hero {
	background: var(--c365x-home);
	color: #fff;
	border-radius: 20px;
	padding: 1.2rem 1.4rem 1.4rem;
	margin: 0 0 1.6rem;
	background-image: radial-gradient(120% 90% at 100% 0%, rgba(24, 143, 243, .35), transparent 60%);
}
.c365x-hero-top { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.2rem; }
.c365x-chip {
	display: inline-flex; align-items: center; gap: .3rem;
	font-size: .78rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px;
	background: var(--c365x-away); color: #fff; text-decoration: none;
}
.c365x-chip:hover { filter: brightness(1.1); color: #fff; }
.c365x-chip-ghost { background: rgba(255, 255, 255, .12); color: inherit; }
.c365x-card .c365x-chip-ghost, .c365x-kicker .c365x-chip-ghost { background: var(--c365x-soft); color: var(--c365x-muted); margin-left: auto; }
.c365x-status { margin-left: auto; font-size: .78rem; font-weight: 600; opacity: .85; display: inline-flex; align-items: center; gap: .4rem; }
.c365x-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c365x-draw); }
.c365x-status-next::before { background: var(--c365x-win); }
.c365x-status-live::before { background: var(--c365x-loss); animation: c365x-pulse 1.4s infinite; }
@keyframes c365x-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .c365x-status-live::before { animation: none; } }

.c365x-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 1rem; }
.c365x-team { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; }
.c365x-team .c365x-logo { width: 64px; height: 64px; background: #fff; border-radius: 50%; padding: 8px; box-sizing: border-box; }
.c365x-team-name { font-weight: 800; font-size: 1.15rem; line-height: 1.2; }
.c365x-team-meta { font-size: .8rem; opacity: .75; }
.c365x-center { display: flex; flex-direction: column; align-items: center; padding-top: .9rem; min-width: 7rem; }
.c365x-time, .c365x-score { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.c365x-score span { opacity: .5; margin: 0 .3rem; }
.c365x-date { font-size: .82rem; opacity: .75; margin-top: .45rem; text-align: center; }
.c365x-hero-meta { text-align: center; font-size: .82rem; opacity: .7; margin-top: 1rem; }
.c365x-hero .c365x-form { justify-content: center; }
@media (max-width: 560px) {
	.c365x-hero { padding: 1rem; }
	.c365x-team .c365x-logo { width: 48px; height: 48px; padding: 6px; }
	.c365x-team-name { font-size: .95rem; }
	.c365x-time, .c365x-score { font-size: 1.9rem; }
	.c365x-center { min-width: 5rem; }
	.c365x-hero .c365x-r { width: 18px; height: 18px; font-size: .75rem; }
}

/* ---------- Probabilités ---------- */
.c365x-prob { margin: 0 0 .5rem; }
.c365x-prob-compact { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .15); }
.c365x-prob-title { display: block; font-size: .75rem; opacity: .7; margin-bottom: .45rem; text-align: center; }
.c365x-prob-bar { display: flex; gap: 3px; border-radius: 10px; overflow: hidden; }
.c365x-prob-bar > span { display: flex; flex-direction: column; justify-content: center; padding: .55rem .7rem; min-width: 0; color: #fff; font-size: .9rem; line-height: 1.2; }
.c365x-prob-bar small { font-size: .75rem; opacity: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c365x-prob-h { background: var(--c365x-home); }
.c365x-prob-n { background: var(--c365x-draw); color: var(--c365x-ink) !important; text-align: center; align-items: center; }
.c365x-prob-a { background: var(--c365x-away); text-align: right; align-items: flex-end; }
.c365x-hero .c365x-prob-h { background: #fff; color: var(--c365x-home); }
.c365x-prob-compact .c365x-prob-bar > span { padding: .35rem .6rem; font-size: .82rem; }
.c365x-prob-legend { display: flex; justify-content: space-between; font-size: .75rem; opacity: .7; margin-top: .35rem; }

/* ---------- Comparaisons face à face ---------- */
.c365x-duel-head { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .6rem; margin-bottom: .2rem; border-bottom: 1px solid var(--c365x-line); }
.c365x-th { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; }
.c365x-th.c365x-a { color: var(--c365x-away); }
.c365x-duel-row { display: grid; grid-template-columns: minmax(3.2rem, auto) 1fr minmax(3.2rem, auto); align-items: center; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid var(--c365x-soft); }
.c365x-duel-row:last-of-type { border-bottom: 0; }
.c365x-v { font-weight: 600; font-variant-numeric: tabular-nums; font-size: .92rem; color: var(--c365x-muted); white-space: nowrap; }
.c365x-v.c365x-a { text-align: right; }
.c365x-v.c365x-best { color: var(--c365x-ink); font-weight: 800; }
.c365x-v.c365x-a.c365x-best { color: var(--c365x-away); }
.c365x-mid { display: flex; flex-direction: column; align-items: center; gap: .3rem; min-width: 0; }
.c365x-lbl { font-size: .8rem; color: var(--c365x-muted); text-align: center; }
.c365x-track { display: flex; width: 100%; gap: 4px; height: 6px; }
.c365x-half { flex: 1; background: var(--c365x-soft); border-radius: 3px; display: flex; overflow: hidden; }
.c365x-half-h { justify-content: flex-end; }
.c365x-fill { display: block; height: 100%; border-radius: 3px; }
.c365x-fill-h { background: var(--c365x-home); }
.c365x-fill-a { background: var(--c365x-away); }
.c365x-row-plain .c365x-v { color: var(--c365x-ink); }
@media (max-width: 480px) {
	.c365x-card { padding: .9rem; }
	.c365x-duel-row { gap: .5rem; grid-template-columns: minmax(2.6rem, auto) 1fr minmax(2.6rem, auto); }
	.c365x-v { font-size: .82rem; }
	.c365x-duel-row .c365x-form { flex-wrap: wrap; max-width: 4.6rem; }
}

/* ---------- Forme ---------- */
.c365x-form { display: inline-flex; gap: 3px; }
.c365x-r { width: 20px; height: 20px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; color: #fff; }
.c365x-r-v { background: var(--c365x-win); }
.c365x-r-n { background: var(--c365x-draw); color: var(--c365x-ink); }
.c365x-r-d { background: var(--c365x-loss); }

/* ---------- Chiffres clés ---------- */
.c365x-facts { margin: 1rem 0 1.4rem; }
.c365x-facts .c365x-kicker { font-size: 1.05rem; }
.c365x-facts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .7rem; }
.c365x-fact { --c365x-side: var(--c365x-draw); background: var(--c365x-soft); border-radius: 12px; padding: .85rem 1rem; font-size: .92rem; line-height: 1.45; }
.c365x-fact::before { content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: var(--c365x-side); margin-right: .5rem; vertical-align: .05em; }
.c365x-fact-h { --c365x-side: var(--c365x-home); }
.c365x-fact-a { --c365x-side: var(--c365x-away); }

/* ---------- Domicile / extérieur ---------- */
.c365x-big { font-size: 1.25rem; font-weight: 800; margin: 0 0 .5rem; font-variant-numeric: tabular-nums; }
.c365x-wdl { display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 2px; background: var(--c365x-soft); }
.c365x-wdl > span { display: block; height: 100%; }
.c365x-wdl-v { background: var(--c365x-win); }
.c365x-wdl-n { background: var(--c365x-draw); }
.c365x-wdl-d { background: var(--c365x-loss); }
.c365x-wdl-h { background: var(--c365x-home); }
.c365x-wdl-a { background: var(--c365x-away); }
.c365x-results { list-style: none; margin: .6rem 0 0; padding: 0; }
.c365x-results li { display: flex; gap: .6rem; align-items: center; font-size: .88rem; padding: .3rem 0; border-top: 1px solid var(--c365x-soft); }
.c365x-results b { display: inline-block; min-width: 2.6rem; text-align: center; border-radius: 5px; padding: .05rem .3rem; color: #fff; font-variant-numeric: tabular-nums; }
.c365x-res-v b { background: var(--c365x-win); }
.c365x-res-n b { background: var(--c365x-draw); color: var(--c365x-ink); }
.c365x-res-d b { background: var(--c365x-loss); }

/* ---------- Minutes ---------- */
.c365x-cols { display: flex; gap: 6px; align-items: flex-end; height: 140px; padding-bottom: 1.4rem; position: relative; }
.c365x-col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.c365x-colbars { flex: 1; width: 100%; display: flex; gap: 2px; align-items: flex-end; }
.c365x-colbars > span { flex: 1; position: relative; min-height: 2px; border-radius: 3px 3px 0 0; }
.c365x-colbars i { position: absolute; top: -1.15rem; left: 0; right: 0; text-align: center; font-style: normal; font-size: .75rem; color: var(--c365x-muted); }
.c365x-cb-f { background: var(--c365x-win); }
.c365x-cb-a { background: var(--c365x-loss); }
.c365x-col-l { font-size: .75rem; color: var(--c365x-muted); margin-top: .3rem; white-space: nowrap; }
.c365x-legend { font-size: .78rem; color: var(--c365x-muted); display: flex; align-items: center; gap: .35rem; margin: .2rem 0 .8rem; }
.c365x-dot-f, .c365x-dot-a { width: 10px; height: 10px; border-radius: 3px; display: inline-block; background: var(--c365x-win); }
.c365x-dot-a { background: var(--c365x-loss); margin-left: .6rem; }
.c365x-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0; }
.c365x-tiles div { background: var(--c365x-soft); border-radius: 10px; padding: .5rem .7rem; }
.c365x-tiles dt { font-size: .75rem; color: var(--c365x-muted); }
.c365x-tiles dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- Joueurs ---------- */
.c365x-players { display: grid; gap: .5rem; margin: 1rem 0 0; }
.c365x-player { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; background: var(--c365x-paper); border: 1px solid var(--c365x-line); border-radius: 12px; padding: .6rem .8rem; border-left: 4px solid var(--c365x-draw); }
.c365x-player-h { border-left-color: var(--c365x-home); }
.c365x-player-a { border-left-color: var(--c365x-away); }
.c365x-recap .c365x-player { border-left-width: 1px; }
.c365x-pname { flex: 1 1 10rem; font-weight: 700; display: flex; flex-direction: column; line-height: 1.25; }
.c365x-pname small { font-weight: 400; font-size: .78rem; color: var(--c365x-muted); }
.c365x-pill { font-size: .78rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; background: var(--c365x-ink); color: #fff; white-space: nowrap; }
.c365x-pill-soft { background: var(--c365x-soft); color: var(--c365x-ink); }
.c365x-pill-ghost { background: transparent; color: var(--c365x-muted); font-weight: 500; }
.c365x-rating { width: 2.4rem; height: 2.4rem; border-radius: 10px; background: var(--c365x-win); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }

/* ---------- Confrontations ---------- */
.c365x-h2h-sum { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; margin-bottom: .6rem; }
.c365x-h2h-n { font-size: 2rem; font-weight: 800; line-height: 1; display: flex; flex-direction: column; gap: .25rem; }
.c365x-h2h-n small { font-size: .75rem; font-weight: 500; color: var(--c365x-muted); }
.c365x-h2h-n.c365x-x { text-align: center; color: var(--c365x-muted); }
.c365x-h2h-n.c365x-a { text-align: right; color: var(--c365x-away); }
.c365x-wdl-team { margin-bottom: .8rem; }
.c365x-h2h { list-style: none; margin: 0; padding: 0; }
.c365x-h2h li { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: .7rem; align-items: center; padding: .55rem 0; border-top: 1px solid var(--c365x-soft); font-size: .9rem; }
.c365x-h2h-date { font-variant-numeric: tabular-nums; color: var(--c365x-muted); display: flex; flex-direction: column; font-size: .82rem; }
.c365x-h2h-date small { font-size: .75rem; }
.c365x-h2h-m { display: grid; grid-template-columns: 1fr auto 1fr; gap: .6rem; align-items: center; }
.c365x-h2h-m span:last-child { text-align: right; }
.c365x-h2h-m b { background: var(--c365x-soft); border-radius: 6px; padding: .15rem .5rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c365x-h2h-m .c365x-win { font-weight: 700; }
.c365x-h2h-x { color: var(--c365x-muted); font-size: .75rem; }
@media (max-width: 560px) {
	.c365x-h2h li { grid-template-columns: 1fr; gap: .25rem; }
	.c365x-h2h-date { flex-direction: row; gap: .5rem; }
}

/* ---------- Absences ---------- */
.c365x-inj { list-style: none; margin: 0; padding: 0; }
.c365x-inj li { display: flex; justify-content: space-between; gap: .6rem; align-items: center; padding: .4rem 0; border-top: 1px solid var(--c365x-soft); font-size: .9rem; }
.c365x-tag { font-size: .75rem; font-weight: 600; padding: .15rem .5rem; border-radius: 999px; white-space: nowrap; }
.c365x-tag-out { background: #FFE5E5; color: #B42323; }
.c365x-tag-q { background: #FFF4CC; color: #7A5B00; }

/* ---------- Compositions ---------- */
.c365x-xi { margin: .4rem 0 0; padding-left: 1.4rem; font-size: .9rem; columns: 1; }
.c365x-xi li { padding: .15rem 0; }
.c365x-subs summary { cursor: pointer; font-size: .85rem; font-weight: 600; margin-top: .6rem; }
.c365x-wait { background: var(--c365x-soft); border-style: dashed; }

/* ---------- Bilan ---------- */
.c365x-timeline { list-style: none; margin: 0 0 1rem; padding: 0; }
.c365x-timeline li { display: flex; gap: .6rem; align-items: flex-start; padding: .4rem 0; border-top: 1px solid var(--c365x-soft); font-size: .9rem; }
.c365x-timeline li > span:last-child { display: flex; flex-direction: column; }
.c365x-timeline small { color: var(--c365x-muted); font-size: .75rem; }
.c365x-tl-min { min-width: 2.8rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.c365x-tl-a .c365x-tl-min { color: var(--c365x-away); }

/* ---------- Listes de matchs ---------- */
.c365x-mcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .7rem; margin: 1rem 0 1.6rem; }
.c365x-mcard { display: flex; flex-direction: column; gap: .5rem; background: var(--c365x-paper); border: 1px solid var(--c365x-line); border-radius: var(--c365x-radius); padding: .8rem 1rem; color: var(--c365x-ink); text-decoration: none; transition: border-color .15s; }
a.c365x-mcard:hover { border-color: var(--c365x-away); color: var(--c365x-ink); }
a.c365x-mcard:focus-visible { outline: 3px solid var(--c365x-away); outline-offset: 2px; }
.c365x-mc-date { font-size: .76rem; color: var(--c365x-muted); }
.c365x-mc-date::first-letter { text-transform: uppercase; }
.c365x-mc-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: .6rem; align-items: center; font-weight: 700; font-size: .92rem; }
.c365x-mc-teams > span { display: flex; align-items: center; gap: .4rem; min-width: 0; }
.c365x-mc-teams > span:last-child { justify-content: flex-end; text-align: right; }
.c365x-mc-time, .c365x-mc-score { background: var(--c365x-soft); border-radius: 8px; padding: .2rem .55rem; font-variant-numeric: tabular-nums; }
.c365x-mc-score { background: var(--c365x-ink); color: #fff; }
.c365x-mc-cta { font-size: .78rem; font-weight: 600; color: var(--c365x-away); }

/* ---------- Classement ---------- */
.c365x-table-wrap { overflow-x: auto; border: 1px solid var(--c365x-line); border-radius: var(--c365x-radius); background: var(--c365x-paper); margin: 1rem 0 0; }
.c365x-table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; margin: 0; }
.c365x-table th, .c365x-table td { padding: .55rem .5rem; text-align: center; border: 0; border-bottom: 1px solid var(--c365x-soft); white-space: nowrap; }
.c365x-table th { font-size: .75rem; color: var(--c365x-muted); font-weight: 600; background: var(--c365x-soft); }
.c365x-table .c365x-tl { text-align: left; }
.c365x-tteam { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.c365x-table tbody tr:hover { background: var(--c365x-soft); }
.c365x-rank { display: inline-flex; width: 1.6rem; height: 1.6rem; align-items: center; justify-content: center; border-radius: 6px; font-weight: 700; font-size: .8rem; }
.c365x-rank { background: var(--c365x-soft); }
.c365x-table tbody tr:first-child .c365x-rank { background: var(--c365x-ink); color: #fff; }
.c365x-table .c365x-r { width: 18px; height: 18px; font-size: .75rem; }
@media (max-width: 560px) { .c365x-hide-sm { display: none; } }

/* ---------- Buteurs ---------- */
.c365x-scorers { list-style: none; counter-reset: sc; margin: 1rem 0; padding: 0; display: grid; gap: .45rem; }
.c365x-scorers li { counter-increment: sc; display: flex; align-items: center; gap: .6rem; background: var(--c365x-paper); border: 1px solid var(--c365x-line); border-radius: 12px; padding: .55rem .8rem; }
.c365x-scorers li::before { content: counter(sc); width: 1.6rem; font-weight: 800; color: var(--c365x-muted); font-variant-numeric: tabular-nums; }
.c365x-scorers li:first-child::before { color: var(--c365x-away); }

/* ---------- Page compétition et maillage ---------- */
.c365x-anchors { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; }
.c365x-anchors a { font-size: .85rem; font-weight: 600; padding: .4rem .9rem; border-radius: 999px; background: var(--c365x-paper); border: 1px solid var(--c365x-line); text-decoration: none; color: var(--c365x-ink); }
.c365x-anchors a:hover { border-color: var(--c365x-away); color: var(--c365x-away); }
.c365x-related { margin: 2.4rem 0 1.4rem; padding-top: 1.4rem; border-top: 2px solid var(--c365x-ink); }
.c365x-related h2 { margin-top: 0; }

/* Couleurs des liens : priorité sur les styles du thème */
a.c365x-chip, a.c365x-chip:visited, a.c365x-chip:hover { color: #fff !important; text-decoration: none !important; }
a.c365x-mcard, a.c365x-mcard:visited, a.c365x-mcard:hover { color: var(--c365x-ink) !important; text-decoration: none !important; }
.c365x-anchors a, .c365x-anchors a:visited { color: var(--c365x-ink) !important; text-decoration: none !important; }

/* ---------- Matchs du jour (accueil) ---------- */
.c365x-today-day { font-weight: 800; font-size: 1.05rem; margin: 0 0 .4rem; }
.c365x-today .c365x-mc-date { display: none; }
.c365x-today .c365x-mcard-live .c365x-mc-date { display: block; }
.c365x-mc-livetag { text-transform: none; }
.c365x-today-comp { margin: 1.2rem 0 0; }
.c365x-today-head { font-weight: 700; margin: 0 0 -.4rem; }
.c365x-today-head a, .c365x-today-head a:visited { color: var(--c365x-ink) !important; text-decoration: none !important; border-bottom: 2px solid var(--c365x-away); }
.c365x-today .c365x-mcards { margin-bottom: .4rem; }

/* ---------- Fil d'Ariane ---------- */
.c365x-crumbs { margin: 0 0 1rem; font-size: .82rem; color: var(--c365x-muted); }
.c365x-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.c365x-crumbs li { display: inline-flex; align-items: center; gap: .3rem; }
.c365x-crumbs li + li::before { content: "›"; color: var(--c365x-draw); }
.c365x-crumbs a, .c365x-crumbs a:visited { color: var(--c365x-muted) !important; text-decoration: none !important; }
.c365x-crumbs a:hover { color: var(--c365x-away) !important; }

/* ---------- Pages équipes ---------- */
a.c365x-tlink, a.c365x-tlink:visited { color: inherit !important; text-decoration: underline dotted !important; text-decoration-thickness: 1px !important; text-underline-offset: 3px; border: 0 !important; }
.c365x-pname > a.c365x-tlink { align-self: flex-start; }
a.c365x-tlink:hover { color: var(--c365x-away) !important; }
.c365x-hero a.c365x-tlink { text-decoration-color: rgba(255, 255, 255, .45) !important; }
.c365x-team-id { display: flex; align-items: center; gap: 1.2rem; }
.c365x-team-id .c365x-logo { width: 88px; height: 88px; background: #fff; border-radius: 50%; padding: 10px; box-sizing: border-box; }
.c365x-team-big { font-size: 2rem; font-weight: 800; line-height: 1.1; margin: 0 0 .5rem; letter-spacing: -.01em; }
.c365x-team-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem 1.4rem; margin: 1.3rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .15); }
.c365x-team-facts dt { font-size: .75rem; opacity: .65; }
.c365x-team-facts dd { margin: .1rem 0 0; font-weight: 600; font-size: .92rem; }
.c365x-lead { font-size: 1.05rem; line-height: 1.6; margin: 0 0 1.2rem; }
.c365x-tiles-6 { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); margin: 1rem 0; }
.c365x-tiles-6 dd { font-size: 1.3rem; }
.c365x-table tr.c365x-me { background: #EAF4FE; }
.c365x-table tr.c365x-me td { font-weight: 700; }
.c365x-results-team li { flex-wrap: wrap; }
.c365x-results-team small { margin-left: auto; color: var(--c365x-muted); font-size: .76rem; }
.c365x-squad { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1rem 0 0; }
.c365x-squad .c365x-card { margin: 0; }
.c365x-squad-list { list-style: none; margin: 0; padding: 0; }
.c365x-squad-list li { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; border-top: 1px solid var(--c365x-soft); font-size: .9rem; }
.c365x-squad-list small { margin-left: auto; color: var(--c365x-muted); font-size: .76rem; white-space: nowrap; }
.c365x-num { width: 1.9rem; height: 1.6rem; border-radius: 6px; background: var(--c365x-soft); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .78rem; font-variant-numeric: tabular-nums; flex: none; }
.c365x-sub { display: block; color: var(--c365x-muted); font-size: .76rem; }
.c365x-tag-n { background: var(--c365x-soft); color: var(--c365x-muted); }
.c365x-teamgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; margin: 1rem 0; }
.c365x-teamtile { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; background: var(--c365x-paper); border: 1px solid var(--c365x-line); border-radius: 12px; font-weight: 600; font-size: .9rem; }
a.c365x-teamtile, a.c365x-teamtile:visited { color: var(--c365x-ink) !important; text-decoration: none !important; }
a.c365x-teamtile:hover { border-color: var(--c365x-away); }
.c365x-mc-live { background: var(--c365x-loss) !important; color: #fff; }
@media (max-width: 560px) {
	.c365x-team-id .c365x-logo { width: 64px; height: 64px; }
	.c365x-team-big { font-size: 1.5rem; }
}

/* ---------- Fiches joueurs ---------- */
.c365x-pinit { width: 88px; height: 88px; border-radius: 50%; background: var(--c365x-away); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 2.4rem; font-weight: 800; flex: none; }
.c365x-team-sub { margin: 0; font-size: 1rem; opacity: .85; }
.c365x-scorers li.c365x-me { border-color: var(--c365x-away); background: #EAF4FE; }
@media (max-width: 560px) { .c365x-pinit { width: 64px; height: 64px; font-size: 1.8rem; } }

/* 0.9.6 — modèle de probabilités, espacements */
.c365x-source + h2, .c365x-source + .wp-block-heading, .c365x-card + h2, .c365x-grid2 + h2, .c365x-note + h2 { margin-top: 2.2rem; }
p.c365x-source { margin-bottom: 1.4rem; }
.c365x-model .c365x-prob { margin-bottom: 1.2rem; }
.c365x-model-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 1rem; }
.c365x-model-grid > div { background: var(--c365x-soft, #f6f5f2); border-radius: 10px; padding: .9rem 1rem; }
.c365x-xg { display: flex; align-items: baseline; gap: .5rem; margin: .3rem 0 0; }
.c365x-xg span { font-size: 1.6rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.c365x-xg small { font-size: .85rem; color: var(--c365x-muted); }
.c365x-meter { display: grid; grid-template-columns: 1fr auto; gap: .25rem .5rem; margin: .45rem 0 .7rem; font-size: .9rem; }
.c365x-meter-v { font-weight: 700; font-variant-numeric: tabular-nums; }
.c365x-meter-bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(0,0,0,.08); overflow: hidden; }
.c365x-meter-bar span { display: block; height: 100%; background: currentColor; opacity: .75; }
ol.c365x-scores { list-style: none; margin: .3rem 0 0; padding: 0; }
ol.c365x-scores li { display: flex; justify-content: space-between; padding: .3rem 0; border-bottom: 1px solid rgba(0,0,0,.07); font-variant-numeric: tabular-nums; }
ol.c365x-scores li:last-child { border-bottom: 0; }
ol.c365x-scores b { font-size: 1.05rem; }
@media (max-width: 760px) { .c365x-model-grid { grid-template-columns: 1fr; } }
.c365-transparence { margin-top: 1.5rem; }
.c365x-xg .c365x-a { color: var(--c365x-away); }

/* 0.9.9 — contexte du match */
dl.c365x-ctx { margin: .4rem 0 0; display: grid; gap: .7rem; }
dl.c365x-ctx > div { display: grid; gap: .15rem; }
dl.c365x-ctx dt { font-size: .78rem; color: var(--c365x-muted); font-weight: 600; }
dl.c365x-ctx dd { margin: 0; font-size: .95rem; }
dl.c365x-ctx dd small { display: block; font-size: .8rem; color: var(--c365x-muted); margin-top: .1rem; }
dl.c365x-ctx .c365x-ctx-big { font-size: 1.6rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
dl.c365x-ctx .c365x-tag { display: inline-block; padding: .05rem .4rem; border-radius: 5px; font-weight: 700; font-size: .85rem; color: #fff; }
dl.c365x-ctx .c365x-res-v { background: var(--c365x-win); }
dl.c365x-ctx .c365x-res-n { background: var(--c365x-draw); color: var(--c365x-ink); }
dl.c365x-ctx .c365x-res-d { background: var(--c365x-loss); }

/* 0.9.11 — onglets classement, tendances, buteurs compacts */
.c365x-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.c365x-tablist { display: inline-flex; gap: 4px; padding: 4px; background: var(--c365x-soft); border-radius: 10px; margin: .4rem 0 0; }
.c365x-tablist label { padding: .4rem .9rem; border-radius: 7px; font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--c365x-muted); }
.c365x-tab { display: none; }
.c365x-tabs > input:nth-of-type(1):checked ~ .c365x-tab-g,
.c365x-tabs > input:nth-of-type(2):checked ~ .c365x-tab-h,
.c365x-tabs > input:nth-of-type(3):checked ~ .c365x-tab-a { display: block; }
.c365x-tabs > input:nth-of-type(1):checked ~ .c365x-tablist label:nth-child(1),
.c365x-tabs > input:nth-of-type(2):checked ~ .c365x-tablist label:nth-child(2),
.c365x-tabs > input:nth-of-type(3):checked ~ .c365x-tablist label:nth-child(3) { background: var(--c365x-paper); color: var(--c365x-ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.c365x-tabs > input:focus-visible ~ .c365x-tablist { outline: 2px solid var(--c365x-away); outline-offset: 2px; }
.c365x-sortable th[data-sort] { cursor: pointer; user-select: none; line-height: 1.25; }
.c365x-sortable th[data-sort]:hover { color: var(--c365x-ink); }
.c365x-sortable th[aria-sort="descending"]::after { content: " ↓"; }
.c365x-sortable th[aria-sort="ascending"]::after { content: " ↑"; }
.c365x-sortable th[aria-sort] { color: var(--c365x-ink); }
.c365x-scorers-t .c365x-pname { display: flex; flex-direction: column; font-weight: 600; }
.c365x-scorers-t .c365x-pname small { font-weight: 400; font-size: .78rem; color: var(--c365x-muted); }
.c365x-scorers-t td, .c365x-scorers-t th { padding-top: .45rem; padding-bottom: .45rem; }
.c365x-sortable th:first-child, .c365x-sortable td:first-child { position: sticky; left: 0; z-index: 1; background: var(--c365x-paper); }
.c365x-sortable thead th:first-child { background: var(--c365x-soft); }
.c365x-sortable tbody tr:hover td:first-child { background: var(--c365x-soft); }

/* 0.9.13 — fiches joueurs */
.c365x-plogo { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; background: #fff; border-radius: 50%; flex: 0 0 64px; }
.c365x-plogo img { width: 44px; height: 44px; object-fit: contain; }
.c365x-scoring-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .6rem; }
.c365x-scoring-match { font-size: 1.15rem; font-weight: 700; margin: .2rem 0 0; }
.c365x-scoring-p { text-align: right; }
.c365x-scoring-p span { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--c365x-away); font-variant-numeric: tabular-nums; }
.c365x-scoring-p small { font-size: .78rem; color: var(--c365x-muted); }
.c365x-scoring .c365x-meter { color: var(--c365x-away); }
.c365x-scoring .c365x-meter-l { color: var(--c365x-ink); }
.c365x-scorers-t tr.c365x-me td { background: rgba(24,143,243,.08); }
.c365x-scoring-match a { color: inherit; text-decoration: underline; text-decoration-color: var(--c365x-away); text-underline-offset: 3px; }

/* 0.9.18 — index des joueurs */
.c365x-psearch { background: var(--c365x-soft); border-radius: 12px; padding: 1rem 1.1rem; margin: 1rem 0; }
.c365x-psearch label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .4rem; }
.c365x-psearch input { width: 100%; padding: .7rem .9rem; border: 1px solid var(--c365x-line); border-radius: 8px; font-size: 1rem; background: #fff; }
.c365x-psearch input:focus { outline: 2px solid var(--c365x-away); outline-offset: 1px; }
.c365x-psearch .c365x-small { margin: .5rem 0 0; }
.c365x-psec[hidden], .c365x-psec tr[hidden] { display: none; }

/* 0.9.19 — meilleurs buteurs d'Europe (accueil) */
.c365x-topeu { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.c365x-topeu .c365x-teamtile { gap: .7rem; }
.c365x-topeu-t { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.c365x-topeu-t small { font-weight: 400; font-size: .76rem; color: var(--c365x-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c365x-topeu-g { display: flex; flex-direction: column; align-items: center; font-size: 1.25rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.c365x-topeu-g small { font-size: .75rem; font-weight: 600; color: var(--c365x-muted); margin-top: .15rem; }

/* 0.9.20 — barres d'action partenaires */
.c365-ctabar { margin: 1rem 0 1.6rem; padding: .9rem 1rem; border: 1px solid var(--c365x-line); border-radius: 12px; background: var(--c365x-paper); }
.c365-ctabar-t { margin: 0 0 .6rem; font-weight: 700; font-size: .95rem; }
.c365-ctabar-ops { display: grid; gap: .6rem; }
.c365-ctabar-op { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.c365-ctabar-logo { width: 72px; height: 32px; object-fit: contain; }
.c365-ctabar-offre { flex: 1; min-width: 180px; font-size: .9rem; font-weight: 600; }
.c365-ctabar-offre small { display: block; font-weight: 400; font-size: .75rem; color: var(--c365x-muted); line-height: 1.35; margin-top: .15rem; }
a.c365-ctabar-btn, a.c365-ctabar-btn:visited { display: inline-block; padding: .55rem .95rem; border-radius: 8px; background: var(--c365x-away); color: #fff !important; font-weight: 700; font-size: .88rem; text-decoration: none !important; white-space: nowrap; }
a.c365-ctabar-btn:hover { filter: brightness(.92); }
.c365-ctabar-m { margin: .6rem 0 0; font-size: .75rem; color: var(--c365x-muted); line-height: 1.4; }
@media (max-width: 560px) { a.c365-ctabar-btn { width: 100%; text-align: center; } }

/* Pages de chiffres : barres de buts par championnat */
.c365x-goalbars { display: grid; gap: 8px; }
.c365x-gb { display: grid; grid-template-columns: 160px 1fr 52px; align-items: center; gap: 10px; font-size: .9rem; }
.c365x-gb b { text-align: right; font-variant-numeric: tabular-nums; }
.c365x-gb-bar { height: 12px; background: var(--base, #EEECE7); border-radius: 6px; overflow: hidden; }
.c365x-gb-bar i { display: block; height: 100%; background: var(--c365x-win); border-radius: 6px; }
@media (max-width: 560px) { .c365x-gb { grid-template-columns: 110px 1fr 44px; font-size: .82rem; } }

/* Les joueurs à suivre */
.c365x-watch { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: .6em 0; }
.c365x-watch-card { display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--c365x-home); }
.c365x-watch-a { border-top-color: var(--c365x-away); }
.c365x-watch-name { font-weight: 700; font-size: 1.05rem; margin: 0; }
.c365x-watch-card .c365x-small { margin: 0; }
.c365x-watch-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 4px 0; text-align: center; }
.c365x-watch-stats div { background: var(--c365x-soft); border-radius: 10px; padding: 6px 4px; }
.c365x-watch-stats dt { font-size: .75rem; color: var(--c365x-muted); margin: 0; }
.c365x-watch-stats dd { font-size: 1.25rem; font-weight: 700; margin: 0; font-variant-numeric: tabular-nums; }
.c365x-watch-facts { margin: 0; padding-left: 1.1em; font-size: .88rem; }
.c365x-watch-facts li { margin: .1em 0; }
.c365x-watch-p { margin: 4px 0 0; font-size: .9rem; }
.c365x-watch-p b { font-size: 1.15rem; color: var(--c365x-win); }

/* Match en cours : pastille rouge sur les cartes de match */
.c365x-mc-livetag { display: inline-flex; align-items: center; gap: 6px; color: var(--c365x-loss); font-weight: 700; }
.c365x-mc-livetag i { width: 8px; height: 8px; border-radius: 50%; background: var(--c365x-loss); animation: c365x-pulse 1.4s infinite; }
.c365x-mcard-live { border-color: var(--c365x-loss); }
@media (prefers-reduced-motion: reduce) { .c365x-mc-livetag i { animation: none; } }

/* Accueil : toutes les compétitions */
.c365x-comps { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px 20px; margin: .6em 0 1em; }
.c365x-comps-g ul { list-style: none; margin: 4px 0 0; padding: 0; }
.c365x-comps-g li { margin: 3px 0; }
.c365x-comps-g a { text-decoration: none; }
.c365x-comps-g a:hover { text-decoration: underline; }
.c365x-pwho { display: flex; align-items: center; gap: .55rem; }
.c365x-pwho .c365x-logo { flex: 0 0 24px; width: 24px; height: 24px; object-fit: contain; }

/* 0.9.40 : probabilités sur les cartes de match */
.c365x-mc-prob { display: flex; gap: 2px; border-radius: 6px; overflow: hidden; font-size: .75rem; font-weight: 700; line-height: 1; }
.c365x-mc-prob > span { min-width: 2.4rem; padding: .3rem .35rem; color: #fff; white-space: nowrap; }
.c365x-mc-ph { background: var(--c365x-home); }
.c365x-mc-pn { background: var(--c365x-draw); color: var(--c365x-ink) !important; text-align: center; }
.c365x-mc-pa { background: var(--c365x-away); text-align: right; }

/* Encadré « l'essentiel » et sommaire des pages de match */
.c365x-ess { background: var(--c365x-soft); border: 1px solid var(--c365x-line); border-radius: var(--c365x-radius); padding: 1rem 1.1rem; margin: 1.2rem 0; }
.c365x-ess-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .6rem; margin: .4rem 0 .6rem; }
.c365x-ess-grid > div { background: var(--c365x-paper); border-radius: 10px; padding: .65rem .8rem; }
.c365x-ess-grid dt { font-size: .75rem; color: var(--c365x-muted); margin: 0 0 .25rem; }
.c365x-ess-grid dd { margin: 0; display: flex; flex-direction: column; gap: .1rem; line-height: 1.3; }
.c365x-ess-grid dd b { font-size: .95rem; }
.c365x-ess-grid dd span { font-size: .85rem; font-weight: 700; color: var(--c365x-away); }
.c365x-ess-note { font-size: .75rem; color: var(--c365x-muted); margin: 0; }
.c365x-toc { display: flex; gap: .4rem; overflow-x: auto; padding: .2rem 0 .6rem; margin: 0 0 1rem; scrollbar-width: thin; }
.c365x-toc-t { font-size: .78rem; color: var(--c365x-muted); align-self: center; white-space: nowrap; }
.c365x-toc a { white-space: nowrap; font-size: .8rem; font-weight: 600; padding: .35rem .7rem; border: 1px solid var(--c365x-line); border-radius: 999px; color: var(--c365x-ink); text-decoration: none; background: var(--c365x-paper); }
.c365x-toc a:hover, .c365x-toc a:focus-visible { border-color: var(--c365x-away); color: var(--c365x-away); }
.entry-content h2[id] { scroll-margin-top: 90px; }

/* Filtres des matchs du jour */
.c365x-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 .8rem; }
.c365x-filters button { font: inherit; font-size: .82rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; border: 1px solid var(--c365x-line); background: var(--c365x-paper); color: var(--c365x-ink); cursor: pointer; }
.c365x-filters button[aria-pressed="true"] { background: var(--c365x-ink); border-color: var(--c365x-ink); color: #fff; }
.c365x-filters button:focus-visible { outline: 2px solid var(--c365x-away); outline-offset: 2px; }
.c365x-today-comp[hidden], .c365x-mcard[hidden] { display: none !important; }
.c365x-today-day small { font-weight: 400; color: var(--c365x-muted); }
.c365x-mc-ended { color: var(--c365x-muted); }
.c365x-mc-ended i { display: none; }
.c365x-tz { display: block; font-size: .75rem; opacity: .75; }

/* Buteurs probables */
.c365x-scorers { list-style: none; margin: 0; padding: 0; }
.c365x-scorers li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .55rem 0; border-top: 1px solid var(--c365x-line); }
.c365x-scorers li:first-child { border-top: 0; }
.c365x-sc-who { display: flex; flex-direction: column; min-width: 0; font-weight: 700; line-height: 1.3; }
.c365x-sc-who small { font-weight: 400; font-size: .76rem; color: var(--c365x-muted); }
.c365x-sc-p { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; flex: 0 0 5.5rem; }
.c365x-sc-p b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.c365x-sc-bar { display: block; width: 100%; height: 6px; border-radius: 3px; background: var(--c365x-soft); overflow: hidden; }
.c365x-sc-bar span { display: block; height: 100%; background: var(--c365x-home); }
.c365x-scorer-a .c365x-sc-bar span { background: var(--c365x-away); }
.c365x-scorer-col .c365x-kicker .c365x-logo { width: 22px; height: 22px; object-fit: contain; }
.c365x-weekend .c365x-wk-day { margin: 2rem 0 .6rem; }
.c365x-weekend .c365x-filters { position: sticky; top: 0; z-index: 5; background: var(--c365x-paper); padding: .5rem 0; }

/* Cotes : cote juste et cote médiane du marché */
.c365x-odds { margin-top: 1rem; background: var(--c365x-soft, #f6f5f2); border-radius: 10px; padding: .9rem 1rem; }
.c365x-odds-t { width: 100%; border-collapse: collapse; margin: .4rem 0 .6rem; font-variant-numeric: tabular-nums; }
.c365x-odds-t th, .c365x-odds-t td { padding: .45rem .5rem; text-align: center; border-bottom: 1px solid rgba(0,0,0,.08); font-size: .95rem; }
.c365x-odds-t thead th { font-weight: 600; font-size: .85rem; }
.c365x-odds-t tbody th { text-align: left; font-weight: 500; font-size: .9rem; }
.c365x-odds-t tr:last-child th, .c365x-odds-t tr:last-child td { border-bottom: 0; }
.c365x-odds-pct td, .c365x-odds-pct th { color: #5b6270; font-size: .85rem; }
@media (max-width: 520px) { .c365x-odds-t th, .c365x-odds-t td { padding: .4rem .25rem; font-size: .85rem; } .c365x-odds-t tbody th { font-size: .8rem; } }

/* Audit UX 11/2026 : cartes de match */
.c365x-mc-tn { min-width: 0; overflow-wrap: break-word; hyphens: auto; line-height: 1.2; }
.c365x-mc-teams > span > img, .c365x-mc-teams > span > .c365x-logo { flex-shrink: 0; }
.c365x-mc-leg { display: flex; justify-content: space-between; gap: .5rem; font-size: .75rem; color: var(--c365x-muted); margin-top: -.25rem; }
.c365x-mc-leg > span { display: inline-flex; align-items: center; gap: .25rem; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c365x-mc-leg i { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.c365x-mc-kh { background: var(--c365x-home); }
.c365x-mc-kn { background: var(--c365x-draw); }
.c365x-mc-ka { background: var(--c365x-away); }
@media (max-width: 600px) {
	.c365x-mc-teams { font-size: .86rem; gap: .45rem; }
	.c365x-mc-time, .c365x-mc-score { padding: .15rem .4rem; }
}
.c365x-showall { display: block; margin: .2rem auto 1.4rem; padding: .6rem 1.2rem; border: 1px solid var(--c365x-ink); border-radius: 999px; background: var(--c365x-paper); color: var(--c365x-ink); font-weight: 600; cursor: pointer; }
.c365x-showall:hover, .c365x-showall:focus-visible { background: var(--c365x-ink); color: #fff; }
.c365x-showall[hidden] { display: none; }

/* Fiche match : sommaire sans barre de défilement visible, essentiel en 2 colonnes sur mobile */
.c365x-toc { scrollbar-width: none; -ms-overflow-style: none; }
.c365x-toc::-webkit-scrollbar { display: none; }
@media (max-width: 600px) {
	.c365x-ess-grid { grid-template-columns: 1fr 1fr; }
	.c365x-ess-grid > div { padding: .55rem .65rem; }
	.c365x-ess-grid dd b { font-size: .88rem; }
}
.c365x-odds { scroll-margin-top: 80px; }

/* Articles : même rubrique */
.c365-related { margin: 2rem 0 1rem; padding: 1rem 1.2rem; border: 1px solid var(--c365x-line, #e3e6ec); border-radius: 12px; }
.c365-related-t { font-weight: 700; margin: 0 0 .5rem; }
.c365-related ul { margin: 0; padding-left: 1.1rem; }
.c365-related li { margin: .3rem 0; }

/* Pronostics du jour : tableaux des pronostics et des écarts avec le marché. */
.c365x-pt table { font-size: .92rem; }
.c365x-pt td small { display: block; color: var(--c365x-muted); font-size: .78rem; }
.c365x-pt td:nth-last-child(-n+2), .c365x-pt th:nth-last-child(-n+2) { text-align: right; white-space: nowrap; }
.c365x-pronos > h2 { margin-top: 2.25rem; }
@media (max-width: 600px) { .c365x-pt table { font-size: .85rem; } .c365x-pt td, .c365x-pt th { padding: .45rem .4rem; } }

/* Cotes du jour : cote du marché en gras, cote Cresus365 en dessous. */
.c365x-ot td:not(:first-child), .c365x-ot th:not(:first-child) { text-align: center; white-space: nowrap; }
.c365x-ot td:not(:first-child) small { color: var(--c365x-muted); font-size: .75rem; }

/* Comparateur d'équipes. */
.c365x-cmp-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: .75rem; align-items: end; margin: 1rem 0 1.5rem; }
.c365x-cmp-form label { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; font-weight: 600; }
.c365x-cmp-form select { width: 100%; padding: .55rem .6rem; border: 1px solid var(--c365x-line, #d6d9de); border-radius: 6px; background: #fff; font-size: .95rem; }
.c365x-cmp-go { min-height: 44px; padding: .65rem 1.2rem; border: 0; border-radius: 6px; background: var(--c365x-away); color: #fff; font-weight: 700; cursor: pointer; }
.c365x-cmp-go:hover { background: #08579C; }
.c365x-cmp-form select { min-height: 44px; }
.c365x-cmp-go:focus-visible, .c365x-cmp-form select:focus-visible { outline: 3px solid var(--c365x-away); outline-offset: 2px; }
.c365x-cmp-out h3 { margin-top: 1.75rem; }
@media (max-width: 700px) { .c365x-cmp-form { grid-template-columns: 1fr; } }

/* ==========================================================================
   0.9.63 : audit et critique (accessibilité, mobile, cotes, fiche match)
   ========================================================================== */

/* Sélection, nombres et focus aux couleurs du site. */
.c365x-pronos ::selection, .c365x-card ::selection { background: #CFE3F6; color: var(--c365x-ink); }
.c365x-pt td, .c365x-odds-t td { font-variant-numeric: tabular-nums; }
a.c365x-chip:focus-visible, a.c365x-tlink:focus-visible, .c365x-pt a:focus-visible, .c365x-results a:focus-visible,
.c365x-anchors a:focus-visible, .c365x-today-head a:focus-visible, .c365x-comps-g a:focus-visible,
.c365x-sortable th[data-sort]:focus-visible, .c365x-fold > summary:focus-visible, .c365x-cmp-retry:focus-visible {
	outline: 2px solid var(--c365x-away); outline-offset: 2px; border-radius: 4px;
}
.c365x-sortable th[data-sort] { cursor: pointer; }

/* Écart avec le marché : pastille « +8 pts ». */
.c365x-gap { display: inline-block; margin-left: .35rem; padding: .05rem .45rem; border-radius: 999px; background: #E3F1EA; color: #0B5E43; font-size: .75rem; font-weight: 700; white-space: nowrap; vertical-align: .08em; }
.c365x-ot td.c365x-hasgap { background: #F2F9F5; }
.c365x-ot td .c365x-gap { display: block; width: max-content; margin: .25rem auto 0; }
.c365x-gapline { margin: .6rem 0 0; font-size: .88rem; font-weight: 600; color: #0B5E43; }
abbr[title] { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }

/* Comparateur : messages, chargement, confrontations, lignes « le moins est le mieux ». */
.c365x-cmp-out { transition: opacity .2s ease-out; }
.c365x-cmp-out.is-loading { opacity: .5; }
.c365x-cmp-msg { padding: .9rem 1rem; border: 1px solid var(--c365x-line); border-radius: 10px; background: var(--c365x-soft); }
.c365x-cmp-msg p { margin: 0; }
.c365x-cmp-retry { margin-top: .6rem; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--c365x-ink); border-radius: 6px; background: var(--c365x-paper); color: var(--c365x-ink); font: inherit; font-weight: 700; cursor: pointer; }
.c365x-h2h-list b { color: var(--c365x-ink); background: var(--c365x-soft); min-width: 0; padding: .1rem .5rem; }
.c365x-lbl-n { display: block; font-size: .75rem; font-weight: 400; color: var(--c365x-muted); }

/* Fiche match : sections de référence repliées. */
.c365x-fold { margin: 1.6rem 0 0; border-top: 1px solid var(--c365x-line); }
.c365x-fold > summary { list-style: none; display: flex; align-items: center; gap: .8rem; min-height: 44px; padding: .4rem 0; cursor: pointer; }
.c365x-fold > summary::-webkit-details-marker { display: none; }
.c365x-fold > summary h2 { flex: 1; margin: 0; font-size: inherit; }
.c365x-fold > summary h2.wp-block-heading { font-size: 1.35rem; }
.c365x-fold-hint { flex: none; display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; color: var(--c365x-away); }
.c365x-fold-hint::after { content: ""; width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.15rem) rotate(45deg); transition: transform .2s ease-out; }
.c365x-fold[open] > summary .c365x-fold-hint { font-size: 0; }
.c365x-fold[open] > summary .c365x-fold-hint::after { transform: translateY(.1rem) rotate(-135deg); }
.c365x-fold[open] { padding-bottom: .4rem; }
@media (prefers-reduced-motion: reduce) { .c365x-fold-hint::after, .c365x-cmp-out { transition: none; } }

/* Archive des analyses : matchs du jour en cartes au-dessus de la liste. */
.c365x-arch-top { margin: 0 0 2rem; }
.c365x-arch-h { font-size: 1.35rem; margin: 1.4rem 0 .4rem; }

/* Mobile et écrans tactiles : cibles d'au moins 44 px. */
@media (max-width: 700px), (pointer: coarse) {
	.c365x-filters button, .c365x-showall, .c365x-anchors a, .c365x-toc a { min-height: 44px; display: inline-flex; align-items: center; }
	.c365x-toc a { padding: .35rem .85rem; }
	.c365x-anchors a { padding: .4rem 1rem; }
	a.c365x-chip { min-height: 32px; padding: .35rem .8rem; }
	.c365x-comps-g li { margin: 0; }
	.c365x-comps-g a { display: block; padding: .55rem 0; }
}

/* Sommaire défilant : le bord droit s'estompe pour signaler la suite. */
@media (max-width: 700px) {
	.c365x-toc { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent); padding-right: 2rem; }
}

/* Tableaux de pronostics, de buts et de cotes : une carte par match sous 600 px. */
@media (max-width: 600px) {
	.c365x-pt table, .c365x-pt tbody { display: block; width: 100%; font-size: .95rem; }
	.c365x-pt thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.c365x-pt tr { --c365x-cols: 2; display: grid; grid-template-columns: repeat(var(--c365x-cols), minmax(0, 1fr)); gap: .55rem .8rem; padding: .85rem .9rem; margin: 0 0 .6rem; border: 1px solid var(--c365x-line); border-radius: 12px; background: var(--c365x-paper); }
	.c365x-pt-3 tr { --c365x-cols: 3; }
	.c365x-pt td, .c365x-pt th { display: block; padding: 0 !important; border: 0 !important; text-align: left !important; white-space: normal !important; background: none; }
	.c365x-pt td.c365x-c-t { display: none; }
	.c365x-pt td.c365x-c-m, .c365x-pt td.c365x-c-w { grid-column: 1 / -1; }
	.c365x-pt td.c365x-c-m { font-weight: 700; }
	.c365x-pt td.c365x-c-m small { font-weight: 400; margin-top: .1rem; }
	.c365x-pt td[data-l]::before { content: attr(data-l); display: block; font-size: .75rem; font-weight: 400; color: var(--c365x-muted); margin-bottom: .1rem; }
	.c365x-pt td.c365x-c-big { font-size: 1.25rem; font-weight: 800; }
	.c365x-pt td.c365x-c-big strong { font-weight: 800; }
	.c365x-ot td:not(:first-child) { text-align: center !important; border-radius: 8px; padding: .4rem .3rem !important; background: var(--c365x-soft); }
	.c365x-ot td.c365x-hasgap { background: #E3F1EA; }
	.c365x-ot td[data-l]::before { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.c365x-ot td strong { font-size: 1.1rem; }
	.c365x-pt td small { font-size: .78rem; }
	.c365x-pt .c365x-m-t { display: inline; }
	.wp-block-table.c365x-pt { overflow: visible; margin-left: 0; margin-right: 0; }
}
@media (min-width: 601px) { .c365x-pt .c365x-m-t { display: none; } }

/* Accueil sur mobile : le premier match remonte (surtitre et boutons du bandeau masqués, marges réduites). */
@media (max-width: 600px) {
	.home .c365-hero .c365-surtitre, .home .c365-hero .wp-block-buttons { display: none; }
	.home .c365-hero { padding-top: 1.1rem; padding-bottom: 1.1rem; }
	.home .c365-hero h1 { margin-bottom: .5rem; }
	.home .c365-hero p { margin-bottom: 0; }
}

/* 0.9.64 : seconde critique. */
.c365x-oddslegend { margin: .4rem 0 1rem; font-size: .88rem; color: var(--c365x-muted); line-height: 1.6; }
.c365x-oddslegend .c365x-gap { margin: 0 .3rem 0 0; }
.c365x-fold + h2, .c365x-fold + .wp-block-heading, .c365x-fold + * { margin-top: 2rem; }
.c365x-fold + .c365x-fold { margin-top: 0; }

/* Mobile : toute la carte est cliquable ; la mise en forme du plugin passe devant le CSS additionnel du thème
   (« .entry-content .wp-block-table td »). */
@media (max-width: 600px) {
	.entry-content .c365x-pt tr { position: relative; }
	.entry-content .c365x-pt td.c365x-c-m a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
	.entry-content .c365x-pt td.c365x-c-m a:focus-visible { outline: none; }
	.entry-content .c365x-pt td.c365x-c-m a:focus-visible::after { outline: 2px solid var(--c365x-away); outline-offset: 2px; }
	.entry-content .c365x-pt tr:has(td.c365x-c-m a):active { border-color: var(--c365x-away); }
	.entry-content .wp-block-table.c365x-pt td, .entry-content .wp-block-table.c365x-pt th { font-size: .95rem; }
	.entry-content .wp-block-table.c365x-pt td.c365x-c-big { font-size: 1.25rem; }
	.entry-content .wp-block-table.c365x-pt td small { font-size: .78rem; }
	.entry-content .wp-block-table.c365x-ot td strong { font-size: 1.1rem; }
}

/* 0.9.65 : cotes des opérateurs agréés (The Odds API). */
.c365x-ot td small.c365x-frbest, .c365x-frbest { display: block; color: var(--c365x-away); font-weight: 600; font-size: .78rem; }
.c365x-fr { margin: 1.4rem 0 0; }
.c365x-fr-t { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.c365x-fr-t th, .c365x-fr-t td { padding: .5rem .6rem; border-bottom: 1px solid var(--c365x-soft); text-align: center; white-space: nowrap; }
.c365x-fr-t thead th { font-size: .78rem; color: var(--c365x-muted); font-weight: 600; background: var(--c365x-soft); }
.c365x-fr-t tbody th { text-align: left; font-weight: 600; }
.c365x-fr-t td.c365x-fr-best { font-weight: 800; color: var(--c365x-away); }
.c365x-fr-t tr.c365x-fr-fair th, .c365x-fr-t tr.c365x-fr-fair td { color: var(--c365x-muted); font-style: normal; border-bottom: 0; }

/* 0.9.66 : meilleure cote par issue, en cartes, avec lien vers l'opérateur. */
.c365x-frc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin: .6rem 0 .4rem; }
.c365x-frc-i { display: flex; flex-direction: column; gap: .25rem; padding: .9rem 1rem 1rem; border: 1px solid var(--c365x-line); border-radius: 12px; background: var(--c365x-paper); }
.c365x-frc-i.is-value { border-color: #0F7A57; background: #F2F9F5; }
.c365x-frc-i p { margin: 0; }
.c365x-frc-n { font-weight: 700; font-size: .95rem; }
.c365x-frc-o b { font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.c365x-frc-o span { font-size: .9rem; font-weight: 600; color: var(--c365x-muted); }
.c365x-frc-j { font-size: .82rem; color: var(--c365x-muted); }
.c365x-frc-v { font-size: .8rem; font-weight: 600; color: var(--c365x-muted); }
.c365x-frc-i.is-value .c365x-frc-v { color: #0B5E43; }
a.c365x-frc-btn, a.c365x-frc-btn:visited { margin-top: auto; padding-top: 0; display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: .5rem; border-radius: 8px; background: var(--c365x-away); color: #fff !important; font-weight: 700; font-size: .9rem; text-decoration: none !important; text-align: center; padding: 0 .6rem; }
a.c365x-frc-btn:hover { background: #08579C; }
a.c365x-frc-btn:focus-visible { outline: 2px solid var(--c365x-ink); outline-offset: 2px; }
.c365x-fr-all { margin: .4rem 0 .2rem; }
.c365x-fr-all > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; font-size: .9rem; color: var(--c365x-away); }
@media (max-width: 600px) { .c365x-frc { grid-template-columns: 1fr; } .c365x-frc-i { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .8rem; } .c365x-frc-i > * { grid-column: 1; } .c365x-frc-o { grid-column: 2 !important; grid-row: 1 / span 3; text-align: right; } .c365x-frc-o span { display: block; } a.c365x-frc-btn { grid-column: 1 / -1 !important; } }

/* 0.9.69 : meilleure cote du tableau des opérateurs = bouton vers l'opérateur. */
.c365x-fr-t a.c365x-fr-cta, .c365x-fr-t a.c365x-fr-cta:visited { display: inline-flex; align-items: center; justify-content: center; min-width: 3.6rem; min-height: 36px; padding: 0 .7rem; border-radius: 8px; background: var(--c365x-away); color: #fff !important; font-weight: 800; text-decoration: none !important; }
.c365x-fr-t a.c365x-fr-cta::after { content: ""; width: .45rem; height: .45rem; margin-left: .4rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.c365x-fr-t a.c365x-fr-cta:hover { background: #08579C; }
.c365x-fr-t a.c365x-fr-cta:focus-visible { outline: 2px solid var(--c365x-ink); outline-offset: 2px; }

/* 0.9.72 : prochains matchs regroupés par journée. */
.c365x-round-h { margin: 1.4rem 0 .6rem; font-size: 1rem; font-weight: 700; color: var(--c365x-muted); }
.c365x-round-h:first-of-type { margin-top: .4rem; }

/* 0.9.73 : buteurs sous le score des matchs terminés (une colonne par équipe, filet de séparation, ballon dessiné). */
.c365x-mc-goals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1rem; padding-top: .55rem; margin-top: .1rem; border-top: 1px solid var(--c365x-line); font-size: .8rem; line-height: 1.35; }
.c365x-mc-g-h, .c365x-mc-g-a { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.c365x-mc-g-a { align-items: flex-end; text-align: right; }
.c365x-mc-g { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .35rem; row-gap: 0; max-width: 100%; position: relative; padding-left: 1.05rem; }
.c365x-mc-g-a .c365x-mc-g { flex-direction: row-reverse; padding-left: 0; padding-right: 1.05rem; }
.c365x-mc-g::before { content: ""; position: absolute; left: 0; top: .22em; width: .7rem; height: .7rem; background: var(--c365x-muted); -webkit-mask: var(--c365x-ball) center / contain no-repeat; mask: var(--c365x-ball) center / contain no-repeat; }
.c365x-mc-gn { color: var(--c365x-ink); font-weight: 500; overflow-wrap: anywhere; }
.c365x-mc-g-a .c365x-mc-g::before { left: auto; right: 0; }
.c365x-mc-gm { color: var(--c365x-muted); font-variant-numeric: tabular-nums; white-space: nowrap; flex: 0 0 auto; }
.c365x-mcard { --c365x-ball: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm0 2.2c.7 0 1.4.1 2 .2L12 5 10 3.4c.6-.1 1.3-.2 2-.2ZM7.6 4.3l3.2 2.5v3.1L8 11.9l-3-1 .4-3.4a8.8 8.8 0 0 1 2.2-3.2Zm8.8 0a8.8 8.8 0 0 1 2.2 3.2l.4 3.4-3 1-2.8-2V6.8l3.2-2.5ZM12 11.2l2.5 1.8-1 3h-3l-1-3 2.5-1.8ZM4.1 13l2.8.9 1.1 3.4-1.5 2.2A8.8 8.8 0 0 1 4.1 13Zm15.8 0a8.8 8.8 0 0 1-2.4 6.5L16 17.3l1.1-3.4 2.8-.9ZM9.9 18.2h4.2l1.5 2.2a8.8 8.8 0 0 1-7.2 0l1.5-2.2Z'/%3E%3C/svg%3E"); }

/* 0.9.77 : date de mise à jour visible au-dessus des classements des buteurs. */
.c365x-updated { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 1rem; padding: .35rem .75rem; border-radius: 999px; background: var(--c365x-soft, #F7F6F3); color: var(--c365x-muted); font-size: .82rem; }
.c365x-updated::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--menthe, #23B887); }
.c365x-updated time { color: var(--c365x-ink); font-weight: 600; }

/* 0.9.81 : pages de chiffres par équipe (sommaire des championnats). */
.c365x-rec-toc { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.6rem; }
.c365x-rec-toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .8rem; border: 1px solid var(--c365x-line); border-radius: 999px; background: var(--c365x-soft); color: var(--c365x-ink); font-size: .85rem; text-decoration: none; }
.c365x-rec-toc a:hover { border-color: var(--c365x-ink); }
.c365x-rec-toc a:focus-visible { outline: 2px solid var(--c365x-ink); outline-offset: 2px; }

/* 0.9.84 : top 10 en liste numérotée sur les pages de chiffres. */
.c365x-top10 { margin: 0 0 1.8rem 1.4rem; padding: 0; }
.c365x-top10 li { margin: 0 0 .35rem; padding-left: .2rem; }
.c365x-top10 li::marker { font-weight: 700; color: var(--c365x-muted); font-variant-numeric: tabular-nums; }
.c365x-top10-l { color: var(--c365x-muted); }
.c365x-answer { font-size: 1.05rem; margin: 0 0 .8rem; }

/* Accueil : le match du jour, les affiches, les séries ([c365_une]) */
.c365x-une { display: flex; flex-direction: column; gap: 2rem; margin: 0 0 2.5rem; }
.c365x-une-main { background: var(--c365x-paper); border: 1px solid var(--c365x-line); border-radius: var(--c365x-radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.c365x-une-kicker { margin: 0; font-size: 1.6rem; line-height: 1.2; font-weight: 800; }
.c365x-une-ctx { margin: 0; font-size: .9rem; font-weight: 600; color: var(--c365x-muted); }
.c365x-une-teams { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.c365x-une-team { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; min-width: 0; }
.c365x-une-team:last-child { align-items: flex-end; text-align: right; }
.c365x-une-tn { font-size: 1.6rem; font-weight: 800; line-height: 1.15; }
.c365x-une-meta { font-size: .9rem; color: var(--c365x-muted); }
.c365x-une-vs { align-self: center; font-weight: 700; color: var(--c365x-muted); }
.c365x-une-team .c365x-form .c365x-r { width: 1.5rem; height: 1.5rem; font-size: .8rem; }
.c365x-une-prob .c365x-mc-prob { font-size: .95rem; }
.c365x-une-prob .c365x-mc-prob > span { padding: .55rem .6rem; }
.c365x-une-why { margin: .4rem 0 0; font-size: 1.1rem; font-weight: 700; }
.c365x-une-facts { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .35rem; line-height: 1.5; }
.c365x-une-note { margin: 0; font-size: .92rem; color: var(--c365x-muted); line-height: 1.55; }
.c365x-une-cta { align-self: flex-start; background: var(--c365x-away); color: #fff !important; text-decoration: none !important; font-weight: 700; padding: .8rem 1.2rem; border-radius: 10px; }
.c365x-une-cta:hover { filter: brightness(.92); }
.c365x-une-sec { display: flex; flex-direction: column; gap: .9rem; }
.c365x-une-h2 { margin: 0; font-size: 1.4rem; font-weight: 800; }
.c365x-une-head { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.c365x-une-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .9rem; }
.c365x-une-card { background: var(--c365x-paper); border: 1px solid var(--c365x-line); border-radius: 12px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .4rem; color: var(--c365x-ink) !important; text-decoration: none !important; }
a.c365x-une-card:hover { border-color: var(--c365x-away); }
.c365x-une-cc { font-size: .82rem; font-weight: 600; color: var(--c365x-muted); }
.c365x-une-cm { font-size: 1.05rem; font-weight: 700; }
.c365x-une-cl { font-size: .9rem; color: var(--c365x-muted); }
.c365x-une-cp { font-size: 1.6rem; font-weight: 800; color: var(--c365x-away); line-height: 1.1; }
.c365x-une-cp.is-open { color: var(--c365x-muted); }
.c365x-une-stat .c365x-une-cp { color: var(--c365x-ink); font-size: 2rem; }
.c365x-une-sl { font-size: .95rem; line-height: 1.4; }
@media (max-width: 600px) {
	.c365x-une-main { padding: 1.1rem; }
	.c365x-une-tn { font-size: 1.25rem; }
}

.c365x-une-live { align-self: center; display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.c365x-une-live .c365x-mc-score { font-size: 2rem; font-weight: 800; }

/* Accueil : cadre du match mis en avant plus compact (deux colonnes sur ordinateur). */
.c365x-une-main { padding: 1.1rem 1.3rem; gap: .6rem; }
.c365x-une-kicker { font-size: 1.2rem; }
.c365x-une-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.c365x-une-l, .c365x-une-r { display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.c365x-une-team { gap: .25rem; }
.c365x-une-tn { font-size: 1.2rem; }
.c365x-une-live .c365x-mc-score { font-size: 1.5rem; }
.c365x-une-why { margin: 0; font-size: 1rem; }
.c365x-une-facts { font-size: .92rem; }
.c365x-une-note { font-size: .85rem; }
.c365x-une-cta { padding: .6rem 1rem; font-size: .92rem; }
@media (max-width: 820px) { .c365x-une-cols { grid-template-columns: 1fr; gap: .8rem; } }

/* Fiche match : encadré des cotes d'un opérateur partenaire. */
.c365x-frp { margin: .9rem 0; padding: .9rem 1rem; border: 1px solid var(--c365x-line); border-radius: 12px; background: var(--c365x-paper); display: flex; flex-direction: column; gap: .6rem; }
.c365x-frp-t { margin: 0; font-weight: 700; }
.c365x-frp-o { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
a.c365x-frp-i { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .55rem .3rem; border: 1px solid var(--c365x-line); border-radius: 9px; color: var(--c365x-ink) !important; text-decoration: none !important; min-height: 44px; }
a.c365x-frp-i span { font-size: .78rem; color: var(--c365x-muted); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
a.c365x-frp-i b { font-size: 1.15rem; }
a.c365x-frp-i:hover { border-color: var(--c365x-away); }
a.c365x-frp-btn { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 9px; background: var(--c365x-away); color: #fff !important; font-weight: 700; text-decoration: none !important; }
a.c365x-frp-btn:hover { background: #08579C; }
.c365x-frp-m { margin: 0; font-size: .72rem; line-height: 1.4; color: var(--c365x-muted); }

/* Mobile : en-tête de match et match mis en avant sur 3 colonnes, pastilles de forme compactes. */
@media (max-width: 600px) {
	.c365x-teams .c365x-form { flex-wrap: wrap; justify-content: center; gap: 2px; max-width: 100%; }
	.c365x-teams .c365x-form .c365x-r { width: 1.05rem; height: 1.05rem; font-size: .6rem; }
	.c365x-teams { grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); }
	.c365x-teams .c365x-team { min-width: 0; }
	.c365x-teams .c365x-center { min-width: 0; }
	.c365x-teams .c365x-team-name { font-size: .88rem; overflow-wrap: break-word; hyphens: auto; }
	.c365x-une-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .5rem; align-items: start; }
	.c365x-une-tn { font-size: 1.02rem; overflow-wrap: anywhere; }
	.c365x-une-team .c365x-form { flex-wrap: wrap; gap: 2px; }
	.c365x-une-team .c365x-form .c365x-r { width: 1.1rem; height: 1.1rem; font-size: .62rem; }
	.c365x-une-team:last-child .c365x-form { justify-content: flex-end; }
	.c365x-une-vs { font-size: .85rem; padding-top: 1.6rem; }
}

/* Conditions des offres : première phrase visible, détail dépliable. */
.c365-cond { display: block; margin-top: .2rem; font-size: .75rem; font-weight: 400; color: var(--c365x-muted, #5b6170); line-height: 1.35; }
.c365-cond summary { cursor: pointer; list-style: none; padding: .2rem 0; }
.c365-cond summary::-webkit-details-marker { display: none; }
.c365-cond summary u { text-underline-offset: 2px; }
.c365-cond[open] summary u { display: none; }
.c365-cond > span { display: block; margin-top: .15rem; }

/* Séries en cours sur téléphone : tableau sans défilement horizontal, forme sous le nom. Accueil : séries en liste compacte. */
.c365x-mform { display: none; }
@media (max-width: 560px) {
	.c365x-series-t { font-size: .82rem; }
	.c365x-series-t th, .c365x-series-t td { padding: .4rem .25rem !important; }
	.c365x-series-t th { font-size: .64rem !important; line-height: 1.15; vertical-align: bottom; }
	.c365x-series-t .c365x-tteam { gap: .3rem; }
	.c365x-series-t .c365x-logo { width: 16px !important; height: 16px !important; }
	.c365x-series-t .c365x-mform { display: flex; gap: 2px; margin-top: .25rem; }
	.c365x-series-t .c365x-mform .c365x-r { width: .9rem; height: .9rem; font-size: .5rem; border-radius: 3px; }
	.c365x-une-sec .c365x-une-grid:has(.c365x-une-stat) { gap: 0; border: 1px solid var(--c365x-line); border-radius: 12px; background: var(--c365x-paper); overflow: hidden; }
	.c365x-une-stat { flex-direction: row; align-items: center; gap: .75rem; padding: .6rem .85rem; border: 0; border-radius: 0; background: none; }
	.c365x-une-stat + .c365x-une-stat { border-top: 1px solid var(--c365x-line); }
	.c365x-une-stat .c365x-une-cp { font-size: 1.45rem; min-width: 2rem; text-align: center; }
	.c365x-une-stat .c365x-une-sl { font-size: .9rem; line-height: 1.35; }
}

/* Séries en cours sur téléphone : 8 premières équipes, le reste sur demande ; lignes resserrées. */
.c365x-allrows { display: none; }
@media (max-width: 560px) {
	.c365x-series-t th, .c365x-series-t td { padding: .3rem .25rem !important; }
	.c365x-series-t .c365x-mform { margin-top: .15rem; }
	.c365x-series-t .c365x-mform .c365x-r { width: .8rem; height: .8rem; font-size: .46rem; }
	.c365x-series-t:not(.is-all) tbody tr:nth-child(n+9) { display: none; }
	.c365x-allrows { display: block; width: 100%; margin: -.4rem 0 1rem; padding: .65rem; border: 1px solid var(--c365x-line); border-radius: 0 0 12px 12px; background: var(--c365x-paper); color: var(--c365x-away); font-weight: 700; font-size: .9rem; cursor: pointer; }
}

/* Autres affiches : logos, favori en étiquette, barre 1-N-2. Sur téléphone, liste compacte. */
.c365x-aff { gap: .6rem; }
.c365x-aff-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.c365x-aff-tag { font-size: .74rem; font-weight: 700; color: var(--c365x-away); background: rgba(26, 115, 232, .09); padding: .18rem .55rem; border-radius: 999px; white-space: nowrap; }
.c365x-aff-tag.is-open { color: var(--c365x-muted); background: #eef0f3; }
.c365x-aff-teams { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: 1rem; }
.c365x-aff-teams > span:not(.c365x-aff-vs) { display: flex; align-items: center; gap: .4rem; min-width: 0; }
.c365x-aff-teams b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c365x-aff-teams .c365x-logo { width: 22px; height: 22px; flex: none; object-fit: contain; }
.c365x-aff-vs { color: var(--c365x-muted); font-size: .78rem; flex: none; }
.c365x-aff .c365x-mc-prob > span { min-width: 2.3rem; text-align: center; }
@media (max-width: 560px) {
	.c365x-une-sec .c365x-une-grid:has(.c365x-aff) { gap: 0; border: 1px solid var(--c365x-line); border-radius: 12px; background: var(--c365x-paper); overflow: hidden; }
	.c365x-aff { border: 0; border-radius: 0; background: none; padding: .8rem .9rem; gap: .5rem; }
	.c365x-aff + .c365x-aff { border-top: 1px solid var(--c365x-line); }
	.c365x-aff-teams { font-size: .95rem; }
}
.c365x-une-grid:has(.c365x-aff) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .c365x-une-grid:has(.c365x-aff) { grid-template-columns: minmax(0, 1fr); } .c365x-aff-vs { font-size: .7rem; } }
.c365x-aff { min-width: 0; }

/* Maillage d'un championnat : « Premier League : tous les chiffres ». */
.c365x-lgnav { margin: 1.8rem 0; padding: 1rem 1.1rem; border: 1px solid var(--c365x-line); border-radius: 12px; background: var(--c365x-paper); }
.c365x-lgnav-t { margin: 0 0 .6rem; font-weight: 800; font-size: 1.02rem; }
.c365x-lgnav-notes { margin: 0 0 .75rem; padding-left: 1.1rem; font-size: .95rem; }
.c365x-lgnav-notes li { margin: .2rem 0; }
.c365x-lgnav-l { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.c365x-lgnav-l li { margin: 0; }
.c365x-lgnav-l a { display: inline-block; padding: .45rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--c365x-line); color: var(--c365x-ink) !important; font-size: .88rem; font-weight: 600; text-decoration: none !important; line-height: 1.25; }
.c365x-lgnav-l a:hover { border-color: var(--c365x-away); color: var(--c365x-away) !important; }
