.author-identicon {
	display: inline-block;
	position: relative;
}
.author-identicon img {
	display: inline-block;
	height: .75em;
	width: .75em;
	margin-top: -.2em;
	margin-left: .25em;
	vertical-align: middle;
	line-height: 1;
	cursor: pointer;
}

/* Click-toggled tooltip: ::before is a white square holding the 2.5x
 * identicon (sourced from --identicon-bg, set inline by module.php);
 * .author-identicon-tooltip is the dark text bubble (real DOM so it
 * can carry <strong> + <br> for the two-line label). .is-open is
 * toggled by identicon.js on click, with a 3s auto-close that pauses
 * while the cursor is over the tooltip. */
.author-identicon::before,
.author-identicon-tooltip {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	transition: opacity .15s ease-out;
}
.author-identicon::before {
	content: '';
	top: calc(100% + 4px + .3em);
	left: .3em;
	/* sized to two text lines: 2 * .9em * 1.35 line-height. */
	width: 2.43em;
	height: 2.43em;
	background-color: #fff;
	background-image: var(--identicon-bg);
	background-size: 55% 55%;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 12;
}
.author-identicon-tooltip {
	top: calc(100% + 4px);
	left: 0;
	font-size: .9em;
	font-weight: normal;
	line-height: 1.35;
	/* divisions normalize parent-scale ems into the tooltip's smaller em. */
	padding-top: calc(.3em / .9);
	padding-right: 1.2em;
	padding-bottom: calc(.3em / .9);
	padding-left: calc((.3em + 2.43em + .55em) / .9);
	background: rgba(0, 0, 0, .8);
	color: #fff;
	white-space: nowrap;
	border-radius: .35em;
	z-index: 11;
}
.author-identicon.is-open::before,
.author-identicon.is-open .author-identicon-tooltip {
	opacity: 1;
	pointer-events: auto;
}

/* Lift the active comment above its siblings and clear any overflow
 * clipping imposed by intermediate comment containers. */
.comment:has(.author-identicon.is-open) {
	position: relative;
	z-index: 100;
	overflow: visible;
}
.comment-inner:has(.author-identicon.is-open),
.comment-body:has(.author-identicon.is-open),
.comment-meta:has(.author-identicon.is-open),
.comment-author:has(.author-identicon.is-open) {
	overflow: visible;
}
