/* Bsport Widget > Speed: a placeholder in the site's style until bsport's widget appears.
 * Shows while the widget box has no bsport content yet (script loading, or waiting to start
 * further down the page). Disappears by itself as soon as bsport draws anything. */
[id^="bsport-widget-"]:not(:has([class^="bs-"], [class*=" bs-"])) {
	position: relative;
	min-height: 460px;
}
[id^="bsport-widget-"]:not(:has([class^="bs-"], [class*=" bs-"]))::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		/* A soft light sweeping across. */
		linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .6) 50%, transparent 80%) -60% 0 / 50% 100% no-repeat,
		/* Week picker. */
		linear-gradient(rgba(15, 21, 18, .07), rgba(15, 21, 18, .07)) 50% 8px / min(320px, 80%) 44px no-repeat,
		/* Filter row. */
		linear-gradient(rgba(15, 21, 18, .05), rgba(15, 21, 18, .05)) 0 80px / 100% 40px no-repeat,
		/* Class rows. */
		repeating-linear-gradient(180deg, rgba(15, 21, 18, .06) 0 88px, transparent 88px 108px) 0 152px / 100% calc(100% - 152px) no-repeat;
	animation: pgbs-wait 1.5s ease-in-out infinite;
}
@keyframes pgbs-wait {
	to { background-position: 160% 0, 50% 8px, 0 80px, 0 152px; }
}
@media (prefers-reduced-motion: reduce) {
	[id^="bsport-widget-"]::before { animation: none !important; }
}
