html,
body,
#app {
	height: 100%;
	margin: 0;
	padding: 0;
}

/* ========== 预加载页：与登录页同款青绿品牌渐变 ========== */
.preload {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	user-select: none;
	letter-spacing: 1px;
	background: linear-gradient(155deg, #004d40 0%, #00695c 35%, #00897b 70%, #009688 100%);
}

/* 柔和光斑装饰 */
.preload .blur {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.preload .blur--1 {
	top: -12%;
	right: -8%;
	width: 46vw;
	height: 46vw;
	background: radial-gradient(circle, rgba(178, 255, 220, 0.4) 0%, transparent 70%);
	animation: blurFloat 9s ease-in-out infinite alternate;
}

.preload .blur--2 {
	bottom: -18%;
	left: -10%;
	width: 52vw;
	height: 52vw;
	background: radial-gradient(circle, rgba(38, 222, 129, 0.28) 0%, transparent 70%);
	animation: blurFloat 11s ease-in-out infinite alternate-reverse;
}

@keyframes blurFloat {
	from {
		transform: translate3d(0, 0, 0) scale(1);
	}

	to {
		transform: translate3d(-3vw, 3vw, 0) scale(1.12);
	}
}

.preload .container {
	position: relative;
	z-index: 1;
	display: flex;
	flex-grow: 1;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
}

/* ========== 环形 spinner + 品牌字 ========== */
.preload .logo-ring {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 92px;
	height: 92px;
	margin-bottom: 26px;
	border: 3px solid rgba(255, 255, 255, 0.22);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: ringSpin 1.1s linear infinite;
}

.preload .logo-core {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 68px;
	height: 68px;
	font-size: 32px;
	font-weight: bold;
	color: #00695c;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
	animation: corePulse 2s ease-in-out infinite;
}

@keyframes ringSpin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes corePulse {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.06);
	}
}

/* 品牌名 */
.preload .name {
	margin: 0 0 22px;
	font-size: 32px;
	font-weight: bold;
	color: #ffffff;
	letter-spacing: 10px;
	text-indent: 10px;
	/* 抵消最后一个字的字距，保证视觉居中 */
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
	animation: fadeUp 0.7s ease both;
}

/* ========== 细进度条（不确定进度动画） ========== */
.preload .progress {
	position: relative;
	overflow: hidden;
	width: 200px;
	height: 4px;
	margin-bottom: 20px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 2px;
	animation: fadeUp 0.7s ease 0.15s both;
}

.preload .progress span {
	position: absolute;
	top: 0;
	left: 0;
	width: 40%;
	height: 100%;
	background: linear-gradient(90deg, rgba(178, 255, 220, 0.9), #ffffff);
	border-radius: 2px;
	animation: progressSlide 1.6s ease-in-out infinite;
}

@keyframes progressSlide {
	0% {
		left: -40%;
	}

	100% {
		left: 100%;
	}
}

/* 加载文案 */
.preload .title {
	margin: 0 0 10px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.88);
	animation: fadeUp 0.7s ease 0.25s both;
}

.preload .sub-title {
	margin: 0;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
	animation: fadeUp 0.7s ease 0.35s both;
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}
