

/* === ns-ui-fix patch (auto) === */
/* 低对比度文字修复 domain */
/* 原 domain.html 内联 <style> 里的裸规则 a{color:#888}，作用域收到本页面区块内，
   不再污染站点头部/页脚。 */
.domain-post_banner a,
.domain-post_search a,
.domain-post_price a,
.domain-post_ness a,
.domain-post_box a,
.domain-post_progress a {
	color: #888;
}

/* ⚠️ 这一组必须带 !important：域名页的配色来自外域 OSS 样式表
   （ossjm.oss-cn-hangzhou.aliyuncs.com/pub/css/*.css），选择器权重比本地高，
   而且那份样式我们改不了。去掉 !important 会退回它自带的 #999999（白底对比度 2.85）。 */
span.txt { color: #475569 !important; }
em { color: #475569 !important; }
p { color: #475569 !important; }
a.more { color: #475569 !important; }
i.iconfont { color: #475569 !important; }

/* 深色区块（#262e41）上的文字要反色，否则深灰压深底只有 1.79 */
.domain-post_ness p,
.domain-post_ness span.txt,
.domain-post_ness em,
.domain-post_ness i.iconfont {
	color: #cbd5e1 !important;
}

/* 橙色小标题 #FF7400 在白底上 2.71，压深一档 */
h5 { color: #c2410c !important; }

/* 域名页是外域克隆站，它的区块宽度写死在 OSS 样式表里（实测文档宽 1271px，
   窄屏右侧被 body{overflow-x:hidden} 裁掉且滚不出来）。这里做一次兜底放开。 */
@media (max-width: 1280px) {
	/* 外域样式把 html/body/main 撑到 1230px 以上，先在这里夹回来，
	   否则 body{overflow-x:hidden} 会把右侧内容裁掉且滚不出来 */
	html, body.ns-web, body.ns-web main.ns-main {
		min-width: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	/* 本页主体允许横向滚动兜底：它是外域克隆站，嵌套写死宽度的层级太多，
	   全部展开改造成本过高；先保证内容可达（可滚出来看），不再被裁。 */
	body.ns-web { overflow-x: auto !important; }
	[class*="domain-post_"] > * {
		min-width: 0 !important;
		width: auto !important;
		max-width: 100% !important;
	}
	/* 轮播按容器宽度铺开（外域 CSS 写死了 slide 宽度） */
	.domain-post_banner .swiper-slide {
		min-width: 0 !important;
		width: 100% !important;
	}
	[class*="domain-post_"] {
		min-width: 0 !important;
		max-width: 100% !important;
		width: 100% !important;
	}
	/* 域名搜索框是写死的宽输入框，窄屏一起放开 */
	.domain-post_search input,
	.domain-post_search .select,
	#ym {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
	}
}
/* === end ns-ui-fix patch === */
