/* Amstrad.eu – Réseaux sociaux */
.amrs {
	--amrs-size: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: calc(var(--amrs-size) * .45);
	list-style: none !important;
	margin: 0;
	padding: 0 !important;
}
.amrs-align-left   { justify-content: flex-start; }
.amrs-align-center { justify-content: center; }
.amrs-align-right  { justify-content: flex-end; }

.amrs-item { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.amrs-item::before { content: none !important; }

.amrs-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .45em;
	width: var(--amrs-size);
	height: var(--amrs-size);
	color: #fff !important;
	background: var(--amrs-color);
	text-decoration: none !important;
	box-shadow: none !important;
	transition: transform .12s ease, filter .12s ease;
}
.amrs-link:hover,
.amrs-link:focus-visible { transform: translateY(-2px); filter: brightness(1.15); }
.amrs-link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.amrs-icon { width: 62%; height: 62%; display: block; flex: 0 0 auto; }

/* Carré (proche de l'existant) */
.amrs-style-carre .amrs-link { border-radius: 3px; }

/* Rond */
.amrs-style-rond .amrs-link { border-radius: 50%; }

/* Touche de clavier CPC */
.amrs-style-touche .amrs-link {
	width: calc(var(--amrs-size) * 1.6);
	height: calc(var(--amrs-size) * 1.6);
	background: #3a3a3a;
	color: var(--amrs-color) !important;
	border-radius: 6px;
	box-shadow: inset 0 -4px 0 rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12), 0 3px 0 #111 !important;
}
.amrs-style-touche .amrs-youtube .amrs-link { color: #ff3b3b !important; }
.amrs-style-touche .amrs-link:hover { transform: translateY(2px); box-shadow: inset 0 -2px 0 rgba(0,0,0,.45), 0 1px 0 #111 !important; }
.amrs-style-touche .amrs-icon { width: 55%; height: 55%; }

/* Icône + nom */
.amrs-style-texte .amrs-link {
	width: auto;
	padding: 0 .8em 0 .5em;
	border-radius: 4px;
	font-size: calc(var(--amrs-size) * .55);
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	line-height: 1;
}
.amrs-style-texte .amrs-icon { width: calc(var(--amrs-size) * .6); height: calc(var(--amrs-size) * .6); }

/* Compteur Discord */
.amrs-badge {
	position: absolute;
	top: -.55em;
	right: -.7em;
	min-width: 1.5em;
	padding: .15em .35em;
	border-radius: 1em;
	background: #23a55a;
	color: #fff;
	font: 700 10px/1.1 system-ui, sans-serif;
	text-align: center;
	box-shadow: 0 0 0 2px #111;
}
