/* 前台补充样式（参考站原版 index.css 保持不动，这里只补本站需要覆盖/新增的部分） */

/* 平台标题是文字时（原站用 logo 图片），按标题长度自适应宽度，别被 200px 裁掉 */
/* 原站 top-tips 红条已去掉；导航不再做滚动吸顶（用户要求取消这个特效），
   覆盖掉原版 fixed top:33px，让头部跟随页面正常滚走 */
.main-nav {
	position: static;
	top: auto;
	z-index: auto;
	height: auto;
}
.nav-holder {
	display: none;
}
/* 原站靠 float + 固定 200px logo 排一行，文字标题会更宽，这里改成 flex 同行垂直居中 */
.main-nav .nav-auto {
	display: flex;
	align-items: center;
	height: 75px;
}
.main-nav .logo {
	float: none;
	width: auto;
	max-width: 460px;
	padding-top: 0;
}
/* 原站 logo 是图片，没有 h1；这里补一条重置，避免 h1 默认 margin 把导航撑高 */
.main-nav .logo h1 {
	margin: 0;
	padding: 0;
	font-size: 0;
	line-height: 0;
}
.main-nav .logo h1 a.logo-text {
	display: block;
	height: 50px;
	line-height: 50px;
	font-size: 28px;
	font-weight: 800;
	color: #f60;
	letter-spacing: 1px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 460px;
}
.main-nav .nav {
	float: none;
	width: auto;
	height: auto;
	padding-top: 0;
	margin-left: auto;
}
.main-nav .nav ul {
	display: flex;
	align-items: center;
}
.main-nav .nav li {
	float: none;
	height: 75px;
	margin-left: 30px;
}
.main-nav .nav li a {
	line-height: 75px;
}

/* 原站滚动时会给导航加 slide-nav-fix（高度压到 65px、字号变小、logo 上移），
   用户要求滚动时样式不变，这里把它全部还原成常态 */
.main-nav.slide-nav-fix {
	height: auto;
	padding-top: 0;
	top: auto;
}
.main-nav.slide-nav-fix .nav-auto {
	height: 75px;
}
.main-nav.slide-nav-fix .nav {
	height: auto;
	padding-top: 0;
}
.main-nav.slide-nav-fix .nav li {
	height: 75px;
}
.main-nav.slide-nav-fix .nav li a {
	margin-top: 0;
	font-size: 17px;
	line-height: 75px;
}
.main-nav.slide-nav-fix .logo a img {
	margin-top: 0;
	width: auto;
}

/* banner：整宽铺满（不再锁 1200px，窗口多宽就铺多宽），按 cover 裁切不变形 */
.banner-area .banner .swiper-slide {
	width: 100%;
	height: 550px;
	overflow: hidden;
}
.banner-area .banner .swiper-slide img {
	display: block;
	width: 100%;
	height: 550px;
	margin: 0 auto;
	object-fit: cover;
	object-position: center;
}
.banner-area .banner-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 550px;
	color: #fff;
	font-size: 16px;
	letter-spacing: 2px;
	background: linear-gradient(120deg, #f7a03c, #e3571b 55%, #b9321c);
}

/* 没有横幅图时的游戏封面：按区域裁切，不拉变形 */
.hot-game .img img,
.popular-game .img img,
.game-item .games-list li .img img {
	object-fit: cover;
	object-position: center top;
}

/* 火爆游戏卡：标题 + 游戏类型 + 「开始游戏」那层照原站常显（鼠标移走也不收起），
   整层不吃点击（点图片照旧进详情），只有标题链接和「开始游戏」按钮可点 */
.hot-game li .hover {
	bottom: 0 !important;
	opacity: 1 !important;
	pointer-events: none;
}
.hot-game li .hover .game-info,
.hot-game li .hover .game-start {
	pointer-events: auto;
}

/* 热门游戏卡：原站靠 3D 翻转切换「游戏名 / 开始游戏」，Chrome 下背面没被隐藏，
   这里直接用 display 控制，只留悬停显示 */
.popular-game .flip .after {
	display: none;
}
.popular-game .flip:hover .after {
	display: block;
}

/* 开服列表的分页点：原站 .servers-slider 是 overflow:hidden，放到容器内底部空白区才不会被裁掉 */
.server-list .servers-slider .control {
	position: absolute;
	bottom: 6px;
	left: 0;
	width: 100%;
	text-align: center;
	z-index: 2;
}

/* 统一提示条（替代原站的 layer 弹窗，前台未开发的功能都走这个） */
.site-toast {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	max-width: 460px;
	padding: 12px 22px;
	background: rgba(0, 0, 0, .78);
	color: #fff;
	font-size: 14px;
	line-height: 1.7;
	text-align: center;
	border-radius: 6px;
	z-index: 3000;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
}
.site-toast.on {
	opacity: 1;
}

/* 浮动条回顶按钮：原站默认 display:none，滚动后由 JS 显示 */
.float-bar a.top.show {
	display: block;
}


/* 点顶部「登录」：定位到页面内嵌登录框，账号框醒目高亮 + 抖动 */
.login-box.login-focus {
	box-shadow: 0 0 0 2px #ff7a00, 0 0 16px rgba(255, 122, 0, .55);
	opacity: 1;
}
.login-box.login-focus .input-login .inp input.user {
	border-color: #ff7a00 !important;
	background: #fff6ec !important;
	box-shadow: inset 0 0 0 1px #ff7a00;
}
.login-box.login-focus .input-login .inp:first-child {
	animation: siteLoginShake .42s ease-in-out 2;
}
@keyframes siteLoginShake {
	0%, 100% { transform: translateX(0); }
	20% { transform: translateX(-4px); }
	60% { transform: translateX(4px); }
}

/* 已登录：顶部显示账号名，橙黄色跟注册按钮区分开 */
.top-menu-fr .site-user {
	display: inline-block;
	margin-right: 10px;
	color: #ff9d33;
	font-weight: bold;
	cursor: default;
}

/* 已登录：顶部账号名后面的 VIP 小标签（V1…V9，橙色小胶囊，跟账号名同一行不换行） */
.top-menu-fr .user .vip-badge {
	display: inline-block;
	vertical-align: 1px;
	height: 16px;
	line-height: 16px;
	padding: 0 5px;
	margin-left: 5px;
	background: #ff7a18;
	color: #fff;
	font-style: normal;
	font-size: 11px;
	font-weight: 400;
	border-radius: 8px;
	letter-spacing: 0;
}

/* 已登录：账号名后面的积分（积分 > 0 才出现，灰色小字，跟 VIP / 包 同一行） */
.top-menu-fr .user .point-badge {
	display: inline-block;
	vertical-align: 1px;
	margin-left: 8px;
	color: #999;
	font-style: normal;
	font-size: 12px;
	font-weight: 400;
	white-space: nowrap;
}

/* 已登录：账号名后面开了全站通刷特权才出现的「包」字小图标（方形，跟 VIP 胶囊区分，悬停看到期时间） */
.top-menu-fr .user .site-pack-badge {
	display: inline-block;
	vertical-align: 1px;
	height: 16px;
	line-height: 16px;
	padding: 0 4px;
	margin-left: 5px;
	background: #ff6f0f;
	color: #fff;
	font-style: normal;
	font-size: 11px;
	font-weight: 400;
	border-radius: 3px;
	letter-spacing: 0;
	cursor: default;
}

/* 登录框里的滑块（柱形）验证条：默认隐藏，失败 3 次后由 JS 显示 */.cap-bar {
	margin: 8px 0 10px;
}

.cap-track {
	position: relative;
	height: 40px;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	background: #f8fafc;
	overflow: hidden;
	user-select: none;
	touch-action: none;
}

.cap-fill {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 0;
	background: #dbeafe;
}

.cap-text {
	position: absolute;
	left: 54px;
	right: 54px;
	top: 50%;
	transform: translateY(-50%);
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 13px;
	color: #94a3b8;
	pointer-events: none;
}

.cap-handle {
	position: absolute;
	left: 2px;
	top: 2px;
	width: 46px;
	height: 34px;
	line-height: 34px;
	text-align: center;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 5px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, .12);
	color: #64748b;
	font-size: 15px;
	cursor: grab;
	touch-action: none;
}

.cap-handle:active {
	cursor: grabbing;
}

.cap-bar.ok .cap-track {
	border-color: #86efac;
	background: #f0fdf4;
}

.cap-bar.ok .cap-fill {
	background: #bbf7d0;
}

.cap-bar.ok .cap-text {
	color: #16a34a;
	font-weight: bold;
}

.cap-bar.ok .cap-handle {
	border-color: #86efac;
	color: #16a34a;
	cursor: default;
}
/* 已登录登录框（.login-next，模板原结构）：只在 320px 的框里补两条定位，
   其余全部沿用 res/css/index.css 的 .info-top / .user-info / .last-games */
.login-box .login-next .info-top {
	padding: 20px 15px;
}

.login-box .login-next .user-info .avatar {
	margin: 0 14px 0 0;
}

/* 模板「积分：<em>0</em>」里的 em 默认是斜体，这里收回正体 */
.login-box .point em,
.login-box .point span {
	font-style: normal;
	font-weight: 600;
}

/* 平台币那一段不加粗（只留积分数字加粗） */
.login-box .point .point-extra,
.login-box .point .point-extra em {
	font-weight: 400;
}

/* 最近玩过的游戏：条目单行不换行，过长用省略号 */
.login-box .last-games li .name {
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* 游戏详情页右栏改成「本游戏的区服」后，没有进入记录时的灰字空态 */
.login-box .last-games li.empty .name {
	color: #9fa3a8;
}

/* 登录框余额行：积分后面再跟一句平台币，两段之间留一点空隙 */
.login-box .point .point-extra {
	margin-left: 18px;
}

/* 积分项已撤掉，只剩平台币时不要再留出两段之间的 18px 间距 */
.login-box .point .point-extra.point-only {
	margin-left: 0;
}

/* ---------------- 个人中心（/center） ---------------- */

/* 个人信息块按内容自适应：模板写死 150px，4 行信息会被压出面板 */
.center-content .person-info {
	height: auto;
	min-height: 150px;
}


/* 修改密码 / 绑定手机下面的说明：12px 灰色，放控件下方 */
.center-content .safety-pub .safe-tip {
	margin: 6px 0 0 88px;
	font-size: 12px;
	line-height: 22px;
	color: #9fa3a8;
}

/* 未登录时整块提示卡（左导航和内容都不出） */
.center-login-tip {
	background: #fff;
	padding: 80px 0 90px;
	text-align: center;
}

.center-login-tip h3 {
	font-size: 18px;
	color: #3b424c;
	margin-bottom: 12px;
}

.center-login-tip p {
	font-size: 14px;
	color: #9fa3a8;
	margin-bottom: 26px;
}

.center-login-tip .tip-btn {
	display: inline-block;
	padding: 0 30px;
	height: 40px;
	line-height: 40px;
	background: #f60;
	color: #fff;
	border-radius: 3px;
	font-size: 15px;
}
/* 首页顶部广播条（充值活动公告）：整条自适应宽度，不额外撑出横向滚动 */
.site-broadcast {
	background: #fff8ec;
	border-bottom: 1px solid #ffe2b8;
}

.site-broadcast .broadcast-inner {
	display: flex;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 12px;
	height: 40px;
}

.site-broadcast .broadcast-tag {
	flex: 0 0 auto;
	height: 24px;
	line-height: 24px;
	padding: 0 10px;
	margin-right: 12px;
	border-radius: 4px;
	background: #ff8c1a;
	color: #fff;
	font-size: 13px;
}

.site-broadcast .broadcast-viewport {
	flex: 1 1 auto;
	min-width: 0;
	position: relative;
	overflow: hidden;
	height: 40px;
}

.site-broadcast .broadcast-track {
	display: inline-block;
	white-space: nowrap;
	will-change: transform;
}

.site-broadcast .broadcast-item {
	display: inline-block;
	padding-right: 48px;
	font-size: 14px;
	line-height: 40px;
	color: #a4650c;
}

/* 个人中心顶部「签到」：已签到仍是可点击状态（点击查看签到详情），文字置灰但保持手型 */
.user-top-container .sign-btn.is-signed {
	color: #9a9a9a;
	cursor: pointer;
}

/* ---------------- 个人中心 · 修改头像 ----------------
   面板结构沿用参考站 index.css 的 .avatar-change / .choose-avatar-list（白面板 + 小箭头 + 「选择头像」标题 + 头像网格），
   这里只补三件事：头像底部「修改头像」条只悬停出现、面板高度随内容、窄屏改成居中弹层 */
.user-top-container .avatar-change .ava span {
	opacity: 0;
	transition: opacity .2s;
}

.user-top-container .avatar-change:hover .ava span,
.user-top-container .avatar-change.is-open .ava span {
	opacity: 1;
}

.user-top-container .choose-avatar-list h3 a {
	float: right;
}

.user-top-container .choose-avatar-list {
	height: auto;
	max-height: 70vh;
	overflow-y: auto;
	/* 原站底部 padding 是 0，最下面一排头像贴着边，这里补 18px */
	padding: 10px 24px 18px;
}

.user-top-container .choose-avatar-list ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	width: auto;
}

.user-top-container .choose-avatar-list ul li {
	float: none;
	margin: 0;
}

.user-top-container .choose-avatar-list ul li img {
	display: block;
	width: 80px;
	height: 80px;
	border-radius: 50%;
}

.user-top-container .choose-avatar-list ul li.is-current img {
	box-shadow: 0 0 0 3px #ff8c1a;
}

@media (max-width: 768px) {
	.user-top-container .avatar-change .ava span {
		opacity: 1;
	}

	.user-top-container .choose-avatar-list {
		position: fixed;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		width: min(92vw, 460px);
		height: auto;
		max-height: 74vh;
		padding: 10px 16px 18px;
		z-index: 999;
	}

	.user-top-container .choose-avatar-list i {
		display: none;
	}

	.user-top-container .choose-avatar-list ul {
		gap: 8px;
		justify-content: center;
	}

	.user-top-container .choose-avatar-list ul li,
	.user-top-container .choose-avatar-list ul li img {
		width: 58px;
		height: 58px;
	}
}

/* ---------------- 个人中心 · 「我的成长值」VIP1~VIP9 台阶 ---------------- */
/* 白色块 + 橙色「我的成长值：<数字>」，下面 9 个圆节点用一条线连着：已达成橙色、未达成灰色、当前等级放大 */
.center-content .main-panel .person-growth {
	background: #fff;
	padding: 28px 30px 6px;
	margin-bottom: 20px;
}

.center-content .main-panel .person-growth .growth-value {
	display: flex;
	align-items: center;
	font-size: 16px;
	line-height: 1;
	color: #ff6a00;
}

.center-content .main-panel .person-growth .growth-value b {
	font-size: 22px;
	font-weight: 700;
	margin: 0 4px 0 2px;
}

.center-content .main-panel .person-growth .growth-value .growth-tag {
	font-style: normal;
	font-size: 12px;
	line-height: 20px;
	height: 20px;
	padding: 0 8px;
	margin-left: 6px;
	color: #fff;
	background: #ff7a18;
	border-radius: 10px;
}

.center-content .main-panel .person-growth .growth-track {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 56px;
	/* 给最下面那条气泡留出位置 */
	margin: 20px 0 64px;
}

.center-content .main-panel .person-growth .growth-track .growth-line,
.center-content .main-panel .person-growth .growth-track .growth-line-fill {
	position: absolute;
	top: 50%;
	height: 3px;
	margin-top: -1.5px;
	border-radius: 2px;
}

/* 底灰线：两端都让出半个节点，正好从第一个圆心连到最后一个圆心 */
.center-content .main-panel .person-growth .growth-track .growth-line {
	left: 22px;
	right: 22px;
	background: #e2e5e9;
}

/* 橙色进度：宽度按 --p（0~1）算，左端同样从第一个圆心起 */
.center-content .main-panel .person-growth .growth-track .growth-line-fill {
	left: 22px;
	width: calc((100% - 44px) * var(--p, 0));
	background: #ff7a18;
}

.center-content .main-panel .person-growth .growth-node {
	position: relative;
	z-index: 2;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #dfe3e8;
	border-radius: 50%;
	background: #fff;
	color: #b9bfc6;
	font-size: 13px;
	font-weight: 700;
	transition: box-shadow .2s;
}

.center-content .main-panel .person-growth .growth-node .node-dot {
	line-height: 1;
}

.center-content .main-panel .person-growth .growth-node.is-on {
	border-color: #ff7a18;
	color: #ff6a00;
}

.center-content .main-panel .person-growth .growth-node.is-current {
	width: 56px;
	height: 56px;
	/* 放大后仍以圆心对齐，不把线顶偏 */
	margin: -6px 0;
	border-width: 3px;
	font-size: 15px;
	box-shadow: 0 0 0 4px rgba(255, 122, 24, .14);
}

/* 气泡：默认不显示，鼠标移到节点上才出（参考站同款白底小卡片） */
.center-content .main-panel .person-growth .growth-node .node-tip {
	position: absolute;
	left: 50%;
	top: calc(100% + 10px);
	transform: translateX(-50%);
	display: none;
	z-index: 3;
	padding: 7px 12px;
	background: #fff;
	border: 1px solid #e6e9ec;
	border-radius: 2px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
	color: #333;
	font-size: 13px;
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
}

.center-content .main-panel .person-growth .growth-node .node-tip:before {
	content: '';
	position: absolute;
	left: 50%;
	top: -5px;
	width: 8px;
	height: 8px;
	margin-left: -4px;
	background: #fff;
	border-left: 1px solid #e6e9ec;
	border-top: 1px solid #e6e9ec;
	transform: rotate(45deg);
}

.center-content .main-panel .person-growth .growth-node:hover .node-tip {
	display: block;
}

/* 小屏：9 个节点排得下但会挤，整体缩一圈，气泡字号跟着小一点 */
@media (max-width: 768px) {
	.center-content .main-panel .person-growth {
		padding: 20px 16px 4px;
	}

	.center-content .main-panel .person-growth .growth-value {
		font-size: 14px;
	}

	.center-content .main-panel .person-growth .growth-value b {
		font-size: 18px;
	}

	.center-content .main-panel .person-growth .growth-track {
		height: 42px;
		margin: 16px 0 56px;
	}

	.center-content .main-panel .person-growth .growth-track .growth-line {
		left: 15px;
		right: 15px;
	}

	.center-content .main-panel .person-growth .growth-track .growth-line-fill {
		left: 15px;
		width: calc((100% - 30px) * var(--p, 0));
	}

	.center-content .main-panel .person-growth .growth-node {
		width: 30px;
		height: 30px;
		font-size: 11px;
		border-width: 1px;
	}

	.center-content .main-panel .person-growth .growth-node.is-current {
		width: 38px;
		height: 38px;
		margin: -4px 0;
		font-size: 12px;
		border-width: 2px;
	}

	.center-content .main-panel .person-growth .growth-node .node-tip {
		padding: 6px 9px;
		font-size: 12px;
	}
}

/* ---------------- 个人中心 · 账号信息下面的「最近进入的游戏」 ---------------- */
/* 一条一张小卡，照首页 .games-list 的样子缩小：封面图 + 游戏名 + 区服 + 进入游戏 */
.center-content .main-panel .person-games {
	background: #fff;
	padding: 30px;
	margin-bottom: 20px;
}

.center-content .main-panel .person-games .recent-games-list {
	display: flex;
	/* 5 张 130 宽 + 4 个 14px 间隙 = 706，正好铺满账号信息那块 708 的内宽；不足 5 条也靠左排 */
	/* 老浏览器不支持 flex 的 gap：间隙改由 li + li 的 margin-left 撑开 */
}

.center-content .main-panel .person-games .recent-games-list li {
	flex: 0 0 130px;
	width: 130px;
	background: #fbfbfb;
	border-radius: 5px;
	box-shadow: 0 0 6px #ddd;
	overflow: hidden;
}
/* 相邻两张卡之间 14px（替代 gap，老浏览器也能对齐） */
.center-content .main-panel .person-games .recent-games-list li + li {
	margin-left: 14px;
}


.center-content .main-panel .person-games .recent-games-list li .img {
	display: block;
	height: 110px;
	background: #f1f2f3;
	overflow: hidden;
}

.center-content .main-panel .person-games .recent-games-list li .img img {
	width: 100%;
	height: 110px;
	display: block;
	object-fit: cover;
}

.center-content .main-panel .person-games .recent-games-list li .img .no-img {
	display: block;
	height: 110px;
	line-height: 110px;
	text-align: center;
	font-size: 13px;
	color: #b6bbc1;
	letter-spacing: 2px;
}

.center-content .main-panel .person-games .recent-games-list li .game-info {
	padding: 9px 10px 10px;
}

.center-content .main-panel .person-games .recent-games-list li .game-info h4 {
	margin: 0 0 2px;
	line-height: 18px;
}

.center-content .main-panel .person-games .recent-games-list li .game-info h4 a {
	display: block;
	font-size: 13px;
	font-weight: normal;
	color: #3b424c;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.center-content .main-panel .person-games .recent-games-list li .game-info h4 a:hover {
	color: #ff6f00;
}

.center-content .main-panel .person-games .recent-games-list li .game-info .server {
	font-size: 12px;
	line-height: 18px;
	color: #9fa3a8;
	margin: 0;
}

.center-content .main-panel .person-games .recent-games-list li .game-info .start {
	display: block;
	height: 24px;
	line-height: 24px;
	margin-top: 6px;
	text-align: center;
	font-size: 12px;
	color: #ff6f00;
	background: #fff3e8;
	border-radius: 3px;
}

.center-content .main-panel .person-games .recent-games-list li .game-info .start:hover {
	background: #ff6f00;
	color: #fff;
}

.center-content .main-panel .person-games .recent-games-empty {
	height: 60px;
	line-height: 60px;
	font-size: 13px;
	color: #9fa3a8;
}
/* ---------------- 前台下载页（/download/{id}） ---------------- */
.wrapper .dl-box {
	width: 940px;
	margin: 26px auto 40px;
	background: #fff;
	padding: 30px 34px 26px;
	box-sizing: border-box;
}

.wrapper .dl-box .dl-head {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #eee;
}

.wrapper .dl-box .dl-head .dl-name {
	font-size: 20px;
	font-weight: bold;
	color: #333;
}

.wrapper .dl-box .dl-head .dl-size {
	font-size: 13px;
	color: #9fa3a8;
}

.wrapper .dl-box .dl-points {
	padding: 20px 0 6px;
}

.wrapper .dl-box .dl-point {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 46px;
	padding: 0 16px;
	margin-bottom: 10px;
	background: #f7f8fa;
	border-radius: 3px;
}

.wrapper .dl-box .dl-point .dl-point-name {
	font-size: 14px;
	color: #333;
}

.wrapper .dl-box .dl-point .dl-point-btn {
	width: 88px;
	height: 32px;
	line-height: 32px;
	text-align: center;
	font-size: 13px;
	color: #fff;
	background: #ff6f00;
	border-radius: 3px;
}

.wrapper .dl-box .dl-point .dl-point-btn:hover {
	background: #e66300;
}

.wrapper .dl-box .dl-empty {
	height: 80px;
	line-height: 80px;
	text-align: center;
	font-size: 13px;
	color: #9fa3a8;
}

.wrapper .dl-box .dl-tip {
	margin-top: 14px;
	font-size: 12px;
	color: #9fa3a8;
}

.wrapper .dl-box .dl-back {
	margin-top: 18px;
	font-size: 13px;
}

.wrapper .dl-box .dl-back a {
	color: #ff6f00;
}

/* ---------- 首页菜单下载弹层：标题是下载名，标题下面文件大小 + 下载描述，再列全部下载点（每个点一整颗按钮，按钮上写点名） ---------- */
.exchange-box.dl-layer .public-pop .pay-container {
	padding: 0 50px 6px 50px;
}

.exchange-box.dl-layer .public-pop .tit {
	padding: 0 40px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.exchange-box.dl-layer [data-dl-list] {
	max-height: 430px;
	overflow-y: auto;
}

/* 下载列表第一行：文件大小 */
.exchange-box.dl-layer .dl-points {
	padding-top: 16px;
}

.exchange-box.dl-layer .dl-size-row {
	display: flex;
	align-items: center;
	margin-top: 14px;
	font-size: 13px;
	line-height: 20px;
}

.exchange-box.dl-layer .dl-size-row .dl-size-label {
	color: #9aa0a6;
}

.exchange-box.dl-layer .dl-size-row .dl-size-value {
	margin-left: 8px;
	color: #ff6f00;
}

/* 下载描述：比原来稍大一档，灰色 */
.exchange-box.dl-layer .dl-head-desc {
	margin: 8px 0 0 0;
	font-size: 14px;
	line-height: 22px;
	color: #8e949b;
}

/* 下载点：整行就是一颗按钮，左边点名、右边「下载 >」 */
.exchange-box.dl-layer .dl-point {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 54px;
	margin-top: 12px;
	padding: 0 18px;
	background: #fff;
	border: 1px solid #ededed;
	border-radius: 4px;
	transition: border-color 0.15s, background 0.15s;
}

.exchange-box.dl-layer .dl-point + .dl-point {
	margin-top: 10px;
}

.exchange-box.dl-layer .dl-point:hover {
	border-color: #ff6f00;
	background: #fffaf5;
}

.exchange-box.dl-layer .dl-point .dl-point-name {
	flex: 1;
	min-width: 0;
	font-size: 15px;
	color: #3b424c;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.exchange-box.dl-layer .dl-point:hover .dl-point-name {
	color: #ff6f00;
}

.exchange-box.dl-layer .dl-point .dl-point-btn {
	flex: 0 0 auto;
	height: 32px;
	line-height: 32px;
	margin-left: 14px;
	padding: 0 18px;
	font-size: 13px;
	color: #fff;
	text-align: center;
	background: #ff6f00;
	border-radius: 16px;
	white-space: nowrap;
}

.exchange-box.dl-layer .dl-point:hover .dl-point-btn {
	background: #e66300;
}

.exchange-box.dl-layer .dl-point-none {
	padding: 18px 0;
	font-size: 13px;
	color: #9aa0a6;
}

.exchange-box.dl-layer .dl-pop-tip {
	padding: 12px 0 0 0;
	font-size: 12px;
	line-height: 20px;
	color: #9fa3a8;
}

/* 小屏：弹层跟着窗口缩小 */
@media (max-width: 768px) {
	.exchange-box.dl-layer .public-pop {
		width: calc(100% - 24px);
		margin-left: calc(-50% + 12px);
	}

	.exchange-box.dl-layer .public-pop .pay-container {
		padding: 0 16px 4px 16px;
	}

	.exchange-box.dl-layer .dl-point {
		height: 48px;
		margin-top: 14px;
		padding: 0 12px;
	}
}

/* ---------- 客户端下载层：一个客户端一块（安卓 / 苹果…），每块里才是它的下载点 ---------- */
.exchange-box.dl-layer .dl-client-item {
	padding: 16px 0 2px 0;
	border-bottom: 1px dashed #ededed;
}

.exchange-box.dl-layer .dl-client-item:last-child {
	padding-bottom: 16px;
	border-bottom: 0;
}

.exchange-box.dl-layer .dl-client-head {
	display: flex;
	align-items: baseline;
}

.exchange-box.dl-layer .dl-client-name {
	font-size: 15px;
	line-height: 22px;
	color: #3b424c;
}

.exchange-box.dl-layer .dl-client-size {
	margin-left: 10px;
	font-size: 13px;
	color: #ff6f00;
}

.exchange-box.dl-layer .dl-client-desc {
	margin: 6px 0 0 0;
	font-size: 13px;
	line-height: 20px;
	color: #8e949b;
}

.exchange-box.dl-layer .dl-client-item .dl-points {
	padding-top: 6px;
}

/* ---------- 游戏详情页：福利礼包上面的「客户端下载」（复用开服表 .open-games 模板） ---------- */
.game-download-bar {
	padding-top: 14px;
}

.game-download-bar .open-games {
	max-height: none;
}

.game-download-bar .open-games ul li {
	display: flex;
	align-items: center;
	height: 40px;
	line-height: 40px;
	cursor: pointer;
	border-bottom: 1px dashed #f2f2f2;
}

.game-download-bar .open-games ul li:last-child {
	border-bottom: none;
}

.game-download-bar .open-games ul li:hover {
	color: inherit;
	background: #fffaf5;
}

.game-download-bar .open-games ul li span.name {
	flex: 1;
	min-width: 0;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 14px;
	color: #3b424c;
}

.game-download-bar .open-games ul li span.server {
	flex: 0 0 auto;
	float: none;
	width: auto;
	margin: 0 12px 0 8px;
	padding: 0;
	font-size: 13px;
	color: #9aa0a6;
}

.game-download-bar .open-games ul li a.start {
	flex: 0 0 auto;
	float: none;
	text-align: center;
	white-space: nowrap;
	height: 24px;
	line-height: 24px;
	padding: 0 14px;
	font-size: 12px;
	color: #ff6f00;
	background: #fff3e8;
	border-radius: 3px;
}

/* 和「最近进入的游戏」卡片上的「开始游戏」按钮同一套配色 */
.game-download-bar .open-games ul li a.start:hover {
	color: #fff;
	background: #ff6f00;
}

/* ---------------- 游戏详情页：福利礼包弹层 ---------------- */
.sd-mask {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, .5);
	z-index: 9999;
	overflow-y: auto;
}
.sd-mask.is-open {
	display: block;
}
.sd-box {
	width: 760px;
	max-width: calc(100% - 32px);
	margin: 8vh auto 40px;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
	overflow: hidden;
}
.sd-head {
	position: relative;
	height: 70px;
	line-height: 70px;
	background: #ff8a00;
	text-align: center;
}
.sd-head h3 {
	margin: 0;
	font-size: 26px;
	font-weight: normal;
	color: #fff;
	letter-spacing: 2px;
}
.sd-head .sd-close {
	position: absolute;
	right: 18px;
	top: 0;
	font-size: 30px;
	line-height: 70px;
	color: #fff;
	text-decoration: none;
	opacity: .9;
}
.sd-head .sd-close:hover {
	opacity: 1;
}
.sd-body {
	padding: 28px 34px 34px;
}
.sd-row {
	display: flex;
	align-items: center;
	margin-bottom: 18px;
}
.sd-row .sd-label {
	width: 96px;
	flex: 0 0 96px;
	font-size: 16px;
	color: #333;
	text-align: right;
	margin-right: 14px;
}
.sd-row .sd-field {
	flex: 1 1 auto;
	max-width: 300px;
}
.sd-row .sd-field select {
	width: 100%;
	height: 44px;
	padding: 0 34px 0 14px;
	border: 1px solid #e3e3e3;
	border-radius: 3px;
	background: #fff;
	/* 下拉里的字：显式走雅黑、16px，避免浏览器回落到宋体显得发虚 */
	font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: normal;
	color: #333;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}
.sd-row .sd-field select:focus {
	border-color: #ff8a00;
	outline: none;
}
.sd-gifts {
	margin-top: 8px;
}
.sd-gift {
	display: flex;
	align-items: center;
	border: 1px solid #eee;
	border-radius: 4px;
	padding: 20px 24px;
	margin-bottom: 14px;
}
.sd-gift-icon {
	width: 62px;
	flex: 0 0 62px;
	margin-right: 18px;
	text-align: center;
}
.sd-gift-icon img {
	width: 58px;
	height: auto;
}
.sd-gift-main {
	flex: 1 1 auto;
	min-width: 0;
}
.sd-gift-main h4 {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: normal;
	color: #333;
}
.sd-gift-coin {
	margin: 0 0 8px;
	font-size: 16px;
	color: #ff5a00;
}
.sd-gift-tip {
	margin: 0;
	font-size: 13px;
	color: #999;
	line-height: 1.7;
}
.sd-gift-btn {
	display: inline-block;
	width: 110px;
	flex: 0 0 110px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 20px;
	background: #ff8a00;
	color: #fff;
	font-size: 15px;
	text-decoration: none;
	margin-left: 18px;
}
.sd-gift-btn:hover {
	background: #f57d00;
}
.sd-gift-btn.is-loading {
	background: #ffd29b;
	color: #8a5a1c;
	cursor: wait;
	pointer-events: none;
}
.sd-gift-btn.is-done {
	background: #f2f2f2;
	color: #b9b9b9;
	cursor: default;
}

/* ---------------- 个人中心 · 积分抽奖入口 ---------------- */

.center-content .plat-sign .lottery-entry-box {
	margin-top: 10px;
}

.center-content .plat-sign .lottery-feed {
	margin-top: 14px;
	padding: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	text-align: left;
}

.lottery-feed .lf-title {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 6px;
	color: #3b424c;
	font-size: 13px;
	font-weight: 600;
}

.lottery-feed .lf-icon {
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.lottery-feed .lf-scroll {
	max-height: 196px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}

.lottery-feed .lf-list {
	margin: 0;
	padding: 0;
	list-style: none;
	will-change: transform;
}

.lottery-feed .lf-row {
	display: flex;
	align-items: center;
	gap: 5px;
	height: 34px;
	color: #9fa3a8;
	font-size: 12px;
	white-space: nowrap;
}

.lottery-feed .lf-row .lf-name {
	flex: 0 0 auto;
	color: #9fa3a8;
}

.lottery-feed .lf-row .lf-pri {
	flex: 0 1 auto;
	overflow: hidden;
	color: #ff6a00;
	text-overflow: ellipsis;
}

.lottery-feed .lf-row.is-redpack .lf-pri {
	color: #e94b4b;
}

.lottery-feed .lf-empty {
	display: none;
	margin: 8px 0 4px;
	color: #b9bdc2;
	font-size: 12px;
	text-align: center;
}

.center-content .plat-sign .lottery-entry {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 36px;
	border-radius: 6px;
	background: linear-gradient(90deg, #ffa000, #ff6a00);
	box-shadow: 0 3px 8px rgba(255, 106, 0, .28);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: transform .15s, box-shadow .15s;
}

.center-content .plat-sign .lottery-entry:hover {
	transform: translateY(-1px);
	box-shadow: 0 5px 12px rgba(255, 106, 0, .35);
}

.lottery-entry-icon {
	width: 18px;
	height: 18px;
	object-fit: contain;
	display: block;
}

/* ---------------- 个人中心 · 积分抽奖弹层 ---------------- */

.lottery-modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lottery-mask {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, .55);
}

.lottery-panel {
	position: relative;
	width: 460px;
	max-height: 84vh;
	overflow-y: auto;
	box-sizing: border-box;
	padding: 0 20px 20px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}

.lottery-head {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 52px;
	background: #fff;
}

.lottery-title {
	color: #3b424c;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .5px;
}

.lottery-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: #b0b4ba;
	font-size: 26px;
	line-height: 1;
	text-decoration: none;
}

.lottery-close:hover {
	color: #ff6a00;
	background: #fff4ec;
	border-radius: 6px;
}

.lottery-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fff7f0;
	color: #6b7178;
	font-size: 13px;
}

.lottery-bar .lottery-points {
	color: #ff6a00;
	font-size: 16px;
	font-weight: 700;
}

.lottery-bar .lottery-cost {
	color: #9fa3a8;
	font-size: 12px;
}

.lottery-grid {
	overflow: hidden;
	margin: 14px -5px 16px;
}

.lottery-grid:after {
	content: "";
	display: block;
	clear: both;
}

.lottery-cell {
	float: left;
	box-sizing: border-box;
	width: 25%;
	width: calc(25% - 10px);
	height: 76px;
	margin: 0 5px 10px;
	border: 1px solid #ffe0c7;
	border-radius: 8px;
	background: #fffaf5;
	color: #7a5a42;
	font-size: 13px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}

.lottery-grid[data-cols="3"] .lottery-cell {
	width: 33.3333%;
	width: calc(33.3333% - 10px);
}

.lottery-cell .lc-img {
	width: 36px;
	height: 36px;
	margin-bottom: 6px;
	object-fit: contain;
	display: block;
}

.lottery-cell .lc-text {
	font-weight: 600;
}

.lottery-cell.is-active {
	border-color: #ff6a00;
	background: #fff0e2;
	box-shadow: inset 0 0 0 2px rgba(255, 106, 0, .25);
}

.lottery-cell.is-hit {
	border-color: #ff6a00;
	background: linear-gradient(180deg, #ffa000, #ff6a00);
	box-shadow: 0 4px 12px rgba(255, 106, 0, .35);
	color: #fff;
}

.lottery-log {
	position: relative;
	color: #ff6a00;
	font-size: 12px;
	cursor: pointer;
}

.lottery-log .log-pop {
	display: none;
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	z-index: 6;
	width: 210px;
	box-sizing: border-box;
	padding: 8px 12px;
	background: #fff;
	border: 1px solid #ffe0c7;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(255, 106, 0, .16);
}

.lottery-log:hover .log-pop {
	display: block;
}

.log-pop .lg-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 0;
	color: #3b424c;
	font-size: 12px;
	white-space: nowrap;
}

.log-pop .lg-row + .lg-row {
	border-top: 1px dashed #f6f7f8;
}

.log-pop .lg-row i {
	font-style: normal;
}

.log-pop .lg-row i.type-redpack {
	color: #e94b4b;
}

.log-pop .lg-row i.type-points {
	color: #ff6a00;
}

.log-pop .lg-row i.type-none {
	color: #9fa3a8;
}

.log-pop .lg-row b {
	flex: 0 0 auto;
	color: #b9bdc2;
	font-size: 11px;
	font-weight: 400;
}

.lottery-go {
	width: 100%;
	height: 42px;
	border: 0;
	border-radius: 8px;
	background: linear-gradient(90deg, #ffa000, #ff6a00);
	color: #fff;
	font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 1px;
	cursor: pointer;
	-webkit-font-smoothing: antialiased;
}

.lottery-go .lottery-go-cost {
	margin-left: 1px;
	font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0;
	opacity: .92;
}

.lottery-go:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.lottery-tip {
	position: relative;
}

.lottery-tip .lottery-prob {
	position: relative;
	color: #ff6a00;
	cursor: pointer;
}

.lottery-tip .prob-pop {
	display: none;
	position: absolute;
	left: 0;
	right: auto;
	bottom: calc(100% + 4px);
	z-index: 6;
	width: 200px;
	box-sizing: border-box;
	padding: 8px 12px;
	background: #fff;
	border: 1px solid #ffe0c7;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(255, 106, 0, .16);
}

.lottery-prob:hover .prob-pop {
	display: block;
}

.prob-pop .pp-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 3px 0;
	color: #3b424c;
	font-size: 12px;
	font-weight: 400;
	white-space: nowrap;
}

.prob-pop .pp-row i {
	font-style: normal;
}

.prob-pop .pp-row b {
	color: #ff6a00;
	font-weight: 600;
}

.prob-pop .pp-sum {
	border-top: 1px dashed #f1f2f4;
	margin-top: 4px;
	padding-top: 6px;
}

.prob-pop .pp-note {
	display: block;
	margin-top: 4px;
	color: #9fa3a8;
	font-size: 11px;
	font-weight: 400;
	white-space: nowrap;
}

.lottery-tip {
	margin: 10px 0 0;
	color: #9fa3a8;
	font-size: 12px;
	line-height: 20px;
}

.lottery-records {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid #f0f1f3;
}

.lr-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.lr-title {
	color: #3b424c;
	font-size: 14px;
	font-weight: 600;
}

.lr-list {
	max-height: 122px;
	margin: 0;
	padding: 0;
	padding-right: 4px;
	overflow-y: auto;
	list-style: none;
}

.lr-list::-webkit-scrollbar {
	width: 4px;
}

.lr-list::-webkit-scrollbar-thumb {
	border-radius: 2px;
	background: #ffd2ad;
}

.lr-list::-webkit-scrollbar-track {
	background: transparent;
}

.lr-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px dashed #f1f2f4;
}

.lr-item .lr-img {
	flex: 0 0 auto;
	width: 60px;
	height: 60px;
	object-fit: contain;
	display: block;
}

.lr-item .lr-info {
	flex: 1;
	min-width: 0;
}

.lr-item .lr-val {
	color: #3b424c;
	font-size: 14px;
	font-weight: 600;
}

.lr-item .lr-meta {
	margin-top: 2px;
	color: #9fa3a8;
	font-size: 12px;
}

.lr-item .lr-time {
	margin-top: 1px;
	color: #b9bdc2;
}

.lr-item .lr-btn {
	flex: 0 0 auto;
	padding: 0 14px;
	height: 30px;
	border: 0;
	border-radius: 6px;
	background: #ff6a00;
	color: #fff;
	font-size: 13px;
	cursor: pointer;
}

.lr-item .lr-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.lr-item .lr-btn.is-disabled,
.lr-item .lr-btn.is-disabled:disabled {
	padding: 0 10px;
	background: #f2f2f2;
	box-shadow: none;
	color: #b9b9b9;
	font-size: 12px;
	opacity: 1;
}

.lr-empty {
	margin: 0;
	padding: 14px 0;
	color: #b0b4ba;
	font-size: 13px;
	text-align: center;
}

/* ===================== 新闻资讯页 /news ===================== */
.np-wrap {
	width: 1200px;
	margin: 0 auto;
	padding: 24px 0 46px;
}

.np-crumb {
	margin-bottom: 14px;
	color: #9fa3a8;
	font-size: 12px;
	line-height: 24px;
}

.np-crumb a {
	color: #9fa3a8;
}

.np-crumb a:hover {
	color: #ff6a00;
}

.np-crumb span {
	margin: 0 6px;
	color: #cfcfcf;
}

.np-crumb b {
	color: #3b424c;
	font-weight: 400;
}

.np-body {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	width: 100%;
}

.np-wrap .news-left {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	box-sizing: border-box;
	padding: 26px 30px 24px;
	background: #fff;
}

.np-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding-bottom: 10px;
	border-bottom: 2px solid #ff6a00;
}

.np-head h2 {
	color: #3b424c;
	font-size: 20px;
	font-weight: 700;
	line-height: 24px;
}

.np-head .np-count {
	color: #9fa3a8;
	font-size: 12px;
	line-height: 24px;
}

.np-wrap .news-list {
	margin: 0;
}

.np-wrap .news-list li {
	padding: 18px 0 16px;
	border-bottom: 1px dashed #eee;
}

.np-wrap .news-list li:last-child {
	border-bottom: 0;
}

.np-wrap .news-list li h3 {
	margin: 0 0 8px;
	line-height: 22px;
}

.np-wrap .news-list a {
	width: auto;
	margin: 0;
	white-space: normal;
	text-overflow: clip;
	overflow: visible;
	line-height: 22px;
}

.np-wrap .news-list li h3 a {
	color: #3b424c;
	font-size: 17px;
	line-height: 24px;
}

.np-wrap .news-list li h3 a:hover {
	color: #ff6a00;
}

.np-tag {
	color: #ff6a00;
}

/* 新闻列表里每条标题后面的「所属游戏」小标 */
.np-wrap .news-list li h3 .np-game {
	display: inline-block;
	margin-left: 8px;
	padding: 0 6px;
	border: 1px solid #e2e4e8;
	border-radius: 2px;
	color: #9fa3a8;
	font-size: 12px;
	font-weight: normal;
	line-height: 20px;
	vertical-align: 1px;
}

.np-wrap .news-list li h3 .np-game:hover {
	border-color: #ff6a00;
	color: #ff6a00;
}

.np-wrap .news-list li p {
	height: auto;
	margin: 0 0 10px;
	overflow: hidden;
	color: #9fa3a8;
	font-size: 13px;
	line-height: 24px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.np-wrap .news-list li p a {
	display: block;
	color: #9fa3a8;
	font-size: 13px;
	line-height: 24px;
}

.np-wrap .news-list li p a:hover {
	color: #ff6a00;
}

.np-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.np-meta em {
	color: #bbbbbb;
	font-size: 12px;
	font-style: normal;
}

.np-more {
	color: #ff6a00;
	font-size: 12px;
}

.np-more:hover {
	text-decoration: underline;
}

.np-empty {
	padding: 46px 0;
	color: #bbbbbb;
	font-size: 13px;
	text-align: center;
}

.np-pages {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 26px 0 4px;
	padding: 0;
	list-style: none;
}

.np-pages li {
	display: block;
	height: auto;
	margin: 0;
	border: 0;
	line-height: normal;
	background: none;
}

.np-pages li a {
	display: block;
	box-sizing: border-box;
	height: 34px;
	min-width: 34px;
	padding: 0 10px;
	border: 1px solid #eee;
	border-radius: 2px;
	color: #8a8a8a;
	font-size: 13px;
	line-height: 32px;
	text-align: center;
	white-space: nowrap;
}

.np-pages li a:hover {
	border-color: #ff6a00;
	color: #ff6a00;
}

.np-pages li.active a {
	border-color: #ff6a00;
	background: #ff6a00;
	color: #fff;
}

.np-pages li.active a:hover {
	color: #fff;
}

.np-pages li.disabled a {
	border-color: #f2f2f2;
	color: #cfcfcf;
	cursor: default;
	pointer-events: none;
}

.np-body .news-right {
	flex: 0 0 375px;
	width: 375px;
	box-sizing: border-box;
	padding: 0;
	background: none;
}

.np-side-card {
	box-sizing: border-box;
	margin-bottom: 20px;
	padding: 20px 20px 16px;
	background: #fff;
}

.np-side-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 9px;
	border-bottom: 2px solid #ff6a00;
}

.np-side-more {
	flex: none;
	height: 24px;
	line-height: 22px;
	padding: 0 12px;
	border: 1px solid #ff6a00;
	border-radius: 12px;
	color: #ff6a00;
	font-size: 12px;
	white-space: nowrap;
}

.np-side-more:hover {
	background: #ff6a00;
	color: #fff;
}

.np-side-head h3 {
	color: #3b424c;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
}

.np-servers {
	margin: 0;
	padding: 0;
	list-style: none;
}

.np-servers li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 0;
	border-bottom: 1px dashed #f0f0f0;
	font-size: 13px;
}

.np-servers li:last-child {
	border-bottom: 0;
}

.np-servers .np-g {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	color: #3b424c;
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.np-servers .np-g:hover {
	color: #ff6a00;
}

.np-servers .np-sv {
	flex: 0 0 auto;
	color: #9fa3a8;
	font-size: 12px;
	white-space: nowrap;
}

.np-servers .np-st {
	flex: 0 0 auto;
	min-width: 76px;
	color: #ff6a00;
	font-size: 12px;
	text-align: right;
	white-space: nowrap;
}

.np-feed-card .lottery-feed {
	margin-top: 12px;
	padding: 0;
	background: none;
}

.np-feed-card .lf-scroll {
	max-height: 196px;
}

/* 首页新闻公告：公告 / 攻略 / 活动 的标签用橙色，资讯不显示标签 */
.news-notice .news-list a .hn-tag {
	color: #ff6a00;
}

/* 新闻页右栏：首页同款开服表适配 375 宽 */
.np-server-card {
	height: auto;
	margin-bottom: 0;
	padding-bottom: 18px;
	border-bottom: 0;
}

.np-server-card .np-side-head {
	margin-bottom: 14px;
}

.np-server-card .item-name {
	height: 16px;
	line-height: 16px;
	margin-bottom: 8px;
}

.np-server-card .servers-slider {
	height: 398px;
	overflow: hidden;
	position: relative;
}

.np-server-card .list-item {
	width: 100%;
}

.np-server-card span.open-name,
.np-server-card .item-name span.open-name {
	width: 160px;
}

.np-server-card .start a {
	font-size: 13px;
}

/* ===================== 新闻详情弹层 ===================== */
.news-modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nm-mask {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, .55);
}

.nm-card {
	position: relative;
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 80px);
	box-sizing: border-box;
	width: 760px;
	max-width: calc(100vw - 40px);
	overflow: hidden;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.nm-close {
	position: absolute;
	top: 12px;
	right: 14px;
	z-index: 3;
	width: 28px;
	height: 28px;
	color: #9fa3a8;
	font-size: 20px;
	line-height: 26px;
	text-align: center;
}

.nm-close:hover {
	color: #ff6a00;
}

.nm-head {
	padding: 24px 48px 14px 30px;
	border-bottom: 1px solid #f2f2f2;
}

.nm-class {
	display: inline-block;
	height: 20px;
	padding: 0 8px;
	border: 1px solid #ffd2ad;
	border-radius: 2px;
	background: #fff7ef;
	color: #ff6a00;
	font-size: 12px;
	line-height: 18px;
}

.nm-head h3 {
	margin: 8px 0 0;
	color: #3b424c;
	font-size: 19px;
	font-weight: 700;
	line-height: 28px;
	word-break: break-word;
}

.nm-time {
	margin: 8px 0 0;
	color: #9fa3a8;
	font-size: 12px;
	line-height: 18px;
}

.nm-game {
	margin: 4px 0 0;
	color: #9fa3a8;
	font-size: 12px;
	line-height: 18px;
}

.nm-game a {
	color: #ff6a00;
}

.nm-body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 18px 30px 26px;
	overflow-y: auto;
	color: #4b515a;
	font-size: 14px;
	line-height: 28px;
}

.nm-body p {
	margin: 0 0 14px;
	color: #4b515a;
	font-size: 14px;
	line-height: 28px;
}

.nm-body img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 12px auto;
}

.nm-body h4 {
	margin: 18px 0 8px;
	color: #3b424c;
	font-size: 15px;
	font-weight: 700;
	line-height: 24px;
}

.nm-body::-webkit-scrollbar {
	width: 4px;
}

.nm-body::-webkit-scrollbar-thumb {
	border-radius: 2px;
	background: #ffd2ad;
}

.news-home {
	padding-top: 4px;
}

/* ==================== 游戏详情页：购买货币弹层（直接复用参考站 .public-pop 模板，下面只做覆盖） ==================== */
.cur-pop {
	width: 710px;
	max-width: calc(100vw - 40px);
	top: 100px;
	left: 50%;
	transform: translateX(-50%);
	max-height: calc(100vh - 130px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* 购买成功提示框：弹层上方再压一层，点「确定」才消失 */
.cur-dialog {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.45);
	z-index: 301;
}

.cur-dialog-box {
	width: 380px;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
	text-align: center;
	overflow: hidden;
}

.cur-dialog-tit {
	height: 54px;
	background: #ff6f0f;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	line-height: 54px;
}

.cur-dialog-text {
	padding: 26px 26px 0;
	color: #3b424c;
	font-size: 14px;
	line-height: 22px;
	word-break: break-all;
}

.cur-dialog-btn {
	display: inline-block;
	width: 160px;
	height: 40px;
	margin: 24px 0 26px;
	border-radius: 6px;
	background: #ff6f0f;
	color: #fff;
	font-size: 16px;
	line-height: 40px;
}

.cur-dialog-btn:hover {
	background: #e96208;
	color: #fff;
}

.cur-mask {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 298;
}

.cur-pop .close {
	right: 12px;
	top: 23px;
	width: 24px;
	height: 24px;
	background: none;
}

.cur-pop .close::before,
.cur-pop .close::after {
	content: '';
	position: absolute;
	left: 3px;
	top: 11px;
	width: 18px;
	height: 2px;
	border-radius: 1px;
	background: #fff;
}

.cur-pop .close::before {
	transform: rotate(45deg);
}

.cur-pop .close::after {
	transform: rotate(-45deg);
}

.cur-pop .tit {
	flex: none;
	height: 70px;
	border-radius: 5px 5px 0 0;
	background: #ff6f0f;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 70px;
	text-align: center;
}

.cur-pop .pay-container {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding-bottom: 15px;
}

.cur-pop .choose-game {
	position: relative;
	display: flex;
	align-items: center;
}

.cur-pop .choose-game .pay-for-game.hover {
	background-position: 0 -40px;
}

.cur-pop .game-platform-tab {
	height: 40px;
	margin-top: 25px;
}

/* 区服面板打开时，让弹层和滚动容器不再裁剪它：面板完整浮在弹层上方 */
.cur-pop.pick-open,
.sd-box.pick-open {
	overflow: visible;
}

.cur-pop.pick-open .pay-container,
.sd-box.pick-open .pay-container {
	overflow: visible;
}

/* 区服下拉面板：位置/大小沿用参考站 .games-alert-box，内部列表补一点 */
.cur-pop .cur-pick-box {
	position: absolute;
	top: 44px;
	left: 90px;
	width: 500px;
	height: auto;
	max-height: 288px;
	z-index: 8;
}

.cur-pop .cur-pick-box.is-simple {
	width: 340px;
}

.cur-pop .cur-pick-box .alert_server_sort {
	height: 40px;
	overflow: hidden;
}

.cur-pop .cur-pick-box .alert_list {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	max-height: 246px;
	padding: 10px 8px;
	overflow-y: auto;
}

.cur-pop .cur-pick-box .alert_list a {
	width: 62px;
	height: 26px;
	margin: 0 4px 6px 0;
	border-radius: 3px;
	color: #3b424c;
	font-size: 13px;
	line-height: 26px;
	text-align: center;
}

.cur-pop .cur-pick-box .alert_list a.hover,
.cur-pop .cur-pick-box .alert_list a:hover {
	background: #ff6f0f;
	color: #fff;
}

/* 档位卡：参考站 li 是 188 宽，一行放 3 个（原来 4 列太挤，一行 4 个档位改成 3 个） */
.cur-pop .cur-medal {
	margin: 0;
}

.cur-pop .cur-medal li {
	width: calc(33.333% - 17px);
	height: 136px;
	padding-bottom: 30px;
	box-sizing: border-box;
}

/* 没有 VIP 加成时卡片少一行，高度跟着收，不留一大片空白 */
.cur-pop .cur-medal.no-vip li {
	height: 104px;
}

.cur-pop .cur-medal li.hover {
	border-color: #ff6f0f;
}

.cur-pop .cur-medal .img_medal {
	height: auto;
	padding: 12px 0 0 12px;
}

.cur-pop .cur-medal .img_medal .title {
	font-size: 15px;
	line-height: 36px;
	white-space: nowrap;
}

.cur-pop .cur-medal .img_medal p {
	margin: 0;
	color: #9fa3a8;
	font-size: 12px;
	line-height: 18px;
	white-space: nowrap;
}

.cur-pop .cur-medal .img_medal p.cur-holder {
	height: 18px;
}

/* VIP 加成跟「返利」同一档灰（和卡片里其它小字一样），不再单独用橙色 */
.cur-pop .cur-medal .img_medal p.cur-vip {
	color: #9fa3a8;
}

.cur-pop .cur-medal .cur-coin {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0 7px;
	border-radius: 0 4px 0 9px;
	background: #fbf2f2;
	color: #ff6f0f;
	font-size: 11px;
	line-height: 18px;
}

.cur-pop .cur-medal .jf_price {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0 !important;
	padding: 6px 2px;
	border-top: 1px dashed #e3e3e3;
	color: #9fa3a8;
	font-size: 12px;
	line-height: 18px;
	white-space: nowrap;
}

/* 「实到」的金额用 VIP 加成原来的橙、不加粗 */
.cur-pop .cur-medal .cur-sum {
	color: #ff6a00;
	font-weight: 400;
}

/* 底部：确定按钮居中（参考站就是这个位置），余额和充值链接绝对定位贴它左边 */
.cur-pop .btn-back {
	position: relative;
	display: block;
	height: auto;
	padding: 22px 0 20px;
	text-align: center;
}

.cur-pop .btn-back .pay {
	position: absolute;
	right: calc(50% + 100px);
	top: 31px;
	margin: 0;
	font-size: 12px;
	white-space: nowrap;
}

.cur-pop .btn-back .btn-bg {
	display: inline-block;
	width: 160px;
	height: 40px;
	border-radius: 6px;
	background: #ff6f0f;
	color: #fff;
	font-size: 16px;
	line-height: 40px;
}

.cur-pop .btn-back .btn-bg:hover {
	background: #e96208;
	color: #fff;
}

@media (max-height: 780px) {
	.cur-pop {
		top: 40px;
		max-height: calc(100vh - 60px);
	}
}


/* 选择角色：照参考站 .pay-where 一行（标签 80px + 角色方块 218×38，选中橙边 + 右下打勾） */
.cur-pop .pay-where {
	display: flex;
	align-items: center;
	height: auto;
	min-height: 40px;
	margin-top: 12px;
	line-height: 40px;
}

.cur-pop .pay-where .order-way {
	flex: none;
}

.cur-pop .cur-role-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
}

/* 角色块宽度跟「选择区服」那个 220 的框对齐（含边框，hover 变 2px 也不跳） */
.cur-pop .cur-role-list .a-box {
	width: 220px;
	box-sizing: border-box;
	height: 38px;
	margin: 4px 12px 4px 0;
	border-radius: 3px;
	color: #3b424c;
	font-size: 14px;
	line-height: 36px;
}

.cur-pop .cur-role-list .a-box:hover {
	border-color: #ff6f0f;
}

.cur-pop .cur-role-list .a-box.hover {
	border: 2px solid #ff6f0f;
	line-height: 34px;
	color: #ff6a00;
}

.cur-pop .cur-role-list .a-box .checked {
	display: none;
	width: 15px;
	height: 15px;
	position: absolute;
	right: 0;
	bottom: 0;
	background: url(/res/img/icon7.png) no-repeat;
}

.cur-pop .cur-role-list .a-box.hover .checked {
	display: block;
}

.cur-pop .cur-role-tip {
	color: #9fa3a8;
	font-size: 12px;
}

.cur-pop .cm-empty {
	padding: 60px 0;
	color: #999;
	font-size: 14px;
	text-align: center;
}

/* ================= 商城弹层：外层还是 .cur-pop 模板，里面的 .shop 分类 tab / 商品网格照参考站 ================= */
.cur-shop-pop .pay-container .shop {
	margin: 14px 0 6px;
	width: 100%;
}

.cur-shop-pop .shop .g-sorts {
	margin-top: 0;
	padding: 0;
	border: 1px solid #eee;
	border-radius: 3px;
	background: #fff;
	overflow: visible;
}

.cur-shop-pop .shop .m-sorts .sorts-list {
	padding: 8px 12px;
	background: #fbf6f2;
	border-bottom: 1px solid #f0e7df;
}

.cur-shop-pop .shop .sorts-list li {
	float: none;
	display: inline-block;
	padding: 0;
}

.cur-shop-pop .shop .sorts-list a {
	display: inline-block;
	padding: 5px 14px;
	font-size: 13px;
	line-height: 18px;
	border: 1px solid transparent;
	border-radius: 3px;
}

.cur-shop-pop .shop .sorts-list a.active {
	color: #fff;
	background: #ff6f0f;
	border: 1px solid #ff6f0f;
}

.cur-shop-pop .g-sorts .m-list {
	padding: 2px;
}

.cur-shop-pop .g-sorts .m-list ul {
	max-height: 300px;
}

.cur-shop-pop .g-sorts .m-list li {
	display: flex;
	flex-direction: column;
	width: calc(50% - 12px);
	height: 113px;
	box-sizing: border-box;
	margin: 6px;
}

.cur-shop-pop .g-sorts .m-list li .text {
	margin-bottom: 0;
	height: auto;
	-webkit-line-clamp: 2;
}

.cur-shop-pop .g-sorts .m-list li .price {
	margin-top: auto;
	position: static;
}

.cur-shop-pop .g-sorts .m-list li.hover {
	border: 2px solid #ff6f0f;
	padding: 9px;
}

/* 刷元宝 / 刷道具权限弹层：选择权限两卡（图1） */
.cur-priv-pop .pv-priv-row {
	display: flex;
	align-items: flex-start;
	margin-top: 22px;
	padding: 0;
}

.cur-priv-pop .pv-priv-row .order-way {
	flex: none;
	white-space: nowrap;
	line-height: 26px;
}

.cur-priv-pop .pv-cards {
	flex: 1 1 auto;
	display: flex;
	flex-wrap: wrap;
}

/* 老浏览器（IE11 / 老内核 360）不支持 flex 的 gap：改用子项 margin 撑开 22px 间隙。
   只往右 / 下留 margin，不给容器加负 margin —— 否则容器会比父级宽 22px，弹层里会多出横向滚动条 */
.cur-priv-pop .pv-cards .pv-card {
	margin: 0 22px 22px 0;
}

/* 三张卡（元宝 / 道具 / 全站）一行排开：不写死宽度，按容器均分，放不下才会换行 */
/* 三卡一行三列：用 space-between 撑出 16px 间隙，卡片宽度用 calc 算，任何浏览器都不会溢出 */
.cur-priv-pop .pv-cards.is-three {
	justify-content: space-between;
}

.cur-priv-pop .pv-cards.is-three .pv-card {
	width: calc((100% - 32px) / 3);
	flex: 0 0 auto;
	margin: 0 0 16px;
}

.cur-priv-pop .pv-cards.is-three .pv-card {
	/* 宽度由上面的 calc((100% - 32px)/3) 决定（老浏览器不支持 gap，用 space-between 撑间隙） */
	min-width: 0;
}

.cur-priv-pop .pv-cards.is-three .pv-card h3 {
	font-size: 16px;
}

/* 三卡时价格贴到卡片底部，别在虚线下面吊着一大块空白 */
.cur-priv-pop .pv-cards.is-three .pv-card {
	display: flex;
	flex-direction: column;
}

.cur-priv-pop .pv-cards.is-three .pv-card .pv-desc {
	flex: none;
}

.cur-priv-pop .pv-cards.is-three .pv-card .pv-line {
	margin-top: auto;
}

/* 全站卡选中后出现的「选择期限」行 */
.cur-priv-pop .pv-term-row {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0;
	margin-top: 20px;
}

.cur-priv-pop .pv-term-row .order-way {
	line-height: 40px;
}

.cur-priv-pop .pv-term-btn {
	position: relative;
	width: 220px;
	height: 40px;
	padding: 0 12px;
	box-sizing: border-box;
	border: 1px solid #dcdcdc;
	border-radius: 2px;
	background: #fff;
	color: #3b424c;
	line-height: 38px;
	cursor: pointer;
}

.cur-priv-pop .pv-term-btn.is-open {
	border-color: #ff6f0f;
}

.cur-priv-pop .pv-term-btn::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 12px;
	margin-top: -3px;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid #c8c8c8;
}

.cur-priv-pop .pv-term-list {
	position: absolute;
	top: 44px;
	left: 90px;
	width: 220px;
	box-sizing: border-box;
	border: 1px solid #e4e4e4;
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	z-index: 10;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}

.cur-priv-pop .pv-term-option {
	flex: 0 0 34px;
	color: #3b424c;
	font-size: 13px;
	line-height: 34px;
	text-align: center;
	cursor: pointer;
}

.cur-priv-pop .pv-term-option:hover,
.cur-priv-pop .pv-term-option.hover {
	background: #fff6f0;
	color: #ff6f0f;
}

.cur-priv-pop .pv-card {
	position: relative;
	width: 200px;
	height: 210px;
	padding: 16px 16px 0;
	box-sizing: border-box;
	border: 2px solid #dcdcdc;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
}

.cur-priv-pop .pv-card.hover {
	border-color: #ff6f0f;
}

.cur-priv-pop .pv-card h3 {
	margin: 0;
	color: #3b424c;
	font-size: 18px;
	font-weight: 400;
	line-height: 26px;
}

.cur-priv-pop .pv-card .pv-desc {
	margin: 8px 0 0;
	color: #9aa2ad;
	font-size: 12px;
	line-height: 18px;
	min-height: 54px;
}

.cur-priv-pop .pv-card .pv-line {
	margin-top: 10px;
	border-top: 1px dashed #e2e2e2;
}

.cur-priv-pop .pv-card .pv-price {
	margin: 6px;
	text-align: center;
}

.cur-priv-pop .pv-card .pv-origin {
	margin: 12px 0 0;
	color: #9aa2ad;
	font-size: 12px;
	line-height: 16px;
	text-align: center;
	text-decoration: line-through;
}

.cur-priv-pop .pv-card .pv-cut {
	margin-right: 4px;
	color: #e9362f;
	font-size: 12px;
}

.cur-priv-pop .pv-card .pv-price em {
	color: #e9362f;
	font-size: 22px;
	font-style: normal;
}

.cur-priv-pop .pv-card .pv-price small {
	margin-left: 4px;
	color: #e9362f;
	font-size: 12px;
}

.cur-priv-pop .pv-card .pv-badge {
	position: absolute;
	top: -2px;
	right: -2px;
	height: 20px;
	padding: 0 8px;
	border-radius: 0 4px 0 6px;
	background: #ff6f0f;
	color: #fff;
	font-size: 11px;
	line-height: 20px;
}

.cur-priv-pop .pv-owned,
.cur-priv-pop .pv-tip {
	margin: 6px 0 0;
	color: #7a828c;
	font-size: 14px;
}

.cur-priv-pop .btn-back .btn-bg.is-busy {
	pointer-events: none;
	opacity: 0.7;
}

/* 已开通刷元宝权限：角色行 + 领元宝卡（照用户给的图） */
.cur-priv-pop .pv-role-row {
	position: relative;
	display: flex;
	align-items: center;
	margin-top: 12px;
	padding: 0;
}

.cur-priv-pop .pv-role-row .order-way {
	line-height: 40px;
}

.cur-priv-pop .pv-role-btn {
	position: relative;
	width: 220px;
	height: 40px;
	margin-right: 0;
	padding: 0 26px 0 12px;
	box-sizing: border-box;
	border: 1px solid #ff6f0f;
	background: #fff;
	color: #ff6f0f;
	font-size: 15px;
	line-height: 38px;
	text-align: center;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cur-priv-pop .pv-role-btn::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-bottom: 10px solid #ff6f0f;
}

.cur-priv-pop .pv-role-list {
	position: absolute;
	top: 44px;
	left: 90px;
	z-index: 9;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-content: flex-start;
	width: 340px;
	max-height: 246px;
	box-sizing: border-box;
	padding: 10px 8px;
	border: 1px solid #eee;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
	overflow-y: auto;
}

.cur-priv-pop .pv-role-list .pv-role-item {
	flex: none;
	height: 32px;
	padding: 0 12px;
	border: 1px solid #e2e2e2;
	border-radius: 3px;
	background: #fff;
	color: #3b424c;
	font-size: 13px;
	line-height: 30px;
}

.cur-priv-pop .pv-role-list .pv-role-item.hover {
	border-color: #ff6f0f;
	color: #ff6f0f;
}

.cur-priv-pop .pv-draw {
	clear: both;
	display: flex;
	align-items: center;
	margin: 22px 0 18px;
	padding: 26px 24px;
	border: 1px solid #e6e6e6;
	border-radius: 4px;
	background: #fafafa;
}

.cur-priv-pop .pv-draw-item {
	display: flex;
	align-items: center;
	width: 132px;
}

.cur-priv-pop .pv-draw-item .iconfont {
	color: #f0b429;
	font-size: 34px;
	line-height: 1;
}

.cur-priv-pop .pv-draw-name {
	margin-left: 12px;
}

.cur-priv-pop .pv-draw-name h4 {
	margin: 0;
	color: #3b424c;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

.cur-priv-pop .pv-draw-name p {
	margin: 2px 0 0;
	color: #e9362f;
	font-size: 16px;
	line-height: 22px;
}

.cur-priv-pop .pv-draw-desc {
	flex: 1 1 auto;
	min-width: 0;
	padding-left: 18px;
	border-left: 1px solid #e2e2e2;
}

.cur-priv-pop .pv-draw-desc h5 {
	margin: 0 0 4px;
	color: #3b424c;
	font-size: 13px;
	font-weight: 400;
}

.cur-priv-pop .pv-draw-desc p {
	margin: 0;
	color: #9aa2ad;
	font-size: 12px;
	line-height: 20px;
}

.cur-priv-pop .pv-draw-btn {
	flex: 0 0 auto;
	width: 112px;
	height: 40px;
	margin-left: 18px;
	border-radius: 22px;
	background: #efefef;
	color: #3b424c;
	font-size: 14px;
	line-height: 40px;
	text-align: center;
}

.cur-priv-pop .pv-draw-btn:hover {
	background: #ff6f0f;
	color: #fff;
}

.cur-priv-pop .pv-draw-btn.is-busy {
	pointer-events: none;
	opacity: 0.7;
}

/* 制作道具：道具输入（带下拉）+ 数量 */
.cur-priv-pop .pv-item-row {
	position: relative;
	display: flex;
	align-items: center;
	margin-top: 12px;
	padding: 0;
}

.cur-priv-pop .pv-item-row .order-way {
	line-height: 40px;
}

.cur-priv-pop .pv-item-field {
	position: relative;
	width: 260px;
}

.cur-priv-pop .pv-item-input {
	display: block;
	width: 100%;
	height: 40px;
	box-sizing: border-box;
	padding: 0 14px;
	border: 1px solid #e4e4e4;
	background: #fff;
	color: #3b424c;
	font-size: 14px;
	line-height: 38px;
	outline: none;
}

.cur-priv-pop .pv-item-input:focus {
	border-color: #ff6f0f;
}

.cur-priv-pop .pv-item-input::placeholder {
	color: #9aa2ad;
}

.cur-priv-pop .pv-item-list {
	position: absolute;
	top: 44px;
	left: 0;
	z-index: 10;
	display: flex;
	flex-direction: column;
	width: 100%;
	box-sizing: border-box;
	max-height: 246px;
	padding: 4px 0;
	border: 1px solid #eee;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
	overflow-y: auto;
}

.cur-priv-pop .pv-item-list .pv-item-option {
	flex: 0 0 32px;
	height: 32px;
	padding: 0 14px;
	color: #3b424c;
	font-size: 13px;
	line-height: 32px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cur-priv-pop .pv-item-list .pv-item-option:hover {
	background: #f5f5f5;
	color: #ff6f0f;
}

.cur-priv-pop .pv-item-list .pv-item-empty {
	margin: 0;
	padding: 8px 14px;
	color: #9aa2ad;
	font-size: 12px;
}

.cur-priv-pop .pv-qty-field {
	width: 200px;
	margin-left: 20px;
}

.cur-priv-pop .pv-qty-input {
	display: block;
	width: 100%;
	height: 40px;
	box-sizing: border-box;
	padding: 0 14px;
	border: 1px solid #e4e4e4;
	background: #fff;
	color: #3b424c;
	font-size: 14px;
	line-height: 38px;
	outline: none;
}

.cur-priv-pop .pv-qty-input:focus {
	border-color: #ff6f0f;
}

.cur-priv-pop .pv-qty-input::placeholder {
	color: #9aa2ad;
}

/* 制作道具时，道具下拉允许溢出弹层（参考站就是这么弹的） */
.cur-priv-pop.is-item {
	overflow: visible;
}

.cur-priv-pop.is-item .pay-container {
	overflow: visible;
}

/* 游戏详情页「游戏助手」弹层：橙标题 + 选择区服 / 选择角色 + 每条扩展一张卡片 */
.cur-assist-pop {
	width: 760px;
	top: 90px;
	background: #fff;
}

.cur-assist-pop .tit {
	height: 82px;
	font-size: 22px;
	line-height: 82px;
}

.cur-assist-pop .close {
	top: 29px;
}

.cur-assist-pop .as-body {
	padding: 36px 44px 30px;
}

.cur-assist-pop .as-row {
	position: relative;
	display: flex;
	align-items: center;
	margin-bottom: 22px;
}

.cur-assist-pop .as-label {
	flex: none;
	width: 92px;
	font-size: 16px;
	color: #3b424c;
}

.cur-assist-pop .as-server {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 258px;
	height: 44px;
	border: 1px solid #e3e3e3;
	background: #fff;
	color: #3b424c;
	font-size: 16px;
	cursor: pointer;
}

.cur-assist-pop .as-server:hover {
	border-color: #ff6f0f;
}

.cur-assist-pop .as-server-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	margin-top: -11px;
	font-size: 22px;
	color: #cfcfcf;
}

.cur-assist-pop .as-server-caret {
	position: absolute;
	right: 12px;
	top: 50%;
	margin-top: -8px;
	font-size: 16px;
	color: #cfcfcf;
}

.cur-assist-pop .as-pick {
	position: absolute;
	left: 92px;
	top: 48px;
	z-index: 6;
	width: 258px;
	max-height: 268px;
	overflow-y: auto;
	border: 1px solid #e3e3e3;
	border-top: 0;
	background: #fff;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.cur-assist-pop .as-pick li {
	height: 38px;
	line-height: 38px;
	border-bottom: 1px solid #f2f2f2;
	color: #555;
	font-size: 14px;
	text-align: center;
	cursor: pointer;
}

.cur-assist-pop .as-pick li.on,
.cur-assist-pop .as-pick li:hover {
	background: #fff3ea;
	color: #ff6f0f;
}

.cur-assist-pop .as-role {
	position: relative;
	width: 258px;
	height: 44px;
	padding: 0 20px;
	overflow: hidden;
	border: 1px solid #ff6f0f;
	background: #fff;
	color: #ff6f0f;
	font-size: 16px;
	line-height: 44px;
	text-align: center;
	white-space: nowrap;
	text-overflow: ellipsis;
	cursor: pointer;
}

.cur-assist-pop .as-role::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	width: 0;
	height: 0;
	border-left: 13px solid transparent;
	border-bottom: 13px solid #ff6f0f;
}

.cur-assist-pop .as-role-list {
	position: absolute;
	left: 92px;
	top: 48px;
	z-index: 6;
	width: 258px;
	max-height: 246px;
	overflow-y: auto;
	border: 1px solid #e3e3e3;
	border-top: 0;
	background: #fff;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.cur-assist-pop .as-role-list li {
	height: 38px;
	padding: 0 16px;
	border-bottom: 1px solid #f2f2f2;
	color: #555;
	font-size: 14px;
	line-height: 38px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}

.cur-assist-pop .as-role-list li.on,
.cur-assist-pop .as-role-list li:hover {
	background: #fff3ea;
	color: #ff6f0f;
}

.cur-assist-pop .as-list {
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-height: 330px;
	overflow-y: auto;
}

.cur-assist-pop .as-item {
	display: flex;
	align-items: center;
	padding: 26px 24px;
	border: 1px solid #eee;
	background: #fff;
}

.cur-assist-pop .as-name {
	flex: none;
	width: 164px;
	padding-right: 12px;
	color: #3b424c;
	font-size: 16px;
	line-height: 22px;
}

.cur-assist-pop .as-desc {
	flex: 1 1 auto;
	min-width: 0;
	margin-right: 18px;
}

.cur-assist-pop .as-desc p {
	margin: 0;
	color: #9a9a9a;
	font-size: 12px;
	line-height: 20px;
}

.cur-assist-pop .as-desc .as-cost {
	color: #ff6f0f;
}

.cur-assist-pop .as-submit {
	flex: none;
	width: 150px;
	height: 42px;
	border-radius: 21px;
	background: #f2f2f2;
	color: #6f6f6f;
	font-size: 16px;
	line-height: 42px;
	text-align: center;
}

.cur-assist-pop .as-submit:hover {
	background: #ff6f0f;
	color: #fff;
}

.cur-assist-pop .as-submit.is-busy {
	opacity: 0.6;
	cursor: default;
}

/* 详情页「最近玩过的区服」：三列（游戏名 / 区服 / 进入），不再显示进入时间；
   游戏名过长省略，与区服之间留 8px，右边留给橙色「进入」 */
#lastserver li span.name {
	width: 118px;
	margin-right: 8px;
}

#lastserver li .server {
	width: 46px;
}

/* 详情页游戏信息卡（头像 + 游戏名 + 类型）右侧的「游戏提示」：
   内容来自后台游戏「提示」页签，一条一行、过长省略，不换行不撑高卡片 */
.game-download {
	position: relative;
}

.game-download .game-notice {
	position: absolute;
	right: 30px;
	top: 50%;
	transform: translateY(-50%);
	width: 420px;
	max-width: 46%;
}

.game-download .game-notice .gn-list {
	margin-top: 0;
}

.game-download .game-notice .gn-list li {
	float: none;
	margin: 0;
	color: #9fa3a8;
	font-size: 14px;
	line-height: 24px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.game-download .game-notice .gn-list li::before {
	content: '';
	display: inline-block;
	width: 4px;
	height: 4px;
	margin-right: 6px;
	border-radius: 50%;
	background: #ffb27a;
	vertical-align: 2px;
}

/* 「最近玩过的区服 / 游戏」里的区服号现在本身是个入口：颜色跟正文一致、不加下划线，悬停变橙 */
.login-box .last-games li a.server,
#lastserver li a.server {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.login-box .last-games li a.server:hover,
#lastserver li a.server:hover {
	color: #ff6600;
}
/* 窄视口下右侧「进入」会被视口边缘切掉，给这行留 12px 右内边距 */
#lastserver {
	padding-right: 12px;
}


/* ---------- 福利礼包弹层：区服下拉 / 角色方块复用「购买钻石」弹层那套组件 ---------- */
.sd-box .game-platform-tab.gift-pick-row {
	height: 40px;
	margin: 4px 0 18px;
}

.sd-box .choose-game {
	position: relative;
	display: flex;
	align-items: center;
}

.sd-box .choose-game .pay-for-game.hover {
	background-position: 0 -40px;
}

.sd-box .cur-pick-box {
	position: absolute;
	top: 44px;
	left: 104px;
	width: 520px;
	height: auto;
	max-height: 288px;
	z-index: 8;
}

.sd-box .cur-pick-box.is-simple {
	width: 360px;
}

.sd-box .cur-pick-box .alert_server_sort {
	height: 40px;
	overflow: hidden;
}

.sd-box .cur-pick-box .alert_list {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	max-height: 246px;
	padding: 10px 8px;
	overflow-y: auto;
}

.sd-box .cur-pick-box .alert_list a {
	width: 62px;
	height: 26px;
	margin: 0 4px 6px 0;
	border-radius: 3px;
	color: #3b424c;
	font-size: 13px;
	line-height: 26px;
	text-align: center;
}

.sd-box .cur-pick-box .alert_list a.hover,
.sd-box .cur-pick-box .alert_list a:hover {
	background: #ff6f0f;
	color: #fff;
}

.sd-box .pay-where {
	display: flex;
	align-items: center;
	height: auto;
	min-height: 40px;
	margin: 0 0 18px;
}

.sd-box .pay-where .order-way {
	flex: none;
}

.sd-box .cur-role-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
}

.sd-box .cur-role-list .a-box {
	width: 220px;
	box-sizing: border-box;
	height: 38px;
	margin: 4px 12px 4px 0;
	border-radius: 3px;
	color: #3b424c;
	font-size: 14px;
	line-height: 36px;
}

.sd-box .cur-role-list .a-box:hover {
	border-color: #ff6f0f;
}

.sd-box .cur-role-list .a-box.hover {
	border: 2px solid #ff6f0f;
	line-height: 34px;
	color: #ff6a00;
}

.sd-box .cur-role-list .a-box .checked {
	display: none;
	width: 15px;
	height: 15px;
	position: absolute;
	right: 0;
	bottom: 0;
	background: url(/res/img/icon7.png) no-repeat;
}

.sd-box .cur-role-list .a-box.hover .checked {
	display: block;
}

.sd-box .cur-role-tip {
	color: #9fa3a8;
	font-size: 12px;
}

/* ---------- 客服微信描述（系统设置「客服设置 · 微信描述」） ---------- */
.contact-service .service-desc {
	margin: 6px 0 0;
	color: #ff6f0f;
	font-size: 13px;
	line-height: 1.7;
}

/* 客服微信：二维码与描述同列、同宽，描述左边缘与二维码对齐 */
.contact-service .wx-cell {
	display: inline-block;
	width: 95px;
	vertical-align: top;
}
/* 详情页二维码是 90px，用这个变体 */
.contact-service .wx-cell-sm {
	width: 90px;
}
.contact-service .wx-cell img {
	display: block;
	width: 100%;
	height: auto;
}
.contact-service .wx-cell .service-desc {
	display: block;
	width: 100%;
	margin: 6px 0 0;
	padding: 0;
	color: #ff6f0f;
	font-size: 13px;
	line-height: 18px;
	text-align: left;
	word-break: break-all;
	overflow-wrap: break-word;
}

/* 游戏详情页开服表：整行都可点进服，鼠标给个手型 */
#open-server li.server-row {
	cursor: pointer;
}

/* 窄窗口横滚时通栏背景对齐：整页内容固定 1248px（.wrapper），窗口更窄就横滚，
   html/body 一并撑到 1248，顶部通栏与 banner 的 100% 宽度才跟得上内容，滚到右侧不再断开露白 */
html,
body {
	min-width: 1248px;
}

/* ---------------- 新闻详情页（/news/{id}）：左正文卡 + 右开服表/抽奖 ---------------- */
.news-home .nd-article {
	margin: 0 0 20px;
	padding: 30px 40px 34px;
	background: #fff;
	border-radius: 4px;
	min-height: 560px;
}
.news-home .nd-title {
	margin: 0;
	padding: 0;
	color: #333;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.6;
	text-align: center;
}
.news-home .nd-time {
	margin: 12px 0 0;
	color: #999;
	font-size: 12px;
	text-align: center;
}
.news-home .nd-game {
	margin: 6px 0 0;
	color: #999;
	font-size: 12px;
	text-align: center;
}
.news-home .nd-game a {
	color: #ff6a00;
}
.news-home .nd-sep {
	margin: 22px 0 26px;
	border-top: 1px solid #eee;
}
.news-home .nd-content {
	color: #444;
	font-size: 14px;
	line-height: 2;
	word-break: break-all;
}
.news-home .nd-content p { margin: 0 0 14px; }
.news-home .nd-content img { max-width: 100%; height: auto; }
.news-home .nd-content a { color: #4a6b8a; }
.news-home .nd-siblings {
	margin: 26px 0 0;
	padding-top: 16px;
	border-top: 1px dashed #eee;
	font-size: 13px;
}
.news-home .nd-sib {
	display: block;
	margin-bottom: 8px;
	color: #666;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.news-home .nd-sib:hover { color: #ff6a1f; }
.news-home .nd-sib.is-empty { color: #bbb; }
.news-home .nd-foot {
	margin-top: 22px;
	text-align: right;
}
.news-home .nd-back {
	display: inline-block;
	height: 34px;
	line-height: 34px;
	padding: 0 22px;
	border-radius: 17px;
	background: #ff6a1f;
	color: #fff;
	font-size: 13px;
	text-decoration: none;
}
.news-home .nd-back:hover { background: #ff8a3d; color: #fff; }

/* 详情页右栏块标题前的橙色圆环小图标（只作用于带 nd-page 的页面） */
.news-home.nd-page .np-side-head h3 {
	display: flex;
	align-items: center;
}
.news-home.nd-page .np-side-head h3::before {
	content: "";
	width: 20px;
	height: 20px;
	margin-right: 7px;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9.6' fill='none' stroke='%23ff6a00' stroke-width='2'/><path d='M6.6 10.2h10.8M6.6 13.2h10.8M6.6 16.2h6.8' stroke='%23ff6a00' stroke-width='1.6' fill='none'/></svg>") no-repeat center center;
	background-size: 20px 20px;
}

/* ===== 首页右侧分类快速定位 ===== */
.home-cat-nav {
	position: fixed;
	right: 0;
	top: 50%;
	z-index: 120;
	width: 62px;
	margin-top: -30px;
	transform: translateY(-50%);
	background: #fff;
	border-radius: 10px 0 0 10px;
	box-shadow: 0 8px 26px rgba(80, 32, 18, .2);
	overflow: hidden;
}
.home-cat-nav-item {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 62px;
	min-height: 42px;
	padding: 4px 5px;
	border-top: 1px solid #f5e8e2;
	background: #fff;
	color: #8a3a24;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition: background .16s ease, color .16s ease;
}
.home-cat-nav-item:hover,
.home-cat-nav-item.is-active {
	background: #f25a2b;
	color: #fff;
}
.home-cat-nav-item.is-active {
	box-shadow: inset 3px 0 0 #c62d16;
}
#cat-fire,
#cat-hot,
.game-item[id] {
	scroll-margin-top: 16px;
}
@media (max-width: 900px) {
	.home-cat-nav { display: none; }
}

/* ---------------- 游戏详情页：我要推广入口 / 弹层 ---------------- */
.promo-entry {
	margin-top: 10px;
}
.promo-entry a {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #fed7aa;
	border-radius: 4px;
	background: #fff7ed;
	color: #9a3412;
	text-decoration: none;
	transition: background .2s, border-color .2s;
}
.promo-entry a:hover {
	background: #ffedd5;
	border-color: #fdba74;
}
.promo-entry-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #ff7a00;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	flex: none;
}
.promo-entry-text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.promo-entry-text b {
	color: #9a3412;
	font-size: 15px;
	line-height: 1.3;
}
.promo-entry-text small {
	color: #b45309;
	font-size: 11px;
	line-height: 1.3;
}

.promo-mask {
	z-index: 10000;
}
.promo-box {
	width: 720px;
	max-height: 70vh;
	display: flex;
	flex-direction: column;
}
.promo-head {
	background: #ff7a00;
	flex: none;
}
.promo-body {
	flex: 1 1 auto;
	min-height: 0;
	max-height: none;
	overflow-y: auto;
	padding: 16px 24px 24px;
}
.promo-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 12px 16px;
	border-radius: 6px;
	background: linear-gradient(135deg, #fff7ed, #ffedd5);
}
.promo-kicker {
	color: #c2410c;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .5px;
}
.promo-hero-main h4 {
	margin: 4px 0 0;
	color: #7c2d12;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}
.promo-reward-box {
	flex: none;
	min-width: 92px;
	text-align: right;
}
.promo-reward-box strong {
	display: block;
	color: #c2410c;
	font-size: 26px;
	line-height: 1.2;
}
.promo-reward-box span {
	color: #b45309;
	font-size: 11px;
}
.promo-tabs {
	display: flex;
	gap: 4px;
	margin-top: 12px;
	border-bottom: 1px solid #eef1f6;
}
.promo-tabs button {
	position: relative;
	padding: 8px 14px 9px;
	border: 0;
	background: none;
	color: #8a94a6;
	font-size: 13px;
	cursor: pointer;
}
.promo-tabs button.is-active {
	color: #e8590c;
	font-weight: 600;
}
.promo-tabs button.is-active::after {
	content: '';
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: -1px;
	height: 2px;
	border-radius: 2px;
	background: #ff7a00;
}
.promo-pane {
	display: none;
	padding-top: 14px;
}
.promo-pane.is-active {
	display: block;
}
.promo-share-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	padding: 11px 12px;
	border-radius: 6px;
	background: #fafbfd;
}
.promo-share-btn {
	flex: none;
	padding: 8px 15px;
	border: 0;
	border-radius: 4px;
	background: #ff7a00;
	color: #fff;
	font-size: 13px;
	cursor: pointer;
}
.promo-share-btn:disabled {
	background: #f0f1f3;
	color: #9ca3af;
	cursor: not-allowed;
}
.promo-share-tip {
	color: #9ca3af;
	font-size: 12px;
	line-height: 1.5;
}
.promo-section {
	margin-top: 0;
	margin-bottom: 14px;
}
.promo-section h5,
.promo-my-head h5 {
	margin: 0 0 7px;
	color: #1f2937;
	font-size: 14px;
	font-weight: 600;
}
.promo-copy,
.promo-text {
	margin: 0;
	color: #4b5563;
	font-size: 13px;
	line-height: 1.8;
	white-space: pre-wrap;
	word-break: break-word;
}
.promo-rule-box {
	margin-top: 14px;
	padding: 11px 14px;
	border-left: 3px solid #ff7a00;
	border-radius: 3px;
	background: #fafbfd;
	color: #7c2d12;
	font-size: 13px;
	line-height: 1.7;
}
.promo-instructions {
	margin: 0;
	padding-left: 18px;
	color: #5b6575;
	font-size: 13px;
	line-height: 1.85;
}
.promo-instructions li {
	list-style: disc;
}
.promo-notice {
	margin: 10px 0 0;
	padding: 9px 12px;
	border-radius: 4px;
	background: #fff7ed;
	color: #9a3412;
	font-size: 12px;
	line-height: 1.7;
	white-space: pre-wrap;
}
.promo-login-tip {
	margin-top: 0;
	padding: 14px 16px;
	border: 1px dashed #fdba74;
	border-radius: 5px;
	background: #fffaf5;
	color: #9a3412;
	font-size: 13px;
	line-height: 1.7;
}
.promo-my {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}
.promo-my-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.promo-refresh {
	padding: 5px 10px;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	background: #fff;
	color: #6b7280;
	font-size: 12px;
	cursor: pointer;
}
.promo-refresh:hover {
	border-color: #fdba74;
	color: #c2410c;
}
.promo-empty {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 9px;
	padding: 14px 16px;
	border-radius: 5px;
	background: #fafbfd;
}
.promo-empty p {
	margin: 0;
	color: #6b7280;
	font-size: 13px;
	line-height: 1.7;
}
.promo-apply {
	flex: none;
	padding: 8px 16px;
	border: 0;
	border-radius: 4px;
	background: #ff7a00;
	color: #fff;
	font-size: 13px;
	cursor: pointer;
}
.promo-apply:hover {
	background: #f06c00;
}
.promo-apply:disabled {
	opacity: .6;
	cursor: default;
}
.promo-code-area {
	margin-top: 10px;
	padding: 14px 16px;
	border: 1px solid #ffedd5;
	border-radius: 5px;
	background: #fffaf5;
}
.promo-code-line {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 6px 0;
	min-width: 0;
}
.promo-label {
	width: 76px;
	flex: none;
	color: #8a94a6;
	font-size: 12px;
}
.promo-code {
	color: #c2410c;
	font-family: Consolas, Monaco, monospace;
	font-size: 19px;
	letter-spacing: 1px;
}
.promo-link {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #6b7280;
	font-size: 12px;
}
.promo-mini-btn {
	flex: none;
	padding: 4px 9px;
	border: 1px solid #fdba74;
	border-radius: 3px;
	background: #fff;
	color: #c2410c;
	font-size: 11px;
	cursor: pointer;
}
.promo-mini-btn:hover {
	background: #fff7ed;
}
.promo-stats {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 6px;
	margin-top: 12px;
}
.promo-stats > div {
	padding: 8px 6px;
	border-radius: 4px;
	background: #fff;
	text-align: center;
}
.promo-stats span {
	display: block;
	color: #9ca3af;
	font-size: 11px;
}
.promo-stats b {
	display: block;
	margin-top: 2px;
	color: #1f2937;
	font-size: 17px;
}
.promo-table-wrap {
	margin-top: 13px;
	overflow-x: auto;
}
.promo-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}
.promo-table th,
.promo-table td {
	padding: 9px 8px;
	border-bottom: 1px solid #eef1f6;
	color: #4b5563;
	font-size: 12px;
	text-align: left;
	vertical-align: middle;
}
.promo-table th {
	background: #fafbfd;
	color: #8a94a6;
	font-weight: normal;
}
.promo-table td:first-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.promo-table-empty {
	padding: 22px 10px !important;
	color: #9ca3af !important;
	text-align: center !important;
}
.promo-tag {
	display: inline-block;
	padding: 1px 6px;
	border-radius: 3px;
	font-style: normal;
	font-size: 11px;
	line-height: 1.6;
}
.promo-tag.ok {
	background: #ecfdf3;
	color: #15803d;
}
.promo-tag.warn {
	background: #fff7ed;
	color: #b45309;
}
.promo-tag.bad {
	background: #fef2f2;
	color: #b91c1c;
}
.promo-muted {
	color: #9ca3af;
}
body.promo-open {
	overflow: hidden;
}
@media (max-width: 760px) {
	.promo-box {
		width: calc(100% - 20px);
		max-height: 82vh;
		margin: 4vh auto 20px;
	}
	.promo-body {
		padding: 14px 14px 20px;
	}
	.promo-tabs button {
		flex: 1;
		padding-left: 6px;
		padding-right: 6px;
	}
	.promo-share-row {
		flex-direction: column;
		align-items: stretch;
	}
	.promo-share-btn {
		width: 100%;
	}
	.promo-hero {
		align-items: flex-start;
	}
	.promo-hero-main h4 {
		font-size: 16px;
	}
	.promo-reward-box strong {
		font-size: 22px;
	}
	.promo-empty {
		align-items: flex-start;
		flex-direction: column;
	}
	.promo-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.promo-code-line {
		align-items: flex-start;
		flex-wrap: wrap;
	}
	.promo-link {
		flex-basis: 100%;
		order: 4;
	}
	.promo-table {
		min-width: 620px;
	}
}

