.smt-switcher {
	display: flex;
	align-items: center;
	gap: .35rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1rem;
	line-height: 1;
}

.smt-switcher__item {
	margin: 0;
	padding: 0;
}

.smt-switcher__item a {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	padding: .35em .6em;
	border-radius: 999px;
	text-decoration: none;
	color: inherit;
	opacity: .65;
	transition: opacity .15s ease, background-color .15s ease;
}

.smt-switcher__item a:hover,
.smt-switcher__item a:focus-visible {
	opacity: 1;
	background: rgba(127, 127, 127, .14);
}

.smt-switcher__item.is-current a {
	opacity: 1;
	font-weight: 600;
	background: rgba(127, 127, 127, .18);
}

.smt-switcher__flag {
	font-size: 1.1em;
}

.smt-switcher__select {
	padding: .35em 2em .35em .6em;
	border-radius: 6px;
	border: 1px solid rgba(127, 127, 127, .35);
	background-color: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

/* Floating widget */
.smt-floating {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 9990;
	padding: .3rem .45rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
	backdrop-filter: blur(6px);
}

.smt-floating .smt-switcher__item a {
	padding: .3em .45em;
	color: #1a1a1a;
}

@media (prefers-color-scheme: dark) {
	.smt-floating {
		background: rgba(28, 28, 30, .92);
		box-shadow: 0 2px 12px rgba(0, 0, 0, .5);
	}

	.smt-floating .smt-switcher__item a {
		color: #f2f2f2;
	}
}

@media print {
	.smt-floating {
		display: none;
	}
}
