body > #wcag-toggle
{
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #03142e;
	color: #fff;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 2px 6px rgba(3, 20, 46, .25);
	opacity: 1 !important;
	transform: none !important;
	backdrop-filter: none;
	transition: background-color .2s ease, box-shadow .2s ease;
}

body > #wcag-toggle:hover
{
	background: #0b2a55;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 3px 10px rgba(3, 20, 46, .35);
}

body > #wcag-toggle:focus
{
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 2px 6px rgba(3, 20, 46, .25);
}

body > #wcag-toggle:focus-visible
{
	outline: 2px solid #03142e !important;
	outline-offset: 2px;
	box-shadow: 0 0 0 2px #fff;
}

body > #wcag-toggle svg
{
	display: none;
}

body > #wcag-toggle::before
{
	content: '';
	width: 22px;
	height: 22px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10.2'/%3E%3Ccircle cx='12' cy='6.8' r='1.3' fill='%23000' stroke='none'/%3E%3Cpath d='M7.2 9.6 12 10.6l4.8-1M12 10.6v3.6m0 0-2.4 4.4m2.4-4.4 2.4 4.4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10.2'/%3E%3Ccircle cx='12' cy='6.8' r='1.3' fill='%23000' stroke='none'/%3E%3Cpath d='M7.2 9.6 12 10.6l4.8-1M12 10.6v3.6m0 0-2.4 4.4m2.4-4.4 2.4 4.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

body > #wcag-widget
{
	z-index: 10000000;
	max-height: calc(100vh - 60px - var(--wcag-widget-offset-y, 0px));
	max-height: calc(100dvh - 60px - var(--wcag-widget-offset-y, 0px));
}

@media (prefers-reduced-motion: reduce)
{
	body > #wcag-toggle
	{
		transition: none;
	}
}
