/* The website's invitation to turn on notifications (assets/site-push.js), in the app invitation's colours. */
.ye-site-push {
	--ye-push-purple: #3b008f;
	--ye-push-purple-light: #5a1fb5;
	--ye-push-yellow: #ffc457;
	--ye-push-soft: #e5dbf6;
	--ye-push-coral: #ff6b6b;
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	font-family: inherit;
	line-height: 1.7;
}

.ye-site-push__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 6, 46, .45);
	animation: ye-site-push-fade .2s ease-out;
}

.ye-site-push__sheet {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 420px;
	max-height: calc(100vh - 24px);
	overflow-y: auto;
	padding: 28px 22px 18px;
	border-radius: 24px 24px 0 0;
	background: linear-gradient(180deg, var(--ye-push-purple-light), var(--ye-push-purple));
	color: #fff;
	text-align: center;
	box-shadow: 0 -10px 40px rgba(20, 6, 46, .35);
	animation: ye-site-push-up .28s cubic-bezier(.2, .8, .2, 1);
}

@media (min-width: 600px) {
	.ye-site-push { align-items: flex-end; padding: 24px; }
	.ye-site-push__sheet { border-radius: 24px; }
}

.ye-site-push__close {
	position: absolute;
	top: 10px;
	left: 12px;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font: inherit;
	font-size: 22px;
	line-height: 34px;
	cursor: pointer;
}

.ye-site-push__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: 10px;
	border-radius: 50%;
	background: var(--ye-push-yellow);
	box-shadow: 0 0 0 10px rgba(255, 255, 255, .1);
	color: var(--ye-push-purple);
}

.ye-site-push__icon svg { width: 36px; height: 36px; fill: currentColor; }

.ye-site-push__icon--badge::after {
	content: "۱";
	position: absolute;
	top: -2px;
	right: -2px;
	width: 22px;
	height: 22px;
	border: 2px solid var(--ye-push-purple-light);
	border-radius: 50%;
	background: var(--ye-push-coral);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
}

.ye-site-push__sheet h2 {
	margin: 6px 0 4px;
	color: #fff;
	font: inherit;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.6;
}

.ye-site-push__text {
	margin: 0 0 14px;
	color: var(--ye-push-soft);
	font-size: 14px;
}

.ye-site-push__list,
.ye-site-push__steps {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 16px;
	background: rgba(255, 255, 255, .08);
	list-style: none;
	text-align: right;
}

.ye-site-push__list li,
.ye-site-push__steps li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 6px 0;
	font-size: 14px;
	font-weight: 600;
}

.ye-site-push__list span,
.ye-site-push__steps span {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .14);
	color: var(--ye-push-yellow);
}

.ye-site-push__list svg { width: 18px; height: 18px; fill: currentColor; }

.ye-site-push__steps { background: none; padding: 0 2px; }
.ye-site-push__steps li { align-items: flex-start; font-weight: 400; }
.ye-site-push__steps span { width: 24px; height: 24px; border-radius: 50%; background: var(--ye-push-yellow); color: var(--ye-push-purple); font-weight: 700; }

.ye-site-push__primary {
	display: block;
	width: 100%;
	min-height: 50px;
	border: 0;
	border-radius: 14px;
	background: var(--ye-push-yellow);
	color: var(--ye-push-purple);
	font: inherit;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
}

.ye-site-push__later {
	display: block;
	width: 100%;
	margin-top: 4px;
	padding: 10px;
	border: 0;
	background: none;
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.ye-site-push__primary:focus-visible,
.ye-site-push__later:focus-visible,
.ye-site-push__close:focus-visible { outline: 2px solid rgba(255, 255, 255, .75); outline-offset: 2px; }

.ye-site-push__note {
	margin: 2px 0 0;
	color: rgba(229, 219, 246, .75);
	font-size: 12px;
}

@keyframes ye-site-push-up { from { transform: translateY(40px); opacity: 0; } }
@keyframes ye-site-push-fade { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
	.ye-site-push__sheet,
	.ye-site-push__backdrop { animation: none; }
}
