.flp-list {
	display: grid;
	gap: 12px;
	margin: 1em 0;
}

.flp-match {
	display: block;
	background: #fff;
	border: 1px solid #e2e6ea;
	border-radius: 10px;
	padding: 12px 16px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.04);
	color: inherit;
	text-decoration: none;
	transition: box-shadow .15s, transform .15s, border-color .15s;
}
a.flp-match:hover {
	text-decoration: none;
	border-color: #16c172;
	box-shadow: 0 4px 14px rgba(0,0,0,0.10);
	transform: translateY(-1px);
}

.flp-tv {
	margin-top: 8px;
	font-size: 12px;
	color: #6b7884;
	text-align: center;
}

/* Page détail */
.flp-detail { max-width: 720px; margin: 0 auto; }
.flp-back {
	display: inline-block;
	margin-bottom: 14px;
	padding: 6px 14px;
	border-radius: 7px;
	background: #1e2a38;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.flp-back:hover { background: #16c172; color: #fff; text-decoration: none; }
.flp-detail-head {
	display: flex; justify-content: space-between; align-items: center;
	font-size: 13px; color: #6b7884; margin-bottom: 10px;
}
.flp-detail-teams {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
	background: #fff; border: 1px solid #e2e6ea; border-radius: 12px; padding: 20px 16px;
}
.flp-detail-teams .flp-logo { width: 56px; height: 56px; }
.flp-detail-teams .flp-team-name { font-size: 17px; }
.flp-detail-center { text-align: center; }
.flp-score-big { font-size: 30px; font-weight: 800; color: #0e1b2a; white-space: nowrap; }
.flp-detail h3 {
	margin: 22px 0 10px; font-size: 17px;
	border-bottom: 2px solid #e2e6ea; padding-bottom: 6px;
}
.flp-probs-detail { max-width: 360px; }

.flp-events { list-style: none; margin: 0; padding: 0; }
.flp-events li { padding: 6px 0; border-bottom: 1px solid #eef1f4; font-size: 14px; }
.flp-ev-min { display: inline-block; min-width: 34px; color: #16c172; font-weight: 700; }
.flp-events em { color: #6b7884; font-style: normal; font-size: 12px; }

.flp-stats { width: 100%; border-collapse: collapse; }
.flp-stats th { font-weight: 600; font-size: 13px; color: #6b7884; text-align: center; padding: 6px; }
.flp-stats td { width: 70px; text-align: center; font-weight: 700; padding: 6px; }

.flp-lineups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flp-lineup h4 { margin: 0 0 8px; font-size: 14px; }
.flp-lineup h4 span { color: #16c172; font-weight: 600; }
.flp-lineup ul { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.flp-lineup li { padding: 3px 0; }
.flp-num { display: inline-block; min-width: 22px; color: #6b7884; font-weight: 700; }
@media (max-width: 560px) { .flp-lineups { grid-template-columns: 1fr; } }

.flp-match-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: #6b7884;
	margin-bottom: 8px;
}
.flp-league { font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }
.flp-live-tag { color: #e23b3b; font-weight: 700; }

.flp-match-teams {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
}
.flp-team { display: flex; align-items: center; gap: 10px; }
.flp-team-home { justify-content: flex-end; text-align: right; }
.flp-team-away { justify-content: flex-start; text-align: left; }
.flp-team-name { font-weight: 700; font-size: 15px; color: #1c2733; }
.flp-logo { width: 32px; height: 32px; object-fit: contain; flex: 0 0 auto; }

.flp-match-center { text-align: center; min-width: 64px; }
.flp-score { font-size: 20px; font-weight: 800; color: #0e1b2a; white-space: nowrap; }
.flp-vs { font-size: 14px; font-weight: 700; color: #16c172; }

.flp-probs {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #eef1f4;
}
.flp-prob {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
}
.flp-prob-label {
	font-size: 11px;
	font-weight: 700;
	color: #6b7884;
}

.flp-p {
	display: inline-block;
	min-width: 44px;
	text-align: center;
	padding: 2px 8px;
	border-radius: 5px;
	font-size: 13px;
	font-weight: 700;
}
.flp-p-model { background: #e7f8ef; color: #0fa55f; }
.flp-p-odds { background: #e8f0fb; color: #2b6cb0; }

.flp-note {
	font-size: 12px;
	color: #6b7884;
	margin-top: 10px;
}
.flp-note .flp-p { min-width: 0; padding: 1px 6px; font-size: 11px; }

.flp-empty { color: #6b7884; font-style: italic; }

/* Hub de scores (style kooora) */
.flp-scores { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: start; }
.flp-side {
	background: #fff; border: 1px solid #e2e6ea; border-radius: 10px; padding: 12px; position: sticky; top: 76px;
}
.flp-side h3 { margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .4px; color: #6b7884; }
.flp-side ul { list-style: none; margin: 0; padding: 0; }
.flp-side li { margin: 0; }
.flp-side a {
	display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 7px;
	color: #1c2733; font-size: 14px; font-weight: 600;
}
.flp-side a:hover { background: #f0f3f6; text-decoration: none; }
.flp-side a.active { background: #16c172; color: #fff; }
.flp-lg-logo { width: 22px; height: 22px; object-fit: contain; flex: 0 0 auto; }
.flp-side li { display: flex; align-items: center; }
.flp-side li > a { flex: 1; min-width: 0; }
.flp-star {
	background: none; border: 0; cursor: pointer; font-size: 15px; line-height: 1;
	color: #c7ced6; padding: 4px 6px; flex: 0 0 auto;
}
.flp-star.on, .flp-star:hover { color: #f5b50a; }

/* Densité : lignes alternées */
.flp-list .flp-row:nth-child(even) { background: #fafbfc; }
.flp-list .flp-row:nth-child(even):hover { background: #f0f3f6; }

.flp-datebar {
	display: flex; align-items: center; justify-content: center; gap: 16px;
	background: #0e1b2a; color: #fff; border-radius: 10px; padding: 10px; margin-bottom: 12px;
}
.flp-curdate { font-weight: 700; text-transform: capitalize; }
.flp-datenav { color: #16c172; font-size: 18px; font-weight: 700; padding: 0 8px; }
.flp-datenav:hover { color: #fff; text-decoration: none; }
.flp-datenav.flp-disabled { color: #3a4a5c; }

.flp-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.flp-tabs a {
	padding: 7px 14px; border-radius: 20px; background: #fff; border: 1px solid #e2e6ea;
	color: #1c2733; font-size: 14px; font-weight: 600;
}
.flp-tabs a:hover { border-color: #16c172; text-decoration: none; }
.flp-tabs a.active { background: #16c172; border-color: #16c172; color: #fff; }

.flp-lg-head {
	display: flex; align-items: center; gap: 8px; margin: 16px 0 8px;
	font-weight: 800; font-size: 15px; color: #0e1b2a;
	border-bottom: 2px solid #16c172; padding-bottom: 6px;
}

.flp-rtl .flp-scores { grid-template-columns: 1fr 220px; }

@media (max-width: 820px) {
	.flp-scores { grid-template-columns: 1fr; }
	.flp-side { position: static; }
	.flp-side ul { display: flex; flex-wrap: wrap; gap: 6px; }
	.flp-side li { flex: 0 0 auto; }
}

/* Calendrier */
.flp-day {
	margin: 18px 0 8px;
	font-size: 15px;
	text-transform: capitalize;
	color: #0e1b2a;
	border-bottom: 2px solid #16c172;
	display: inline-block;
	padding-bottom: 4px;
}

/* Classements */
.flp-standings {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	margin: 6px 0 18px;
	background: #fff;
	border: 1px solid #e2e6ea;
	border-radius: 8px;
	overflow: hidden;
}
.flp-standings th, .flp-standings td { padding: 8px 6px; text-align: center; border-bottom: 1px solid #eef1f4; }
.flp-standings thead th { background: #1e2a38; color: #fff; font-weight: 600; }
.flp-standings .flp-std-team { text-align: left; }
.flp-standings .flp-std-team span { vertical-align: middle; }
.flp-standings .flp-std-team .flp-logo { width: 20px; height: 20px; display: inline-block; vertical-align: middle; margin-right: 6px; }
.flp-standings .flp-std-pts { font-weight: 800; color: #0fa55f; }
.flp-standings .flp-std-group td { background: #f0f3f6; font-weight: 700; text-align: left; }
.flp-rtl .flp-standings .flp-std-team { text-align: right; }
.flp-rtl .flp-standings .flp-std-team .flp-logo { margin-right: 0; margin-left: 6px; }

/* Actualités */
.flp-news { list-style: none; margin: 1em 0; padding: 0; }
.flp-news-item {
	display: flex;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid #e2e6ea;
	align-items: flex-start;
}
.flp-news-thumb {
	flex: 0 0 auto;
	width: 120px;
	height: 78px;
	border-radius: 8px;
	overflow: hidden;
	background: #eef1f4;
}
.flp-news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flp-news-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.flp-news-title { font-weight: 700; line-height: 1.3; }
.flp-news-sum { margin: 0; color: #4a5663; font-size: 13px; line-height: 1.4; }
.flp-news-date { color: #6b7884; font-size: 12px; }
@media (max-width: 480px) {
	.flp-news-thumb { width: 88px; height: 64px; }
}

/* ===== Lignes compactes (style livescore) ===== */
.flp-list {
	display: block;
	background: #fff;
	border: 1px solid #e2e6ea;
	border-radius: 10px;
	overflow: hidden;
	margin: 0 0 6px;
}
.flp-row {
	display: grid;
	grid-template-columns: 52px 1fr auto 1fr 92px;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-bottom: 1px solid #eef1f4;
	color: inherit;
	text-decoration: none;
}
.flp-row:last-child { border-bottom: 0; }
.flp-row:hover { background: #f6f8fa; text-decoration: none; }
.flp-row-status { text-align: center; }
.flp-st { font-size: 12px; font-weight: 700; }
.flp-st-live { color: #e23b3b; }
.flp-st-ft { color: #8a96a3; }
.flp-st-time { color: #1c2733; }
.flp-row-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.flp-row-home { justify-content: flex-end; text-align: right; }
.flp-row-away { justify-content: flex-start; text-align: left; }
.flp-row-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flp-row .flp-logo { width: 24px; height: 24px; flex: 0 0 auto; }
.flp-row-mid { text-align: center; min-width: 44px; }
.flp-row-score { font-weight: 800; font-size: 16px; color: #0e1b2a; white-space: nowrap; }
.flp-row-score i { color: #b8c0c8; font-style: normal; margin: 0 2px; }
.flp-row-vs { color: #b8c0c8; }
.flp-row-odds { display: flex; gap: 3px; justify-content: flex-end; }
.flp-row-odds i {
	font-style: normal; font-size: 11px; font-weight: 700; color: #0fa55f;
	background: #e7f8ef; border-radius: 4px; padding: 2px 4px; min-width: 24px; text-align: center;
}
@media (max-width: 560px) {
	.flp-row { grid-template-columns: 42px 1fr auto 1fr; }
	.flp-row-odds { display: none; }
	.flp-row-name { font-size: 13px; }
}

/* ===== Bandeau de dates ===== */
.flp-datestrip { display: flex; align-items: stretch; gap: 6px; margin-bottom: 14px; }
.flp-dstrip-nav {
	display: flex; align-items: center; padding: 0 12px; border-radius: 8px;
	background: #0e1b2a; color: #16c172; font-weight: 700; font-size: 16px;
}
.flp-dstrip-nav:hover { color: #fff; text-decoration: none; }
.flp-dstrip-days { display: flex; gap: 6px; flex: 1; overflow-x: auto; }
.flp-dday {
	flex: 1 0 auto; min-width: 54px; text-align: center; padding: 6px 8px; border-radius: 8px;
	background: #fff; border: 1px solid #e2e6ea; color: #1c2733; line-height: 1.2;
}
.flp-dday:hover { border-color: #16c172; text-decoration: none; }
.flp-dday.active { background: #16c172; border-color: #16c172; color: #fff; }
.flp-dday.today:not(.active) { border-color: #16c172; }
.flp-dday-wd { display: block; font-size: 11px; text-transform: uppercase; opacity: .8; }
.flp-dday-dm { display: block; font-size: 14px; font-weight: 700; }

/* ===== RTL ===== */
.flp-rtl .flp-row-home { justify-content: flex-start; }
.flp-rtl .flp-row-away { justify-content: flex-end; }
.flp-rtl .flp-row-odds { justify-content: flex-start; }
.flp-rtl .flp-row-home,
.flp-rtl .flp-row-away { text-align: inherit; }

@media (max-width: 560px) {
	.flp-team-name { font-size: 13px; }
	.flp-logo { width: 26px; height: 26px; }
	.flp-score { font-size: 17px; }
}
