/* 公众号二维码查看层（7.9.434）
   不用 backdrop-filter：iOS 微信里带它的合成层会吞掉子元素的点击。 */
.mayer-qr-zoom[hidden] {
	display: none !important;
}

.mayer-qr-zoom {
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 32px 24px;
}

.mayer-qr-zoom-mask {
	position: absolute;
	inset: 0;
	background: rgba(6, 16, 38, 0.86);
}

.mayer-qr-zoom-card {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: min(76vw, 300px);
	margin: 0;
	padding: 22px 20px 18px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
	text-align: center;
}

.mayer-qr-zoom-card img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

.mayer-qr-zoom-tip {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.7;
	color: #41506b;
}

.mayer-qr-zoom-btn {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 14px 0 0;
	padding: 12px 16px;
	border-radius: 10px;
	background: linear-gradient(180deg, #d4b06c, #b98d43);
	color: #1b1407;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.mayer-qr-zoom-btn:active {
	filter: brightness(0.96);
}

/* 点击「关注公众号」后的过渡层：微信里跳 mp.weixin.qq.com 常常要一两秒，
   没有反馈会被当成点坏了，跟名片页保持同一套观感。 */
.mayer-qr-zoom-loading[hidden] {
	display: none !important;
}

.mayer-qr-zoom-loading {
	position: fixed;
	inset: 0;
	z-index: 99995;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(6, 16, 38, 0.72);
}

.mayer-qr-zoom-loading-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	min-width: 190px;
	padding: 26px 30px 24px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
}

.mayer-qr-zoom-spinner {
	width: 30px;
	height: 30px;
	border: 3px solid rgba(31, 78, 156, 0.18);
	border-top-color: #1f4e9c;
	border-radius: 50%;
	animation: mayer-qr-spin 0.8s linear infinite;
}

@keyframes mayer-qr-spin {
	to { transform: rotate(360deg); }
}

.mayer-qr-zoom-loading-box strong {
	font-size: 15px;
	font-weight: 600;
	color: #173e69;
	letter-spacing: 0.02em;
}

.mayer-qr-zoom-loading-box small {
	font-size: 12px;
	color: #7b8ca0;
}

.mayer-qr-zoom-btn.is-busy {
	opacity: 0.72;
	pointer-events: none;
}

.mayer-qr-zoom-x {
	position: absolute;
	top: -12px;
	right: -12px;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #1b2a44;
	font-size: 20px;
	line-height: 34px;
	text-align: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

@media (max-width: 380px) {
	.mayer-qr-zoom-card {
		width: 82vw;
		padding: 18px 16px 14px;
	}
}
