.omt-float {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 1000;
}

:is(#header, .omt-float) .omt-switcher {
	display: inline-flex;
	align-items: center;
	gap: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

:is(#header, .omt-float) .omt-switcher a,
:is(#header, .omt-float) .omt-switcher a:is(:hover, [aria-current]) {
	display: grid;
	place-items: center;
	min-width: var(--omt-target-width, 44px);
	min-height: 44px;
	background: transparent;
}

.omt-switcher img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

:is(#header, .omt-float) .omt-switcher a:focus-visible {
	outline: 2px solid #a74712;
	outline-offset: 2px;
}

#header .omt-switcher {
	--omt-target-width: 32px;
}

#header .omt-switcher img {
	width: 26px;
	height: 26px;
}

#header [data-device="mobile"] .omt-switcher {
	--omt-target-width: 28px;
}

#header [data-device="mobile"] .omt-switcher img {
	width: 22px;
	height: 22px;
}

/* Language without a flag file: its code in a small badge */
.omt-switcher .omt-code-flag {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding: 0 4px;
	border: 1px solid currentcolor;
	border-radius: 4px;
	font: 600 11px/1 system-ui, sans-serif;
	text-transform: uppercase;
}
