.ci18n-switcher {
	position: relative;
	flex-shrink: 0;
}

.ci18n-switcher__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.65rem;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: inherit;
	font: inherit;
	cursor: pointer;
	line-height: 1.2;
}

.ci18n-switcher__code {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	opacity: 0.85;
}

.ci18n-switcher__name {
	font-size: 0.85rem;
	font-weight: 600;
	max-width: 6rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ci18n-switcher__menu {
	position: absolute;
	right: 0;
	top: calc(100% + 0.35rem);
	min-width: 10rem;
	margin: 0;
	padding: 0.35rem 0;
	list-style: none;
	background: #1a0a0d;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 0.5rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
	z-index: 100;
}

.ci18n-switcher__option {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.85rem;
	color: inherit;
	text-decoration: none;
	font-size: 0.9rem;
}

.ci18n-switcher__option:hover,
.ci18n-switcher__option.is-active {
	background: rgba(255, 45, 63, 0.12);
}

@media (max-width: 860px) {
	.ci18n-switcher__name {
		display: none;
	}
}
