/* ==========================================================================
   seal-badge.css — floating accreditation seal, fixed bottom-right.
   Behaviour (show on first scroll, hide over the footer) lives in
   js/main.js; component spec in floating-seal-badge.md.
   ========================================================================== */

.yr-badge {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 70;
	width: 170px;
	height: 170px;
	display: block;
	border-radius: 50%;
	opacity: 0;                              /* hidden until JS adds .show */
	transform: translateY(6px) scale(.98);
	pointer-events: none;
	transition: opacity .5s ease-out, transform .5s ease-out;
}

.yr-badge img {
	width: 100%;
	height: 100% !important;
	display: block;
	border-radius: 50%;
}

.yr-badge.show {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.yr-badge.show:hover,
.yr-badge.show:focus-visible {
	transform: translateY(-1px) scale(1.01);
	transition: transform .3s ease-out;
}

.yr-badge:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

@media (max-width: 700px) {
	.yr-badge {
		width: 132px;
		height: 132px;
		right: 14px;
		bottom: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.yr-badge,
	.yr-badge.show:hover,
	.yr-badge.show:focus-visible {
		transition: none;
	}
	.yr-badge.show:hover,
	.yr-badge.show:focus-visible {
		transform: none;
	}
}
