/* Résultats [llc_resultats] — onglets, cartes, tableaux */

.rc-res__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 30px;
}
.rc-res__nav button {
	padding: 10px 16px;
	font: inherit;
	font-weight: 600;
	color: #666;
	background: none;
	border: 1px solid transparent;
	border-bottom: none;
	border-radius: 4px 4px 0 0;
	margin-bottom: -1px;
	cursor: pointer;
}
.rc-res__nav button[aria-selected="true"] {
	color: inherit;
	background: #fff;
	border-color: #e5e7eb;
}
.rc-res.is-tabs .rc-res__title {
	display: none; /* Titres visibles seulement sans JS (sections empilées). */
}

/* Meilleurs résultats : cartes */
.rc-res__cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}
.rc-res__card {
	padding: 20px;
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 4px;
}
.rc-res__label {
	font-size: 0.85em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #666;
}
.rc-res__time {
	font-size: 1.8em;
	font-weight: 600;
	line-height: 1.3;
	margin: 6px 0;
}
.rc-res__race {
	font-size: 0.9em;
}

/* Tableaux annuels / par catégorie */
.rc-res h3 {
	font-size: 1.1em;
	margin: 2em 0 0.5em;
}
.rc-res h3:first-of-type {
	margin-top: 0;
}
.rc-res__count {
	font-weight: normal;
	color: #666;
}
.rc-res__table {
	width: 100%;
	border-collapse: collapse;
}
.rc-res__table td {
	padding: 6px 8px;
	border-bottom: 1px solid #eee;
	vertical-align: top;
}
.rc-res__date,
.rc-res__num {
	white-space: nowrap;
	color: #666;
}
.rc-res__date {
	width: 7em;
}
.rc-res__num {
	width: 2.5em;
}
.rc-res__t {
	text-align: right;
	white-space: nowrap;
}
.rc-res__star {
	color: #1e90ff;
}
.rc-res__note,
.rc-res__off {
	font-size: 0.85em;
	color: #666;
}
.rc-res tr.is-off td:nth-child(2) {
	text-decoration: line-through;
	color: #999;
}

.rc-res__note {
	font-size: 0.85em;
	color: #666;
	margin-top: 1em;
}

/* ---------- Séances types [llc_seances] ---------- */

.rc-sl__dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 6px;
	vertical-align: middle;
}
.rc-sl__head th {
	font-size: 0.8em;
	font-weight: 600;
	color: #666;
	padding: 6px 8px;
	border-bottom: 1px solid #ddd;
}
.rc-sl__km {
	color: #666;
}
.rc-sl .rc-res__table {
	table-layout: fixed;
}
.rc-sl__c-date { width: 5.5em; }
.rc-sl__c-km { width: 3em; }
.rc-sl__c-b { width: 7em; }
.rc-sl__n4 .rc-sl__c-b { width: 5em; }
.rc-sl__c-km2 { width: 4em; }
.rc-sl__c-prep { width: 8.5em; }
.rc-sl__c-label { width: 9em; }
.rc-sl__detail {
	font-size: 0.85em;
	color: #666;
}
.rc-sl__unit {
	font-size: 0.5em;
	font-weight: normal;
	color: #666;
	margin-left: 2px;
}
.rc-sl__avg {
	font-weight: 600;
}
.rc-sl .rc-res__panel {
	overflow-x: auto;
}
.rc-sl .rc-res__table {
	min-width: 36em;
}
.rc-sl .rc-res__table td:nth-child(2) {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.rc-sl__best {
	color: #1e90ff;
	font-weight: 600;
}
.rc-sl__part {
	color: #999;
	font-style: italic;
}
.rc-sl__part small {
	display: block;
	font-size: 0.75em;
	line-height: 1.2;
}
.rc-sl__none {
	color: #ccc;
}
.rc-sl .rc-res__race {
	line-height: 1.8;
}
.rc-sl__legend {
	display: flex;
	gap: 18px;
	font-size: 0.9em;
	margin-bottom: 8px;
}
.rc-sl__chart {
	width: 100%;
	height: auto;
	display: block;
}
.rc-sl__grid {
	stroke: #eee;
	stroke-width: 1;
}
.rc-sl__axis {
	font-size: 11px;
	fill: #666;
}
.rc-sl__end {
	font-size: 12px;
	font-weight: 600;
	fill: #444;
}
.rc-sl__pt:hover circle:last-of-type {
	r: 5;
	fill-opacity: 1;
}
@media (max-width: 600px) {
	.rc-sl .rc-res__table {
		font-size: 0.85em;
	}
	.rc-sl .rc-res__table td {
		padding: 5px 4px;
	}
}

/* ---------- Statistiques [llc_stats] ---------- */

.rc-stats .rc-res__table {
	min-width: 0;
}
.rc-stats__legend {
	flex-wrap: wrap;
	gap: 6px 16px;
}
.rc-stats__select {
	height: 36px;
	padding: 0 10px;
	font: inherit;
	border: 1px solid #ddd;
	border-radius: 4px;
	margin-left: 6px;
}
.rc-stats__types {
	margin: 20px 0;
}
.rc-stats__bar {
	display: inline-block;
	height: 8px;
	max-width: 60%;
	border-radius: 2px;
	margin-right: 8px;
	vertical-align: middle;
	opacity: 0.8;
}
.rc-stats__months {
	margin-top: 10px;
}
