/* 打赏弹层：现代卡片风格，层级高于导航栏与章节切换按钮 */
.hide_box {
	z-index: 100000;
	filter: alpha(opacity=60);
	background: rgba(15, 23, 42, 0.6);
	opacity: 1;
	-moz-opacity: 1;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	position: fixed;
	display: none;
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}
.reward_box {
	width: min(400px, calc(100vw - 32px));
	box-sizing: border-box;
	padding: 28px 24px 22px;
	background-color: #fff;
	border: 0;
	border-radius: 20px;
	position: fixed;
	z-index: 100001;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	display: none;
	box-shadow: 0 32px 72px rgba(15, 23, 42, 0.32);
}
.reward_box img {
	border: none;
	border-width: 0;
}
/* 打赏按钮：胶囊渐变，与站点主题一致 */
.content .reward {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: fit-content;
	min-width: 128px;
	height: 40px;
	line-height: 1;
	margin: 0 auto;
	padding: 0 22px;
	background: linear-gradient(135deg, #14b8a6, #0f766e);
	color: #fff;
	text-align: center;
	text-decoration: none;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
	transition: all 0.3s ease;
}
.content .reward:hover {
	opacity: 1;
	padding: 0 22px;
	font-size: 15px;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(15, 118, 110, 0.3);
}
/* 关闭按钮：右上角圆形 × */
.reward_close {
	float: right;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin: -6px -8px 0 0;
	border-radius: 50%;
	background: #f1f5f9;
	color: #64748b;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}
.reward_close:hover {
	background: #e2e8f0;
	color: #0f172a;
}
/* 标题区：渐变强调文字，替换旧背景图 */
.reward_tit {
	width: 100%;
	height: auto;
	margin: 6px 0 14px;
	text-align: center;
	line-height: 1.5;
	background: none;
}
.reward_tit p {
	margin: 0;
	color: #0f172a;
	text-align: center;
	font-size: 17px;
	font-weight: 700;
	font-family: inherit;
	background: linear-gradient(135deg, #0f172a, #2563eb);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
/* 二维码：圆角卡片 + 品牌色描边 */
.reward_payimg {
	width: 200px;
	height: 200px;
	padding: 10px;
	margin: 0 auto;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
.reward_payimg img {
	display: block;
	width: 180px;
	height: 180px;
	border-radius: 8px;
}
.pay_explain {
	text-align: center;
	margin: 14px auto 12px;
	font-size: 13px;
	color: #64748b;
}
/* 支付方式切换：两枚胶囊按钮，选中态点亮品牌色 */
.reward_payselect {
	text-align: center;
	margin: 0 auto;
	cursor: pointer;
	height: auto;
	width: auto;
	display: flex;
	justify-content: center;
	gap: 12px;
}
.reward_payselect .pay_item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 7px 16px;
	border-radius: 999px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	float: none;
	transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.reward_payselect .pay_item .radiobox {
	display: none;
}
.reward_payselect .pay_item .pay_logo img {
	display: block;
	height: 22px;
	width: auto;
}
.reward_payselect .pay_item.checked {
	border-color: #22c55e;
	background: #f0fdf4;
	box-shadow: 0 4px 12px rgba(34, 197, 94, 0.16);
}
.reward_payselect .pay_item[data-id="alipay"].checked {
	border-color: #1677ff;
	background: #eff6ff;
	box-shadow: 0 4px 12px rgba(22, 119, 255, 0.16);
}
.reward_info {
	clear: both;
	margin-top: 12px;
}
.reward_info p,
.reward_info a {
	color: #94a3b8;
	text-align: center;
	font-size: 12px;
	text-decoration: none;
	line-height: 1.8em;
}
.reward_info #reward_pay_txt {
	color: #0f766e;
	font-weight: 600;
}
