.ai-image-generator-wrapper .ai-tg-offer-btn,
.ai-image-generator-wrapper .ai-tg-free-download-btn,
.ai-gen-header-pill-telegram {
	--ai-tg: #2aabee;
	--ai-tg-deep: #229ed9;
}

.ai-image-generator-wrapper .ai-total-row .ai-tg-offer-btn,
.ai-image-generator-wrapper button.ai-tg-offer-btn,
.ai-image-generator-wrapper .ai-total-row .ai-tg-free-download-btn,
.ai-image-generator-wrapper button.ai-tg-free-download-btn {
	min-height: var(--ai-btn-min-h, 44px);
	padding: var(--ai-btn-pad-y, 10px) var(--ai-btn-pad-x, 10px);
	border: none !important;
	border-radius: var(--ai-btn-radius, 10px);
	color: #fff !important;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ai-image-generator-wrapper button.ai-tg-offer-btn {
	background: linear-gradient(135deg, #2aabee 0%, #1e96c8 100%) !important;
	box-shadow: 0 2px 8px rgba(42, 171, 238, 0.28);
}

.ai-image-generator-wrapper button.ai-tg-offer-btn:hover:not(:disabled) {
	transform: translateY(-1px);
	background: linear-gradient(135deg, #229ed9 0%, #1787b8 100%) !important;
	box-shadow: 0 6px 14px rgba(42, 171, 238, 0.38);
}

.ai-image-generator-wrapper button.ai-tg-free-download-btn {
	background: #0f172a !important;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

.ai-image-generator-wrapper button.ai-tg-free-download-btn:hover:not(:disabled) {
	transform: translateY(-1px);
	background: #1e293b !important;
}

.ai-image-generator-wrapper button.ai-tg-offer-btn:focus-visible,
.ai-image-generator-wrapper button.ai-tg-free-download-btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(42, 171, 238, 0.35);
}

.ai-gen-tg-offer {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(15, 23, 42, 0.55);
}

.ai-gen-tg-offer[hidden] {
	display: none !important;
}

.ai-gen-tg-offer__panel {
	position: relative;
	width: min(420px, 100%);
	padding: 28px 28px 24px;
	background: #fff;
	color: #0f172a;
	border-radius: 16px;
	box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}

.ai-gen-tg-offer__kicker {
	margin: 0 0 6px;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2aabee;
	font-weight: 700;
}

.ai-gen-tg-offer__panel h2 {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.25;
}

.ai-gen-tg-offer__panel p {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.5;
	color: #475569;
}

.ai-gen-tg-offer__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 16px;
	background: #2aabee;
	color: #fff !important;
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none !important;
}

.ai-gen-tg-offer__cta:hover {
	background: #229ed9;
	color: #fff !important;
}

.ai-gen-tg-offer__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: #64748b;
	cursor: pointer;
}

.ai-gen-tg-offer__status {
	margin: 0 0 12px;
	font-size: 14px;
	color: #0f172a;
}

@media (max-width: 640px) {
	.ai-image-generator-wrapper .ai-total-row-buttons .ai-tg-offer-btn,
	.ai-image-generator-wrapper .ai-total-row-buttons .ai-tg-free-download-btn {
		width: 100%;
	}
}
