#new_version_popup #popup_container
{
	background-color: var(--bright-menu-bg-color);
	color: var(--alt-font-color);
	box-shadow: var(--popup-box-shadow);
	opacity: 0;
	transition: opacity 1.5s;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
}

#new_version_popup
{
	transform-origin: center center;
	will-change: transform, opacity;
}

#new_version_popup.new_version_closing_to_gear
{
	transition: transform 560ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 460ms ease;
	pointer-events: none;
}

.settings_gear.release_notes_focus_flash
{
	animation: release_notes_focus_flash_light 900ms ease-out;
}

html[data-theme="dark"] .settings_gear.release_notes_focus_flash
{
	animation-name: release_notes_focus_flash_dark;
}

@keyframes release_notes_focus_flash_light
{
	0%   { transform: scale(1);    filter: none; }
	35%  { transform: scale(1.14); filter: invert(46%) sepia(9%) saturate(3320%) hue-rotate(177deg) brightness(97%) contrast(85%); }
	100% { transform: scale(1);    filter: none; }
}

@keyframes release_notes_focus_flash_dark
{
	0%   { transform: scale(1);    filter: invert(1); }
	35%  { transform: scale(1.14); filter: invert(46%) sepia(9%) saturate(3320%) hue-rotate(177deg) brightness(97%) contrast(85%); }
	100% { transform: scale(1);    filter: invert(1); }
}

#new_version_container
{
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}

#new_version_container_content
{
	display: flex;
	flex-wrap: wrap;
	row-gap: 0.5em;
	flex: 1 1 auto;
	height: 100%;
	min-height: 0;
	align-content: flex-start;
}

#new_version_release_notes_content
{
	display: flex;
	flex-wrap: wrap;
	row-gap: 0.5em;
	flex-basis: 100%;
}

#new_version_video_container
{
	display: none;
	opacity: 0;
	flex-basis: 100%;
	flex: 1 1 auto;
	min-height: 0;
	align-items: center;
	justify-content: center;
}

#custom_column_profiles_video
{
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	margin-left: 0;
}

#new_version_release_notes_content > div:first-child
{
	flex-basis: 100%; 
	text-align: center; 
	margin: 0.5em 0em 0.25em; 
	font-size: 1.25em; 
	font-weight: 600; 
	font-family: 'poppins';
}

#new_verson_logo
{
	color: rgb(90, 137, 247);
}

.new_version_update_item
{
	flex-basis: 100%; 
	padding-bottom: 0.5em;
}

#new_version_update_item_header
{
	font-weight: 800;
}

#new_version_update_subtext
{
	font-weight: 400;
	line-height: 1.5rem;
}

#new_version_updates_list
{
	padding-inline-start: 1em; 
	margin-block-end: 0.5em; 
	flex-basis: 100%; 
	list-style-type: disc; 
	line-height: 1.5em;
	margin-block-start: 0em;
}

#new_version_buttons_container
{
	font-size: 1.2em;
	display: flex;
	flex-basis: 100%;
	justify-content: space-between;
	column-gap: 1em;
	margin-top: auto;
}

#new_version_buttons_container > input
{
	flex-basis: 48%;
}

#event_hub_update_animation
{
    flex-basis: 100%;
    position: relative;
    width: 100%;
    max-width: 22em;
    height: 22em;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.new_version_sequence_frame
{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
}

.new_version_sequence_frame_1
{
	animation: fade_frame_1 10s infinite linear;
}

.new_version_sequence_frame_2
{
	animation: fade_frame_2 10s infinite linear;
}

/* Crossfade window: 45% -> 55% (i.e., around the 5s mark) */
@keyframes fade_frame_1
{
	/* seam crossfade IN at start */
	0%   { opacity: 1; }
	5%   { opacity: 1; }

	/* first half hold */
	45%  { opacity: 1; }

	/* mid crossfade OUT */
	55%  { opacity: 0; }

	/* second half off */
	95%  { opacity: 0; }

	/* seam crossfade IN before loop ends */
	100% { opacity: 1; }
}

@keyframes fade_frame_2
{
	/* seam crossfade OUT at start */
	0%   { opacity: 0; }
	5%   { opacity: 0; }

	/* first half off */
	45%  { opacity: 0; }

	/* mid crossfade IN */
	55%  { opacity: 1; }

	/* second half hold */
	95%  { opacity: 1; }

	/* seam crossfade OUT before loop ends */
	100% { opacity: 0; }
}
/* ------------ player props carousel -------------- */

.pp_carousel
{
	flex-basis: 100%;
	display: flex;
	justify-content: center;
	margin: 0.5em 0 0.25em;
}

.pp_carousel_track
{
	--pp-carousel-offset: 12em;
	position: relative;
	width: 100%;
	max-width: 40em;
	height: 24em;
}

.pp_carousel_img
{
	position: absolute;
	top: 50%;
	left: 50%;
	max-width: 35em;
	max-height: 25em;
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
	transform-origin: center center;
	transition: transform 750ms ease, opacity 750ms ease;
}

.pp_carousel_left
{
	transform: translate(calc(-50% - var(--pp-carousel-offset)), -50%) scale(0.78);
	opacity: 0.6;
	z-index: 1;
}

.pp_carousel_center
{
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
	z-index: 2;
}

.pp_carousel_right
{
	transform: translate(calc(-50% + var(--pp-carousel-offset)), -50%) scale(0.78);
	opacity: 0.6;
	z-index: 1;
}

/* ------------ new releease animation-------------- */

.animated-border-box, .animated-border-box-glow
{
	height: 100%;
	width: 100%;
	overflow: hidden; 
	z-index: 0;
	border-radius: 10px;
}

.animated-border-box-glow
{
	overflow: hidden;
	-webkit-backdrop-filter: blur(20px);
	filter: blur(20px);
}

.animated-border-box:before, .animated-border-box-glow:before 
{
    content: '';
    z-index: -2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    position: absolute;
    width: 99999px;
    height: 99999px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-image: conic-gradient(rgba(0, 0, 0, 0), #1976ed, rgba(0, 0, 0, 0) 50%);
    animation: rotate 3.5s linear infinite;
}

.animated-border-box:after 
{
	content: '';
	position: absolute;
	z-index: -1;
	left: 5px;
	top: 5px;
	width: calc(100% - 10px);
	height: calc(100% - 10px);
	background: #fbfbff;
	border-radius: 7px;
}

@keyframes rotate {
	100% {
		transform: translate(-50%, -50%) rotate(1turn);
	}
}
