/* 二维码浮层层级修复样式 */

/* 强制设置最高层级 */
.qr-code-tooltip {
	z-index: 2147483647 !important;
	position: fixed !important;
}

/* 桌面端定位修复 */
@media (min-width: 769px) {
	.qr-code-tooltip {
		position: absolute !important;
	}
	
	.qr-hover-container:hover .qr-code-tooltip {
		position: fixed !important;
		z-index: 2147483647 !important;
	}
}

/* 移动端定位修复 */
@media (max-width: 768px) {
	.qr-code-tooltip {
		position: fixed !important;
		top: 50% !important;
		left: 50% !important;
		transform: translate(-50%, -50%) !important;
		z-index: 2147483647 !important;
		background: rgba(255, 255, 255, 0.98) !important;
		backdrop-filter: blur(15px) !important;
		box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4) !important;
	}
	
	/* 添加全屏遮罩 */
	.qr-code-tooltip.show::before {
		content: '';
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		width: 100vw !important;
		height: 100vh !important;
		background: rgba(0, 0, 0, 0.6) !important;
		z-index: 2147483646 !important;
		backdrop-filter: blur(3px) !important;
	}
}

/* 确保父容器不会限制层级 */
.footer,
.neo-footer,
.social-links,
.footer-content,
.footer-section,
body,
html {
	overflow: visible !important;
	z-index: auto !important;
}

/* 防止其他元素干扰 */
* {
	max-z-index: 2147483646;
}

.qr-code-tooltip * {
	z-index: inherit !important;
}

/* 确保二维码图片正常显示 */
.qr-code-image {
	position: relative !important;
	z-index: inherit !important;
	display: block !important;
}