.tw-glute-promo {
	--promo-ink: #201625;
	--promo-violet: #5b168e;
	--promo-lilac: #eadcf8;
	position: fixed;
	inset: 0;
	width: min(620px, calc(100% - 2rem));
	max-width: none;
	max-height: calc(100% - 2rem);
	max-height: calc(100dvh - 2rem);
	box-sizing: border-box;
	overflow: auto;
	overscroll-behavior: contain;
	padding: 0;
	margin: auto;
	border: 0;
	border-radius: 20px;
	background: #fffdfb;
	color: var(--promo-ink);
	box-shadow: 0 24px 70px rgba(32, 22, 37, .28);
	font: 16px/1.55 Arial, sans-serif;
}

.tw-glute-promo::backdrop { background: rgba(24, 16, 29, .58); }
.tw-glute-promo__layout { display: flex; }
.tw-glute-promo__brand {
	flex: 0 0 30%;
	display: grid;
	place-items: center;
	padding: 1.45rem;
	background: var(--promo-lilac);
}
.tw-glute-promo__brand img { display: block; width: 100%; max-width: 128px; height: auto; aspect-ratio: 1; object-fit: contain; }
.tw-glute-promo .tw-glute-promo__body { flex: 1; min-width: 0; padding: 3.2rem 2rem 2.2rem; }
#tw-glute-promo-title {
	margin: 0 0 .65rem;
	color: var(--promo-ink);
	font: 800 clamp(1.7rem, 5vw, 2.4rem)/1.07 Arial, sans-serif;
	letter-spacing: -.035em;
	text-wrap: balance;
}
#tw-glute-promo-text { margin: 0 0 1.45rem; color: #6b6270; font: inherit; }
.tw-glute-promo .tw-glute-promo__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .65rem;
	min-height: 46px;
	box-sizing: border-box;
	padding: .7rem 1.15rem;
	border-radius: 10px;
	background: var(--promo-violet);
	color: #fff;
	font: 700 15px/1.4 Arial, sans-serif;
	text-decoration: none;
	white-space: nowrap;
}
.tw-glute-promo .tw-glute-promo__link:hover { background: var(--promo-ink); color: #fff; }
.tw-glute-promo .tw-glute-promo__dismiss { position: absolute; top: .6rem; right: .6rem; margin: 0; }
.tw-glute-promo .tw-glute-promo__dismiss button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fffdfb;
	color: var(--promo-ink);
	cursor: pointer;
}
.tw-glute-promo .tw-glute-promo__dismiss button:hover { background: var(--promo-lilac); }
.tw-glute-promo :is(a, button):focus-visible { outline: 2px solid var(--promo-violet); outline-offset: 3px; }
html:has(.tw-glute-promo[open]) { overflow: hidden; }

@media (max-width: 520px) {
	.tw-glute-promo__layout { display: block; }
	.tw-glute-promo__brand { padding: 1rem; }
	.tw-glute-promo__brand img { width: 76px; }
	.tw-glute-promo .tw-glute-promo__body { padding: 2.75rem 1.25rem 1.4rem; }
	.tw-glute-promo__brand + .tw-glute-promo__body { padding-top: 1.35rem; }
	.tw-glute-promo .tw-glute-promo__link { display: flex; width: 100%; }
}
