.tw-purchase-prompt {
	position: fixed;
	z-index: 18;
	bottom: 22px;
	left: 22px;
	width: min(370px, calc(100vw - 32px));
	overflow: hidden;
	border: 1px solid rgba(27, 36, 38, 0.1);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 18px 45px rgba(18, 28, 30, 0.18), 0 3px 10px rgba(18, 28, 30, 0.08);
	opacity: 0;
	transform: translate3d(-28px, 12px, 0);
	transition: opacity 0.38s ease, transform 0.42s cubic-bezier(0.2, 0.75, 0.25, 1);
	backdrop-filter: blur(8px);
}

.tw-purchase-prompt.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.tw-purchase-prompt.is-leaving {
	opacity: 0;
	transform: translate3d(-18px, 5px, 0);
}

.tw-purchase-prompt__link {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 13px 34px 13px 13px;
	color: #202729;
}

.tw-purchase-prompt__link:hover strong {
	color: #d95311;
}

.tw-purchase-prompt__link img {
	width: 72px;
	height: 72px;
	border-radius: 5px;
	background: #f2f1ed;
	object-fit: cover;
}

.tw-purchase-prompt__copy,
.tw-purchase-prompt__copy small,
.tw-purchase-prompt__copy strong,
.tw-purchase-prompt__copy > span {
	display: block;
}

.tw-purchase-prompt__copy small {
	margin-bottom: 4px;
	color: #6c7678;
	font-size: 11px;
	line-height: 1.35;
}

.tw-purchase-prompt__copy small b {
	color: #3c4749;
	font-weight: 750;
}

.tw-purchase-prompt__copy strong {
	display: -webkit-box;
	overflow: hidden;
	color: #202729;
	font-size: 14px;
	line-height: 1.35;
	transition: color 0.2s ease;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.tw-purchase-prompt__copy > span {
	margin-top: 6px;
	color: #8a9293;
	font-size: 10px;
}

.tw-purchase-prompt__copy > span i {
	display: inline-grid;
	width: 14px;
	height: 14px;
	margin-left: 8px;
	place-items: center;
	border-radius: 50%;
	background: #e4f4e8;
	color: #23824a;
	font-size: 9px;
	font-style: normal;
}

.tw-purchase-prompt__close {
	position: absolute;
	z-index: 2;
	top: 6px;
	right: 7px;
	display: grid;
	width: 28px;
	height: 28px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #697375;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.tw-purchase-prompt__close:hover,
.tw-purchase-prompt__close:focus-visible {
	background: #f0f1ee;
	color: #202729;
}

.tw-purchase-prompt__progress {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, #ed641d, #ff8b4b);
	transform: scaleX(0);
	transform-origin: left;
}

.tw-purchase-prompt.is-visible .tw-purchase-prompt__progress {
	animation: tw-purchase-progress var(--tw-purchase-duration, 7s) linear forwards;
}

@keyframes tw-purchase-progress {
	to { transform: scaleX(1); }
}

@media (max-width: 600px) {
	.tw-purchase-prompt {
		bottom: 12px;
		left: 12px;
		width: calc(100vw - 24px);
	}

	.tw-purchase-prompt__link {
		grid-template-columns: 60px minmax(0, 1fr);
		gap: 11px;
		padding: 11px 32px 11px 11px;
	}

	.tw-purchase-prompt__link img {
		width: 60px;
		height: 60px;
	}

	.tw-purchase-prompt__copy strong {
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tw-purchase-prompt {
		transform: none;
		transition: opacity 0.15s linear;
	}

	.tw-purchase-prompt__progress {
		display: none;
	}
}
