/* Seamless bottom tickers. Native <marquee> waits for the last
   character to leave the screen, which is the empty gap. */

.sc-tickers {
	left: 0;
	width: 100%;
	box-sizing: border-box;
}

.sc-ticker-row {
	display: flex;
	align-items: stretch;
	width: 100%;
	box-sizing: border-box;
}

.sc-ticker-row--results {
	background: #fff;
	color: #000;
	height: 23px;
}

.sc-ticker-row--official {
	background: #000;
	color: #fff;
	height: 23px;
}

.sc-ticker-row--story {
	background: #350707;
	color: #295ad6;
	height: 22px;
	border-bottom: 2px solid #fff;
}

.sc-ticker-label {
	flex: 0 0 8%;
	box-sizing: border-box;
	padding: 0 0 0 1%;
	display: flex;
	align-items: center;
	white-space: nowrap;
	line-height: 1;
	background: transparent;
	height: auto !important;
}

.sc-marquee {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden !important;
	white-space: nowrap;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	height: auto !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

.sc-ticker {
	overflow: hidden;
	width: 100%;
	height: 100%;
	white-space: nowrap;
	display: flex;
	align-items: center;
}

.sc-ticker__track {
	display: inline-flex;
	width: max-content;
	align-items: center;
	will-change: transform;
	animation: sc-ticker-x var(--sc-t, 40s) linear infinite;
}

.sc-ticker.is-on .sc-ticker__track {
	animation-name: sc-ticker-x;
}

.sc-ticker__group {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	white-space: nowrap;
	padding-right: 2.5em;
}

.sc-ticker:hover .sc-ticker__track {
	animation-play-state: paused;
}

@keyframes sc-ticker-x {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(calc(-1 * var(--sc-w, 50%)), 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.sc-ticker__track {
		animation: none !important;
	}
}
