/* ==========================================================================
   霓虹矩阵 · 首页（01-首页综合门户 设计稿还原）
   仅在前台首页加载，覆盖 components.css 中同名首屏类。
   ========================================================================== */

.nm-front > * + * {
	margin-top: clamp(26px, 3vw, 40px);
}

/* ---------- 首屏：城市插画 + 文案 + 热搜 ---------- */
.nm-hero {
	border: 1px solid rgba(168, 85, 247, 0.35);
	border-radius: 18px;
	box-shadow: 0 0 0 1px var(--nm-sh-00e5ff-06), 0 24px 60px var(--nm-sh-030510-60), inset 0 0 80px var(--nm-sh-581c87-25);
	overflow: hidden;
	position: relative;
}

.nm-hero__bg {
	inset: 0;
	position: absolute;
}

.nm-hero__city {
	display: block;
	height: 100%;
	width: 100%;
}

.nm-hero__art {
	bottom: 0;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
	opacity: 0.96;
	pointer-events: none;
	position: absolute;
	right: 300px;
	width: 28%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 72%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 72%, transparent 100%);
}

.nm-front .nm-hero__inner {
	grid-template-columns: minmax(0, 1fr) 260px;
}

.nm-front .nm-hero__art {
	right: 250px;
	width: 32%;
}

@media (max-width: 900px) {
	.nm-hero__art {
		opacity: 0.5;
		right: 0;
		width: 60%;
	}
}

.nm-hero__bg::after {
	background: linear-gradient(90deg, var(--nm-bg-060818-92) 0%, var(--nm-bg-060818-72) 26%, var(--nm-bg-060818-18) 52%, var(--nm-bg-060818-42) 100%),
		linear-gradient(180deg, var(--nm-bg-070b18-10) 40%, var(--nm-bg-070b18-75) 100%);
	content: "";
	inset: 0;
	position: absolute;
}

.nm-hero__inner {
	display: grid;
	gap: clamp(20px, 3vw, 48px);
	grid-template-columns: minmax(0, 1fr) 330px;
	padding: clamp(26px, 3.4vw, 52px);
	position: relative;
	z-index: 1;
}

.nm-hero__text {
	align-self: center;
	display: block;
	max-width: 620px;
}

.nm-hero__title {
	color: #fff;
	font-size: clamp(30px, 3.6vw, 52px);
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.28;
	margin: 0 0 18px;
	max-width: none;
	text-shadow: 0 0 22px var(--nm-sh-00e5ff-35), 0 6px 30px var(--nm-sh-000000-65);
}

.nm-hero__title span {
	display: block;
}

.nm-hero__title span:nth-child(2) {
	background: linear-gradient(92deg, #ff5ec4 0%, #b06bff 52%, #00e5ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: none;
	filter: drop-shadow(0 0 18px rgba(176, 107, 255, 0.35));
}

.nm-hero__subtitle {
	color: var(--nm-tx-c6d2e8);
	font-size: clamp(13px, 1.1vw, 16px);
	line-height: 1.9;
	margin: 0 0 26px;
	max-width: 520px;
	text-shadow: 0 2px 12px var(--nm-sh-000000-60);
}

.nm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0;
}

.nm-btn--neon {
	background: linear-gradient(100deg, #ff3cac, #a855f7);
	border: 1px solid rgba(255, 122, 210, 0.7);
	border-radius: 10px;
	box-shadow: 0 0 18px var(--nm-sh-ff3cac-45), inset 0 0 12px var(--nm-sh-ffffff-12);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	gap: 8px;
	padding: 13px 24px;
}

.nm-btn--neon:hover {
	box-shadow: 0 0 26px var(--nm-sh-ff3cac-70), inset 0 0 14px var(--nm-sh-ffffff-18);
	color: #fff;
	filter: brightness(1.08);
}

.nm-btn--cyber {
	background: rgba(0, 229, 255, 0.06);
	border: 1px solid rgba(0, 229, 255, 0.65);
	border-radius: 10px;
	box-shadow: 0 0 16px var(--nm-sh-00e5ff-22), inset 0 0 14px var(--nm-sh-00e5ff-08);
	color: #7ff0ff;
	font-size: 15px;
	font-weight: 600;
	gap: 8px;
	padding: 13px 24px;
}

.nm-btn--cyber:hover {
	background: rgba(0, 229, 255, 0.14);
	box-shadow: 0 0 24px var(--nm-sh-00e5ff-40);
	color: #fff;
}

.nm-btn--neon svg,
.nm-btn--cyber svg {
	height: 17px;
	width: 17px;
}

.nm-btn--neon svg:last-child,
.nm-btn--cyber svg:last-child {
	height: 14px;
	transform: rotate(-90deg);
	width: 14px;
}

/* 今日热搜 */
.nm-hot {
	align-self: center;
	background: linear-gradient(160deg, var(--nm-bg-0d122c-88), var(--nm-bg-0a0c22-82));
	border: 1px solid rgba(168, 85, 247, 0.45);
	border-radius: 14px;
	box-shadow: 0 0 24px var(--nm-sh-581c87-35), inset 0 0 24px var(--nm-sh-00e5ff-04);
	padding: 16px 18px 10px;
}

.nm-hot__title {
	align-items: center;
	color: #fff;
	display: flex;
	font-size: 16px;
	font-weight: 700;
	gap: 8px;
	margin: 0 0 10px;
}

.nm-hot__title em {
	color: var(--nm-tx-ff8ad2);
	font-family: var(--nm-font-mono);
	font-size: 13px;
	font-style: normal;
	letter-spacing: 0.08em;
}

.nm-hot__fire {
	align-items: center;
	background: linear-gradient(140deg, #ff3cac, #a855f7);
	border-radius: 8px;
	box-shadow: 0 0 12px var(--nm-sh-ff3cac-55);
	color: #fff;
	display: inline-flex;
	height: 26px;
	justify-content: center;
	width: 26px;
}

.nm-hot__fire svg {
	height: 15px;
	width: 15px;
}

.nm-hot__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nm-hot__item {
	align-items: center;
	border-bottom: 1px solid rgba(120, 140, 190, 0.1);
	display: flex;
	gap: 10px;
	padding: 7px 0;
}

.nm-hot__item:last-child {
	border-bottom: 0;
}

.nm-hot__rank {
	align-items: center;
	background: var(--nm-bg-ffffff-06);
	border-radius: 5px;
	color: var(--nm-tx-93a3c4);
	display: inline-flex;
	flex: 0 0 20px;
	font-family: var(--nm-font-mono);
	font-size: 11px;
	height: 20px;
	justify-content: center;
}

.nm-hot__item.is-top .nm-hot__rank {
	background: linear-gradient(140deg, #ff3cac, #ff7a59);
	box-shadow: 0 0 10px var(--nm-sh-ff3cac-45);
	color: #fff;
}

.nm-hot__link {
	color: var(--nm-tx-d7e0f2);
	flex: 1;
	font-size: 12px;
	line-height: 1.5;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nm-hot__link:hover {
	color: var(--nm-cyan);
}

.nm-hot__heat {
	align-items: center;
	color: var(--nm-tx-ff8ad2);
	display: inline-flex;
	flex: 0 0 auto;
	font-family: var(--nm-font-mono);
	font-size: 11px;
	gap: 3px;
}

.nm-hot__heat svg {
	height: 11px;
	width: 11px;
}

/* ---------- 五个分类入口 ---------- */
.nm-quickcats {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.nm-quickcat {
	align-items: center;
	background: linear-gradient(150deg, var(--nm-bg-101834-90), var(--nm-bg-0a0e22-92));
	border: 1px solid color-mix(in srgb, var(--nm-qc) 55%, transparent);
	border-radius: 12px;
	box-shadow: inset 0 0 22px color-mix(in srgb, var(--nm-qc) 10%, transparent), 0 0 14px color-mix(in srgb, var(--nm-qc) 12%, transparent);
	display: flex;
	flex-direction: row;
	gap: 12px;
	padding: 16px 14px;
	text-align: left;
	transition: transform var(--nm-dur) var(--nm-ease), box-shadow var(--nm-dur) var(--nm-ease);
}

.nm-quickcat::before {
	content: none;
}

.nm-quickcat:hover {
	box-shadow: inset 0 0 26px color-mix(in srgb, var(--nm-qc) 16%, transparent), 0 0 22px color-mix(in srgb, var(--nm-qc) 30%, transparent);
	transform: translateY(-3px);
}

.nm-quickcat__icon {
	align-items: center;
	background: color-mix(in srgb, var(--nm-qc) 14%, transparent);
	border: 1px solid color-mix(in srgb, var(--nm-qc) 45%, transparent);
	border-radius: 10px;
	box-shadow: 0 0 14px color-mix(in srgb, var(--nm-qc) 25%, transparent);
	color: var(--nm-qc);
	display: inline-flex;
	flex: 0 0 46px;
	height: 46px;
	justify-content: center;
}

.nm-quickcat__icon svg {
	height: 24px;
	width: 24px;
}

.nm-quickcat__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.nm-quickcat__name {
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.nm-quickcat__sub {
	color: var(--nm-tx-8fa0c2);
	font-size: 10px;
	line-height: 1.5;
	white-space: nowrap;
}

/* ---------- 区块标题 ---------- */
.nm-front-head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.nm-front-head__main {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	min-width: 0;
}

.nm-front-head__icon {
	align-items: center;
	background: color-mix(in srgb, var(--nm-fh) 16%, transparent);
	border: 1px solid color-mix(in srgb, var(--nm-fh) 50%, transparent);
	border-radius: 8px;
	box-shadow: 0 0 12px color-mix(in srgb, var(--nm-fh) 25%, transparent);
	color: var(--nm-fh);
	display: inline-flex;
	flex: 0 0 30px;
	height: 30px;
	justify-content: center;
}

.nm-front-head__icon svg {
	height: 17px;
	width: 17px;
}

.nm-front-head__title {
	color: #fff;
	font-size: clamp(18px, 1.6vw, 23px);
	font-weight: 800;
	letter-spacing: 0.03em;
	margin: 0;
}

.nm-front-head__title::before {
	content: none;
}

.nm-front-head__sub {
	color: var(--nm-tx-7f90b2);
	font-size: 12px;
	margin: 0;
}

.nm-front-head__side {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.nm-front-head__feature {
	align-items: center;
	color: var(--nm-tx-9fb0d0);
	display: inline-flex;
	font-size: 11px;
	gap: 5px;
}

.nm-front-head__feature svg {
	color: var(--nm-cyan);
	height: 13px;
	width: 13px;
}

.nm-front-head__more {
	align-items: center;
	color: var(--nm-tx-6fd9ff);
	display: inline-flex;
	font-size: 12px;
	gap: 2px;
	white-space: nowrap;
}

.nm-front-head__more svg {
	height: 12px;
	transform: rotate(-90deg);
	width: 12px;
}

.nm-front-head__more:hover {
	color: #fff;
	text-shadow: 0 0 10px var(--nm-sh-00e5ff-60);
}

/* ---------- 栅格 ---------- */
.nm-front-grid {
	display: grid;
	gap: 18px;
}

.nm-front-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nm-front-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nm-front-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- 文章卡（最新精选 / SEO 推荐） ---------- */
.nm-acard {
	background: linear-gradient(170deg, var(--nm-bg-101a36), var(--nm-bg-0b1126));
	border: 1px solid rgba(96, 128, 190, 0.28);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: border-color var(--nm-dur) var(--nm-ease), box-shadow var(--nm-dur) var(--nm-ease), transform var(--nm-dur) var(--nm-ease);
}

.nm-acard:hover {
	border-color: rgba(0, 229, 255, 0.55);
	box-shadow: 0 0 22px var(--nm-sh-00e5ff-16);
	transform: translateY(-3px);
}

.nm-acard__media {
	aspect-ratio: 16 / 9;
	display: block;
	overflow: hidden;
	position: relative;
}

.nm-acard__media img {
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--nm-ease);
	width: 100%;
}

.nm-acard:hover .nm-acard__media img {
	transform: scale(1.05);
}

.nm-acard__chip {
	background: linear-gradient(100deg, #ff3cac, #a855f7);
	border-radius: 6px;
	box-shadow: 0 0 12px var(--nm-sh-ff3cac-50);
	color: #fff;
	font-size: 10px;
	left: 10px;
	padding: 4px 9px;
	position: absolute;
	top: 10px;
}

.nm-acard__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 14px 16px 12px;
}

.nm-acard__title {
	color: var(--nm-tx-f2f6ff);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.55;
	margin: 0 0 8px;
}

.nm-acard__title a {
	color: inherit;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nm-acard__title a:hover {
	color: var(--nm-cyan);
}

.nm-acard__excerpt {
	color: var(--nm-tx-8b9bc0);
	display: -webkit-box;
	font-size: 12px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-height: 1.75;
	margin: 0 0 12px;
	overflow: hidden;
}

.nm-acard__meta {
	align-items: center;
	border-top: 1px solid rgba(96, 128, 190, 0.16);
	color: var(--nm-tx-7c8db1);
	display: flex;
	font-size: 11px;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 10px;
}

.nm-acard__meta span {
	align-items: center;
	display: inline-flex;
	gap: 5px;
}

.nm-acard__meta svg {
	height: 12px;
	width: 12px;
}

.nm-acard--compact .nm-acard__title {
	font-size: 14px;
	margin-bottom: 12px;
}

/* ---------- 专题大卡 ---------- */
.nm-tcard {
	border: 1px solid rgba(168, 85, 247, 0.4);
	border-radius: 14px;
	box-shadow: 0 0 20px var(--nm-sh-581c87-25);
	overflow: hidden;
	position: relative;
}

.nm-tcard__link {
	display: block;
	min-height: 190px;
	position: relative;
}

.nm-tcard__bg {
	inset: 0;
	position: absolute;
}

.nm-tcard__bg img {
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--nm-ease);
	width: 100%;
}

.nm-tcard:hover .nm-tcard__bg img {
	transform: scale(1.06);
}

.nm-tcard__link::after {
	background: linear-gradient(100deg, var(--nm-bg-08081c-90) 10%, var(--nm-bg-0a0822-55) 55%, var(--nm-bg-0a0822-25) 100%);
	content: "";
	inset: 0;
	position: absolute;
}

.nm-tcard__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: center;
	min-height: 190px;
	padding: 24px 26px;
	position: relative;
	z-index: 1;
}

.nm-tcard__title {
	color: #fff;
	font-size: clamp(19px, 1.8vw, 26px);
	font-weight: 800;
	letter-spacing: 0.03em;
	text-shadow: 0 0 18px var(--nm-sh-a855f7-60);
}

.nm-tcard__sub {
	color: var(--nm-tx-b9c6e2);
	font-size: 12px;
	line-height: 1.7;
}

.nm-tcard__btn {
	align-items: center;
	align-self: flex-start;
	background: rgba(168, 85, 247, 0.16);
	border: 1px solid rgba(196, 141, 255, 0.6);
	border-radius: 8px;
	box-shadow: 0 0 14px var(--nm-sh-a855f7-30);
	color: var(--nm-tx-e3c8ff);
	display: inline-flex;
	font-size: 12px;
	gap: 4px;
	margin-top: 4px;
	padding: 7px 16px;
}

.nm-tcard__btn svg {
	height: 12px;
	transform: rotate(-90deg);
	width: 12px;
}

.nm-tcard:hover .nm-tcard__btn {
	background: linear-gradient(100deg, #ff3cac, #a855f7);
	border-color: transparent;
	color: #fff;
}

/* ---------- 搬砖项目卡 ---------- */
.nm-gcard {
	background: linear-gradient(170deg, var(--nm-bg-101a36), var(--nm-bg-0b1126));
	border: 1px solid rgba(96, 128, 190, 0.28);
	border-radius: 12px;
	overflow: hidden;
	transition: border-color var(--nm-dur) var(--nm-ease), box-shadow var(--nm-dur) var(--nm-ease);
}

.nm-gcard:hover {
	border-color: rgba(168, 85, 247, 0.6);
	box-shadow: 0 0 22px var(--nm-sh-a855f7-18);
}

.nm-gcard__media {
	aspect-ratio: 16 / 8;
	display: block;
	overflow: hidden;
	position: relative;
}

.nm-gcard__media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.nm-gcard__game {
	background: linear-gradient(180deg, transparent, var(--nm-bg-060816-92));
	bottom: 0;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	left: 0;
	letter-spacing: 0.04em;
	padding: 26px 12px 8px;
	position: absolute;
	right: 0;
	text-align: center;
	text-shadow: 0 0 12px var(--nm-sh-00e5ff-50);
}

.nm-gcard__body {
	padding: 12px 14px 14px;
}

.nm-gcard__title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 10px;
}

.nm-gcard__title a {
	color: var(--nm-tx-f2f6ff);
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nm-gcard__title a:hover {
	color: var(--nm-cyan);
}

.nm-gcard__rows {
	display: grid;
	gap: 7px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nm-gcard__rows li {
	align-items: center;
	color: var(--nm-tx-8b9bc0);
	display: flex;
	font-size: 11px;
	gap: 6px;
	line-height: 1.5;
	min-width: 0;
}

.nm-gcard__rows svg {
	color: var(--nm-tx-a9b8d8);
	flex: 0 0 13px;
	height: 13px;
	width: 13px;
}

.nm-gcard__rows b {
	color: var(--nm-tx-cdd8ee);
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nm-gcard__rows .nm-stars {
	color: var(--nm-tx-ffb454);
	letter-spacing: 1px;
}

.nm-gcard__rows .nm-stars i {
	color: var(--nm-tx-ffb454);
	font-style: normal;
	letter-spacing: 0;
}

/* ---------- 网创项目卡 ---------- */
.nm-ocard {
	background: linear-gradient(170deg, var(--nm-bg-101a36), var(--nm-bg-0b1126));
	border: 1px solid rgba(96, 128, 190, 0.28);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	padding: 16px;
	transition: border-color var(--nm-dur) var(--nm-ease), box-shadow var(--nm-dur) var(--nm-ease);
}

.nm-ocard:hover {
	border-color: rgba(77, 124, 254, 0.6);
	box-shadow: 0 0 22px var(--nm-sh-4d7cfe-18);
}

.nm-ocard__head {
	align-items: center;
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
}

.nm-ocard__icon {
	align-items: center;
	background: linear-gradient(140deg, rgba(168, 85, 247, 0.25), rgba(77, 124, 254, 0.2));
	border: 1px solid rgba(168, 85, 247, 0.5);
	border-radius: 9px;
	box-shadow: 0 0 12px var(--nm-sh-a855f7-25);
	color: var(--nm-tx-c9a6ff);
	display: inline-flex;
	flex: 0 0 38px;
	height: 38px;
	justify-content: center;
}

.nm-ocard__icon svg {
	height: 20px;
	width: 20px;
}

.nm-ocard__title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	margin: 0;
}

.nm-ocard__title a {
	color: var(--nm-tx-f2f6ff);
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nm-ocard__title a:hover {
	color: var(--nm-cyan);
}

.nm-ocard__desc {
	color: var(--nm-tx-8b9bc0);
	display: -webkit-box;
	font-size: 11px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-height: 1.75;
	margin: 0 0 12px;
	overflow: hidden;
}

.nm-ocard__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: auto;
}

.nm-chip {
	background: rgba(120, 150, 220, 0.1);
	border: 1px solid rgba(120, 150, 220, 0.25);
	border-radius: 6px;
	color: var(--nm-tx-a9bbdd);
	font-size: 10px;
	line-height: 1;
	padding: 5px 8px;
}

.nm-chip--cyan {
	background: rgba(0, 229, 255, 0.08);
	border-color: rgba(0, 229, 255, 0.35);
	color: var(--nm-tx-6fe6ff);
}

.nm-chip--pink {
	background: rgba(255, 60, 172, 0.1);
	border-color: rgba(255, 60, 172, 0.4);
	color: var(--nm-tx-ff8ad2);
}

/* ---------- 交易筛选条 ---------- */
.nm-filterbar {
	align-items: center;
	background: linear-gradient(170deg, var(--nm-bg-0f1830), var(--nm-bg-0b1126));
	border: 1px solid rgba(96, 128, 190, 0.28);
	border-radius: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
	margin-bottom: 18px;
	padding: 12px 16px;
}

.nm-filterbar__label {
	color: var(--nm-tx-a9bbdd);
	font-size: 12px;
}

.nm-filterbar__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nm-pill {
	background: rgba(120, 150, 220, 0.08);
	border: 1px solid rgba(120, 150, 220, 0.25);
	border-radius: 7px;
	color: var(--nm-tx-b6c6e4);
	font-size: 12px;
	padding: 6px 16px;
}

.nm-pill:hover {
	border-color: rgba(0, 229, 255, 0.5);
	color: var(--nm-tx-6fe6ff);
}

.nm-pill.is-active {
	background: linear-gradient(100deg, #ff3cac, #a855f7);
	border-color: transparent;
	box-shadow: 0 0 12px var(--nm-sh-ff3cac-40);
	color: #fff;
}

.nm-filterbar__sep {
	background: rgba(120, 150, 220, 0.25);
	height: 20px;
	margin: 0 4px;
	width: 1px;
}

.nm-filterbar select {
	background: var(--nm-bg-0d1730);
	border: 1px solid rgba(120, 150, 220, 0.3);
	border-radius: 7px;
	color: var(--nm-tx-b6c6e4);
	font-size: 12px;
	max-width: 150px;
	padding: 7px 10px;
}

.nm-filterbar__note {
	margin-left: auto;
}

/* ---------- 商品卡（左图右文 + 底部购买按钮） ---------- */
.nm-pcard {
	background: linear-gradient(170deg, var(--nm-bg-101a36), var(--nm-bg-0b1126));
	border: 1px solid rgba(96, 128, 190, 0.28);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 12px;
	transition: border-color var(--nm-dur) var(--nm-ease), box-shadow var(--nm-dur) var(--nm-ease);
}

.nm-pcard:hover {
	border-color: rgba(255, 60, 172, 0.55);
	box-shadow: 0 0 22px var(--nm-sh-ff3cac-16);
}

.nm-pcard__main {
	display: flex;
	flex: 1;
	gap: 12px;
}

.nm-pcard__media {
	border-radius: 9px;
	flex: 0 0 84px;
	height: 84px;
	overflow: hidden;
}

.nm-pcard__media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.nm-pcard__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.nm-pcard__title {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
	margin: 0;
}

.nm-pcard__title a {
	color: var(--nm-tx-f2f6ff);
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nm-pcard__title a:hover {
	color: var(--nm-cyan);
}

.nm-pcard__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.nm-pcard__price {
	align-items: baseline;
	color: #ff5cb8;
	display: flex;
	flex-wrap: wrap;
	font-size: 17px;
	font-weight: 800;
	gap: 6px;
	line-height: 1.2;
	margin-top: auto;
}

.nm-pcard__price del {
	color: var(--nm-tx-6f7fa3);
	font-size: 11px;
	font-weight: 400;
}

.nm-pcard__price .woocommerce-Price-currencySymbol {
	font-size: 12px;
	margin-right: 1px;
}

.nm-pcard__stock {
	color: var(--nm-tx-7c8db1);
	font-size: 10px;
	font-weight: 400;
}

.nm-pcard__buy {
	align-items: center;
	background: linear-gradient(100deg, rgba(255, 60, 172, 0.16), rgba(168, 85, 247, 0.16));
	border: 1px solid rgba(255, 60, 172, 0.55);
	border-radius: 8px;
	box-shadow: 0 0 12px var(--nm-sh-ff3cac-18);
	color: #ff9ad6;
	display: flex;
	font-size: 12px;
	font-weight: 600;
	gap: 4px;
	justify-content: center;
	margin-top: 12px;
	padding: 8px 10px;
}

.nm-pcard__buy svg {
	height: 12px;
	transform: rotate(-90deg);
	width: 12px;
}

.nm-pcard__buy:hover {
	background: linear-gradient(100deg, #ff3cac, #a855f7);
	border-color: transparent;
	color: #fff;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
	.nm-hero__inner {
		grid-template-columns: minmax(0, 1fr) 300px;
	}

	.nm-quickcat {
		flex-direction: column;
		gap: 8px;
		padding: 14px 10px;
		text-align: center;
	}

	.nm-quickcat__sub {
		white-space: normal;
	}

	.nm-front-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.nm-front-head__feature {
		display: none;
	}
}

@media (max-width: 900px) {
	.nm-front-grid--3,
	.nm-front-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.nm-hero__inner,
	.nm-front .nm-hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.nm-hot {
		max-width: 520px;
		width: 100%;
	}

	.nm-quickcats {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.nm-front-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.nm-hero__inner {
		padding: 24px 18px;
	}

	.nm-hero__title {
		font-size: 27px;
	}

	.nm-hero__actions .nm-btn {
		flex: 1;
		justify-content: center;
		padding: 12px 14px;
	}

	.nm-quickcats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nm-front-grid--2,
	.nm-front-grid--3,
	.nm-front-grid--4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.nm-front-head__sub {
		flex-basis: 100%;
	}

	.nm-filterbar__note {
		margin-left: 0;
	}

	.nm-tcard__link,
	.nm-tcard__body {
		min-height: 170px;
	}
}

/* ==========================================================================
   游戏资讯页（02-游戏资讯 设计稿还原）
   ========================================================================== */
.nm-news > * + * {
	margin-top: 24px;
}

.nm-news-hero + .nm-news-cats {
	margin-top: 16px;
}

.nm-news-hero .nm-hero__inner {
	grid-template-columns: minmax(0, 1fr) 300px;
	padding: 30px 34px;
}

.nm-news-hero .nm-hero__title {
	font-size: clamp(34px, 3.4vw, 46px);
	margin-bottom: 12px;
}

.nm-news-hero .nm-hero__subtitle {
	margin-bottom: 20px;
}

.nm-news-hero .nm-hot {
	padding: 12px 16px 8px;
}

.nm-news-hero .nm-hot__title {
	margin-bottom: 6px;
}

.nm-news-hero .nm-hot__item {
	padding: 4px 0;
}

.nm-news-hero__badge {
	align-items: center;
	background: rgba(168, 85, 247, 0.16);
	border: 1px solid rgba(210, 130, 255, 0.65);
	border-radius: 999px;
	box-shadow: 0 0 16px var(--nm-sh-a855f7-30);
	color: var(--nm-tx-e8c6ff);
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	gap: 7px;
	margin-bottom: 14px;
	padding: 5px 14px;
}

.nm-news-hero__badge svg {
	height: 16px;
	width: 16px;
}

.nm-news-cats {
	gap: 12px;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.nm-news-cats .nm-quickcat {
	gap: 9px;
	padding: 12px 10px;
}

.nm-news-cats .nm-quickcat:first-child {
	background: linear-gradient(140deg, rgba(168, 85, 247, 0.45), rgba(91, 33, 182, 0.32));
	border-color: rgba(211, 137, 255, 0.8);
	box-shadow: 0 0 20px var(--nm-sh-a855f7-35), inset 0 0 18px var(--nm-sh-ffffff-05);
}

.nm-news-cats .nm-quickcat__icon {
	flex-basis: 40px;
	height: 40px;
}

.nm-news-cats .nm-quickcat__icon svg {
	height: 22px;
	width: 22px;
}

.nm-news-cats .nm-quickcat__name {
	font-size: 14px;
}

.nm-news-cats .nm-quickcat__sub {
	font-size: 9px;
}

.nm-news-layout {
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
}

.nm-news-main,
.nm-news-aside {
	display: flex;
	flex-direction: column;
	gap: 26px;
	min-width: 0;
}

.nm-news .nm-front-head {
	margin-bottom: 14px;
}

.nm-news .nm-front-head__main {
	gap: 6px 10px;
}

.nm-news .nm-front-head__title {
	font-size: 20px;
}

.nm-news .nm-front-head__sub {
	font-size: 11px;
}

/* 焦点推荐：左大右小，图片覆盖整张卡。 */
.nm-focus-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: 1.3fr 1fr;
	height: 340px;
}

.nm-focus-stack {
	display: grid;
	gap: 14px;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	min-height: 0;
}

.nm-focus-card {
	background: var(--nm-bg-0d1530);
	border-color: rgba(157, 93, 239, 0.5);
	border-radius: 12px;
	box-shadow: inset 0 0 24px var(--nm-sh-581c87-12);
	min-height: 0;
}

.nm-focus-card__link {
	display: block;
	height: 100%;
	overflow: hidden;
	position: relative;
}

.nm-focus-card__link > img {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	transition: transform 0.5s var(--nm-ease);
	width: 100%;
}

.nm-focus-card__link::after {
	background: linear-gradient(180deg, var(--nm-bg-050816-02) 20%, var(--nm-bg-060819-52) 50%, var(--nm-bg-060819-97) 100%);
	content: "";
	inset: 0;
	position: absolute;
}

.nm-focus-card:hover .nm-focus-card__link > img {
	transform: scale(1.045);
}

.nm-focus-card__chip {
	background: linear-gradient(100deg, #ff3cac, #a855f7);
	border: 1px solid var(--nm-bd-ffffff-20);
	border-radius: 5px;
	box-shadow: 0 0 12px var(--nm-sh-ff3cac-45);
	color: #fff;
	font-size: 10px;
	left: 12px;
	line-height: 1;
	padding: 5px 9px;
	position: absolute;
	top: 12px;
	z-index: 2;
}

.nm-focus-card__body {
	bottom: 0;
	left: 0;
	padding: 18px;
	position: absolute;
	right: 0;
	z-index: 1;
}

.nm-focus-card__title {
	color: #fff;
	display: -webkit-box;
	font-size: 18px;
	font-weight: 700;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-height: 1.5;
	margin: 0 0 8px;
	overflow: hidden;
	text-shadow: 0 2px 10px #050817;
}

.nm-focus-card__excerpt {
	color: var(--nm-tx-bec9e0);
	display: -webkit-box;
	font-size: 11px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-height: 1.65;
	margin: 0 0 10px;
	overflow: hidden;
}

.nm-focus-card__meta {
	align-items: center;
	color: var(--nm-tx-c0cbe0);
	display: flex;
	flex-wrap: wrap;
	font-size: 10px;
	gap: 16px;
}

.nm-focus-card__meta span {
	align-items: center;
	display: inline-flex;
	gap: 5px;
}

.nm-focus-card__meta svg {
	height: 12px;
	width: 12px;
}

.nm-focus-card--sub .nm-focus-card__body {
	padding: 12px 14px;
}

.nm-focus-card--sub .nm-focus-card__title {
	font-size: 14px;
	line-height: 1.4;
	margin-bottom: 7px;
}

.nm-focus-card--sub .nm-focus-card__meta {
	justify-content: space-between;
}

/* 右侧编辑推荐。 */
.nm-editor-list {
	display: grid;
	gap: 12px;
	grid-template-rows: repeat(3, minmax(0, 1fr));
	height: 340px;
}

.nm-editor-card {
	background: linear-gradient(150deg, var(--nm-bg-111a36), var(--nm-bg-0b1127));
	border-color: rgba(118, 93, 203, 0.45);
	display: grid;
	grid-template-columns: 39% minmax(0, 1fr);
	min-height: 0;
}

.nm-editor-card__media {
	min-height: 0;
	overflow: hidden;
}

.nm-editor-card__media img {
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--nm-ease);
	width: 100%;
}

.nm-editor-card:hover .nm-editor-card__media img {
	transform: scale(1.05);
}

.nm-editor-card__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 10px 11px;
}

.nm-editor-card__title {
	font-size: 12px;
	line-height: 1.45;
	margin: 0 0 4px;
}

.nm-editor-card__title a {
	color: var(--nm-tx-f2f5ff);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nm-editor-card__title a:hover {
	color: var(--nm-cyan);
}

.nm-editor-card__excerpt {
	color: var(--nm-tx-8293b6);
	font-size: 10px;
	line-height: 1.4;
	margin: 0 0 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nm-editor-card__meta {
	align-items: center;
	color: var(--nm-tx-91a2c2);
	display: flex;
	flex-wrap: wrap;
	font-size: 9px;
	gap: 9px;
	margin-top: auto;
}

.nm-editor-card__meta span {
	align-items: center;
	display: inline-flex;
	gap: 3px;
}

.nm-editor-card__meta svg {
	height: 10px;
	width: 10px;
}

/* 最新资讯标签与横向列表。 */
.nm-news-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 14px;
}

.nm-news-tabs a {
	background: var(--nm-bg-111b35-90);
	border: 1px solid rgba(112, 132, 190, 0.35);
	border-radius: 999px;
	color: var(--nm-tx-aab9d5);
	font-size: 10px;
	line-height: 1;
	padding: 7px 14px;
}

.nm-news-tabs a:hover {
	border-color: rgba(0, 229, 255, 0.55);
	color: var(--nm-cyan);
}

.nm-news-tabs a.is-active-yes {
	background: linear-gradient(100deg, #ff3cac, #a855f7);
	border-color: rgba(255, 146, 218, 0.7);
	box-shadow: 0 0 12px var(--nm-sh-ff3cac-40);
	color: #fff;
}

.nm-news-rows {
	display: grid;
	gap: 12px;
}

.nm-news-row {
	background: linear-gradient(160deg, var(--nm-bg-111a33), var(--nm-bg-0b1125));
	border-color: rgba(100, 128, 188, 0.38);
	border-radius: 11px;
	display: grid;
	grid-template-columns: 31% minmax(0, 1fr);
	min-height: 112px;
}

.nm-news-row__media {
	min-height: 112px;
	overflow: hidden;
}

.nm-news-row__media img {
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s var(--nm-ease);
	width: 100%;
}

.nm-news-row:hover .nm-news-row__media img {
	transform: scale(1.045);
}

.nm-news-row__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 10px 13px;
}

.nm-news-row__title {
	font-size: 14px;
	line-height: 1.4;
	margin: 0 0 4px;
}

.nm-news-row__title a {
	color: var(--nm-tx-f1f5ff);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nm-news-row__title a:hover {
	color: var(--nm-cyan);
}

.nm-news-row__excerpt {
	color: var(--nm-tx-8c9cbd);
	display: -webkit-box;
	font-size: 10px;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	line-height: 1.55;
	margin: 0 0 7px;
	overflow: hidden;
}

.nm-news-row__footer {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: space-between;
	margin-top: auto;
}

.nm-news-row__meta {
	align-items: center;
	color: var(--nm-tx-91a1c0);
	display: flex;
	flex-wrap: wrap;
	font-size: 9px;
	gap: 5px;
	min-width: 0;
}

.nm-news-row__meta > span,
.nm-news-row__views {
	align-items: center;
	display: inline-flex;
	gap: 4px;
}

.nm-news-row__meta svg,
.nm-news-row__views svg {
	height: 11px;
	width: 11px;
}

.nm-news-row__chip {
	background: rgba(88, 114, 177, 0.13);
	border: 1px solid rgba(111, 137, 199, 0.28);
	border-radius: 4px;
	color: var(--nm-tx-9fb1d1);
	line-height: 1;
	padding: 3px 6px;
}

.nm-news-row__chip:hover {
	border-color: rgba(0, 229, 255, 0.5);
	color: var(--nm-cyan);
}

.nm-news-row__views {
	color: var(--nm-tx-b0bed7);
	flex: 0 0 auto;
	font-size: 9px;
}

/* 热门标签与订阅卡。 */
.nm-news-tags .nm-tagcloud {
	gap: 9px;
}

.nm-news-tags .nm-tagcloud a {
	background: linear-gradient(150deg, var(--nm-bg-141d3a-95), var(--nm-bg-0c1227-95));
	border-color: rgba(111, 99, 194, 0.48);
	border-radius: 6px;
	box-shadow: inset 0 0 12px var(--nm-sh-a855f7-05);
	color: var(--nm-tx-c0cbe3);
	font-size: 11px;
	padding: 8px 13px;
}

.nm-news-subscribe {
	background: linear-gradient(145deg, rgba(53, 26, 92, 0.6), var(--nm-bg-0e142d-94)),
		var(--nm-bg-111a34);
	border: 1px solid rgba(196, 92, 255, 0.7);
	border-radius: 12px;
	box-shadow: 0 0 24px var(--nm-sh-a855f7-25), inset 0 0 30px var(--nm-sh-a855f7-08);
	padding: 18px;
	position: relative;
}

.nm-news-subscribe::after {
	border-right: 1px solid rgba(0, 229, 255, 0.22);
	border-top: 1px solid rgba(0, 229, 255, 0.22);
	content: "";
	height: 70px;
	position: absolute;
	right: 13px;
	top: 13px;
	transform: skew(12deg);
	width: 70px;
}

.nm-news-subscribe h2 {
	align-items: center;
	color: var(--nm-tx-f6eeff);
	display: flex;
	font-size: 18px;
	gap: 9px;
	margin: 0 0 5px;
	position: relative;
	z-index: 1;
}

.nm-news-subscribe h2 svg {
	color: var(--nm-tx-ef8dff);
	height: 21px;
	width: 21px;
}

.nm-news-subscribe > p {
	color: var(--nm-tx-a9b3d1);
	font-size: 11px;
	margin: 0 0 14px;
	position: relative;
	z-index: 1;
}

.nm-news-subscribe__form {
	display: flex;
	gap: 9px;
	position: relative;
	z-index: 1;
}

.nm-news-subscribe__form input {
	background: var(--nm-bg-090d20-85);
	border: 1px solid rgba(158, 102, 211, 0.4);
	border-radius: 7px;
	color: var(--nm-tx-e9e5f5);
	flex: 1;
	font-size: 11px;
	height: 38px;
	min-width: 0;
	padding: 8px 11px;
}

.nm-news-subscribe__form .nm-btn {
	border-radius: 7px;
	flex: 0 0 auto;
	font-size: 11px;
	padding: 8px 14px;
}

.nm-news-subscribe__features {
	align-items: center;
	border-top: 1px solid rgba(151, 98, 203, 0.25);
	color: var(--nm-tx-b9a9d4);
	display: flex;
	flex-wrap: wrap;
	font-size: 9px;
	gap: 12px;
	margin-top: 14px;
	padding-top: 11px;
	position: relative;
	z-index: 1;
}

.nm-news-subscribe__features span {
	align-items: center;
	display: inline-flex;
	gap: 4px;
}

.nm-news-subscribe__features svg {
	color: var(--nm-tx-db8cff);
	height: 10px;
	width: 10px;
}

@media (max-width: 1180px) {
	.nm-news-cats {
		grid-template-columns: repeat(7, minmax(0, 1fr));
	}

	.nm-news-layout {
		grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
	}
}

@media (max-width: 980px) {
	.nm-news-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.nm-news-aside {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nm-news-editor {
		grid-column: 1 / -1;
	}

	.nm-editor-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-template-rows: none;
		height: auto;
	}

	.nm-editor-card {
		grid-template-columns: 38% minmax(0, 1fr);
		min-height: 116px;
	}
}

@media (max-width: 900px) {
	.nm-news-hero .nm-hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.nm-news-hero .nm-hot {
		max-width: 520px;
		width: 100%;
	}
}

@media (max-width: 760px) {
	.nm-news-hero .nm-hero__inner {
		padding: 24px 18px;
	}

	.nm-news-hero .nm-hero__title {
		font-size: 29px;
	}

	.nm-news-cats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nm-focus-grid {
		grid-template-columns: minmax(0, 1fr);
		height: auto;
	}

	.nm-focus-card--lead {
		min-height: 340px;
	}

	.nm-focus-stack {
		grid-template-rows: repeat(2, 170px);
	}

	.nm-news-aside {
		grid-template-columns: minmax(0, 1fr);
	}

	.nm-news-editor {
		grid-column: auto;
	}

	.nm-editor-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.nm-editor-card {
		min-height: 112px;
	}
}

@media (max-width: 640px) {
	.nm-news-row {
		grid-template-columns: 36% minmax(0, 1fr);
	}

	.nm-news-row__media {
		min-height: 126px;
	}

	.nm-news-row__body {
		padding: 10px;
	}

	.nm-news-row__title {
		font-size: 13px;
	}

	.nm-news-row__excerpt {
		display: none;
	}

	.nm-news-row__footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.nm-news-row__meta .nm-news-row__chip:nth-of-type(n+2) {
		display: none;
	}

	.nm-news-subscribe__form {
		align-items: stretch;
		flex-direction: column;
	}

	.nm-news-subscribe__form .nm-btn {
		justify-content: center;
	}
}

