.hestia-wechat-notice-open,
.hestia-wechat-notice-open body {
	overflow: hidden;
}

.hestia-wechat-notice {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.22s ease;
}

.hestia-wechat-notice.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.hestia-wechat-notice__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 13, 26, 0.62);
	backdrop-filter: blur(8px);
}

.hestia-wechat-notice__panel {
	position: relative;
	z-index: 2;
	width: min(100%, 480px);
	padding: 30px 28px 24px;
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 28px 70px rgba(8, 23, 57, 0.28);
	color: #1d2d4c;
	text-align: center;
}

.hestia-wechat-notice__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
	pointer-events: none;
}

.hestia-wechat-notice__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	margin-bottom: 18px;
	border-radius: 999px;
	background: radial-gradient(circle at center, rgba(43, 195, 95, 0.16), rgba(43, 195, 95, 0.05));
}

.hestia-wechat-notice__icon span {
	position: relative;
	display: block;
	width: 34px;
	height: 26px;
	border: 3px solid #25ba5c;
	border-radius: 7px;
	background: #fff;
}

.hestia-wechat-notice__icon span::before,
.hestia-wechat-notice__icon span::after {
	content: "";
	position: absolute;
	left: 6px;
	width: 5px;
	height: 5px;
	border-radius: 999px;
	background: #25ba5c;
}

.hestia-wechat-notice__icon span::before {
	top: -10px;
}

.hestia-wechat-notice__icon span::after {
	top: -10px;
	left: 15px;
}

.hestia-wechat-notice__site {
	margin-bottom: 8px;
	color: #5f6e8d;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
}

.hestia-wechat-notice__site small {
	display: block;
	margin-top: 4px;
	color: #8a96ae;
	font-size: 13px;
	font-weight: 500;
}

.hestia-wechat-notice__title {
	margin: 0 0 12px;
	color: #16253f;
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 800;
	line-height: 1.2;
}

.hestia-wechat-notice__description {
	margin: 0;
	color: #31415e;
	font-size: 18px;
	line-height: 1.8;
}

.hestia-wechat-notice__tip {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 20px 0 24px;
	padding: 16px 18px;
	border-radius: 18px;
	background: linear-gradient(180deg, #f5fff8 0%, #eefbf2 100%);
	color: #3a7b4b;
	text-align: left;
}

.hestia-wechat-notice__tip span {
	display: inline-flex;
	flex: 0 0 24px;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 1px solid rgba(37, 186, 92, 0.35);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 800;
}

.hestia-wechat-notice__tip p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

.hestia-wechat-notice__actions {
	display: grid;
	gap: 14px;
}

.hestia-wechat-notice__button {
	min-height: 60px;
	border-radius: 18px;
	border: 1px solid transparent;
	font-size: 26px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.hestia-wechat-notice__button:hover {
	transform: translateY(-1px);
}

.hestia-wechat-notice__button.is-primary {
	background: linear-gradient(180deg, #29c75d 0%, #17b84f 100%);
	box-shadow: 0 14px 26px rgba(38, 192, 94, 0.24);
	color: #fff;
}

.hestia-wechat-notice__button.is-secondary {
	border-color: #d6e4d8;
	background: #fff;
	color: #1bb654;
}

.hestia-wechat-notice.is-mobile {
	align-items: flex-start;
	padding-top: calc(148px + env(safe-area-inset-top));
	padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.hestia-wechat-notice.is-mobile .hestia-wechat-notice__panel {
	width: min(100%, 560px);
	padding: 32px 28px 24px;
}

.hestia-wechat-notice__mobile-guide {
	position: absolute;
	top: calc(30px + env(safe-area-inset-top));
	right: 16px;
	z-index: 2;
	width: min(300px, 64vw);
	height: 250px;
	pointer-events: none;
}

.hestia-wechat-notice__menu-glow {
	position: absolute;
	top: 0;
	right: 0;
	width: 80px;
	height: 80px;
	border-radius: 999px;
	border: 5px solid rgba(255, 255, 255, 0.96);
	background: rgba(255, 255, 255, 0.14);
	box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.1);
}

.hestia-wechat-notice__guide-label {
	position: absolute;
	top: 112px;
	right: 8px;
	padding: 12px 18px;
	border-radius: 18px;
	background: #1fc35a;
	box-shadow: 0 14px 26px rgba(31, 195, 90, 0.24);
	color: #fff;
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.hestia-wechat-notice__guide-arrow {
	position: absolute;
	top: 28px;
	right: 18px;
	width: 220px;
	height: 220px;
	filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.18));
}

.hestia-wechat-notice.is-desktop .hestia-wechat-notice__panel {
	max-width: 520px;
	padding: 34px 32px 26px;
}

.hestia-wechat-notice.is-desktop .hestia-wechat-notice__title {
	font-size: 34px;
}

.hestia-wechat-notice.is-desktop .hestia-wechat-notice__description {
	font-size: 17px;
}

.hestia-wechat-notice.is-desktop .hestia-wechat-notice__actions {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

@media (max-width: 782px) {
	.hestia-wechat-notice {
		padding-right: 18px;
		padding-left: 18px;
	}

	.hestia-wechat-notice__panel {
		border-radius: 26px;
	}

	.hestia-wechat-notice__title {
		font-size: 24px;
	}

	.hestia-wechat-notice__description {
		font-size: 16px;
		line-height: 1.75;
	}

	.hestia-wechat-notice__tip {
		padding: 14px 16px;
	}

	.hestia-wechat-notice__tip p {
		font-size: 14px;
	}

	.hestia-wechat-notice__button {
		min-height: 54px;
		font-size: 22px;
	}

	.hestia-wechat-notice__mobile-guide {
		width: min(260px, 68vw);
		height: 210px;
	}

	.hestia-wechat-notice__menu-glow {
		width: 70px;
		height: 70px;
	}

	.hestia-wechat-notice__guide-label {
		top: 100px;
		padding: 10px 14px;
		font-size: 20px;
	}

	.hestia-wechat-notice__guide-arrow {
		top: 18px;
		right: 12px;
		width: 190px;
		height: 190px;
	}
}

@media (max-width: 480px) {
	.hestia-wechat-notice.is-mobile {
		padding-top: calc(136px + env(safe-area-inset-top));
	}

	.hestia-wechat-notice.is-mobile .hestia-wechat-notice__panel {
		padding: 28px 22px 22px;
	}

	.hestia-wechat-notice__icon {
		width: 74px;
		height: 74px;
		margin-bottom: 14px;
	}

	.hestia-wechat-notice__site {
		font-size: 14px;
	}

	.hestia-wechat-notice__site small {
		font-size: 12px;
	}

	.hestia-wechat-notice__button {
		font-size: 19px;
	}

	.hestia-wechat-notice__mobile-guide {
		right: 10px;
		width: min(220px, 65vw);
	}

	.hestia-wechat-notice__guide-label {
		top: 92px;
		font-size: 18px;
	}

	.hestia-wechat-notice__guide-arrow {
		width: 170px;
		height: 170px;
	}
}
