.ts-payouts {
	position: relative;
	--ts-payouts-card-w: 254px;
	--ts-payouts-card-h: 190px;
	--ts-payouts-card-radius: 12px;
	--ts-payouts-pill-space: 20px;
}

/* Reserve room for the label pill that straddles the marquee top edge,
   so it stays contained within the component (not the host section). */
.ts-payouts--has-label {
	padding-top: var(--ts-payouts-pill-space);
}

/* Selector raised to 2 classes so the label color/decoration win over host
   link rules (e.g. `body.lp a { color }`) without !important. */
.ts-payouts .ts-payouts__label,
.ts-payouts .ts-payouts__label:hover,
.ts-payouts .ts-payouts__label:focus-visible {
	position: absolute;
	top: var(--ts-payouts-pill-space);
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 20px;
	border-radius: 100px;
	background: linear-gradient(
		90deg,
		rgba(36, 36, 36, 0.17) 0%,
		rgba(32, 27, 26, 0.17) 100%
	);
	backdrop-filter: blur(2.5px);
	-webkit-backdrop-filter: blur(2.5px);
	box-shadow: 0 2px 19.3px rgba(243, 152, 31, 0.39);
	color: #fff;
	font-family: "Figtree", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: normal;
	white-space: nowrap;
	text-decoration: none;
	transition:
		box-shadow 0.25s ease,
		transform 0.25s ease;
}

.ts-payouts .ts-payouts__label:hover,
.ts-payouts .ts-payouts__label:focus-visible {
	transform: translate(-50%, -50%) translateY(-2px);
	box-shadow: 0 4px 26px rgba(243, 152, 31, 0.55);
}

.ts-payouts .ts-payouts__label::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 0.536px;
	border-radius: inherit;
	background: linear-gradient(
		270deg,
		rgba(116, 116, 116, 0.2) 0.01%,
		rgba(255, 255, 255, 0.2) 99.99%
	);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.ts-payouts-marquee {
	overflow: hidden;
}

/* Linear motion for the continuous marquee (overrides Swiper's inline easing) */
.ts-payouts-marquee .swiper-wrapper {
	transition-timing-function: linear !important;
}

.ts-payouts-marquee .swiper-slide {
	width: var(--ts-payouts-card-w);
}

.ts-payouts-marquee .swiper-slide img {
	display: block;
	width: 100%;
	height: var(--ts-payouts-card-h);
	object-fit: cover;
	border-radius: var(--ts-payouts-card-radius);
}

@media (max-width: 767px) {
	.ts-payouts {
		--ts-payouts-card-w: 131px;
		--ts-payouts-card-h: 98px;
		--ts-payouts-card-radius: 6px;
		--ts-payouts-pill-space: 16px;
	}

	.ts-payouts .ts-payouts__label {
		padding: 7px 20px;
		font-size: 14px;
	}
}
