a {
	text-decoration: none!important;
}

.layer {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	filter: alpha(opacity=65);
	opacity: 0.55;
	background: rgba(15, 23, 42, 0.6);
	z-index: 1000;
	display: none;
}

#globalAd {
	max-width: min(92vw, 400px);
	flex-basis: 100%;
	margin: 0 auto;
	background: #fff;
	border: 1px solid rgba(148, 163, 184, 0.35);
	border-radius: 32px;
	box-shadow: 0 16px 48px rgba(15, 23, 42, 0.18);
	overflow: hidden;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: none;
	z-index: 10001;
}

#globalAd.is-visible {
	display: block;
	animation: global-ad-in 0.25s ease-out;
}

@keyframes global-ad-in {
	from {
		opacity: 0;
		transform: translate(-50%, calc(-50% + 12px));
	}
	to {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}

#globalAd #hero-img {
	width: 100%;
	height: 100px;
	border: none;
	background: linear-gradient(125deg, #a855f7 0%, #6366f1 40%, #0ea5e9 100%) !important;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

#globalAd #profile-img {
	width: 80px;
	height: 80px;
	margin: -90px auto 0;
}

#globalAd #profile-img img {
	width: 100%;
	background: transparent;
	border-radius: 26%;
	border: 3px solid rgba(255, 255, 255, 0.65);
	box-shadow: 0 8px 28px rgba(99, 102, 241, 0.4);
}

#globalAd #content {
	text-align: center;
	width: min(320px, 88vw);
	margin: 0 auto;
	padding: 0 1rem 2.5rem;
}

#container #content h1 {
	font-size: 29px;
	font-weight: 500;
	margin: 50px 0 0;
}

#globalAd #content p {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
	color: #334155;
}

#globalAd #content a {
	color: #64748b;
	font-size: 14px;
	margin: 0 10px;
	transition: color .3s ease-in-out;
	-webkit-transition: color .3s ease-in-out;
}

#globalAd #content a:hover {
	color: #6366f1;
}

#globalAd #content .btn {
	background: linear-gradient(120deg, #8b5cf6 0%, #6366f1 55%, #3b82f6 100%);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	color: #fff!important;
	cursor: pointer;
	font-family: system-ui, -apple-system, hiragino sans gb, microsoft yahei, wenquanyi micro hei, Arial, Verdana, Tahoma, sans-serif;
	font-size: 14px;
	font-weight: 600;
	padding: 0.65rem 1.75rem;
	margin-top: 0.35rem;
	box-shadow:
		0 6px 24px rgba(139, 92, 246, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
	transition: transform .12s ease, box-shadow .2s ease;
}

#globalAd #content .btn:hover,
.yanshibtn:hover {
	background: linear-gradient(120deg, #7c3aed 0%, #5b21b6 40%, #4f46e5 100%);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	color: #fff!important;
	cursor: pointer;
	font-family: system-ui, -apple-system, hiragino sans gb, microsoft yahei, wenquanyi micro hei, Arial, Verdana, Tahoma, sans-serif;
	font-size: 14px;
	font-weight: 600;
	padding: 0.72rem 1.85rem;
	box-shadow:
		0 8px 28px rgba(124, 58, 237, 0.5),
		inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

#globalAd #content .btn:active {
	transform: scale(0.98);
}
