/* Page /joueur/:id : en-tete du profil et tuiles de statistiques (complete evolution.css). */

.joueur-entete {
	display: flex;
	align-items: center;
	gap: 24px;
}

.joueur-entete h1 {
	margin: 0;
	overflow-wrap: anywhere;
}

.joueur-avatar {
	flex: none;
	width: 128px;
	height: 128px;
	border: 3px solid var(--theme-ligne);
	border-radius: 50%;
	background: var(--theme-surface-accent);
	object-fit: cover;
}

.joueur-resume {
	margin: 10px 0 0;
	color: var(--theme-texte-doux);
}

.joueur-invisible {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.joueur-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin: 0;
}

.joueur-stats > div {
	padding: 14px 16px;
	border: 1px solid var(--theme-ligne);
	border-radius: 14px;
	background: var(--theme-surface-accent);
}

.joueur-stats dt {
	color: var(--theme-texte-doux);
	font-size: .7rem;
}

.joueur-stats dd {
	margin: 4px 0 0;
	color: var(--theme-titre-fort);
	font-size: 1.4rem;
	font-weight: 800;
}

@media (max-width: 600px) {
	.joueur-entete {
		flex-direction: column;
		text-align: center;
	}

	.joueur-avatar {
		width: 96px;
		height: 96px;
	}
}
