/* S'MATCHS - switch Tennis / Padel sur le bloc score (prototype page 132) */

#smatchs-switch {
	padding: 0;
	margin: 0 0 4px;
	width: auto;
	flex-direction: row;
	align-items: center;
	gap: 8px;
}

#smatchs-switch button {
	font-family: "Chivo", sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1;
	padding: 10px 18px;
	border-radius: 999px;
	cursor: pointer;
	background-color: transparent;
	color: #F5F6F1;
	border: 1px solid rgba(245, 246, 241, 0.35);
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

#smatchs-switch button:hover {
	border-color: #E4D81A;
}

#smatchs-switch button.is-on {
	background-color: #E4D81A;
	color: #0E1A16;
	border-color: #E4D81A;
}

#smatchs-switch button:focus-visible {
	outline: 2px solid #E4D81A;
	outline-offset: 3px;
}

/* Chiffres decoupes set par set pour la bascule mecanique */
#smatchs-score .score-value {
	display: inline-flex;
	align-items: baseline;
	gap: 14px;
}

#smatchs-score .sm-set {
	display: inline-block;
	min-width: 1ch;
	text-align: center;
}

/* Bascule verticale */
#smatchs-score .sm-anim {
	transition: transform 0.2s ease, opacity 0.2s ease;
	will-change: transform, opacity;
}

#smatchs-score .sm-out {
	transform: translateY(-10px);
	opacity: 0;
}

#smatchs-score .sm-in {
	transform: translateY(10px);
	opacity: 0;
	transition: none;
}

@media (prefers-reduced-motion: reduce) {
	#smatchs-score .sm-anim,
	#smatchs-score .sm-out,
	#smatchs-score .sm-in {
		transition: none;
		transform: none;
		opacity: 1;
	}
}
