@charset "utf-8";
/* bn-lang-layout.css — 语言模式排版适配（2026-10-17）
   作用范围：仅 html[lang="en"] 与繁体态，不污染简体中文原版。
   目标：
     1. 英文导航不换行、不挤压、不掉行（原版 nav 是 float 链，英文变宽后必然崩）
     2. 头部高度保持原设计，不因文字变长而拉高
     3. 极窄屏下优雅降级（缩间距 → 缩字号 → 横向滚动），永不换行
*/

/* ============ 英文模式：导航改为 flex，彻底消除 float 换行 ============ */
html[lang="en"] .tx-head-nav .menu {
	display: flex !important;
	align-items: center;
	flex-wrap: nowrap !important;
	justify-content: flex-end;
}

html[lang="en"] .tx-head-nav .menu > li {
	float: none !important;
	margin: 0 0 0 14px !important;
	display: block;
	white-space: nowrap;
}

html[lang="en"] .tx-head-nav .menu > li > a {
	font-size: 14px !important;
	line-height: 1.2 !important;
	letter-spacing: 0;
	white-space: nowrap;
	display: block;
	padding: 0 !important;
}

/* 英文导航区容器：允许收缩，不把登录按钮挤到下一行 */
html[lang="en"] .tx-center > .fr {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
}

html[lang="en"] .tx-head-nav {
	display: flex !important;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
}

html[lang="en"] .menu-panyou-menu-container {
	min-width: 0;
	overflow-x: auto;
	overflow-y: visible;
	scrollbar-width: none;
}

html[lang="en"] .menu-panyou-menu-container::-webkit-scrollbar { display: none; }

/* 登录按钮：英文模式下保持同一行，不被挤下去 */
html[lang="en"] .tx-head-nav .menu > li.menu-item-has-login,
html[lang="en"] .tx-head-nav .menu > li:last-child {
	margin-left: 16px !important;
}

/* 认证行英文：字号收一点，避免右侧过挤 */
html[lang="en"] .tx-head-top .pos-text {
	font-size: 13px !important;
	letter-spacing: 0;
	font-weight: 600;
}

html[lang="en"] .tx-head-top h4,
html[lang="en"] .tx-head-top .brand-power {
	font-size: 12px !important;
}

/* ============ 简体/繁体：登录按钮也不要换行 ============ */
.tx-head-nav .menu { white-space: nowrap; }
.tx-head-nav .menu > li { white-space: nowrap; }

/* ============ 中等屏：英文缩间距 ============ */
@media (max-width: 1500px) {
	html[lang="en"] .tx-head-nav .menu > li { margin-left: 11px !important; }
	html[lang="en"] .tx-head-nav .menu > li > a { font-size: 13px !important; }
	html[lang="en"] .tx-head-top .pos-text { font-size: 12px !important; }
}

/* ============ 小屏：英文再缩，仍单行 ============ */
@media (max-width: 1280px) {
	html[lang="en"] .tx-head-nav .menu > li { margin-left: 8px !important; }
	html[lang="en"] .tx-head-nav .menu > li > a { font-size: 12px !important; }
	html[lang="en"] .tx-head-top .pos-text { font-size: 11px !important; }
	html[lang="en"] .tx-head-top h4 { display: none !important; }
}

/* ============ 手机：横向滚动代替换行 ============ */
@media (max-width: 1024px) {
	html[lang="en"] .menu-panyou-menu-container {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}
