.he-usertag {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: .35em;
}

.he-usertag__avatar {
	border-radius: 50%;
	object-fit: cover;
	display: inline-block;
	vertical-align: middle;
}

.he-usertag__avatar--fallback {
	background: #0a122a;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	line-height: 1;
}

.he-usertag__name {
	font-weight: 900;
	font-family: var(--wp--preset--font-family--source-sans-pro);
}

.featuring {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .75em;
	margin: .5em 0 .5em 0;
}

.featuring__label {
	font-weight: 300;
	text-transform: uppercase;
	font-size: .8em;
	font-family: var(--wp--preset--font-family--source-sans-pro);
}

.he-usertag-card {
	position: fixed;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .18);
	border-radius: 6px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
	max-width: 300px;
	max-height: min(420px, 80vh);
	font-family: var(--wp--preset--font-family--source-sans-pro);
	font-size: 14px;
	line-height: 1.4;
	color: #111;
}

/* An author-stylesheet `display` always beats the UA stylesheet's
   `[hidden] { display: none }`, so without this the card's own
   `display: flex` above would keep it visible regardless of the
   `hidden` attribute JS toggles to show/dismiss it. */
.he-usertag-card[hidden] {
	display: none;
}

.he-usertag-card__header {
	display: flex;
	align-items: center;
	gap: .6em;
	margin-bottom: .5em;
	flex: 0 0 auto;
	background: var(--wp--preset--color--primary);
}

.he-usertag-card__avatar {
	width: 40px;
	height: 40px;
}

.he-usertag-card__header a {
	font-weight: 900;
	text-decoration: none;
	color: #fff;
}

.he-usertag-card__bio {
	margin: 0 0 .75em;
	padding: 0 .5em;
	font-family: var(--wp--preset--font-family--source-serif-pro);
	flex: 0 0 auto;
}

.he-usertag-card__list {
	list-style: none;
	margin: 0 .5em;
	padding: 0;
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
}

.he-usertag-card__list li {
	display: flex;
	flex-direction: column;
	gap: .15em;
	padding: .35em 0;
	border-top: 1px solid rgba(0, 0, 0, .08);
}

.he-usertag-card__list li:first-child {
	border-top: none;
}

.he-usertag-card__list a {
	color: #0a122a;
}

.he-usertag-card .feed-badge {
	display: block;
	font-size: .65em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	white-space: nowrap;
	color: #3a425a;
}
