.ace-te-priority-image {
	position: relative;
}

.ace-te-priority-image--thumbnail {
	display: block;
}

.ace-te-priority-image > a,
.ace-te-priority-image--thumbnail > a,
.ace-te-priority-image img {
	display: block;
}

.ace-te-priority-badge {
	position: absolute;
	top: 0.55rem;
	right: 0.55rem;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(1rem, 7%, 2.125rem);
	aspect-ratio: 726.43 / 813.34;
	color: #fff;
	filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.55));
	pointer-events: auto;
	cursor: help;
}

.ace-te-priority-badge::before {
	content: "";
	position: absolute;
	inset: -0.35rem;
}

.ace-te-priority-badge--hype {
	color: #fcfe00;
}

.ace-te-priority-badge--featured {
	color: #fff;
	filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.95)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.68));
}

.ace-te-priority-badge__icon {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.ace-te-priority-tip {
	position: fixed;
	z-index: 1000002;
	max-width: 280px;
	padding: 6px 10px;
	border-radius: 5px;
	background: rgba(17, 24, 39, 0.92);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0;
	pointer-events: none;
	white-space: pre-line;
}

.ace-te-priority-tip strong {
	display: block;
	font-weight: 900;
	text-transform: uppercase;
}
