/**
 * Hızlı Çeviri — dil değiştirici stilleri.
 *
 * Tüm renkler CSS değişkenleriyle tanımlıdır; temaya uyarlamak için
 * `.hc-switcher` üzerinde --hc-* değerlerini ezmeniz yeterlidir.
 *
 * @package HizliCeviri
 */

.hc-switcher {
	--hc-surface: #ffffff;
	--hc-text: #0f172a;
	--hc-muted: #64748b;
	--hc-border: #e2e8f0;
	--hc-hover: #f1f5f9;
	--hc-active: #e0f2fe;
	--hc-accent: #0284c7;
	--hc-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
	--hc-radius: 14px;
	--hc-toggle-radius: 999px;
	--hc-flag-radius: 2px;
	--hc-flag-w: 20px;
	--hc-flag-h: 15px;
	--hc-z: 999999;

	box-sizing: border-box;
	font-size: 14px;
	line-height: 1.4;
	color: var(--hc-text);
}

.hc-switcher *,
.hc-switcher *::before,
.hc-switcher *::after {
	box-sizing: inherit;
}

.hc-switcher[data-hc-flags="round"] {
	--hc-flag-radius: 999px;
}

/* Dış kap biçimi: oval (varsayılan) veya kare. */
.hc-switcher.hc-shape-square {
	--hc-toggle-radius: 10px;
	--hc-radius: 10px;
}

/* Yazı rengi: otomatik (tema) veya seçili renk (yalnızca düğme/bayrak şeridi). */
.hc-switcher.hc-text-auto {
	color: inherit;
}

.hc-switcher.hc-text-custom .hc-switcher__toggle,
.hc-switcher.hc-text-custom .hc-switcher__flag-btn {
	color: var(--hc-trigger-color, currentColor) !important;
}

.hc-switcher.hc-text-custom .hc-switcher__toggle .hc-switcher__name,
.hc-switcher.hc-text-custom .hc-switcher__flag-btn .hc-switcher__code {
	color: var(--hc-trigger-color, currentColor) !important;
}

.hc-switcher.hc-text-custom .hc-switcher__flag-btn .hc-switcher__code {
	opacity: 0.8;
}

.hc-switcher.hc-text-custom .hc-switcher__flag-btn:hover .hc-switcher__code {
	color: var(--hc-accent) !important;
	opacity: 1;
}

/* Bayrak boyutu (Görünüm > Bayrak boyutu). Oran 4:3. */
.hc-switcher.hc-size-16 {
	--hc-flag-w: 16px;
	--hc-flag-h: 12px;
}

.hc-switcher.hc-size-24 {
	--hc-flag-w: 24px;
	--hc-flag-h: 18px;
}

.hc-switcher.hc-size-32 {
	--hc-flag-w: 32px;
	--hc-flag-h: 24px;
}

.hc-switcher.hc-size-48 {
	--hc-flag-w: 48px;
	--hc-flag-h: 36px;
}

/* Karanlık mod: yalnızca "otomatik uyum" açıkken. */
@media (prefers-color-scheme: dark) {
	.hc-switcher.hc-dark-auto {
		--hc-surface: #111a2b;
		--hc-text: #e6edf7;
		--hc-muted: #93a4bd;
		--hc-border: #22304a;
		--hc-hover: #17243a;
		--hc-active: #14324b;
		--hc-accent: #38bdf8;
		--hc-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
	}
}

.hc-switcher [hidden] {
	display: none !important;
}

.hc-switcher ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hc-switcher li {
	margin: 0;
	padding: 0;
}

/* -------------------------------------------------------------------------
   Ortak öğeler
   ------------------------------------------------------------------------- */

.hc-switcher__flag {
	display: inline-block;
	width: var(--hc-flag-w);
	height: var(--hc-flag-h);
	flex: 0 0 auto;
	object-fit: cover;
	border-radius: var(--hc-flag-radius);
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
	background: #cbd5e1;
}

/* 3D (parlak) bayrak efekti: kenar, gölge ve hafif doygunluk. */
.hc-switcher.hc-flag-3d .hc-switcher__flag {
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.18);
	filter: saturate(1.12) contrast(1.04);
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.hc-switcher.hc-flag-3d .hc-switcher__flag-btn:hover .hc-switcher__flag,
.hc-switcher.hc-flag-3d .hc-switcher__row:hover .hc-switcher__flag,
.hc-switcher.hc-flag-3d .hc-switcher__toggle:hover .hc-switcher__flag {
	transform: translateY(-1px);
	box-shadow: 0 3px 6px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(15, 23, 42, 0.18);
}

.hc-switcher__native,
.hc-switcher__name {
	white-space: nowrap;
}

.hc-switcher__code {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--hc-muted);
}

.hc-switcher__check {
	color: var(--hc-accent);
	font-weight: 700;
	visibility: hidden;
}

.hc-switcher__row.is-current .hc-switcher__check,
.hc-switcher__check:not(span) {
	visibility: visible;
}

/* -------------------------------------------------------------------------
   Tetikleyici (pill düğme)
   ------------------------------------------------------------------------- */

.hc-switcher details {
	position: relative;
	display: inline-block;
}

.hc-switcher summary {
	list-style: none;
}

.hc-switcher summary::-webkit-details-marker {
	display: none;
}

.hc-switcher summary::marker {
	content: "";
}

.hc-switcher__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	background: var(--hc-surface);
	border: 1px solid var(--hc-border);
	border-radius: var(--hc-toggle-radius);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
	cursor: pointer;
	user-select: none;
	transition: box-shadow 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.hc-switcher__toggle:hover {
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
	transform: translateY(-1px);
}

.hc-switcher__toggle:focus-visible,
.hc-switcher__flag-btn:focus-visible,
.hc-switcher__row:focus-visible,
.hc-switcher__input:focus-visible {
	outline: 2px solid var(--hc-accent);
	outline-offset: 2px;
}

.hc-switcher__name {
	font-weight: 600;
}

.hc-switcher__chev {
	width: 0;
	height: 0;
	margin-inline-start: 2px;
	border-inline: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: 0.55;
	transition: transform 0.18s ease;
}

.hc-switcher[open] > .hc-switcher__toggle .hc-switcher__chev {
	transform: rotate(180deg);
}

/* -------------------------------------------------------------------------
   Panel
   ------------------------------------------------------------------------- */

.hc-switcher__panel {
	position: absolute;
	z-index: var(--hc-z);
	top: calc(100% + 8px);
	inset-inline-start: 0;
	width: 288px;
	max-height: 360px;
	display: flex;
	flex-direction: column;
	background: var(--hc-surface);
	border: 1px solid var(--hc-border);
	border-radius: var(--hc-radius);
	box-shadow: var(--hc-shadow);
	overflow: hidden;
	animation: hc-pop 0.16s ease-out;
}

@keyframes hc-pop {
	from {
		opacity: 0;
		transform: translateY(-6px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.hc-switcher__search {
	padding: 10px;
	border-bottom: 1px solid var(--hc-border);
	background: var(--hc-surface);
}

.hc-switcher__input {
	width: 100%;
	padding: 8px 10px;
	font: inherit;
	font-size: 13px;
	color: inherit;
	background: var(--hc-hover);
	border: 1px solid transparent;
	border-radius: 8px;
	outline: none;
}

.hc-switcher__input:focus {
	border-color: var(--hc-accent);
	background: var(--hc-surface);
}

.hc-switcher__list {
	overflow-y: auto;
	overflow-x: hidden;
	padding: 6px;
}

.hc-switcher__list--plain {
	overflow: visible;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
}

.hc-switcher__row {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	font: inherit;
	font-size: 13px;
	color: inherit;
	text-decoration: none;
	background: none;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	text-align: start;
	transition: background-color 0.12s ease;
}

.hc-switcher__row:hover,
.hc-switcher__row.is-active {
	background: var(--hc-hover);
	color: inherit;
	text-decoration: none;
}

.hc-switcher__row.is-current {
	background: var(--hc-active);
	font-weight: 600;
}

.hc-switcher__row .hc-switcher__native {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hc-switcher__row--original {
	border-bottom: 1px solid var(--hc-border);
	border-radius: 0;
	margin-bottom: 4px;
	padding: 10px;
}

.hc-switcher__reset {
	font-size: 15px;
	line-height: 1;
	color: var(--hc-muted);
}

.hc-switcher__empty {
	margin: 0;
	padding: 14px 10px;
	text-align: center;
	font-size: 13px;
	color: var(--hc-muted);
}

/* -------------------------------------------------------------------------
   Bayrak şeridi
   ------------------------------------------------------------------------- */

.hc-switcher__flags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px;
}

.hc-switcher__flag-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	align-self: center;
	gap: 7px;
	padding: 5px 8px 7px;
	font: inherit;
	font-size: 13px;
	line-height: 1;
	color: inherit !important;
	text-decoration: none;
	background: none;
	border: 0;
	border-radius: 8px;
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.16s ease, background-color 0.16s ease;
}

/* Hover'da beliren ince vurgu çizgisi (varsayılan durumda görünmez). */
.hc-switcher__flag-btn::after {
	content: "";
	position: absolute;
	inset-inline: 7px;
	bottom: 1px;
	height: 2px;
	border-radius: 2px;
	background: var(--hc-accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.18s ease;
}

/* Hover: yumuşak arka plan + vurgu rengi kod + alt çizgi. */
.hc-switcher__flag-btn:hover,
.hc-switcher__flag-btn:focus-visible {
	background: rgba(15, 23, 42, 0.06);
	color: inherit;
	text-decoration: none;
}

.hc-switcher__flag-btn:hover::after,
.hc-switcher__flag-btn:focus-visible::after {
	transform: scaleX(1);
}

.hc-switcher__flag-btn:hover .hc-switcher__code,
.hc-switcher__flag-btn:focus-visible .hc-switcher__code {
	color: var(--hc-accent);
}

/*
 * Menüye yerleştirildiğinde tema bağlantı stillerini (block, 20px dolgu,
 * alt kenarlık, satır yüksekliği) geçersiz kılar; bayrak ve kod tek satırda kalır.
 */
.hc-menu-item {
	display: flex;
	align-items: center;
}

.hc-menu-item .hc-switcher__flags {
	align-items: center;
	gap: 0;
}

.hc-menu-item .hc-switcher__flag-btn {
	display: inline-flex !important;
	align-items: center !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 5px 8px 7px !important;
	line-height: 1 !important;
	border: 0 !important;
	box-shadow: none !important;
	text-decoration: none !important;
	white-space: nowrap;
	color: inherit !important;
}

/* Panelden yapılan manuel ince ayar (Yerleşim → İnce ayar). */
.hc-switcher--menu {
	transform: translate(var(--hc-off-x, var(--hc-off-x-d, 0px)), var(--hc-off-y, var(--hc-off-y-d, 0px)));
	/* Flex menü öğesi içinde içeriğe göre genişlesin (liste stilleri için şart). */
	width: max-content;
	max-width: 100%;
}

/* Tablet ve mobil için ayrı kaydırma değerleri. */
@media (max-width: 1024px) {
	.hc-switcher--menu {
		--hc-off-x: var(--hc-off-x-t, 0px);
		--hc-off-y: var(--hc-off-y-t, 0px);
	}
}

@media (max-width: 782px) {
	.hc-switcher--menu {
		--hc-off-x: var(--hc-off-x-m, 0px);
		--hc-off-y: var(--hc-off-y-m, 0px);
	}
}

/* -------------------------------------------------------------------------
   Dikey liste
   ------------------------------------------------------------------------- */

.hc-switcher--list .hc-switcher__row {
	border-radius: 8px;
}

.hc-switcher--list .hc-switcher__row.is-current {
	background: var(--hc-active);
}

/* -------------------------------------------------------------------------
   Yüzen (floating) konumlar
   ------------------------------------------------------------------------- */

.hc-switcher.hc-position-floating-bottom-right,
.hc-switcher.hc-position-floating-bottom-left,
.hc-switcher.hc-position-floating-top-right,
.hc-switcher.hc-position-floating-top-left {
	position: fixed;
	z-index: var(--hc-z);
}

.hc-position-floating-bottom-right {
	inset-block-end: 22px;
	inset-inline-end: 22px;
}

.hc-position-floating-bottom-left {
	inset-block-end: 22px;
	inset-inline-start: 22px;
}

.hc-position-floating-top-right {
	inset-block-start: 22px;
	inset-inline-end: 22px;
}

.hc-position-floating-top-left {
	inset-block-start: 22px;
	inset-inline-start: 22px;
}

.hc-position-floating-bottom-right > .hc-switcher__toggle,
.hc-position-floating-bottom-left > .hc-switcher__toggle,
.hc-position-floating-top-right > .hc-switcher__toggle,
.hc-position-floating-top-left > .hc-switcher__toggle {
	padding: 11px 16px;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
}

.hc-position-floating-bottom-right > .hc-switcher__panel,
.hc-position-floating-bottom-left > .hc-switcher__panel {
	top: auto;
	bottom: calc(100% + 10px);
}

.hc-position-floating-top-right > .hc-switcher__panel,
.hc-position-floating-top-left > .hc-switcher__panel {
	top: calc(100% + 10px);
	bottom: auto;
}

.hc-position-floating-bottom-right > .hc-switcher__panel,
.hc-position-floating-top-right > .hc-switcher__panel {
	inset-inline-start: auto;
	inset-inline-end: 0;
}

/* -------------------------------------------------------------------------
   Otomatik yerleştirme sarmalayıcıları
   ------------------------------------------------------------------------- */

.hc-topbar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	background: rgba(0, 0, 0, 0.04);
	position: relative;
	z-index: 10;
}

.hc-before-logo {
	display: inline-flex;
	align-items: center;
	margin-inline-end: 12px;
	vertical-align: middle;
}

.hc-before-logo[data-hc-moved="1"] {
	margin-inline-end: 12px;
}

.hc-menu-item .hc-switcher__toggle {
	padding-block: 0.5em;
	padding-inline: 0;
	background: transparent;
	border-color: transparent;
	box-shadow: none;
}

.hc-menu-item .hc-switcher__toggle:hover {
	background: transparent;
	box-shadow: none;
	transform: none;
}

.hc-menu-item > .hc-switcher__panel {
	inset-inline-start: auto;
	inset-inline-end: 0;
}

/* -------------------------------------------------------------------------
   RTL ve mobil
   ------------------------------------------------------------------------- */

[dir="rtl"] .hc-switcher__chev {
	margin-inline-start: 0;
	margin-inline-end: 2px;
}

@media (max-width: 560px) {
	.hc-switcher__panel {
		width: 258px;
	}

	/*
	 * Dil adları artık stile göre Renderer tarafından basılır:
	 * "Bayrak şeridi" = yalnızca bayrak, diğer stiller "Dil adlarını göster" ayarına uyar.
	 */
	.hc-switcher__toggle .hc-switcher__name {
		display: inline;
		max-width: 45vw;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.hc-position-floating-bottom-right,
	.hc-position-floating-bottom-left {
		inset-block-end: 14px;
	}

	.hc-position-floating-bottom-right {
		inset-inline-end: 14px;
	}

	.hc-position-floating-bottom-left {
		inset-inline-start: 14px;
	}
}

/* Yönetici çubuğu açıkken üstteki düğme çakışmasın. */
.admin-bar .hc-position-floating-top-right,
.admin-bar .hc-position-floating-top-left {
	inset-block-start: 54px;
}

@media screen and (max-width: 782px) {
	.admin-bar .hc-position-floating-top-right,
	.admin-bar .hc-position-floating-top-left {
		inset-block-start: 68px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hc-switcher *,
	.hc-switcher *::before,
	.hc-switcher *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* -------------------------------------------------------------------------
   Ek görünüm stilleri
   ------------------------------------------------------------------------- */

.hc-switcher__globe {
	flex: 0 0 auto;
	opacity: 0.85;
}

/* Popup: bayrak ızgarası */
.hc-switcher[data-hc-style="popup"] .hc-switcher__panel,
.hc-switcher[data-hc-style="popup_search"] .hc-switcher__panel {
	width: 320px;
}

.hc-switcher[data-hc-style="popup"] .hc-switcher__list,
.hc-switcher[data-hc-style="popup_search"] .hc-switcher__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px;
}

.hc-switcher[data-hc-style="popup"] .hc-switcher__row,
.hc-switcher[data-hc-style="popup_search"] .hc-switcher__row {
	padding: 7px 8px;
}

.hc-switcher[data-hc-style="popup"] .hc-switcher__row--original,
.hc-switcher[data-hc-style="popup_search"] .hc-switcher__row--original {
	grid-column: 1 / -1;
}

.hc-switcher[data-hc-style="popup"] .hc-switcher__native,
.hc-switcher[data-hc-style="popup_search"] .hc-switcher__native {
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 560px) {
	.hc-switcher[data-hc-style="popup"] .hc-switcher__panel,
	.hc-switcher[data-hc-style="popup_search"] .hc-switcher__panel {
		width: min(320px, 92vw);
	}
}

/* Bayraklar + açılır menü */
.hc-switcher[data-hc-style="flags_dropdown"] .hc-switcher__flags {
	gap: 6px;
	align-items: center;
}

.hc-switcher__more {
	display: inline-block;
	position: relative;
}

.hc-switcher__toggle--compact {
	padding: 6px 9px;
}

.hc-switcher__more > .hc-switcher__panel {
	inset-inline-start: auto;
	inset-inline-end: 0;
	top: calc(100% + 6px);
}

/* -------------------------------------------------------------------------
   Arka plan seçenekleri (Görünüm > Arka plan)
   ------------------------------------------------------------------------- */

/* Şeffaf: düğme ve bayrak şeridi arka plan çizmez. */
.hc-switcher.hc-bg-transparent .hc-switcher__toggle,
.hc-switcher.hc-bg-transparent .hc-switcher__flag-btn.is-current {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
}

.hc-switcher.hc-bg-transparent .hc-switcher__toggle {
	padding-inline: 8px;
}

.hc-switcher.hc-bg-transparent .hc-switcher__toggle:hover {
	background: rgba(15, 23, 42, 0.06);
	box-shadow: none;
	transform: none;
}

/* Cam efekti: yarı saydam yüzey + bulanıklık. */
.hc-switcher.hc-bg-glass .hc-switcher__toggle {
	background: rgba(255, 255, 255, 0.55);
	border-color: rgba(255, 255, 255, 0.7);
	-webkit-backdrop-filter: blur(10px) saturate(150%);
	backdrop-filter: blur(10px) saturate(150%);
}

.hc-switcher.hc-bg-glass .hc-switcher__panel {
	background: rgba(255, 255, 255, 0.86);
	-webkit-backdrop-filter: blur(16px) saturate(150%);
	backdrop-filter: blur(16px) saturate(150%);
}

@media (prefers-color-scheme: dark) {
	.hc-switcher.hc-dark-auto.hc-bg-glass .hc-switcher__toggle {
		background: rgba(17, 26, 43, 0.55);
		border-color: rgba(255, 255, 255, 0.14);
	}

	.hc-switcher.hc-dark-auto.hc-bg-glass .hc-switcher__panel {
		background: rgba(17, 26, 43, 0.88);
	}
}

/* -------------------------------------------------------------------------
   Mobil uyum
   ------------------------------------------------------------------------- */

@media (max-width: 782px) {
	/* Dokunma hedefi en az 44px. */
	.hc-switcher__toggle {
		min-height: 44px;
		padding: 12px 16px;
	}

	.hc-switcher__flag-btn {
		min-height: 44px;
	}

	/* Mobil menüde satır yüksekliği bozulmasın. */
	.hc-menu-item .hc-switcher__flag-btn {
		min-height: 40px;
		padding-block: 10px !important;
	}

	/* Büyük bayrak seçimleri mobilde taşmasın. */
	.hc-switcher.hc-size-32 {
		--hc-flag-w: 24px;
		--hc-flag-h: 18px;
	}

	.hc-switcher.hc-size-48 {
		--hc-flag-w: 28px;
		--hc-flag-h: 21px;
	}

	/*
	 * Mobil menü içindeki değiştirici: panel mutlak konumlu açılır kutu yerine
	 * akordeon gibi akışa girer. Böylece ekran dışına taşmaz/kırpılmaz.
	 */
	.hc-switcher.hc-switcher--menu .hc-switcher__panel {
		position: static;
		inset: auto;
		width: 100% !important;
		max-width: none;
		max-height: 55vh;
		margin-top: 8px;
		border-radius: 12px;
		box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
		animation: none;
	}

	/* Panelin tam genişlik alabilmesi için kapsayıcı da tam genişlik olmalı. */
	.hc-switcher.hc-switcher--menu details {
		display: block;
		width: 100%;
	}

	.hc-switcher.hc-switcher--menu details > .hc-switcher__toggle {
		width: 100%;
		justify-content: flex-start;
	}

	.hc-switcher.hc-switcher--menu .hc-switcher__list {
		max-height: 46vh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.hc-switcher.hc-switcher--menu .hc-switcher__search {
		padding: 6px;
	}

	.hc-switcher.hc-switcher--menu .hc-switcher__row {
		border-radius: 8px;
	}
}

/* Tablet: panel ekrana göre sınırlanır (taşma olmasın). */
@media (max-width: 1024px) {
	.hc-switcher__panel {
		width: min(320px, 48vw);
		max-height: min(60vh, 380px);
	}
}

@media (max-width: 560px) {
	/* Yüzen düğme: güvenli alan (çentik/gesture bar) desteği. */
	.hc-position-floating-bottom-right {
		inset-inline-end: 14px;
		inset-block-end: calc(14px + env(safe-area-inset-bottom, 0px));
	}

	.hc-position-floating-bottom-left {
		inset-inline-start: 14px;
		inset-block-end: calc(14px + env(safe-area-inset-bottom, 0px));
	}

	/* Panel ekran genişliğine göre daralır. */
	.hc-switcher__panel {
		width: min(92vw, 360px);
		max-height: min(62vh, 420px);
	}

	/* Yüzen düğmenin paneli ekrana sabitlenir (alt sayfa hissi). */
	.hc-switcher.hc-position-floating-bottom-right > .hc-switcher__panel,
	.hc-switcher.hc-position-floating-bottom-left > .hc-switcher__panel {
		position: fixed;
		inset-inline: 10px;
		inset-block: auto calc(74px + env(safe-area-inset-bottom, 0px));
		width: auto;
		max-width: none;
		max-height: min(62vh, 420px);
		border-radius: 18px;
	}

	/* Liste kaydırılabilir; alt güvenli alan boşluğu bırakılır. */
	.hc-switcher__list {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}

	/* Izgara (popup) panel tam genişlik kullanır. */
	.hc-switcher[data-hc-style="popup"] .hc-switcher__panel,
	.hc-switcher[data-hc-style="popup_search"] .hc-switcher__panel {
		width: 100%;
	}
}

/* -------------------------------------------------------------------------
   Menü içinde "sadece dil adları / dil kodları" listesi
   (yatay, kompakt; dikey yığılma ve taşma olmaz)
   ------------------------------------------------------------------------- */

.hc-menu-item .hc-switcher__list--plain,
.hc-switcher--menu .hc-switcher__list--plain,
.hc-preview-variant .hc-switcher__list--plain {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 14px;

	/*
	 * Temalar menü içindeki <ul> öğelerini alt menü sanıp absolute konumlar.
	 * Bizim liste normal akışta kalmalı.
	 */
	position: static !important;
	float: none !important;
	inset: auto !important;
	min-width: 0 !important;
	visibility: visible !important;
	opacity: 1 !important;
	transform: none !important;
	background: none !important;
	box-shadow: none !important;
	border: 0 !important;
}

.hc-menu-item .hc-switcher__list-item,
.hc-switcher--menu .hc-switcher__list-item {
	display: inline-flex;
	margin: 0;
	padding: 0;
}

.hc-menu-item .hc-switcher__list--plain .hc-switcher__row,
.hc-switcher--menu .hc-switcher__list--plain .hc-switcher__row {
	display: inline-flex;
	align-items: center;
	width: auto;
	max-width: none;
	gap: 6px;
	padding: 5px 6px;
	border-radius: 6px;
	background: none;
	white-space: nowrap;
}

.hc-menu-item .hc-switcher__list--plain .hc-switcher__row:hover,
.hc-switcher--menu .hc-switcher__list--plain .hc-switcher__row:hover {
	background: rgba(15, 23, 42, 0.06);
	color: inherit;
}

.hc-menu-item .hc-switcher__list--plain .hc-switcher__row.is-current,
.hc-switcher--menu .hc-switcher__list--plain .hc-switcher__row.is-current {
	background: none;
	font-weight: 600;
}

.hc-menu-item .hc-switcher__list--plain .hc-switcher__native,
.hc-switcher--menu .hc-switcher__list--plain .hc-switcher__native {
	flex: 0 0 auto;
}

.hc-menu-item .hc-switcher__list--plain .hc-switcher__check,
.hc-switcher--menu .hc-switcher__list--plain .hc-switcher__check {
	display: none;
}
