.site-role-badge {
	--site-role-rgb: 126, 144, 222;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 20px;
	padding: 2px 7px 2px 6px;
	border: 1px solid rgba(var(--site-role-rgb), .42);
	border-radius: 2px;
	color: rgb(var(--site-role-rgb));
	background: rgba(var(--site-role-rgb), .1);
	box-shadow: inset 2px 0 0 rgb(var(--site-role-rgb)), 0 0 9px rgba(var(--site-role-rgb), .08);
	font-size: 11px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

/* Center the visible uppercase letters, not the font's extra ascent/descent space.
   Keep accents and descenders unclipped, including when a long role wraps. */
.site-role-badge > span {
	display: block;
	min-width: 0;
	position: relative;
	top: .07em;
}

@supports (text-box-trim: trim-both) and (text-box-edge: cap alphabetic) {
	.site-role-badge > span {
		top: 0;
		text-box-trim: trim-both;
		text-box-edge: cap alphabetic;
	}
}

.site-role-nickname {
	color: rgb(var(--site-role-rgb,126,144,222));
	font-weight: 400;
	text-shadow: 0 0 6px rgba(var(--site-role-rgb,126,144,222),calc(.56 * clamp(0,var(--site-role-shine,0),1))), 0 0 14px rgba(var(--site-role-rgb,126,144,222),calc(.28 * clamp(0,var(--site-role-shine,0),1)));
}

.site-role-badge svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}
