.tts-join-banner {
	/* Full-bleed the banner so it can be wider than the normal page text column. */
	width: calc(100vw - 48px);
	max-width: 1240px;
	margin: 0 0 30px 50%;
	padding: 0;
	box-sizing: border-box;
	transform: translateX(-50%);
}

.tts-join-banner-inner {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(22, 35, 54, 0.14);
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 12px 30px rgba(22, 35, 54, 0.08);
}

.tts-join-banner-heading {
	padding: 13px 18px 0;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
	color: #64748b;
}

.tts-join-banner-mask {
	overflow: hidden;
	padding: 14px 0 18px;
}

.tts-join-banner-track {
	display: flex;
	align-items: center;
	gap: 18px;
	width: max-content;
}

.tts-join-banner--scrolling .tts-join-banner-track {
	animation: tts-join-banner-scroll 8s linear infinite;
	will-change: transform;
}

.tts-join-banner--static .tts-join-banner-mask {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.tts-join-banner--static .tts-join-banner-track {
	width: 100%;
	justify-content: center;
	flex-wrap: wrap;
	padding: 0 14px;
	box-sizing: border-box;
}

.tts-join-banner--scrolling:hover .tts-join-banner-track,
.tts-join-banner--scrolling:focus-within .tts-join-banner-track {
	animation-play-state: paused;
}

.tts-join-banner-card {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: max-content;
	padding: 9px 16px;
	border: 1px solid rgba(22, 35, 54, 0.1);
	border-radius: 999px;
	background: #f8fafc;
	color: #162336;
	box-shadow: 0 3px 10px rgba(22, 35, 54, 0.05);
}

.tts-join-banner-photo,
.tts-join-banner-initial {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	flex: 0 0 38px;
}

.tts-join-banner-photo {
	display: block;
	object-fit: cover;
}

.tts-join-banner-initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	background: #162336;
	color: #ffffff;
}

.tts-join-banner-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.tts-join-banner-name {
	font-size: 0.96rem;
	font-weight: 800;
	white-space: nowrap;
}

.tts-join-banner-caption {
	margin-top: 2px;
	font-size: 0.76rem;
	font-weight: 650;
	color: #64748b;
	white-space: nowrap;
}

@keyframes tts-join-banner-scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (max-width: 640px) {
	.tts-join-banner {
		width: calc(100vw - 20px);
		max-width: none;
		margin-bottom: 22px;
	}

	.tts-join-banner-heading {
		padding: 12px 14px 0;
		font-size: 0.74rem;
	}

	.tts-join-banner-track {
		gap: 12px;
	}

	.tts-join-banner--scrolling .tts-join-banner-track {
		animation-duration: 15s;
	}

	.tts-join-banner-card {
		padding: 8px 13px;
	}

	.tts-join-banner-photo,
	.tts-join-banner-initial {
		width: 34px;
		height: 34px;
		flex-basis: 34px;
	}

	.tts-join-banner-name {
		font-size: 0.9rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tts-join-banner-mask {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.tts-join-banner-track {
		animation: none;
		width: max-content;
	}

	.tts-join-banner--static .tts-join-banner-track {
		width: 100%;
	}

	.tts-join-banner-track .tts-join-banner-card[aria-hidden="true"] {
		display: none;
	}
}
