/* PSK effects with separate selectors and keyframes for the lower info title. */
#s_tlower_container .s_player_info.fadeInStart {
	transition: all 0.5s;
	max-width: var(--animator-init-width);
}

#s_tlower_container .s_player_info.fadeOutStart {
	transition: all 0.8s;
	transition-delay: 0.55s;
}

#s_tlower_container .s_player_info.fadeOutEnd {
	max-width: 0;
}

#s_tlower_container .s_player_info_bg {
	--s-player-info-bg: var(--bg-color);
	background-color: transparent;
	clip-path: inset(0);
}

#s_tlower_container .s_player_info.fadeInStart .s_player_info_bg {
	background-color: var(--s-player-info-bg);
	animation: s_player_info_bg_blink 4s 0.6s 1;
	transition: background-color 0.4s cubic-bezier(0.67, 0.03, 0.83, 0.64) 0.4s;
}

#s_tlower_container .s_player_info.fadeOutInit .s_player_info_bg {
	animation: none;
	transition-duration: 0s;
	transition-delay: 0s;
}

#s_tlower_container .s_player_info.fadeOutStart .s_player_info_bg {
	animation: none;
	transition-duration: 0.5s;
	transition-delay: 0.35s;
	background-color: var(--accent-color);
}

@keyframes s_player_info_bg_blink {
	0% { background-color: transparent; }
	0.1%, 0.9%, 2%, 2.9%, 4%, 4.9%, 6%, 6.9%, 8%, 8.9%, 10%, 10.9% { background-color: var(--accent-color); }
	1%, 1.9%, 3%, 3.9%, 5%, 5.9%, 7%, 7.9%, 9%, 9.9%, 50%, 100% { background-color: var(--s-player-info-bg); }
}

#s_tlower_container .s_player_info.fadeInInit .s_player_info_photo_bg,
#s_tlower_container .s_player_info.fadeOutEnd .s_player_info_photo_bg {
	opacity: 0;
}

#s_tlower_container .s_player_info.fadeInStart .s_player_info_photo_bg {
	animation: s_player_info_photo_blink 5s 1;
}

#s_tlower_container .s_player_info.fadeOutStart .s_player_info_photo_bg {
	transition: opacity 0.3s 0.4s;
	opacity: 0;
}

@keyframes s_player_info_photo_blink {
	0%, 0.9%, 2%, 2.9%, 4%, 4.9%, 6%, 6.9%, 15%, 100% { opacity: 0; }
	1%, 1.9%, 3%, 3.9%, 5%, 5.9% { opacity: 1; }
}

#s_tlower_container .s_player_info_photo_layer {
	filter: brightness(1);
	clip-path: inset(0);
	visibility: visible;
}

#s_tlower_container .s_player_info.fadeInInit .s_player_info_photo_layer {
	filter: brightness(20);
	opacity: 0;
}

#s_tlower_container .s_player_info.fadeInStart .s_player_info_photo_layer {
	transition: filter 0.6s cubic-bezier(0.51, 0.02, 0.54, 1) 0.1s, opacity 0.6s 0.1s;
}

#s_tlower_container .s_player_info.fadeOutEnd .s_player_info_photo_layer {
	transition: opacity 0.6s 0.4s;
	opacity: 0;
}

#s_tlower_container .s_player_info_logo,
#s_tlower_container .s_player_info_number {
	transform: none;
}

#s_tlower_container .s_player_info.fadeInInit .s_player_info_logo,
#s_tlower_container .s_player_info.fadeOutEnd .s_player_info_logo,
#s_tlower_container .s_player_info.fadeInInit .s_player_info_number,
#s_tlower_container .s_player_info.fadeOutEnd .s_player_info_number {
	transform: translateY(10px);
	opacity: 0;
}

#s_tlower_container .s_player_info.fadeInStart .s_player_info_logo,
#s_tlower_container .s_player_info.fadeInStart .s_player_info_number {
	transition: transform 0.5s 1.5s, opacity 0.5s 1.5s;
}

#s_tlower_container .s_player_info.fadeOutStart .s_player_info_logo {
	transition-delay: 0.2s;
}

#s_tlower_container .s_player_info.fadeOutStart .s_player_info_number {
	transition-delay: 0.5s;
}

#s_tlower_container .s_player_info_role,
#s_tlower_container .s_player_info_name,
#s_tlower_container .s_player_info_team {
	clip-path: inset(0);
}

#s_tlower_container .s_player_info_role {
	animation: s_player_info_header_blink 0.4s 2s 1 forwards;
	opacity: 0;
}

@keyframes s_player_info_header_blink {
	0%, 14.9%, 30%, 44.9%, 60%, 74.9% { opacity: 0; }
	15%, 29.9%, 45%, 59.9%, 75%, 89.9%, 90%, 100% { opacity: 1; }
}

#s_tlower_container .s_player_info.fadeInInit .s_player_info_role,
#s_tlower_container .s_player_info.fadeInInit .s_player_info_name,
#s_tlower_container .s_player_info.fadeInInit .s_player_info_team,
#s_tlower_container .s_player_info.fadeOutEnd .s_player_info_role,
#s_tlower_container .s_player_info.fadeOutEnd .s_player_info_name,
#s_tlower_container .s_player_info.fadeOutEnd .s_player_info_team {
	clip-path: inset(0 100% 0 0);
}

#s_tlower_container .s_player_info.fadeInStart .s_player_info_role,
#s_tlower_container .s_player_info.fadeInStart .s_player_info_name,
#s_tlower_container .s_player_info.fadeInStart .s_player_info_team {
	transition: clip-path 0.5s cubic-bezier(0.51, 0.02, 0.54, 1) 1s;
}

#s_tlower_container .s_player_info.fadeInStart .s_player_info_name {
	transition-delay: 1.2s;
}

#s_tlower_container .s_player_info.fadeInStart .s_player_info_team {
	transition-delay: 1.6s;
}

#s_tlower_container .s_player_info.fadeOutStart .s_player_info_role,
#s_tlower_container .s_player_info.fadeOutStart .s_player_info_name,
#s_tlower_container .s_player_info.fadeOutStart .s_player_info_team {
	transition-duration: 0.5s;
	transition-delay: 0s;
}
