/* 语言切换器 —— 手动切换 中文 / EN */
.hqt-lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	border: 1px solid var(--line, #dadce0);
	border-radius: 999px;
	background: #fff;
	line-height: 1;
	flex: 0 0 auto;
}

.hqt-lang-ic {
	font-size: 12px;
	color: var(--muted, #5f6368);
	padding: 0 6px 0 8px;
	letter-spacing: .02em;
	white-space: nowrap;
}

.hqt-lang-opt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--muted, #5f6368);
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease;
	white-space: nowrap;
}

.hqt-lang-opt:hover {
	background: #f1f3f4;
	color: var(--ink, #202124);
}

.hqt-lang-opt.is-active {
	background: var(--brand, #1a56c4);
	color: #fff;
}

.hqt-lang-opt:focus-visible {
	outline: 2px solid var(--brand, #1a56c4);
	outline-offset: 2px;
}

/* 桌面端放在导航右侧，与电话/CTA 同排 */
.nav .wrap .hqt-lang-switch {
	margin-left: 4px;
}

/* 窄屏：图标说明文字收起，避免挤占导航 */
@media (max-width: 900px) {
	.hqt-lang-ic { display: none; }
	.hqt-lang-opt { min-width: 38px; padding: 4px 8px; font-size: 12.5px; }
}
