/* =========================================================
 * NNII UI 修正层 - TapTap 风格
 * 主色：TapTap 青 #14D9C8 / #0FC2B3
 * 强调：珊瑚橙 #FF8C61（折扣等需要突出的场景，替代红色）
 * 文字：深灰 #1f2733 / 次要 #6b7480
 * ========================================================= */

/* ---------- 1. 按钮配色统一 ---------- */
.tx-btn.bg-green,
a.tx-btn.bg-green {
	background-color: #14D9C8 !important;
	color: #fff !important;
	border-radius: 8px;
	font-weight: 600;
	letter-spacing: .5px;
	box-shadow: 0 2px 8px rgba(20, 217, 200, .25);
}
.tx-btn.bg-green:hover,
a.tx-btn.bg-green:hover {
	background-color: #0FC2B3 !important;
	color: #fff !important;
	opacity: 1;
}
.tx-btn.bg-blue,
a.tx-btn.bg-blue {
	background-color: #0FC2B3 !important;
	color: #fff !important;
	border-radius: 8px;
}
.tx-btn.bg-blue:hover { background-color: #0AA99B !important; color: #fff !important; }

/* ---------- 1.5 全局红字 → TapTap 青 / 珊瑚橙 ---------- */
a:hover,
.nav li a:hover,
.footer a:hover,
.f-blue,
.f-main,
a.infotextkey,
.home-tab-li span.f-gray { color: #14D9C8 !important; }

.f-orange,
.f-color,
span.fr.f-color,
.game-rating-r,
p.sp1,
p.score { color: #FF8C61 !important; }

.list-tab1 .tab-hd li.active,
.user-tab .tab-hd li.active,
.pagebar a:hover,
.pagebar .now-page,
.info-tag a:hover,
.btn-line,
.btn-line:hover,
.ico-jian,
.home-tj li > strong,
.home-tj li a:hover,
.home-tj li a.on,
.item-app1:hover > i.fa,
.ranking li:hover > a i.fa,
.ranking li.on > a i.fa,
.ranking li.on > i:first-child,
.swiper-pagination-bullet-active,
.side-box dl#divSearchPanel dd > div input[type="submit"],
.header-user > a,
#gift-overlay .pop-site .content .btns .verify,
.two_merge_btn,
.info-zan>a.ico-favorite { background-color: #14D9C8 !important; }

.home-tab .tab-hd li.active::after,
.list-tab1 .tab-hd li.active::after,
.user-tab .tab-hd li.active::after,
.tx-title::after,
.side-box dl dt::after,
.nav > ul > li > a::after,
.ul-spot li a::after,
.home-tj li > strong::after,
.row li:nth-child(-n+3) .game-num,
.btn-line,
.home-tab-li li.on>i { border-color: #14D9C8 !important; }

.btn-line { color: #14D9C8 !important; }
.btn-line:hover { color: #fff !important; }
#gift-overlay .pop-site .content .btns .verify { background: linear-gradient(90deg, #14D9C8, #7DE8DC) !important; }

/* 正文链接：主色文字，无背景块（礼包名称等不受影响） */
.tx-text a { color: #14D9C8; background: none !important; box-shadow: none; }

/* 下载按钮：图标 + 文字垂直居中，文字不再贴边
 * 注意：必须 inline-flex——块级 flex 会让桌面端（.soft-down 为普通 p）两个按钮上下堆叠 */
.soft-down a.tx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 44px;
	line-height: 1.2;
	border-radius: 8px;
	text-decoration: none;
	vertical-align: middle;
}
.soft-down a.tx-btn .fa { font-size: 17px; }
.soft-down a.tx-btn .text { color: #fff !important; font-size: 15px; }
.soft-down a.tx-btn .small { color: #fff !important; opacity: .85; font-size: 12px; }

/* ---------- 2. 折扣标 ---------- */
/* 首页轮播折扣标：用 hua.png 包住文字 */
.gamezk {
	position: absolute;
	bottom: 40%;
	right: 0.8rem;
	width: 83px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0;
	margin: 0;
	z-index: 3;
}
.gamezk .gamezk-bg {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: fill;
	z-index: 1;
}
.gamezk .gamezk-txt {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 0 8px;
	box-sizing: border-box;
	color: #14D9C8;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 0 1px rgba(255, 255, 255, .4);
}
.gamezk .zk-line1 {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 1px;
	color: #14D9C8;
}
.gamezk .zk-line2 {
	font-size: 8px;
	line-height: 1.1;
	margin: 0;
	color: #14D9C8;
	opacity: .92;
}
@media (max-width: 640px) {
	.gamezk { width: 70px; height: 34px; }
	.gamezk .zk-line1 { font-size: 9px; }
	.gamezk .zk-line2 { font-size: 7px; }
}

/* 内页折扣标 */
.softzk { color: #fff !important; }

/* ---------- 3. 礼包卡片：按钮固定右侧 + 悬停抖动 ---------- */
.nnii-gift-item {
	position: relative;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	padding: 14px 124px 14px 24px;
	transition: box-shadow .2s ease, border-color .2s ease;
}
.nnii-gift-item:hover {
	box-shadow: 0 6px 18px rgba(40, 80, 180, .10);
	border-color: #dbe4ff;
	transform: none; /* 去掉整卡位移 */
}
.nnii-gift-item .operate {
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	flex: none;
}
.nnii-gift-item .nnii-claim,
.nnii-gift-item .operate .tx-btn {
	min-width: 84px;
	padding: 0 16px;
	height: 38px;
	line-height: 38px;
	display: inline-block;
	text-align: center;
}

/* 悬停：按钮轻微跳动两下 */
@keyframes nnii-btn-bounce {
	0%   { transform: translateY(0); }
	20%  { transform: translateY(-5px); }
	40%  { transform: translateY(0); }
	60%  { transform: translateY(-5px); }
	80%  { transform: translateY(0); }
	100% { transform: translateY(0); }
}
.nnii-gift-item:hover .nnii-claim,
.nnii-gift-item:hover .operate .tx-btn {
	animation: nnii-btn-bounce .6s ease both;
}

@media (max-width: 640px) {
	.nnii-gift-item { padding: 14px 24px; flex-wrap: wrap; }
	.nnii-gift-item .operate {
		position: static;
		transform: none;
		width: 100%;
		margin-top: 10px;
		text-align: right;
	}
	.nnii-gift-item:hover .nnii-claim { animation: none; }
}

/* ---------- 4. 开服倒计时卡片（简约版） ---------- */
.server-open-card { border-left: 4px solid #14D9C8; }
.server-open-card .server-open-body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 20px;
}
.server-open-card .server-open-left { flex: 1 1 auto; min-width: 0; }
.server-open-card .server-open-left .server-open-desc { text-align: left; }
.server-open-card .so-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 600;
	color: #1f2733;
}
.server-open-card .so-label .fa { color: #14D9C8; }
.server-type-badge {
	display: inline-block;
	background: #eafaf8;
	color: #0FC2B3;
	font-size: 12px;
	font-weight: 600;
	padding: 2px 10px;
	border-radius: 20px;
}
.countdown {
	display: flex;
	align-items: center;
	gap: 6px;
}
.cd-item {
	min-width: 64px;
	text-align: center;
	background: #f5f8fa;
	border-radius: 10px;
	padding: 8px 6px;
}
.cd-item b {
	display: inline-block;
	font-size: 24px;
	line-height: 1.2;
	color: #1f2733;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	vertical-align: baseline;
}
.cd-item span { font-size: 12px; color: #9aa3af; margin-left: 2px; }
.cd-sep {
	font-size: 20px;
	font-weight: 700;
	color: #c6cdd8;
	line-height: 1;
	padding-top: 4px;
}
.server-open-desc {
	margin: 12px 0 0;
	font-size: 13px;
	color: #9aa3af;
}
.server-open-btn { display: inline-block; }

/* 倒计时结束态 */
.countdown.is-over .cd-item { background: #f1f3f7; }
.countdown.is-over .cd-item b { color: #9aa3af; }

@media (max-width: 640px) {
	.server-open-card .server-open-body {
		flex-direction: column;
		text-align: center;
		padding: 16px;
	}
	.server-open-card .server-open-left { width: 100%; }
	.server-open-card .countdown { justify-content: center; }
	.server-open-card .server-open-left .server-open-desc { text-align: center; }
	.server-open-card .server-open-right { width: 100%; margin-top: 14px; }
	.server-open-card .server-open-btn { width: 100%; }
}

/* ---------- 5. 通用：文本溢出保护 ---------- */
.gift-info, .gift-info p { overflow-wrap: anywhere; }

/* =========================================================
 * 6. 登录 / 注册 / 找回密码
 * ========================================================= */
.nnii-auth-wrap {
	display: flex;
	justify-content: center;
	padding: 10px 0 40px;
}
.nnii-auth-card {
	display: flex;
	width: 100%;
	max-width: 860px;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(30, 60, 140, .10);
}
.nnii-auth-card.single-card { max-width: 460px; }
.auth-side {
	flex: 0 0 320px;
	background: linear-gradient(160deg, #14D9C8, #7DE8DC);
	color: #fff;
	padding: 40px 32px;
}
.auth-side h2 { font-size: 24px; margin: 0 0 12px; color: #fff; }
.auth-side p { font-size: 13px; line-height: 1.8; opacity: .92; margin: 0; }
.auth-perks { list-style: none; margin: 22px 0 0; padding: 0; }
.auth-perks li {
	font-size: 13px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .14);
	padding: 9px 12px;
	border-radius: 10px;
}
.auth-perks .fa { font-size: 15px; }

.auth-main { flex: 1 1 auto; padding: 30px 36px 34px; }
.auth-main.full { padding: 34px 36px; }
.auth-tabs {
	list-style: none;
	display: flex;
	gap: 26px;
	margin: 0 0 22px;
	padding: 0;
	border-bottom: 1px solid #eef1f6;
}
.auth-tabs li {
	font-size: 17px;
	font-weight: 600;
	color: #9aa3af;
	cursor: pointer;
	padding-bottom: 10px;
	position: relative;
}
.auth-tabs li.active { color: #1f2733; }
.auth-tabs li.active::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	height: 2px;
	background: #14D9C8;
	border-radius: 2px;
}
.auth-pane { display: none; }
.auth-pane.active { display: block; }
.auth-title { font-size: 20px; margin: 0 0 6px; }
.auth-sub { font-size: 13px; color: #8b95a3; margin: 0 0 20px; }

.auth-form .form-row { margin-bottom: 15px; }
.auth-form .form-row label {
	display: block;
	font-size: 13px;
	color: #5a6472;
	margin-bottom: 6px;
}
.auth-form .form-row input[type=text],
.auth-form .form-row input[type=email],
.auth-form .form-row input[type=password] {
	width: 100%;
	height: 42px;
	line-height: 42px;
	padding: 0 13px;
	border: 1px solid #e2e6ee;
	border-radius: 9px;
	font-size: 14px;
	color: #1f2733;
	background: #fbfcfe;
	box-sizing: border-box;
	transition: border-color .18s, box-shadow .18s;
}
.auth-form .form-row input:focus {
	outline: none;
	border-color: #14D9C8;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(59, 108, 246, .12);
}
.auth-form .form-row input[disabled] { background: #f4f6fb; color: #9aa3af; }
.form-inline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
}
.form-inline .cb { display: flex; align-items: center; gap: 6px; color: #6b7480; margin: 0; }
.form-inline a { color: #14D9C8; }
.auth-submit {
	width: 100%;
	height: 44px;
	border: 0;
	border-radius: 9px;
	background: linear-gradient(90deg, #14D9C8, #6d8dff);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 6px;
	transition: opacity .18s;
}
.auth-submit:hover { opacity: .92; }
.auth-submit:disabled { opacity: .6; cursor: not-allowed; }
.auth-msg { margin-top: 12px; font-size: 13px; min-height: 18px; }
.auth-msg.ok { color: #15b864; }
.auth-msg.err { color: #FF8C61; }
.auth-tip { font-size: 13px; color: #8b95a3; text-align: center; margin-top: 16px; }
.auth-tip a { color: #14D9C8; }

.auth-third { margin-top: 22px; }
.third-title {
	position: relative;
	text-align: center;
	color: #b3bbc7;
	font-size: 12px;
	margin-bottom: 16px;
}
.third-title::before {
	content: "";
	position: absolute;
	top: 50%; left: 0; right: 0;
	height: 1px;
	background: #eef1f6;
}
.third-title span { position: relative; background: #fff; padding: 0 12px; }
.qq-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	border-radius: 9px;
	background: #12b7f5;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.qq-btn:hover { background: #0ea5e0; color: #fff; }

@media (max-width: 768px) {
	.nnii-auth-card { flex-direction: column; }
	.auth-side { flex: none; padding: 26px 22px; }
	.auth-main { padding: 24px 22px 28px; }
}

/* ---------- 6.45 防刷图形验证码 ---------- */
.nnii-captcha {
	display: flex;
	align-items: center;
	gap: 10px;
}
.nnii-captcha .nnii-cap-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	line-height: 46px;
	padding: 0 14px;
	border: 1px solid #e2e6ee;
	border-radius: 9px;
	font-size: 16px;
	color: #1f2733;
	background: #fbfcfe;
	box-sizing: border-box;
	transition: border-color .18s, box-shadow .18s;
	width: 90px;
}
.nnii-captcha .nnii-cap-input:focus {
	outline: none;
	border-color: #14D9C8;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(59, 108, 246, .12);
}
.nnii-captcha .nnii-cap-img {
	flex: 0 0 auto;
	height: 46px;
	width: auto;
	min-width: 0;
	object-fit: contain;
	border: 1px solid #e2e6ee;
	border-radius: 9px;
	background: #f4f6fb;
	cursor: pointer;
	box-sizing: border-box;
}
.nnii-captcha .nnii-cap-text {
	flex: 0 0 auto;
	height: 42px;
	line-height: 42px;
	padding: 0 12px;
	border: 1px dashed #cfd8e6;
	border-radius: 9px;
	background: #f4f6fb;
	color: #6b7480;
	font-size: 13px;
	white-space: nowrap;
}
@media (max-width: 640px) {
	.nnii-captcha .nnii-cap-input { width: 80px; }
}
.nnii-modal .nnii-captcha .nnii-cap-img { width: auto; min-width: 0; }
.nnii-modal .nnii-cap-confirm {
	width: 100%;
	height: 44px;
	border: 0;
	border-radius: 9px;
	background: linear-gradient(90deg, #14D9C8, #6d8dff);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 14px;
	transition: opacity .18s;
}
.nnii-modal .nnii-cap-confirm:hover { opacity: .92; }
.nnii-modal .nnii-cap-confirm:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- 6.5 顶部搜索框 + 头部登录区 ---------- */
.search { padding: 14px 0; }
.search div.search_box {
	width: auto;
	padding-right: 0;
	border-radius: 0;
	position: static;
}
.nnii-search {
	display: flex;
	align-items: center;
	gap: 6px;
	width: auto;
	position: relative;
}
.nnii-search .search-input {
	width: 160px;
	height: 32px;
	line-height: 32px;
	padding: 0 12px;
	border: 1px solid #e2e6ee;
	border-radius: 16px;
	background: #f7f9fd;
	font-size: 13px;
	color: #1f2733;
	box-sizing: border-box;
}
.nnii-search .search-input:focus { outline: none; border-color: #14D9C8; background: #fff; }
.nnii-search .search-but,
.search .nnii-search .search-but {
	position: static;
	transform: none;
	width: auto;
	min-width: auto;
	height: 32px;
	line-height: 32px;
	padding: 0 14px;
	border: 0;
	border-radius: 16px;
	background: #14D9C8;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	box-sizing: border-box;
}
.nnii-search .search-but:hover { background: #0FC2B3; }
.nnii-search .search-but span { margin-left: 4px; }

/* 顶部登录 / 注册按钮 */
.header-login {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	padding: 14px 0;
	line-height: 1;
	margin-left: 18px;
	margin-right: 18px; /* 右浮动布局下与搜索框保持间距 */
}
/* 胶囊按钮只作用于登录区直属链接（下拉菜单里的链接另有样式） */
.header-login > .nnii-anon-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.header-login .nnii-anon-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	padding: 0 13px;
	border-radius: 16px;
	border: 1px solid #14D9C8;
	background: #fff;
	color: #14D9C8;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .15s, border-color .15s, color .15s;
	box-sizing: border-box;
}
.header-login .nnii-anon-actions a:hover { background: #14D9C8; color: #fff; }
.header-login .nnii-anon-actions .nnii-qq-btn { background: #12b7f5; border-color: #12b7f5; color: #fff; }
.header-login .nnii-anon-actions .nnii-qq-btn:hover { background: #0ea5e0; }

/* ---------- 6.4 已登录用户：头像下拉菜单 ---------- */
.nnii-user-menu { position: relative; }
/* 长短双标签：桌面显示长标签，手机侧栏显示短标签（nnii-menu-s） */
.nnii-menu-s { display: none; }
.nnii-user-trigger {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 32px; /* 与搜索输入框同高，保持平行 */
	padding: 0 12px 0 6px;
	border-radius: 16px;
	background: #f0f4ff;
	border: 1px solid #e2ecff;
	color: #1f2733;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .15s, border-color .15s;
	box-sizing: border-box;
	max-width: 180px;
}
.nnii-user-trigger:hover { background: #e4f9f6; border-color: #14D9C8; }
.nnii-avatar { display: inline-flex; width: 26px; height: 26px; flex: 0 0 auto; }
.nnii-avatar img { width: 26px; height: 26px; border-radius: 50%; display: block; }
.nnii-uname {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 110px;
}
.nnii-user-trigger .fa-caret-down { margin-left: 2px; color: #14D9C8; transition: .2s; }
.nnii-user-menu:hover .fa-caret-down,
.nnii-user-menu.open .fa-caret-down { transform: rotate(180deg); }
.nnii-user-dropdown {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	min-width: 148px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 32px rgba(31, 39, 51, .16);
	border: 1px solid #eef1f6;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: .18s;
	z-index: 300;
}
.nnii-user-menu:hover .nnii-user-dropdown,
.nnii-user-menu.open .nnii-user-dropdown {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.nnii-user-dropdown li a {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 10px 12px;
	border-radius: 8px;
	color: #4b5563;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: .12s;
}
.nnii-user-dropdown li a .fa { width: 15px; text-align: center; color: #9aa3af; }
.nnii-user-dropdown li a:hover { background: #f0faf9; color: #0FC2B3; }
.nnii-user-dropdown li a:hover .fa { color: #0FC2B3; }
.nnii-user-dropdown li.nnii-logout { border-top: 1px solid #f0f3f8; margin-top: 4px; padding-top: 4px; }
.nnii-user-dropdown li.nnii-logout a { color: #e05656; }
.nnii-user-dropdown li.nnii-logout a .fa { color: #e05656; }
.nnii-user-dropdown li.nnii-logout a:hover { background: #fdf1f1; color: #c73e3e; }

/* 移动端头部：logo / 登录注册 / 搜索框 flex 重排，避免与搜索框重叠 */
@media (max-width: 1218px) {
	.header .wide { display: flex; align-items: center; height: 52px; }
	.header .logo { float: none; flex: 0 0 auto; }
	.header .header-login {
		float: none;
		order: 2;
		flex: 0 0 auto;
		padding: 0;
		margin: 0;
	}
	.header .search {
		position: static;
		float: none;
		order: 3;
		flex: 1 1 auto;
		max-width: none;
		top: auto;
		padding: 0;
		margin: 0 44px 0 12px;
	}
	.header .search div.search_box { width: auto; }
	.header .nnii-search .search-input { width: 100%; }
	.header .nav-on { top: 0; line-height: 52px; }
}

/* 头部登录按钮：已合并到 6.5 节 */
/* =========================================================
 * 7. 个人中心
 * ========================================================= */
.account-nav { padding: 0; overflow: hidden; }
.account-head { padding: 22px 18px; text-align: center; border-bottom: 1px solid #f0f3f8; }
.account-head .avatar-img { width: 64px; height: 64px; border-radius: 50%; display: inline-block; }
.account-head .nick { font-size: 16px; font-weight: 600; margin: 10px 0 3px; }
.account-head .qq-bound { color: #12b7f5; font-size: 12px; margin: 8px 0 0; }
.account-head .qq-unbound a { color: #9aa3af; font-size: 12px; }
.account-nav ul { list-style: none; margin: 0; padding: 8px 0; }
.account-nav ul li a {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 12px 20px;
	color: #4b5563;
	font-size: 14px;
	text-decoration: none;
	border-left: 3px solid transparent;
}
.account-nav ul li a:hover { background: #f7f9fd; color: #14D9C8; }
.account-nav ul li.active a {
	background: #f0f4ff;
	color: #14D9C8;
	font-weight: 600;
	border-left-color: #14D9C8;
}
.account-nav ul li a .fa { width: 16px; text-align: center; }
.account-nav ul li a b {
	margin-left: auto;
	background: #FF8C61;
	color: #fff;
	font-size: 11px;
	padding: 1px 7px;
	border-radius: 10px;
	font-weight: 600;
}
.account-nav ul li a b.dot { background: #FF8C61; }

.account-form { max-width: 520px; }
.note-list { list-style: none; margin: 0; padding: 0; }
.note-list li {
	padding: 13px 14px;
	border: 1px solid #eef1f6;
	border-radius: 10px;
	margin-bottom: 10px;
	background: #fff;
}
.note-list li.unread { background: #f5f8ff; border-color: #dbe4ff; cursor: pointer; }
.note-list .note-title { font-size: 14px; font-weight: 600; margin: 0 0 5px; color: #1f2733; }
.note-list .note-content { margin: 0 0 6px; line-height: 1.6; }
.note-list .note-time { margin: 0; }
.note-list .note-time a { color: #14D9C8; margin-left: 8px; }

.my-gift-list { list-style: none; margin: 0; padding: 0 0 12px; }
.my-gift-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 14px 16px;
	border: 1px solid #eef1f6;
	border-radius: 12px;
	margin-bottom: 10px;
	background: #fff;
}
.my-gift-list .mg-info { flex: 1 1 200px; min-width: 0; }
.my-gift-list .mg-name { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.my-gift-list .mg-code { display: flex; align-items: center; gap: 10px; }
.my-gift-list .mg-code code {
	background: #f4f6fb;
	border: 1px dashed #cfd8e6;
	border-radius: 7px;
	padding: 7px 12px;
	font-size: 14px;
	color: #14D9C8;
	letter-spacing: .5px;
}
.empty-tip { padding: 30px 0; text-align: center; }

/* 个人中心分页 */
.nnii-acct-pager { margin-top: 16px; }
.nnii-acct-pager .pg-btn {
	display: inline-block;
	min-width: 34px;
	height: 34px;
	line-height: 34px;
	padding: 0 12px;
	margin: 0 4px 6px;
	border: 1px solid #e2e6ee;
	border-radius: 8px;
	background: #fff;
	color: #1f2733;
	text-align: center;
	box-sizing: border-box;
	transition: border-color .18s, color .18s;
}
.nnii-acct-pager a.pg-btn:hover { border-color: #14D9C8; color: #14D9C8; }
.nnii-acct-pager .pg-btn.on {
	background: linear-gradient(90deg, #14D9C8, #6d8dff);
	border-color: transparent;
	color: #fff;
	cursor: default;
}
.nnii-acct-pager .pg-btn:focus-visible { outline: 2px solid #14D9C8; outline-offset: 2px; }
.nnii-acct-pager .pg-info { display: inline-block; margin-left: 8px; vertical-align: middle; }

/* 我的收藏列表 */
.fav-list { list-style: none; margin: 0; padding: 0 0 12px; }
.fav-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid #eef1f6;
	border-radius: 12px;
	margin-bottom: 10px;
	background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.fav-list li:hover { border-color: #ffd9c9; box-shadow: 0 4px 14px rgba(255, 140, 97, .10); }
.fav-list .fav-thumb { flex: 0 0 56px; display: block; border-radius: 8px; overflow: hidden; }
.fav-list .fav-thumb img { width: 56px; height: 56px; object-fit: cover; display: block; }
.fav-list .fav-body { flex: 1 1 auto; min-width: 0; }
.fav-list .fav-name { font-size: 15px; font-weight: 600; margin: 0 0 6px; }
.fav-list .fav-name a { color: #1f2733; text-decoration: none; }
.fav-list .fav-name a:hover { color: #14D9C8; }
.fav-list .fav-body > p { margin: 6px 0 0; }
.fav-list .fav-body .home-discount {
	position: static;
	display: inline-flex;
	align-items: center;
	height: 20px;
	min-width: 40px;
	padding: 0 6px;
	border-radius: 10px;
	background: linear-gradient(135deg, #FF8C61, #F07045);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}
.fav-list .fav-body .home-discount-normal { background: linear-gradient(135deg, #14D9C8, #7DE8DC) !important; }
.fav-list .fav-link {
	flex: 0 0 auto;
	height: 32px;
	line-height: 32px;
	padding: 0 14px;
	border-radius: 16px;
	background: #fff7f3;
	color: #FF8C61;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
}
.fav-list .fav-link:hover { background: #FF8C61; color: #fff; }
@media (max-width: 640px) {
	.fav-list .fav-thumb { flex-basis: 50px; }
	.fav-list .fav-thumb img { width: 50px; height: 50px; }
}

/* =========================================================
 * 8. 搜索页
 * ========================================================= */
.search-tabs {
	list-style: none;
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0 0 14px;
	flex-wrap: wrap;
}
.search-tabs a {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 20px;
	background: #f2f5fb;
	color: #6b7480;
	font-size: 13px;
	text-decoration: none;
}
.search-tabs a:hover { background: #e8eefb; color: #14D9C8; }
.search-tabs a.active { background: #14D9C8; color: #fff; }
.search-meta { font-size: 13px; color: #8b95a3; margin: 0 0 12px; }
.search-meta b { color: #FF8C61; }

/* =========================================================
 * 9. WP 原生分页按钮化
 *    注：该 WP 版本会 sanitize class 参数（空格被剥离），
 *    因此同时匹配 .pagination 与 nav.navigation
 * ========================================================= */
.pagination,
nav.navigation { margin: 26px 0 34px; text-align: center; }
.pagination .nav-links,
nav.navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	align-items: center;
}
.pagination .page-numbers,
nav.navigation .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 14px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #e2e6ee;
	color: #4b5563;
	font-size: 14px;
	text-decoration: none;
	transition: background .15s, color .15s, border-color .15s;
}
.pagination a.page-numbers:hover,
nav.navigation a.page-numbers:hover,
.page-numbers:focus-visible {
	background: #14D9C8;
	border-color: #14D9C8;
	color: #fff;
}
.pagination .page-numbers.current,
nav.navigation .page-numbers.current {
	background: #14D9C8;
	border-color: #14D9C8;
	color: #fff;
	font-weight: 600;
}
.page-numbers.dots { border: 0; background: transparent; min-width: auto; padding: 0; }

@media (max-width: 640px) {
	.pagination,
	nav.navigation { margin: 20px 0 28px; }
	.pagination .page-numbers,
	nav.navigation .page-numbers { min-width: 34px; height: 34px; font-size: 13px; }
}

/* =========================================================
 * 10. 首页轮播统一尺寸
 * ========================================================= */
.home-flash .swiper-container { overflow: hidden; }
/* 参考站 17zhekouwan：轮播为 750x750 正方形大图，高度随宽度（1:1） */
.home-flash .swiper-slide {
	position: relative;
	aspect-ratio: 1 / 1;
	height: auto;
	overflow: hidden;
}
.home-flash .swiper-slide > a {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
/* !important 压过 css.css 的 height:100%!important 及移动端 height:auto */
.home-flash .swiper-slide img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
}
/* css.css 的 .home-flash .swiper-slide a>img 优先级更高（object-fit:fill），同优先级对齐覆盖 */
.home-flash .swiper-slide a > img { object-fit: cover; }
/* 白底信息条压在图片底部（原为文档流内 height:22%!important） */
.home-flash .game_info {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: auto !important;
}

/* 自定义轮播文字层（后台配置的 slide 使用此结构） */
.banner-cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 16px 20px 14px;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, .72));
	color: #fff;
}
.banner-cap .bc-title {
	margin: 0 0 3px;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
.banner-cap .bc-sub { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .92); }

@media (max-width: 640px) {
	.banner-cap { padding: 10px 14px 12px; }
	.banner-cap .bc-title { font-size: 15px; }
}

/* 内页折扣标对比度 */
.softzk { text-shadow: 0 1px 3px rgba(120, 20, 0, .45); }

/* =========================================================
 * 12. 全站按钮体系（圆角 8px；高度 32/38/44 三档；字号 13/14/15；
 *     TapTap 青主色，hover 加深，:focus-visible 键盘描边）
 * ========================================================= */
:root {
	--nnii-primary: #14D9C8;
	--nnii-primary-d: #0FC2B3;
	--nnii-primary-xd: #0AA99B;
	--nnii-success: #14D9C8;
	--nnii-success-d: #0FC2B3;
	--nnii-coral: #FF8C61;
	--nnii-coral-d: #F07045;
}

/* 键盘焦点统一描边 */
a.tx-btn:focus-visible,
.nnii-claim:focus-visible,
.nnii-copy:focus-visible,
.nnii-search .search-but:focus-visible,
.nnii-search-form button:focus-visible,
.auth-submit:focus-visible,
.qq-btn:focus-visible,
.page-numbers:focus-visible,
.m-close:focus-visible,
.uc-btn:focus-visible,
.more-games a:focus-visible {
	outline: 2px solid #14D9C8;
	outline-offset: 2px;
}

/* 顶部搜索按钮（与输入框同高 32px，避免错位） */
.nnii-search .search-but {
	height: 32px;
	line-height: 32px;
	min-width: 76px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	background: var(--nnii-primary);
}

/* 搜索页按钮（自 search.php 内联样式迁移，升为 42px 档并统一主色）
 * position 重置：搜索页 body 带 WP 标准 .search 类，会被旧框架
 * `.search button{position:absolute}` 误伤，导致按钮飞到容器顶部 */
.nnii-search-form button {
	position: static;
	height: 42px;
	padding: 0 28px;
	border: 0;
	border-radius: 9px;
	font-size: 16px;
	font-weight: 600;
	background: var(--nnii-primary);
	color: #fff;
	cursor: pointer;
}
.nnii-search-form button .fa { font-size: 16px; }
.nnii-search-form button:hover { background: var(--nnii-primary-d); }

/* 登录提交按钮：补字距 */
.auth-submit { letter-spacing: 1px; }

/* 领取按钮 */
.nnii-claim {
	height: 40px;
	min-width: 88px;
	padding: 0 20px;
	border-radius: 9px;
	font-size: 14px;
	font-weight: 600;
	background: var(--nnii-success);
}

/* 下载按钮 */
.soft-down a.tx-btn {
	min-height: 46px;
	padding: 0 26px;
	border-radius: 9px;
	font-size: 15px;
	font-weight: 600;
}

/* 收藏按钮（详情页下载区） */
.nnii-fav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 46px;
	line-height: 1.2;
	padding: 0 18px;
	border-radius: 9px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	vertical-align: middle;
	color: #FF8C61;
	background: #fff7f3;
	border: 1px solid #ffd9c9;
	transition: background .15s, color .15s, border-color .15s;
	box-sizing: border-box;
}
.nnii-fav-btn:hover,
.nnii-fav-btn.on {
	background: #FF8C61;
	border-color: #FF8C61;
	color: #fff;
}
.nnii-fav-btn .fa { font-size: 16px; color: #FF8C61; }
.nnii-fav-btn:hover .fa,
.nnii-fav-btn.on .fa { color: #fff; }
.nnii-fav-btn.on .fa-heart { color: #fff; }

/* “查看更多”胶囊按钮（width:auto 覆盖 css.css 的 width:80% 灰底样式） */
.more-games a {
	display: inline-block;
	width: auto;
	margin-bottom: 0;
	height: 38px;
	line-height: 38px;
	padding: 0 26px;
	border-radius: 19px;
	background: #f0f4ff;
	color: var(--nnii-primary);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: .15s;
}
.more-games a:hover {
	background: var(--nnii-primary);
	color: #fff;
}

/* 开服按钮 */
.server-open-btn {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 22px;
}

/* =========================================================
 * 13. 搜索页布局（flex 重排，配合 search.php 新结构）
 * ========================================================= */
.type-badge {
	display: inline-block;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 4px;
	vertical-align: middle;
	margin-right: 4px;
}
.type-game { background: #eaf1ff; color: #14D9C8; }
.type-gift { background: #fff2e8; color: #FF8C61; }
.type-post { background: #eafaf0; color: #15b864; }

.nnii-search-form {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.nnii-search-form input[type=search] {
	flex: 1 1 240px;
	height: 42px;
	line-height: 42px;
	padding: 0 14px;
	border: 1px solid #e2e6ee;
	border-radius: 9px;
	background: #fbfcfe;
	font-size: 14px;
	box-sizing: border-box;
}
.nnii-search-form input[type=search]:focus {
	outline: none;
	border-color: #14D9C8;
	background: #fff;
}

.search-empty { text-align: center; padding: 44px 16px; }
.search-empty .fa { font-size: 38px; color: #cfd8e6; margin-bottom: 14px; }
.search-empty p { margin: 0 0 8px; }
.search-empty a { color: #14D9C8; }

/* 搜索结果列表（search.php 输出 ul.nnii-search-results > li.sr-item） */
.nnii-search-results { list-style: none; margin: 0; padding: 0; }
.sr-item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 4px;
	border-bottom: 1px solid #f0f3f8;
}
.sr-item:last-child { border-bottom: 0; }
.sr-thumb {
	flex: 0 0 150px;
	display: block;
	border-radius: 9px;
	overflow: hidden;
}
.sr-thumb img {
	width: 100%;
	height: 96px;
	object-fit: cover;
	display: block;
	border-radius: 9px;
}
.sr-body { flex: 1 1 auto; min-width: 0; }
.sr-title { margin: 0 0 6px; font-size: 17px; line-height: 1.5; }
.sr-title a { color: #1f2733; text-decoration: none; }
.sr-title a:hover { color: #14D9C8; }
.sr-meta { margin: 0 0 6px; font-size: 12px; color: #9aa3af; }
.sr-meta .fa { margin-right: 3px; }
.sr-meta span { margin-right: 12px; }
.sr-desc {
	margin: 0;
	font-size: 13px;
	color: #6b7480;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 640px) {
	.sr-item { flex-direction: row; gap: 10px; padding: 12px 0; }
	.sr-thumb { flex: 0 0 110px; }
	.sr-thumb img { height: 72px; }
	.sr-title { font-size: 15px; }
}

/* 礼包中心侧栏「领取说明」：框架 .pd20-3 底部 padding 为 0，补齐底部留白 */
.nnii-gift-note { padding-bottom: 20px; }

/* 礼包中心标题行：标题 + 我的礼包入口按钮 */
.nnii-gift-head { display: flex; align-items: center; justify-content: space-between; padding-right: 15px; }
.nnii-mygift-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 18px;
	border-radius: 17px;
	background: linear-gradient(135deg, #FF8C61, #F07045);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: .15s;
}
.nnii-mygift-btn:hover { background: linear-gradient(135deg, #FF7A4A, #E05A2E); color: #fff; }

/* 侧栏用户卡片（search.php 输出 .nnii-user-card） */
.nnii-user-card .tx-title { margin-bottom: 12px; }
.uc-body { padding: 0 15px 15px; }
.uc-tip { font-size: 13px; color: #6b7480; margin: 0 0 12px; line-height: 1.6; }
.uc-actions { display: flex; gap: 10px; }
.uc-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 40px;
	border-radius: 9px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: .15s;
	box-sizing: border-box;
}
.uc-btn.uc-login { background: var(--nnii-primary); color: #fff; }
.uc-btn.uc-login:hover { background: var(--nnii-primary-d); color: #fff; }
.uc-btn.uc-reg { border: 1px solid var(--nnii-primary); color: var(--nnii-primary); background: #fff; }
.uc-btn.uc-reg:hover { background: #f0f4ff; }

/* —— 用户中心 v2（搜索页侧栏）—— */
.uc-logged { font-size: 14px; }
.uc-user-line { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.uc-avatar {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, #14D9C8, #7DE8DC);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	overflow: hidden;
}
/* 真实头像（QQ头像）：填满圆形容器 */
.uc-avatar img { display: block; width: 42px; height: 42px; border-radius: 50%; }
.uc-name-wrap { min-width: 0; }
.uc-name-wrap .uc-name { display: block; font-weight: 600; color: #1f2733; text-decoration: none; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.uc-name-wrap .uc-name:hover { color: #14D9C8; }
.uc-sub { display: block; font-size: 12px; color: #9aa3af; }
.uc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.uc-grid a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 9px 10px;
	background: #f4f7fb;
	border-radius: 8px;
	font-size: 13px;
	color: #3d4757;
	text-decoration: none;
	transition: .15s;
}
.uc-grid a .fa { color: #14D9C8; font-size: 14px; width: 14px; text-align: center; }
.uc-grid a:hover { background: #e8f7f5; color: #0FC2B3; }
.uc-logout { display: block; text-align: center; font-size: 13px; color: #9aa3af; text-decoration: none; padding: 6px 0; border-top: 1px solid #f0f3f8; }
.uc-logout:hover { color: #f07045; }

/* =========================================================
 * 搜索结果 v2：游戏卡片 / 文章礼包行卡片 / 热门搜索标签云
 * ========================================================= */
.nnii-sr-wrap { display: flex; flex-direction: column; gap: 4px; }
/* 游戏结果卡片：结构对齐首页 .sytj（图标 + 标题行 + 下载按钮 + 元信息） */
.nnii-sr-game {
	position: relative;
	border: 1px solid #eef1f7;
	border-radius: 10px;
	padding: 12px;
	margin-bottom: 10px;
	transition: box-shadow .15s, border-color .15s;
}
.nnii-sr-game:hover { border-color: #c9ece8; box-shadow: 0 3px 12px rgba(20, 217, 200, .08); }
.nnii-sr-game > a { display: flex; gap: 12px; }
.nnii-sr-game-icon { flex: 0 0 72px; display: block; }
.nnii-sr-game-icon .img-box { display: block; border-radius: 12px; overflow: hidden; }
.nnii-sr-game-icon img { width: 100%; height: auto; display: block; }
.nnii-sr-game-info { flex: 1 1 auto; min-width: 0; position: relative; padding-right: 82px; }
.nnii-sr-game-titlerow { display: flex; align-items: center; gap: 6px; min-width: 0; }
.nnii-sr-game-titlerow .txt-ov { flex: 0 1 auto; min-width: 0; margin: 2px 0 8px; font-size: 15px; font-weight: 600; color: #1f2733; }
.nnii-sr-badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-width: 40px;
	height: 20px;
	padding: 0 8px;
	border-radius: 10px;
	background: linear-gradient(135deg, #FF8C61, #F07045);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}
.nnii-sr-badge.normal { background: linear-gradient(135deg, #14D9C8, #7DE8DC); }
.nnii-sr-game-dl {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	height: 27px;
	padding: 0 15px;
	border-radius: 14px;
	background: var(--nnii-success, #2fbf71);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	user-select: none;
}
.nnii-sr-game-dl:hover { background: var(--nnii-success-d, #28a862); color: #fff; }
.nnii-sr-game-meta { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 文章/礼包结果行卡片（升级旧 .sr-item：卡片化 + hover） */
.nnii-sr-row {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 14px;
	border: 1px solid #eef1f7;
	border-radius: 10px;
	margin-bottom: 10px;
	transition: box-shadow .15s, border-color .15s;
}
.nnii-sr-row:hover { border-color: #c9ece8; box-shadow: 0 3px 12px rgba(20, 217, 200, .08); }

/* 热门搜索标签云 */
.nnii-hot-cloud { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 15px 15px; }
.hs-tag {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	background: #f4f7fb;
	border-radius: 999px;
	font-size: 13px;
	color: #3d4757;
	text-decoration: none;
	transition: .15s;
}
.hs-tag:hover { background: #e8f7f5; color: #0FC2B3; }
.hs-tag.hs-hot { background: #fff3ed; color: #F07045; }
.hs-tag.hs-hot:hover { background: #ffe7db; color: #e05a2e; }

@media (max-width: 640px) {
	.nnii-sr-game-info { padding-right: 74px; }
	.nnii-sr-game-dl { padding: 0 11px; gap: 3px; }
	.nnii-sr-game-icon { flex: 0 0 60px; }
	.sr-thumb { flex: 0 0 110px; }
	.sr-thumb img { height: 72px; }
	.sr-title { font-size: 15px; }
	.uc-grid { grid-template-columns: 1fr; }
}

/* =========================================================
 * 详情页折扣标 / 下载按钮：完全对齐参考站（17zhekouwan.com）
 * 布局规则由 css.css 原生提供（两站同源模板）：
 *   - .soft-box>div（softzk）绝对定位右侧垂直居中，宽随断点 5.5rem→4.5rem
 *   - .soft-down a 桌面 30% → ≤696px 45% → ≤499px flex:1 等分一行
 *   - ≤499px：soft-wrap 230px 高 + soft-box 悬浮底部 + 隐藏二维码框
 * 此处只做配色与常规服（无折扣）的文字适配
 * ========================================================= */
.soft-down a.tx-btn .text,
.soft-down a.tx-btn .small { color: #fff; }
/* 桌面端两按钮之间留缝（手机端由 flex:1 + margin-right 控制） */
@media screen and (min-width: 697px) {
	.soft-down a + a { margin-left: 2%; }
}
/* 按钮内文字防挤压：小字超宽时省略，不撑破按钮 */
.soft-down a { white-space: nowrap; }
.soft-down .small {
	display: inline-block;
	max-width: 40%;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: bottom;
}
/* 常规服（无折扣）：单行三字，缩小适配 zk.png 六边形 */
.softzk.softzk-normal span { font-size: .95rem; }

/* 500~696px 区间：css.css 原生只有 width:45%（按钮变小留白多），
 * 扩展 ≤499px 的满宽并排规则到整个 ≤696px，按钮始终等宽撑满一行 */
@media screen and (max-width: 696px) {
	.soft-down { display: flex; }
	.soft-down a {
		width: auto;
		flex: 1;
		margin-right: 2%;
		padding: 0 12px;
	}
	.soft-down a.nnii-fav-btn {
		flex: 0 0 auto;
		padding: 0 14px;
	}
	.soft-down a:last-child { margin-right: 0; }
	.soft-down a > span.qrcode-box { display: none; }
}

/* 礼包领取按钮：清除 operate 红底 + 去重 */
.nnii-gift-item .operate {
	width: auto;
	height: auto;
	background: transparent !important;
	border-radius: 0;
}
.nnii-gift-item .operate .nnii-claim.tx-btn,
.nnii-gift-item .operate .nnii-claim.tx-btn.bg-green {
	background: var(--nnii-success) !important;
	color: #fff !important;
	opacity: 1 !important;
	filter: none !important;
	box-shadow: none !important;
	border: 0 !important;
	text-shadow: none !important;
	height: 40px;
	line-height: 40px;
	min-width: 88px;
	padding: 0 20px;
	border-radius: 9px;
}
.nnii-gift-item .operate .nnii-claim.tx-btn:hover,
.nnii-gift-item .operate .nnii-claim.tx-btn.bg-green:hover { background: var(--nnii-success-d) !important; }

/* =========================================================
 * 8. 列表折扣标：首页推荐 .sytj / 玩家种草 .maybelike 统一
 * ========================================================= */

/* 文字容器：占据剩余空间，右侧留出折扣标位置 */
.sytj li > a > div.item-info,
.maybelike li > a > div.mb-info {
	flex: 1 1 auto;
	min-width: 0;
	position: relative;
	padding-right: 52px;
	box-sizing: border-box;
	width: auto !important;
}

/* 折扣标：首页推荐 + 玩家种草 统一 */
.sytj .home-discount,
.maybelike .home-discount {
	position: absolute;
	right: 0;
	top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1px;
	min-width: 40px;
	height: 20px;
	padding: 0 6px;
	border-radius: 10px;
	background: linear-gradient(135deg, #FF8C61, #F07045);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}
.sytj .home-discount-normal,
.maybelike .home-discount-normal {
	background: linear-gradient(135deg, #14D9C8, #7DE8DC) !important;
}
.sytj .home-discount .hd-num,
.maybelike .home-discount .hd-num { font-size: 12px; }
.sytj .home-discount .hd-zhe,
.maybelike .home-discount .hd-zhe {
	width: 12px;
	height: 12px;
	object-fit: contain;
}
.sytj .home-discount .hd-text,
.maybelike .home-discount .hd-text { font-size: 11px; letter-spacing: 1px; }

/* 覆盖 css.css 对 p 的固定宽度，避免折行 */
.sytj li > a > div.item-info p,
.maybelike li .mb-info p {
	width: auto !important;
	max-width: 100%;
}

/* =========================================================
 * 8.1 首页推荐/新游卡片 v2：标签内联到标题行 + 右上角下载按钮
 * （只作用 .sytj；.maybelike 玩家种草保持旧的右上角标签布局）
 * ========================================================= */
/* 右上角让给下载按钮（按钮约 70px 宽），文字区右侧留白相应加宽 */
.sytj li > a > div.item-info { padding-right: 78px; }
/* 标题行：flex，标签紧贴名称后方（标题不撑满、只按内容占宽） */
.sytj .nnii-title-row { display: flex; align-items: center; gap: 5px; min-width: 0; }
/* flex-grow=0：标题只占文字实际宽度，标签紧跟其后而非贴右；
 * flex-shrink=1 + min-width:0：空间不足时标题截断省略，
 * 右侧 78px 已为下载按钮预留，按钮永不被挤压覆盖（先保下载按钮） */
.sytj .nnii-title-row .txt-ov { flex: 0 1 auto; min-width: 0; }
/* 标签由绝对定位改为文档流内联（覆盖第 8 节的右上角定位） */
.sytj .nnii-title-row .home-discount { position: static; flex: 0 0 auto; }
/* 下载按钮：与详情页 soft-down 的 bg-green 视觉统一 */
.sytj .nnii-card-dl {
	position: absolute;
	right: 0;
	top: 1px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	height: 27px;
	padding: 0 15px;
	border-radius: 14px;
	background: var(--nnii-success, #2fbf71);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	user-select: none;
}
.sytj .nnii-card-dl .fa { font-size: 12px; }
.sytj .nnii-card-dl:hover { background: var(--nnii-success-d, #28a862); color: #fff; }
/* 手机窄屏：按钮压缩内边距，防止挤压标题 */
@media screen and (max-width: 696px) {
	.sytj li > a > div.item-info { padding-right: 72px; }
	.sytj .nnii-card-dl { padding: 0 11px; gap: 3px; }
}

/* 游戏库 / 分类页卡片：折扣标居中展示（替代原红色 .game-rating） */
.game-grid .home-discount,
.game-list-page .home-discount {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1px;
	min-width: 44px;
	height: 22px;
	margin: 0 auto;
	padding: 0 8px;
	border-radius: 11px;
	background: linear-gradient(135deg, #FF8C61, #F07045);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}
.game-grid .home-discount-normal,
.game-list-page .home-discount-normal {
	background: linear-gradient(135deg, #14D9C8, #7DE8DC) !important;
}
.game-grid .home-discount .hd-num,
.game-list-page .home-discount .hd-num { font-size: 13px; }
.game-grid .home-discount .hd-zhe,
.game-list-page .home-discount .hd-zhe { width: 13px; height: 13px; object-fit: contain; }
/* 旧的红色评分胶囊：统一改主色（.game-grid 内已不再输出） */
.game-rating { background: #14D9C8 !important; color: #fff !important; }
.game-grid .game-rating,
.game-list-page .game-rating { display: none !important; }

@media (max-width: 640px) {
	.sytj li > a > div.item-info,
	.maybelike li > div.mb-info { padding-right: 48px; }
	.sytj .home-discount,
	.maybelike .home-discount { height: 18px; min-width: 36px; padding: 0 5px; }
}

/* =========================================================
 * 14. 首页「推荐 / 新游」Tab：胶囊圆角按钮
 * ========================================================= */
.home-tab .tab-hd {
	display: inline-flex;
	align-items: center;
	list-style: none;
	margin: 4px 0 0;
	padding: 4px;
	background: #f2f5fb;
	border-radius: 999px;
}
.home-tab .tab-hd li {
	float: none;
	position: relative;
	line-height: 32px;
	padding: 0 28px;
	font-size: 15px;
	color: #6b7480;
	border-radius: 999px;
	cursor: pointer;
	transition: color .25s ease, background .25s ease, box-shadow .25s ease;
	-webkit-tap-highlight-color: transparent;
}
.home-tab .tab-hd li:hover { color: #14D9C8; }
.home-tab .tab-hd li.active {
	background: #fff;
	color: #14D9C8;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(30, 60, 140, .10);
}
.home-tab .tab-hd li.active::after { display: none !important; content: none !important; }
.home-tab .tab-bd { margin-top: 12px; }
.home-tab .tab-bd > ul { display: none; }
.home-tab .tab-bd > ul:first-child { display: block; }
@media (max-width: 640px) {
	.home-tab { padding: 8px 12px 0; }
	.home-tab .tab-hd li { padding: 0 22px; font-size: 14px; }
}

/* =========================================================
 * 14.5 资讯分类页子分类筛选 Tab（胶囊风格，与首页 Tab 一致）
 * ========================================================= */
.subcat-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 14px 20px 16px;
	border-bottom: 1px solid #f0f2f5;
}
.subcat-tabs a {
	line-height: 32px;
	padding: 0 20px;
	font-size: 14px;
	color: #6b7480;
	background: #f2f5fb;
	border-radius: 999px;
	transition: color .25s ease, background .25s ease, box-shadow .25s ease;
	-webkit-tap-highlight-color: transparent;
}
.subcat-tabs a:hover { color: #14D9C8; background: #e8fbf9; }
.subcat-tabs a.on {
	background: #14D9C8;
	color: #fff;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(20, 217, 200, .30);
}
@media (max-width: 640px) {
	.subcat-tabs { padding: 12px 14px; gap: 6px; }
	.subcat-tabs a { line-height: 30px; padding: 0 16px; font-size: 13px; }
}

/* =========================================================
 * 15. 游戏详情截图轮播：一排横滑胶片式，图片完整显示不裁剪
 * （高度随图片自然比例，width 100% + object-fit:contain）
 * ========================================================= */
.soft-screenshot .swiper-wrapper { align-items: flex-start; }
.soft-screenshot .swiper-slide {
	height: auto;
	background: transparent;
	overflow: hidden;
	border-radius: 8px;
}
.soft-screenshot .swiper-slide img {
	width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	display: block;
	border-radius: 8px;
}

/* =========================================================
 * 15.5 游戏详情页礼包列表：参考站扁平简约风格
 * （灰底圆角行 + 青色胶囊按钮固定右侧垂直居中；
 *   礼包内容单行超出省略号；仅作用于 .game-gift 内，
 *   礼包中心 .game-gift-list 保持卡片样式不变）
 * ========================================================= */
.game-gift ul { gap: 5px; }
.game-gift .nnii-gift-item {
	position: relative;
	background: #f9f9f9;
	border: none;
	border-radius: 8px;
	padding: 13px 90px 13px 12px;
	gap: 0;
	overflow: hidden;
}
.game-gift .nnii-gift-item:hover {
	box-shadow: none;
	border-color: transparent;
	transform: none;
	background: #f2f5f4;
}
.game-gift .nnii-gift-item .gift-ico { display: none; }
.game-gift .nnii-gift-item .gift-link { gap: 0; }
.game-gift .nnii-gift-item .gift-name {
	font-size: 14px;
	font-weight: 700;
	color: #646464;
	margin: 0 0 2px;
}
.game-gift .nnii-gift-item .gift-content {
	display: block;
	-webkit-line-clamp: unset;
	-webkit-box-orient: unset;
	font-size: 13px;
	color: #888;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.game-gift .nnii-gift-item .gift-info > .f-12 { display: none; }
/* 领取按钮固定右侧垂直居中（含手机端，覆盖通用移动端 static 规则） */
.game-gift .nnii-gift-item .operate {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: auto;
	margin: 0;
	flex: none;
}
.game-gift .nnii-gift-item .operate .nnii-claim,
.game-gift .nnii-gift-item .operate .tx-btn {
	min-width: 60px;
	height: 30px;
	line-height: 30px;
	padding: 0 16px;
	font-size: 13px;
	border-radius: 32px;
	background: #12CDB0;
	box-shadow: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.game-gift .nnii-gift-item:hover .operate .nnii-claim,
.game-gift .nnii-gift-item:hover .operate .tx-btn {
	animation: none;
	background: #0FC2B3;
}

/* =========================================================
 * 16. 手机版：顶部精简 + 侧栏重构（白底 + 用户区 + 搜索 + 导航）
 * ========================================================= */
/* 侧栏搜索框 / 用户区：默认隐藏（电脑版不显示），仅手机断点内展示 */
.wap-nav .wap-search,
.wap-nav .wap-user { display: none; }

@media screen and (max-width: 1218px) {
	/* 顶部放不下搜索框，整体隐藏（搜索移入侧栏） */
	.header .search { display: none !important; }

	/* 顶部登录区整体隐藏（用户入口移入侧栏） */
	.header .header-login { display: none !important; }

	/* 汉堡按钮：深色大按钮（原为白色 12px 宽，白底上不可见） */
	.header .nav-on {
		right: 10px;
		top: 4px;
		width: 44px;
		height: 44px;
		line-height: 44px;
		text-align: center;
		color: #1f2733 !important;
		border-radius: 10px;
		-webkit-tap-highlight-color: transparent;
		touch-action: manipulation;
	}
	.header .nav-on .fa { font-size: 20px; }

	/* 侧栏菜单层级提升到遮罩层之上（原 z-index:50 低于遮罩 98，导致菜单点击被遮挡） */
	.wap-nav { z-index: 100; }

	/* ---------- 侧栏容器：白底 + 左侧投影 ---------- */
	.wap-nav {
		background: #fff !important;
		box-shadow: -8px 0 28px rgba(31, 39, 51, .12);
		overscroll-behavior: contain; /* 抽屉内滚动不穿透到页面 */
	}

	/* ---------- 侧栏用户区 ---------- */
	.wap-nav .wap-user {
		display: block;
		padding: 18px 16px 14px;
		border-bottom: 1px solid #f0f3f8;
	}
	/* 已登录：用户信息行 + 两个快捷胶囊横向排列 */
	.wap-user .nnii-user-menu { display: block; position: static; }
	.wap-user .nnii-user-trigger {
		display: flex;
		width: 100%;
		max-width: none;
		height: 44px;
		padding: 0 10px 0 6px;
		border-radius: 10px;
		background: #f0faf9;
		border-color: #d7f2ee;
		margin-bottom: 10px;
		box-sizing: border-box;
	}
	.wap-user .nnii-avatar { width: 32px; height: 32px; }
	.wap-user .nnii-avatar img { width: 32px; height: 32px; }
	.wap-user .nnii-uname { flex: 1 1 auto; max-width: none; font-size: 14px; }
	.wap-user .nnii-user-trigger .fa-caret-down { display: none; }
	/* 下拉在侧栏内强制展开为静态横排胶囊 */
	.wap-user .nnii-user-dropdown {
		position: static;
		display: flex;
		gap: 8px;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		padding: 0;
		background: transparent;
	}
	.wap-user .nnii-user-dropdown li { flex: 1 1 0; }
	.wap-user .nnii-user-dropdown li.nnii-logout { border-top: none; margin: 0; padding: 0; }
	.wap-user .nnii-user-dropdown li a {
		justify-content: center;
		height: 36px;
		padding: 0;
		border-radius: 18px;
		background: #f0f4ff;
		color: #4b5563;
		font-size: 13px;
	}
	.wap-user .nnii-user-dropdown li a .fa { color: #14D9C8; }
	.wap-user .nnii-user-dropdown li a:hover { background: #14D9C8; color: #fff; }
	.wap-user .nnii-user-dropdown li a:hover .fa { color: #fff; }
	.wap-user .nnii-user-dropdown li.nnii-logout a { background: #fdf1f1; color: #e05656; }
	.wap-user .nnii-user-dropdown li.nnii-logout a .fa { color: #e05656; }
	.wap-user .nnii-user-dropdown li.nnii-logout a:hover { background: #e05656; color: #fff; }
	.wap-user .nnii-user-dropdown li.nnii-logout a:hover .fa { color: #fff; }
	/* 手机侧栏：显示两字短标签 */
	.wap-user .nnii-menu-l { display: none; }
	.wap-user .nnii-menu-s { display: inline; }

	/* 未登录：登录 / 注册 并排各占一半（文字居中），QQ 整行 */
	.wap-user .nnii-anon-actions {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}
	.wap-user .nnii-anon-actions a {
		flex: 1 1 calc(50% - 5px);
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		height: 44px;
		line-height: 44px;
		padding: 0;
		border-radius: 12px;
		background: #f0f4ff;
		border: 1px solid #dbe4ff;
		color: #4b5563;
		font-size: 15px;
		font-weight: 600;
		text-decoration: none;
		box-sizing: border-box;
		-webkit-tap-highlight-color: transparent;
	}
	.wap-user .nnii-anon-actions a:active { background: #14D9C8; border-color: #14D9C8; color: #fff; }
	.wap-user .nnii-anon-actions .nnii-qq-btn {
		flex: 1 1 100%;
		background: #e8f6fe;
		border-color: #c4e8fb;
		color: #12a6d9;
	}
	.wap-user .nnii-anon-actions .nnii-qq-btn:active { background: #12b7f5; border-color: #12b7f5; color: #fff; }

	/* ---------- 侧栏搜索框：加大点击区（44px+），16px 字号防 iOS 聚焦缩放 ---------- */
	.wap-nav .wap-search { display: block; padding: 14px 16px 26px; background: #fff; }
	.wap-nav .wap-search .nnii-search {
		display: flex;
		align-items: center;
		gap: 8px;
		background: #f4f6f9;
		border: 1px solid #e8ecf2;
		border-radius: 12px;
		padding: 4px 6px 4px 14px;
	}
	.wap-nav .wap-search .search-input {
		flex: 1 1 auto;
		min-width: 0;
		height: 44px;
		border: none;
		outline: none;
		background: transparent;
		font-size: 16px;
		color: #1f2733;
		box-shadow: none;
		-webkit-appearance: none;
		appearance: none;
	}
	.wap-nav .wap-search .search-but {
		flex: 0 0 auto;
		width: 44px;
		height: 44px;
		border: none;
		border-radius: 10px;
		background: #14D9C8;
		color: #fff;
		font-size: 16px;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.wap-nav .wap-search .search-but:active { background: #0FC2B3; }

	/* ---------- 侧栏导航列表：占满侧栏宽度，文字居中，分割线通栏 ---------- */
	.wap-nav .nav,
	.wap-nav .nav ul {
		display: block;
		width: 100%;
		float: none;
	}
	.wap-nav .nav li { width: 100%; }
	.wap-nav .nav li a {
		display: block;
		width: 100%;
		line-height: 48px;
		color: #1f2733;
		font-size: 15px;
		padding-left: 0;
		text-align: center;
		transition: color .12s;
	}
	.wap-nav .nav li a:hover { color: #0FC2B3; }
	.wap-nav .nav li::after { border-bottom: 1px solid #f0f3f8; }
	.wap-nav .nav li.on a { color: #0FC2B3; font-weight: 600; }
	.wap-nav .nav li ul { background: transparent !important; }
	.wap-nav .nav li ul li a {
		color: #6b7480;
		line-height: 36px;
		font-size: 13px;
		padding-left: 0;
		text-align: center;
	}
	.wap-nav .nav li ul li a:hover { color: #0FC2B3; }
}

/* =========================================================
 * SEO 视觉隐藏 h1（首页/游戏库等列表页）：不占布局，可被搜索
 * 引擎与屏幕阅读器正确读取（非 display:none）
 * ========================================================= */
.seo-h1 {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* =========================================================
 * 17. 首页轮播大尺寸（对齐 17zhekouwan 参考站）
 * 参考站为 750x750 正方形大图，高度 = 宽度（见第 10 节 aspect-ratio）
 * ========================================================= */
@media screen and (max-width: 696px) {
	/* 左右两栏都去掉框架 9% 大边距（.home [class*='col-']），保持卡片宽度一致 */
	.home .home_left,
	.home .home_right { padding-left: 0 !important; padding-right: 0 !important; }

	/* 其余卡片保留 10px 边距 */
	.home .home_left > .tx-box:not(.home-flash),
	.home .home_right > .tx-box,
	.home .home_right > dl {
		margin-left: 10px;
		margin-right: 10px;
	}
	/* 手机端轮播通栏无圆角（正方形随视口宽度） */
	.home .home-flash { border-radius: 0; }
	/* 手机靠滑动切换，隐藏左右箭头 */
	.home-flash .swiper-button-next,
	.home-flash .swiper-button-prev { display: none; }
}

@media screen and (max-width: 499px) {
	.home .home_left > .tx-box:not(.home-flash),
	.home .home_right > .tx-box,
	.home .home_right > dl {
		margin-left: 8px;
		margin-right: 8px;
	}
}

/* =========================================================
 * 18. 开服聚合表页 (/opening/)
 * ========================================================= */
.opening-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}
.opening-summary .tx-title { margin-bottom: 0; }
.opening-summary-right { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #6b7480; }
.opening-sum-today {
	background: #fff1e8;
	color: #FF8C61;
	font-weight: 600;
	padding: 3px 12px;
	border-radius: 20px;
}

.opening-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	table-layout: auto;
}
/* 中窄屏兜底：容器横向滚动，表格保持最小列宽，列永不错位/换行 */
.opening-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.opening-table { min-width: 580px; }
/* 修复框架 [class*='col-'] 对 opening-col-* 单元格的 float/width 污染，保证桌面端表格自适应 */
.opening-table thead th,
.opening-table tbody td {
	float: none;
	width: auto;
	min-height: 0;
	position: static;
}
.opening-table thead th {
	text-align: left;
	font-weight: 600;
	color: #9aa3af;
	font-size: 13px;
	padding: 10px 14px;
	border-bottom: 1px solid #eef1f6;
}
.opening-table tbody td {
	padding: 14px;
	border-bottom: 1px solid #f2f5f8;
	color: #4b5563;
	vertical-align: middle; /* 名称换行时按钮仍垂直居中，不错位 */
}
.opening-table tbody tr:last-child td { border-bottom: 0; }
.opening-table tbody tr:hover td { background: #f7fafd; }
.opening-table .opening-col-name a {
	color: #1f2733;
	font-weight: 600;
	text-decoration: none;
}
.opening-table .opening-col-name a:hover { color: #14D9C8; }
.opening-table .opening-col-time {
	font-variant-numeric: tabular-nums;
	color: #1f2733;
	font-weight: 500;
	white-space: nowrap;
}
/* 类型/时间/操作列去掉固定百分比宽：nowrap + 自动布局按内容收缩，
   中窄屏不会挤压操作列导致「进入详情」错位 */
.opening-table .opening-col-type { white-space: nowrap; }
.opening-table .opening-col-act { text-align: right; white-space: nowrap; width: 1%; }

/* 「今日开服」高亮行 */
.opening-table tr.opening-today td {
	background: #f0faf9;
}
.opening-table tr.opening-today:hover td { background: #e7f7f5; }
.opening-table tr.opening-today .opening-col-time { color: #0FC2B3; font-weight: 600; }

/* 「今日开服」badge */
.opening-badge {
	display: inline-block;
	margin-left: 8px;
	vertical-align: middle;
	background: linear-gradient(135deg, #FF8C61, #F07045);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 10px;
	border-radius: 20px;
	line-height: 1.4;
	white-space: nowrap;
}

/* 空态提示 */
.opening-empty {
	color: #9aa3af;
	font-size: 15px;
	padding: 44px 0;
}

@media (max-width: 768px) {
	.opening-table { min-width: 0; }
	.opening-table,
	.opening-table thead,
	.opening-table tbody,
	.opening-table tr,
	.opening-table th,
	.opening-table td { display: block; }
	.opening-table thead { display: none; }
	.opening-table tbody tr {
		padding: 10px 0;
		border-bottom: 1px solid #f0f3f8;
		position: relative;
	}
	.opening-table tbody td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		/* !important 压制：桌面 width:1% 泄漏 + 框架 .home [class*='col-'] 的 9% padding 污染，
		   否则 td 被压成窄条、flex-end 把按钮甩出左边界 */
		width: 100% !important;
		padding: 8px 4px !important;
		float: none !important;
		border-bottom: 0;
		box-sizing: border-box;
	}
	.opening-table .opening-col-type::before { content: "类型："; color: #9aa3af; }
	.opening-table .opening-col-time::before { content: "下次开服："; color: #9aa3af; }
	.opening-table .opening-col-act { justify-content: flex-end; padding-top: 4px; }
	.opening-table .opening-col-act .tx-btn { height: 32px; line-height: 32px; padding: 0 16px; font-size: 13px; }
}

/* =========================================================
 * 19. 首页开服表入口
 * ========================================================= */
.opening-home-entry { padding: 0; }
.opening-home-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 20px;
	text-decoration: none;
	background: linear-gradient(135deg, #14D9C8, #0FC2B3);
	border-radius: 12px;
	color: #fff;
	transition: opacity .15s;
}
.opening-home-link:hover { opacity: .92; color: #fff; }
.opening-home-link .fa-calendar-check-o { font-size: 20px; }
.opening-home-text { flex: 1 1 auto; font-size: 15px; font-weight: 600; letter-spacing: .5px; }
.opening-home-arrow .fa { font-size: 18px; }

/* =========================================================
 * 20. 资讯页右栏：热门标签云 / 最热文章
 * ========================================================= */
.nnii-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 15px;
}
.nnii-tag-cloud a {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 4px;
	background: #f4f6f9;
	color: #4b5563;
	font-size: 13px;
	text-decoration: none;
	transition: background-color .15s, color .15s;
	-webkit-tap-highlight-color: transparent;
}
.nnii-tag-cloud a:hover {
	background: #14D9C8;
	color: #fff;
}
.nnii-hot-posts {
	padding: 6px 0 10px;
}
.nnii-hot-posts li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 15px;
	border-bottom: 1px dashed #f0f3f8;
}
.nnii-hot-posts li:last-child { border-bottom: 0; }
.nnii-hot-posts em {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	border-radius: 4px;
	background: #e9edf2;
	color: #6b7480;
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
}
.nnii-hot-posts li:nth-child(-n+3) em {
	background: #FF8C61;
	color: #fff;
}
.nnii-hot-posts a {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #1f2733;
	font-size: 14px;
	text-decoration: none;
}
.nnii-hot-posts a:hover { color: #14D9C8; }
.nnii-hot-posts .fr {
	flex: 0 0 auto;
}

/* =========================================================
 * 21. 文章顶部关联游戏推荐卡片
 * ========================================================= */
.nnii-post-game {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	margin-bottom: 20px;
	background: #fff;
	border: 1px solid #e8ecf2;
	border-radius: 12px;
	text-decoration: none;
	transition: border-color .15s, box-shadow .15s;
	box-sizing: border-box;
}
.nnii-post-game:hover {
	border-color: #14D9C8;
	box-shadow: 0 4px 16px rgba(20, 217, 200, .12);
}
.nnii-post-game .npg-logo {
	flex: 0 0 72px;
	width: 72px;
	border-radius: 14px;
	overflow: hidden;
}
.nnii-post-game .npg-info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.nnii-post-game .npg-title {
	font-size: 16px;
	font-weight: 700;
	color: #1f2733;
	display: flex;
	align-items: center;
	gap: 8px;
}
.nnii-post-game .npg-zk {
	flex: 0 0 auto;
	background: linear-gradient(135deg, #FF8C61, #F07045);
	color: #fff;
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
	padding: 1px 8px;
	border-radius: 20px;
}
.nnii-post-game .npg-desc {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #6b7480;
	font-size: 13px;
}
.nnii-post-game .npg-meta {
	color: #9aa3af;
	font-size: 12px;
}
.nnii-post-game .npg-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 18px;
	border-radius: 18px;
	background: linear-gradient(135deg, #14D9C8, #0FC2B3);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.nnii-post-game:hover .npg-btn { opacity: .92; }
@media (max-width: 640px) {
	.nnii-post-game { flex-wrap: wrap; }
	.nnii-post-game .npg-btn { width: 100%; justify-content: center; }
}

/* =========================================================
 * 22. 游戏详情页公众号福利卡片
 * 桌面端：右侧栏顶部显示（.nnii-wx-gift-side）
 * 移动端：头部信息卡下方独立显示（.nnii-wx-gift-m），避免嵌入头部卡内造成重叠
 * ========================================================= */
.nnii-wx-gift-m { display: none; }
@media (max-width: 768px) {
	.nnii-wx-gift-m { display: block; }
	.nnii-wx-gift-side { display: none; }
}

/* =========================================================
 * 23. 游戏详情页「申请专属礼包码」表单
 * ========================================================= */
/* 框架 .pd20-3 底部 padding 为 0，此处补齐底部留白 */
.nnii-apply-box .pd20-3 { padding-bottom: 20px; }
.nnii-apply-box .nnii-apply-tip {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 600;
}
.nnii-apply-form .nnii-apply-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}
.nnii-apply-form .nnii-apply-row > label {
	flex: 0 0 130px;
	text-align: right;
	color: #4b5563;
	font-size: 14px;
}
.nnii-apply-form .nnii-apply-row > label em {
	color: #e53e3e;
	font-style: normal;
	margin-left: 2px;
}
.nnii-apply-form .nnii-apply-row > input {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 420px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #d9e0ea;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.nnii-apply-form .nnii-apply-row > input:focus {
	border-color: #14D9C8;
	box-shadow: 0 0 0 3px rgba(20, 217, 200, .12);
}
.nnii-apply-form .nnii-apply-row > input:focus-visible {
	outline: 2px solid #14D9C8;
	outline-offset: 1px;
}
.nnii-apply-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 0 0 142px;
}
.nnii-apply-btn {
	height: 40px;
	padding: 0 26px;
	border: 0;
	border-radius: 20px;
	background: linear-gradient(135deg, #14D9C8, #0FC2B3);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity .15s;
}
.nnii-apply-btn:hover { opacity: .92; }
.nnii-apply-btn.loading { opacity: .6; cursor: not-allowed; }
.nnii-apply-done {
	padding: 26px 0 6px;
	text-align: center;
	color: #00a32a;
}
.nnii-apply-done i { font-size: 40px; }
.nnii-apply-done p {
	margin: 8px 0 0;
	color: #4b5563;
	font-size: 14px;
}
@media (max-width: 768px) {
	.nnii-apply-form .nnii-apply-row {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}
	.nnii-apply-form .nnii-apply-row > label {
		flex: 0 0 auto;
		text-align: left;
	}
	.nnii-apply-form .nnii-apply-row > input { max-width: none; }
	.nnii-apply-actions { margin-left: 0; }
	.nnii-apply-btn { width: 100%; }
}
