.app-promo-popup[hidden] {
	display: none;
}
.app-promo-popup {
	position: fixed;
	z-index: 999999;
	right: 16px;
	bottom: 16px;
	left: 16px;
	pointer-events: none;
}
.app-promo-popup__panel {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	box-sizing: border-box;
	gap: 24px;
	width: min(100%, 560px);
	margin: 0 auto;
	padding: 8px;
	border-radius: 20px;
	background: #fff;
	color: #171717;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
	pointer-events: auto;
}
.app-promo-popup__icon {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 22%;
}
.app-promo-popup__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.app-promo-popup__content {
	display: flex;
	flex-direction: column;
	gap: 0;
	justify-content: center;
}
.app-promo-popup__content h2 {
	margin: 0;
	color: inherit;
	font-size: 28px;
	line-height: 1.15;
}
.app-promo-popup__content p {
	margin: 0;
	color: #4b4b4b;
	line-height: 1.5;
}
.app-promo-popup__close {
	--size: 20px;
	font-size: var(--size);
	font-weight: 700;
	height: 1.25em;
	width: 1.25em;
	position: absolute;
	top: 0;
	right: 0;
	transform: translate(25%, -25%);
	border-radius: 1em;
	border: 1px solid #393939;
	background-color: #efefef;
	color: #393939;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.app-promo-popup__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.app-promo-popup__button {
	display: inline-flex;
	align-items: center;
	background: #111;
	color: #fff;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	height: min-content;
	padding: 0.5em 0.75em;
	border-radius: 1.5em;
	align-self: center;
}
.app-promo-popup__button[hidden] {
	display: none !important;
}
.app-promo-popup__button:hover,
.app-promo-popup__button:focus-visible {
	background: #333;
	color: #fff;
}
@media (max-width: 680px) {
	body:has(.app-promo-popup:not([hidden])) .uwy .userway_buttons_wrapper {
		bottom: 110px;
		left: calc(100% - 6px);
	}
}
@media (max-width: 520px) {
	.app-promo-popup {
		right: 8px;
		bottom: 8px;
		left: 8px;
	}
	.app-promo-popup__panel {
		grid-template-columns: 72px minmax(0, 1fr) auto;
		gap: 8px;
	}
	.app-promo-popup__content h2 {
		font-size: 22px;
	}
}
@media (prefers-reduced-motion: no-preference) {
	.app-promo-popup__panel {
		animation: app-promo-popup-in 180ms ease-out;
	}
}
@keyframes app-promo-popup-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
}
@media (max-width: 320px) {
	.app-promo-popup__content,
	.app-promo-popup__actions {
		grid-column: 2 / -1;
	}
	body:has(.app-promo-popup:not([hidden])) .uwy .userway_buttons_wrapper {
		bottom: 150px;
	}
}
