.zl-overlay, .zl-overlay *{
	box-sizing: border-box;
}

.zl-overlay{
	--zl-accent: #22d3ee;
	--zl-accent-2: #3b82f6;
	--zl-bg: rgba(8, 15, 30, .93);
	--zl-card: rgba(15, 28, 52, .6);
	--zl-border: rgba(34, 211, 238, .18);
	--zl-text: #ffffff;
	--zl-muted: rgba(186, 230, 253, .7);
	--zl-track: rgba(148, 197, 255, .14);
	--zl-glow: rgba(34, 211, 238, .35);
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background:
		radial-gradient(1200px 600px at 15% 10%, color-mix(in srgb, var(--zl-accent) 22%, transparent), transparent 60%),
		radial-gradient(900px 500px at 85% 90%, color-mix(in srgb, var(--zl-accent-2) 22%, transparent), transparent 60%),
		var(--zl-bg);
	-webkit-backdrop-filter: blur(10px) saturate(140%);
	backdrop-filter: blur(10px) saturate(140%);
	font-family: inherit;
	will-change: transform, opacity;
	cursor: progress;
	-webkit-user-select: none;
	user-select: none;
}

.zl-overlay.zl-light{
	--zl-bg: rgba(245, 247, 252, .72);
	--zl-card: rgba(255, 255, 255, .75);
	--zl-border: rgba(20, 25, 40, .08);
	--zl-text: #1f2333;
	--zl-muted: rgba(31, 35, 51, .6);
	--zl-track: rgba(31, 35, 51, .08);
}

.zl-overlay.zl-auto:not(.zl-light){
	--zl-bg: var(--zl-auto-bg);
	--zl-card: var(--zl-auto-card);
	--zl-border: var(--zl-auto-border);
	--zl-muted: var(--zl-auto-muted);
	--zl-track: var(--zl-auto-track);
}

.zl-overlay.zl-active{
	display: flex;
}

.zl-card{
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	min-width: 240px;
	max-width: 360px;
	width: 100%;
	padding: 34px 30px 28px;
	border-radius: 22px;
	background: var(--zl-card);
	border: 1px solid var(--zl-border);
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), 0 0 60px -20px var(--zl-glow), inset 0 1px 0 rgba(255, 255, 255, .06);
	text-align: center;
}

.zl-overlay.zl-entering .zl-card{
	animation: zl-card-in .5s cubic-bezier(.2, .9, .3, 1.2) both;
}

.zl-spinner{
	position: relative;
	width: 84px;
	height: 84px;
}

.zl-ring{
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: conic-gradient(from 0deg, transparent 0deg, var(--zl-accent) 220deg, var(--zl-accent-2) 360deg);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
	animation: zl-spin 1s linear infinite;
}

.zl-ring::after{
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 6px;
	height: 6px;
	margin-left: -3px;
	border-radius: 50%;
	background: var(--zl-accent-2);
	box-shadow: 0 0 12px 2px var(--zl-accent-2);
}

.zl-ring-2{
	position: absolute;
	inset: 14px;
	border-radius: 50%;
	border: 2px solid var(--zl-track);
	border-top-color: var(--zl-accent);
	animation: zl-spin 1.6s cubic-bezier(.6, .1, .4, .9) infinite reverse;
}

.zl-core{
	position: absolute;
	inset: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--zl-accent), var(--zl-accent-2));
	box-shadow: 0 0 24px -2px color-mix(in srgb, var(--zl-accent) 70%, transparent);
	animation: zl-pulse 1.6s ease-in-out infinite;
	overflow: hidden;
}

.zl-overlay.zl-with-logo .zl-spinner{
	width: 132px;
	height: 132px;
}

.zl-overlay.zl-logo-wide .zl-spinner{
	width: 172px;
	height: 172px;
}

.zl-overlay.zl-logo-wide .zl-core.zl-has-logo img{
	padding: 5%;
}

.zl-overlay.zl-with-logo .zl-ring-2{
	display: none;
}

.zl-core.zl-has-logo{
	inset: 12px;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, .06), 0 0 34px -4px var(--zl-glow);
	animation: zl-breathe 2.4s ease-in-out infinite;
}

.zl-core.zl-has-logo img{
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 12%;
	object-fit: contain;
}

.zl-text{
	color: var(--zl-text);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: .2px;
	line-height: 1.35;
}

.zl-text .zl-dots::after{
	content: "";
	display: inline-block;
	width: 1.2em;
	margin-right: -1.2em;
	text-align: left;
	animation: zl-dots 1.4s steps(4, end) infinite;
}

.zl-sub{
	margin-top: -10px;
	color: var(--zl-muted);
	font-size: .82rem;
	line-height: 1.4;
}

.zl-sub:empty{
	display: none;
}

.zl-progress{
	width: 100%;
	height: 6px;
	border-radius: 999px;
	background: var(--zl-track);
	overflow: hidden;
	display: none;
}

.zl-progress.zl-show{
	display: block;
}

.zl-bar{
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--zl-accent), var(--zl-accent-2));
	transition: width .35s ease;
}

.zl-progress.zl-indeterminate .zl-bar{
	width: 40%;
	animation: zl-slide 1.2s ease-in-out infinite;
}

.zl-percent{
	margin-top: -10px;
	color: var(--zl-muted);
	font-size: .75rem;
	font-variant-numeric: tabular-nums;
	display: none;
}

.zl-percent.zl-show{
	display: block;
}

body.zl-lock{
	overflow: hidden !important;
}

@keyframes zl-spin{
	to{ transform: rotate(360deg); }
}

@keyframes zl-breathe{
	0%, 100%{ transform: scale(.96); }
	50%{ transform: scale(1); }
}

@keyframes zl-pulse{
	0%, 100%{ transform: scale(.82); opacity: .85; }
	50%{ transform: scale(1); opacity: 1; }
}

@keyframes zl-dots{
	0%{ content: ""; }
	25%{ content: "."; }
	50%{ content: ".."; }
	75%{ content: "..."; }
}

@keyframes zl-slide{
	0%{ transform: translateX(-110%); }
	100%{ transform: translateX(260%); }
}

html.zl-cover::before{
	content: "";
	position: fixed;
	inset: 0;
	z-index: 2147482999;
	background: var(--zl-cover, #08101f);
}

html.zl-cover.zl-cover-light::before{
	background: #f5f7fc;
}

@keyframes zl-card-in{
	from{ transform: translateY(14px) scale(.94); opacity: 0; }
	to{ transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes zl-fade{
	from{ opacity: 1; }
	to{ opacity: 0; }
}

@keyframes zl-zoom{
	from{ opacity: 1; transform: scale(1); }
	to{ opacity: 0; transform: scale(1.25); }
}

@keyframes zl-zoom-out{
	from{ opacity: 1; transform: scale(1); }
	to{ opacity: 0; transform: scale(.7); }
}

@keyframes zl-flip{
	from{ opacity: 1; transform: perspective(1400px) rotateY(0deg); }
	to{ opacity: 0; transform: perspective(1400px) rotateY(90deg); }
}

@keyframes zl-flip-x{
	from{ opacity: 1; transform: perspective(1400px) rotateX(0deg); }
	to{ opacity: 0; transform: perspective(1400px) rotateX(-90deg); }
}

@keyframes zl-cube{
	from{ opacity: 1; transform-origin: 0 50%; transform: perspective(1600px) translateX(0) rotateY(0deg); }
	to{ opacity: .2; transform-origin: 0 50%; transform: perspective(1600px) translateX(-100%) rotateY(-90deg); }
}

@keyframes zl-slide-left{
	from{ transform: translateX(0); }
	to{ transform: translateX(-100%); }
}

@keyframes zl-slide-right{
	from{ transform: translateX(0); }
	to{ transform: translateX(100%); }
}

@keyframes zl-slide-up{
	from{ transform: translateY(0); }
	to{ transform: translateY(-100%); }
}

@keyframes zl-slide-down{
	from{ transform: translateY(0); }
	to{ transform: translateY(100%); }
}

@keyframes zl-circle{
	from{ clip-path: circle(150% at 50% 50%); }
	to{ clip-path: circle(0% at 50% 50%); }
}

@keyframes zl-blur{
	from{ opacity: 1; filter: blur(0); transform: scale(1); }
	to{ opacity: 0; filter: blur(24px); transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce){
	.zl-ring, .zl-ring-2{ animation-duration: 3s; }
	.zl-core{ animation: none; }
	.zl-overlay.zl-entering .zl-card{ animation: none; }
}

@supports not (color: color-mix(in srgb, red 50%, transparent)){
	.zl-overlay{ background: var(--zl-bg); }
	.zl-core{ box-shadow: 0 0 24px -2px rgba(0, 0, 0, .3); }
}
