/* Latest reaction badge, scoped to reaction notification avatars. */
.cbb-reaction-notification-avatar {
	position: relative;
	display: inline-block;
	max-width: 100%;
	line-height: 0;
	vertical-align: top;
}

.notification-block > .cbb-reaction-notification-avatar,
.list-inner > .cbb-reaction-notification-avatar {
	float: inline-start;
}

.cbb-reaction-notification-avatar > .avatar {
	display: block;
	float: none;
	margin: 0;
	border-radius: 50%;
}

.cbb-reaction-notification-avatar > .cbb-reaction-notification-icon {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 18px !important;
	height: 18px !important;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 2px;
	float: none;
	box-sizing: content-box;
	border-radius: 50%;
	background: #fff;
	object-fit: contain;
}

.dark .cbb-reaction-notification-icon {
	background: #1e293b;
}

/* Zeina clips its avatar container; let the small badge cross the circle. */
div.rounded-full:has(> .cbb-reaction-notification-avatar) {
	overflow: visible;
}

