/*!
 * author by @xiange 
 * wx:2843269812 
 * gzh:xmcjw178 
 * https://youjiang178.com
 */

/* 完整的CSS样式，包含所有必要定义 */
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto; background-color: #f5f5f5; padding: 0; line-height: 1.6; margin: 0; }
.container { max-width: 600px; margin: 0 auto; padding: 10px; }
h2 { text-align: center; color: #333; padding: 10px 0; }
.warning { background: #fff3cd; border-left: 4px solid #ffc107; padding: 10px; margin-bottom: 15px; font-size: 14px; color: #856404; border-radius: 4px; }

/* --- 分类菜单样式 --- */
.category-menu {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #f5f5f5;
	padding: 8px 5px;
	margin: 0 -10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}
.category-menu::-webkit-scrollbar { display: none; }
.category-menu button {
	display: inline-block;
	padding: 5px 12px;
	margin: 3px 4px;
	border: 1px solid #ddd;
	border-radius: 15px;
	background: #fff;
	color: #333;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
}
.category-menu button:hover {
	background: #1677ff;
	color: #fff;
	border-color: #1677ff;
}
.category-menu button.active {
	background: #1677ff;
	color: #fff;
	border-color: #1677ff;
}
/* --- 菜单样式结束 --- */

.item { background: #fff; margin-bottom: 10px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); overflow: hidden; }
.item a { display: block; padding: 15px; text-decoration: none; color: #333; position: relative; }
.item a:active { background-color: #f0f0f0; }
.tag { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); font-size: 12px; padding: 2px 8px; border-radius: 10px; color: #fff; }
.tag-wechat { background-color: #07c160; }
.tag-browser { background-color: #1677ff; }
.tag-miniprogram { background-color: #faad14; }
/* 新增：支付宝专属标签样式（支付宝品牌蓝） */
.tag-alipay { background-color: #1677ff; }
.tag-general { background-color: #666; } /* 灰色标识通用类型 */
.desc { font-size: 12px; color: #888; margin-top: 5px; }

/* 分类间隔标题 */
.section-title {
	font-size: 15px;
	font-weight: bold;
	color: #666;
	margin: 20px 0 10px 5px;
	padding-left: 8px;
	border-left: 3px solid #1677ff;
}

/* 通用遮罩层样式 */
.modal-mask { 
	display: none; 
	position: fixed; 
	top: 0; left: 0; 
	width: 100%; height: 100%; 
	background: rgba(0,0,0,0.7); 
	z-index: 9999; 
	justify-content: center;
	align-items: center;
	text-align: center; 
	color: #fff; 
}
.modal-content { padding: 20px; background: #fff; border-radius: 12px; color: #333; max-width: 80%; }
.modal-content img { width: 200px; height: 200px; margin-bottom: 15px; }
.modal-close { margin-top: 15px; padding: 8px 20px; background: #eee; border: none; border-radius: 20px; cursor: pointer; }

/* 微信引导遮罩层特定样式 */
.arrow { position: absolute; top: 10px; right: 20px; font-size: 40px; }

/* 电脑端悬浮二维码模块（仅≥768px显示） */
@media (min-width: 768px) {
	.pc-float-qrcode {
		position: fixed;
		right: 20px;
		top: 50%;
		transform: translateY(-50%);
		width: 180px;
		background: #fff;
		border-radius: 12px;
		padding: 15px;
		box-shadow: 0 4px 20px rgba(0,0,0,0.1);
		z-index: 99; /* 低于弹窗的z-index(9999)，不会遮挡弹窗 */
		text-align: center;
		border-left: 4px solid #1677ff;
	}
	.qrcode-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 10px;
		font-size: 14px;
		color: #333;
		font-weight: 600;
	}
	.close-btn {
		background: none;
		border: none;
		font-size: 20px;
		color: #999;
		cursor: pointer;
		padding: 0 5px;
		line-height: 1;
	}
	.close-btn:hover {
		color: #333;
	}
	.pc-float-qrcode img {
		width: 150px;
		height: 150px;
		border-radius: 8px;
		border: 1px solid #eee;
		margin-bottom: 10px;
	}
	.pc-float-qrcode p {
		font-size: 12px;
		color: #666;
		line-height: 1.5;
		margin: 0;
	}
}

/* 手机端隐藏模块 */
@media (max-width: 767px) {
	.pc-float-qrcode {
		display: none !important;
	}
}