/* Timi 全屏启动 / 路由 Loading（与主布局 .admin-ui 类名隔离） */
html,
body {
	margin: 0;
	width: 100%;
	height: 100%;
}

#app,
.app-main {
	width: 100%;
	min-height: 100vh;
}

.timi-splash {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, #0f172a 0%, #1e1b4b 42%, #312e81 100%);
	overflow: hidden;
}

.timi-splash::before {
	content: '';
	position: absolute;
	width: 140%;
	height: 140%;
	top: -20%;
	left: -20%;
	background: radial-gradient(circle at 30% 20%, rgba(22, 119, 255, 0.35) 0%, transparent 55%),
		radial-gradient(circle at 70% 80%, rgba(166, 79, 255, 0.28) 0%, transparent 50%);
	pointer-events: none;
}

.timi-splash-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	max-width: 420px;
	padding: 0 24px;
}

.timi-splash-title {
	margin: 0;
	font-size: clamp(48px, 12vw, 72px);
	font-weight: 800;
	letter-spacing: 0.28em;
	text-indent: 0.28em;
	line-height: 1.15;
	background: linear-gradient(135deg, #ffffff 0%, #93c5fd 42%, #c4b5fd 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-transform: uppercase;
	text-shadow: 0 0 40px rgba(96, 165, 250, 0.25);
}

.timi-splash-sub {
	margin: 16px 0 0;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.5em;
	color: rgba(255, 255, 255, 0.5);
	text-indent: 0.5em;
}

.timi-splash-spinner {
	margin-top: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.timi-splash .dot {
	animation: timiRotate 1.2s infinite linear;
	transform: rotate(45deg);
	position: relative;
	display: inline-block;
	font-size: 36px;
	width: 36px;
	height: 36px;
	box-sizing: border-box;
}

.timi-splash .dot i {
	width: 15px;
	height: 15px;
	position: absolute;
	display: block;
	background-color: #60a5fa;
	border-radius: 100%;
	transform: scale(0.75);
	transform-origin: 50% 50%;
	opacity: 0.35;
	animation: timiSpinMove 1s infinite linear alternate;
}

.timi-splash .dot i:nth-child(1) {
	top: 0;
	left: 0;
}
.timi-splash .dot i:nth-child(2) {
	top: 0;
	right: 0;
	animation-delay: 0.4s;
}
.timi-splash .dot i:nth-child(3) {
	right: 0;
	bottom: 0;
	animation-delay: 0.8s;
}
.timi-splash .dot i:nth-child(4) {
	bottom: 0;
	left: 0;
	animation-delay: 1.2s;
}

@keyframes timiRotate {
	to {
		transform: rotate(405deg);
	}
}

@keyframes timiSpinMove {
	to {
		opacity: 1;
	}
}
