/*.resultat { border-bottom: 1px solid #E48611; margin-top: 4px; }*/
/*.resultat tr td { padding: 2px; width: 45%; border-bottom: 1px solid #FFD899; }*/
.resultat tr.legende td {  }
.resultat tr {}
.resultat tr.entete { /*background-color: #FFCE80;*/  }
.resultat tr.entete td { }
.resultat tr.entete td { color: #000; font-weight: bold; text-align: center; }
.resultat tr.pied {	background-color: #FFD899; }
.resultat tr.pied td {	border-left: 1px solid #E48611; border-right: 1px solid #E48611; text-align: center; padding: 4px; }
.resultat tr.pied td a { color:#806A40; text-decoration: none;  }
.resultat tr.pied td a:hover { color:#806A40; text-decoration: underline;  }
.resultat tr td a { color:#806A40; text-decoration: none;  }
.resultat tr td.liste_joueurs a { color:#000; text-decoration: none;  }
.resultat tr td.liste_joueurs a:hover { color:#000; text-decoration: none;  }
.resultat tr td a:hover { color:#806A40; text-decoration: underline;  }
.resultat tr.entete td.legende { border-top: 1px solid #E48611; }
.resultat tr.entete td.legende a { color:black; font-weight: bold;  }
.resultat td.legende {
    text-align: center;
    width: 1%;
    background-color: #dddddd;
    font-weight: bold;
    color: #000000;
}
.resultat p {
    padding: 0; margin: 0;
}
.resultat p.tactique {float: left; width: 200px}
.resultat p.position {float: right; margin-left: 3px; width: 20px}
.resultat p.aile {float: right; margin-left: 3px; width: 20px}
.resultat p.note {float: right; margin-left: 3px; width: 20px}

#cr_tableai_entete_score {  }

.cpt_rendu {
     background-image: url("/images/fond/fond-match.jpg");
     height: 180px;
}
.cpt_rendu td {
    /*line-height: 1.5;*/
    font-weight: bold;
}
.cpt_rendu div.nom_equipe a {
    font-size: 1.8em;
    color:#000;
    /*font-family: 'Open Sans', sans-serif;*/
    text-shadow: 3px 3px 3px #FFF;

}
.cpt_rendu tr td {
    font-family: 'Open Sans', sans-serif;
}
.cpt_rendu tr td a {
    font-weight: bold;
    color:#FFF;
    text-shadow: 1px 1px 1px #000;
}
.cpt_rendu tr td.date_match {
    font-size: 0.8em;
    text-shadow: 1px 1px 1px #FFF;
}
.cpt_rendu tr td span {
    /*font-family: 'Open Sans', sans-serif;*/
    color:#000;
}

.score {
    font-size: 50px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    color: #000;
    background: #fff;
    text-align: center;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    width: 85px;
    height: 67px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}
.score a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.score.sc1 {
    border-radius: 6px 0 0 6px;
    margin-left: -2px;
}
.score.sc2 {
    border-radius: 0 6px 6px 0;
}
.barre_cpt {
    height: 20px;
    border-radius: 5px 5px 5px 5px;
    background-color: #acfd91;
}

/* ==========================================================================
   1. COMPTE-RENDU MATCH : CHIFFRES CLÉS (MODERNE & RESPONSIVE)
   ========================================================================== */
.df-ms-wrap {
	width: 100%;
	max-width: 720px;
	margin: 0 auto 30px auto;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #1e293b;
}
.df-ms-wrap *, .df-ms-wrap *::before, .df-ms-wrap *::after {
	box-sizing: border-box;
}
.df-ms-wrap svg,
.df-det-wrap svg {
	max-width: 24px;
	max-height: 24px;
	flex-shrink: 0;
}

/* --- Barre d'outils et sélecteur d'affichage --- */
.df-ms-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	padding: 10px 14px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.df-ms-btn-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #1e293b !important;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	text-decoration: none !important;
	transition: all 0.2s ease;
	cursor: pointer;
}
.df-ms-btn-action:hover {
	background: #e2e8f0;
	color: #0f172a !important;
	border-color: #94a3b8;
}
.df-ms-btn-action svg {
	width: 15px;
	height: 15px;
	color: #3b82f6;
}
.df-ms-view-toggle {
	display: inline-flex;
	background: #f1f5f9;
	border-radius: 8px;
	padding: 3px;
	gap: 3px;
	border: 1px solid #e2e8f0;
}
.df-ms-toggle-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	font-size: 12.5px;
	font-weight: 600;
	color: #64748b !important;
	text-decoration: none !important;
	border-radius: 6px;
	transition: all 0.15s ease;
}
.df-ms-toggle-item svg {
	width: 14px;
	height: 14px;
}
.df-ms-toggle-item.is-active {
	background: #ffffff;
	color: #0f172a !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.df-ms-toggle-item:hover:not(.is-active) {
	color: #1e293b !important;
}

/* --- Carte d'affrontement des équipes --- */
.df-ms-teams-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px 18px;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.df-ms-team-pill {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	min-width: 0;
}
.df-ms-team-pill.team-left {
	justify-content: flex-start;
}
.df-ms-team-pill.team-right {
	justify-content: flex-end;
}
.df-ms-team-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	flex-shrink: 0;
}
.team-left .df-ms-team-dot {
	background-color: #16a34a;
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}
.team-right .df-ms-team-dot {
	background-color: #e11d48;
	box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.2);
}
.df-ms-team-name {
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	letter-spacing: -0.01em;
}
.team-left .df-ms-team-name {
	color: #15803d;
}
.team-right .df-ms-team-name {
	color: #be123c;
	text-align: right;
}
.df-ms-center-pill {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: #475569;
	background: #f1f5f9;
	padding: 5px 14px;
	border-radius: 999px;
	border: 1px solid #e2e8f0;
	text-transform: uppercase;
	white-space: nowrap;
	flex-shrink: 0;
}

/* --- Note d'aide discrète --- */
.df-ms-info-note {
	font-size: 12px;
	color: #64748b;
	text-align: center;
	padding: 8px 14px;
	margin-bottom: 16px;
	background: #f8fafc;
	border-radius: 8px;
	border: 1px dashed #cbd5e1;
	line-height: 1.45;
}

/* --- Cartes des catégories de statistiques --- */
.df-ms-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	margin-bottom: 16px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.df-ms-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	font-size: 13.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #334155;
}
.df-ms-card-icon {
	width: 17px;
	height: 17px;
	color: #0284c7;
	flex-shrink: 0;
}
.df-ms-card-body {
	padding: 4px 14px 10px 14px;
}

/* --- Lignes de statistiques --- */
.df-ms-row {
	padding: 10px 8px 11px 8px;
	border-bottom: 1px solid #f1f5f9;
	transition: background-color 0.15s ease;
}
.df-ms-row.df-ms-no-bar {
	padding: 9px 8px;
}
.df-ms-row:last-child {
	border-bottom: none;
}
.df-ms-row:hover {
	background-color: #f8fafc;
}
.df-ms-row.is-substat {
	padding-left: 24px;
	padding-top: 7px;
	padding-bottom: 8px;
	background-color: #fafbfc;
}
.df-ms-row-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 7px;
	line-height: 1.25;
}
.df-ms-row.df-ms-no-bar .df-ms-row-meta {
	margin-bottom: 0;
}
.df-ms-val {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
	font-size: 14px;
	font-weight: 600;
	color: #64748b;
	min-width: 52px;
	white-space: nowrap;
}
.df-ms-val.team-1 {
	text-align: left;
}
.df-ms-val.team-2 {
	text-align: right;
}
.df-ms-val.is-winner.team-1 {
	color: #16a34a !important;
	font-weight: 800 !important;
	font-size: 15px;
}
.df-ms-val.is-winner.team-2 {
	color: #e11d48 !important;
	font-weight: 800 !important;
	font-size: 15px;
}
.df-ms-val.is-foul-alert.team-1 {
	color: #16a34a;
}
.df-ms-val.is-foul-alert.team-2 {
	color: #e11d48;
}
.df-ms-label {
	flex: 1;
	text-align: center;
	font-size: 13px;
	font-weight: 500;
	color: #334155;
	padding: 0 8px;
	word-break: normal;
}
.df-ms-label acronym.explication {
	border-bottom: 1px dotted #94a3b8;
	cursor: help;
	color: inherit;
}
.df-ms-row.is-substat .df-ms-label {
	font-size: 12.5px;
	color: #64748b;
}
.df-ms-sub-bullet {
	display: inline-block;
	color: #94a3b8;
	margin-right: 4px;
	font-weight: bold;
}

/* --- Badges de sanctions (cartons, blessures) --- */
.df-ms-mini-card {
	display: inline-block;
	width: 9px;
	height: 12px;
	border-radius: 2px;
	margin-right: 5px;
	vertical-align: -1px;
}
.df-ms-mini-card.yellow {
	background-color: #eab308;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.df-ms-mini-card.red {
	background-color: #ef4444;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.df-ms-mini-card.injury {
	width: 12px;
	height: 12px;
	background-color: #ef4444;
	color: #ffffff;
	font-size: 10px;
	line-height: 12px;
	text-align: center;
	font-weight: bold;
	border-radius: 3px;
}

/* --- Jauge de comparaison fluide (Progress Bar) --- */
.df-ms-track {
	position: relative;
	height: 7px;
	background: #e2e8f0;
	border-radius: 999px;
	display: flex;
	overflow: hidden;
}
.df-ms-row.is-substat .df-ms-track {
	height: 4.5px;
}
.df-ms-bar-seg {
	height: 100%;
	transition: width 0.35s ease-in-out;
}
.df-ms-bar-seg.team-1 {
	background: #16a34a;
}
.df-ms-bar-seg.team-2 {
	background: #e11d48;
}
.df-ms-bar-seg.is-muted {
	opacity: 0.4;
}
.df-ms-bar-seg.is-empty {
	background: #e2e8f0;
}
.df-ms-track-center-notch {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	margin-left: -1px;
	background: #ffffff;
	z-index: 2;
	opacity: 0.85;
}


/* ==========================================================================
   2. COMPTE-RENDU MATCH : STATS DÉTAILLÉES JOUEURS (MODERNE & RESPONSIVE)
   ========================================================================== */
.df-det-wrap {
	width: 100%;
	max-width: 860px;
	margin: 0 auto 30px auto;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #1e293b;
}
.df-det-wrap *, .df-det-wrap *::before, .df-det-wrap *::after {
	box-sizing: border-box;
}

/* --- Barre de sélection de catégorie --- */
.df-det-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	padding: 12px 16px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.df-det-select-group {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	width: 100%;
}
.df-det-select-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 700;
	color: #334155;
	white-space: nowrap;
}
.df-det-select-label svg {
	width: 16px;
	height: 16px;
	color: #0284c7;
}
.df-det-select {
	flex: 1;
	min-width: 240px;
	padding: 8px 14px;
	font-size: 13.5px;
	font-weight: 600;
	color: #0f172a;
	background-color: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	cursor: pointer;
	outline: none;
	transition: all 0.2s ease;
}
.df-det-select:hover, .df-det-select:focus {
	background-color: #ffffff;
	border-color: #0284c7;
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* --- Indication de défilement mobile --- */
.df-det-scroll-hint {
	display: none;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	color: #64748b;
	margin-bottom: 8px;
	padding: 0 4px;
}
.df-det-scroll-hint svg {
	width: 14px;
	height: 14px;
	color: #94a3b8;
	flex-shrink: 0;
}

/* --- Cartes des équipes (Stats détaillées) --- */
.df-det-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	margin-bottom: 20px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.df-det-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 18px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}
.df-det-team-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.df-det-team-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	flex-shrink: 0;
}
.team-idx-0 .df-det-team-dot {
	background-color: #16a34a;
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}
.team-idx-0 .df-det-team-name {
	color: #15803d;
}
.team-idx-1 .df-det-team-dot {
	background-color: #e11d48;
	box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.2);
}
.team-idx-1 .df-det-team-name {
	color: #be123c;
}
.df-det-player-count {
	font-size: 11.5px;
	font-weight: 600;
	color: #64748b;
	background: #f1f5f9;
	padding: 3px 10px;
	border-radius: 999px;
	border: 1px solid #e2e8f0;
}

/* --- Conteneur défilant pour le tableau --- */
.df-det-scroll-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	background: #ffffff;
}
.df-det-scroll-wrap::-webkit-scrollbar {
	height: 6px;
}
.df-det-scroll-wrap::-webkit-scrollbar-track {
	background: #f1f5f9;
}
.df-det-scroll-wrap::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 3px;
}

/* --- Tableau des statistiques --- */
.df-det-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 13px;
	line-height: 1.4;
}
.df-det-table th {
	padding: 10px 12px;
	background: #f8fafc;
	color: #475569;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border-bottom: 1px solid #e2e8f0;
	white-space: nowrap;
	text-align: center;
}
.df-det-table td {
	padding: 9px 12px;
	border-bottom: 1px solid #f1f5f9;
	text-align: center;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}
.df-det-table tbody tr:hover td {
	background-color: #f8fafc;
}
.df-det-table tbody tr:last-child td {
	border-bottom: none;
}

/* Colonnes N° et Joueur figées (Sticky) */
.df-det-th-num, .df-det-td-num {
	width: 44px;
	min-width: 44px;
	text-align: center !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
	font-weight: 700;
	color: #94a3b8;
	position: sticky;
	left: 0;
	background: #ffffff;
	z-index: 2;
}
.df-det-table th.df-det-th-num {
	background: #f8fafc;
	z-index: 3;
}
.df-det-th-player, .df-det-td-player {
	min-width: 140px;
	max-width: 190px;
	text-align: left !important;
	font-weight: 600;
	color: #0f172a;
	overflow: hidden;
	text-overflow: ellipsis;
	position: sticky;
	left: 44px;
	background: #ffffff;
	z-index: 2;
	border-right: 1px solid #e2e8f0;
	box-shadow: 2px 0 5px rgba(0, 0, 0, 0.03);
}
.df-det-table th.df-det-th-player {
	background: #f8fafc;
	z-index: 3;
}
.df-det-table tbody tr:hover .df-det-td-num,
.df-det-table tbody tr:hover .df-det-td-player {
	background-color: #f8fafc;
}

/* Valeurs numériques */
.df-det-val {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
	font-size: 13.5px;
	font-weight: 600;
	color: #64748b;
	display: inline-block;
	min-width: 24px;
}
.df-det-val.is-positive {
	color: #0f172a;
	font-weight: 800;
}
.df-det-val.is-zero {
	color: #94a3b8;
	opacity: 0.55;
}

/* Ligne Total */
.df-det-tr-total td {
	background: #f8fafc !important;
	border-top: 2px solid #cbd5e1 !important;
	border-bottom: none !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	padding: 11px 12px;
}
.df-det-tr-total .df-det-td-player {
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.04em;
}
.df-det-tr-total .df-det-val {
	font-weight: 800;
	color: #0f172a;
	font-size: 14px;
}

/* Pas de données */
.df-det-empty-card {
	padding: 30px 20px;
	text-align: center;
	color: #64748b;
	font-size: 14px;
}


/* ==========================================================================
   3. ADAPTATIONS GLOBALES MOBILE (< 640px)
   ========================================================================== */
@media (max-width: 640px) {
	/* Chiffres clés */
	.df-ms-wrap {
		padding: 0 4px;
		margin-bottom: 20px;
	}
	.df-ms-toolbar {
		flex-direction: column;
		align-items: stretch;
		padding: 10px 12px;
		gap: 10px;
	}
	.df-ms-btn-action {
		justify-content: center;
		width: 100%;
		padding: 9px 12px;
		font-size: 12.5px;
	}
	.df-ms-view-toggle {
		width: 100%;
		justify-content: center;
	}
	.df-ms-toggle-item {
		flex: 1;
		justify-content: center;
		padding: 7px 10px;
		font-size: 12px;
	}
	.df-ms-teams-card {
		padding: 12px 14px;
		margin-bottom: 12px;
	}
	.df-ms-team-name {
		font-size: 13px;
	}
	.df-ms-center-pill {
		font-size: 11.5px;
		padding: 4px 10px;
	}
	.df-ms-card {
		margin-bottom: 12px;
		border-radius: 10px;
	}
	.df-ms-card-header {
		padding: 10px 14px;
		font-size: 12.5px;
	}
	.df-ms-card-body {
		padding: 2px 10px 8px 10px;
	}
	.df-ms-row {
		padding: 8px 4px 9px 4px;
	}
	.df-ms-row.df-ms-no-bar {
		padding: 8px 4px;
	}
	.df-ms-row.is-substat {
		padding-left: 16px;
	}
	.df-ms-val {
		font-size: 13px;
		min-width: 44px;
	}
	.df-ms-val.is-winner.team-1,
	.df-ms-val.is-winner.team-2 {
		font-size: 14px;
	}
	.df-ms-label {
		font-size: 12.5px;
		padding: 0 6px;
	}
	.df-ms-row.is-substat .df-ms-label {
		font-size: 11.5px;
	}
	.df-ms-track {
		height: 6px;
	}
	.df-ms-row.is-substat .df-ms-track {
		height: 4px;
	}

	/* Stats détaillées */
	.df-det-wrap {
		padding: 0 4px;
		margin-bottom: 20px;
	}
	.df-det-toolbar {
		padding: 10px 12px;
		gap: 8px;
		margin-bottom: 12px;
	}
	.df-det-select-group {
		flex-direction: column;
		align-items: stretch;
	}
	.df-det-select {
		min-width: 100%;
		font-size: 13px;
		padding: 8px 10px;
	}
	.df-det-scroll-hint {
		display: flex;
	}
	.df-det-card {
		margin-bottom: 14px;
		border-radius: 10px;
	}
	.df-det-card-header {
		padding: 10px 14px;
	}
	.df-det-team-title {
		font-size: 13px;
	}
	.df-det-table {
		font-size: 12.5px;
	}
	.df-det-th-player, .df-det-td-player {
		min-width: 120px;
		max-width: 140px;
		font-size: 12.5px;
	}
	.df-det-table th {
		font-size: 11px;
		padding: 8px 10px;
	}
	.df-det-table td {
		padding: 8px 10px;
	}
}

