/**
 * FixSteel language switcher — fixed industrial FA|EN steel bar.
 * Position: top-left (~175px from left), below menu; never moves; no hook/plaque.
 */

.fsp-lang-fixed {
	--fsp-lang-left: 175px;
	--fsp-lang-top: 72px;
	--fsp-steel-0: #0c1018;
	--fsp-steel-1: #1a2332;
	--fsp-steel-2: #2a3548;
	--fsp-steel-edge: #4a5568;
	--fsp-gold: #c9a227;
	--fsp-gold-bright: #e8c547;
	position: fixed;
	top: var(--fsp-lang-top);
	left: var(--fsp-lang-left);
	right: auto;
	z-index: 100050;
	display: block;
	width: auto;
	pointer-events: none;
	direction: ltr;
	unicode-bidi: isolate;
}

body.admin-bar .fsp-lang-fixed {
	--fsp-lang-top: 104px;
}

@media (max-width: 782px) {
	body.admin-bar .fsp-lang-fixed {
		--fsp-lang-top: 116px;
	}
}

.fsp-lang-fixed__seg {
	pointer-events: auto;
	display: inline-flex;
	align-items: stretch;
	gap: 0;
	min-width: 132px;
	padding: 0;
	border-radius: 2px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%),
		linear-gradient(165deg, var(--fsp-steel-1) 0%, var(--fsp-steel-0) 55%, #070a10 100%);
	border: 1px solid var(--fsp-steel-edge);
	box-shadow:
		0 10px 28px rgba(0, 0, 0, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.12),
		inset 0 -1px 0 rgba(0, 0, 0, 0.35);
	overflow: hidden;
}

.fsp-lang-fixed__btn {
	flex: 1 1 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 58px;
	min-height: 42px;
	padding: 0.45rem 0.95rem;
	border-radius: 0;
	font-family: "IBM Plex Sans Condensed", "IBM Plex Sans", "Segoe UI", sans-serif;
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1;
	text-decoration: none !important;
	text-transform: uppercase;
	color: rgba(203, 213, 225, 0.88) !important;
	background: transparent;
	border: 0;
	border-right: 1px solid rgba(74, 85, 104, 0.65);
	box-shadow: inset 0 0 0 0 transparent;
	transition: color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

.fsp-lang-fixed__btn:last-child {
	border-right: 0;
}

.fsp-lang-fixed__btn:hover,
.fsp-lang-fixed__btn:focus-visible {
	color: var(--fsp-gold-bright) !important;
	background: rgba(42, 53, 72, 0.85);
	outline: none;
}

.fsp-lang-fixed__btn.is-current {
	color: #0b0f14 !important;
	background:
		linear-gradient(180deg, #f0d56a 0%, var(--fsp-gold-bright) 38%, var(--fsp-gold) 78%, #a8841a 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.45),
		inset 0 -1px 0 rgba(0, 0, 0, 0.22);
	font-weight: 800;
}

/* Kill any legacy hook/plaque markup from caches */
.fsp-lang-fixed__rail,
.fsp-lang-fixed__hook,
.fsp-lang-fixed__hook-svg,
.fsp-lang-fixed__plaque,
.fsp-lang-fixed__glass,
.fsp-lang-hang,
.fsp-lang-hang-anchor {
	display: none !important;
}

@media (max-width: 640px) {
	.fsp-lang-fixed {
		--fsp-lang-left: 14px;
		--fsp-lang-top: 60px;
	}

	body.admin-bar .fsp-lang-fixed {
		--fsp-lang-top: 106px;
	}

	.fsp-lang-fixed__seg {
		min-width: 112px;
	}

	.fsp-lang-fixed__btn {
		min-height: 36px;
		min-width: 50px;
		font-size: 0.86rem;
		letter-spacing: 0.1em;
		padding: 0.35rem 0.7rem;
	}
}
