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;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: radial-gradient(circle at 20% 15%, rgba(28, 173, 162, 0.16), transparent 30%),
		radial-gradient(circle at 82% 72%, rgba(32, 104, 177, 0.14), transparent 34%),
		linear-gradient(132deg, #03121a 0%, #071722 45%, #050c13 100%);
}

.timi-splash::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(126, 197, 200, 0.038) 1px, transparent 1px),
		linear-gradient(90deg, rgba(126, 197, 200, 0.038) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(to right, #000, rgba(0, 0, 0, 0.7) 58%, transparent);
	animation: timiSplashGrid 22s linear infinite;
	pointer-events: none;
}

.timi-splash::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(108deg, transparent 42%, rgba(136, 245, 232, 0.035) 50%, transparent 58%);
	transform: translateX(-100%);
	animation: timiSplashScan 10s ease-in-out infinite;
	pointer-events: none;
}

.timi-splash-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 32px;
	animation: timiSplashEnter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.timi-splash-orbit {
	position: relative;
	display: grid;
	place-items: center;
	width: 170px;
	height: 170px;
	margin-bottom: 30px;
}

.timi-splash-orbit::before,
.timi-splash-orbit::after {
	content: '';
	position: absolute;
	border-radius: 50%;
}

.timi-splash-orbit::before {
	inset: 10px;
	border: 1px solid rgba(114, 226, 216, 0.18);
	box-shadow: inset 0 0 40px rgba(114, 226, 216, 0.05);
	animation: timiSplashBreathe 3s ease-in-out infinite;
}

.timi-splash-orbit::after {
	inset: 0;
	border: 1px dashed rgba(114, 226, 216, 0.28);
	animation: timiSplashRotate 18s linear infinite;
}

.timi-splash-orbit-line {
	position: absolute;
	inset: 22px;
	border-top: 2px solid #72e2d8;
	border-right: 2px solid transparent;
	border-radius: 50%;
	filter: drop-shadow(0 0 9px rgba(114, 226, 216, 0.7));
	animation: timiSplashRotate 1.7s linear infinite;
}

.timi-splash-orbit-line i {
	position: absolute;
	top: 4px;
	left: 50%;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #a6fff4;
	box-shadow: 0 0 18px #72e2d8;
}

.timi-splash-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	border: 1px solid rgba(114, 226, 216, 0.38);
	border-radius: 18px;
	background: linear-gradient(145deg, rgba(13, 42, 50, 0.96), rgba(4, 15, 22, 0.96));
	box-shadow:
		0 18px 70px rgba(0, 0, 0, 0.4),
		inset 0 1px rgba(255, 255, 255, 0.06);
}

.timi-splash-logo {
	width: 43px;
	height: 43px;
	object-fit: contain;
	filter: drop-shadow(0 0 16px rgba(114, 226, 216, 0.28));
}

.timi-splash-title {
	margin: 0;
	color: #e9f5f4;
	font-family: 'Segoe UI', 'Microsoft YaHei', system-ui, sans-serif;
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 620;
	line-height: 1.2;
	letter-spacing: -0.045em;
}

.timi-splash-sub {
	margin: 9px 0 0;
	color: #7f9da2;
	font-family: 'Segoe UI', 'Microsoft YaHei', system-ui, sans-serif;
	font-size: 11px;
	font-weight: 650;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}

.timi-splash-progress {
	width: 250px;
	height: 2px;
	margin-top: 30px;
	overflow: hidden;
	background: rgba(130, 184, 186, 0.12);
}

.timi-splash-progress span {
	display: block;
	width: 38%;
	height: 100%;
	background: linear-gradient(90deg, transparent, #72e2d8, transparent);
	animation: timiSplashProgress 1.9s ease-in-out infinite;
}

.timi-splash-status {
	margin: 13px 0 0;
	color: #6d8c91;
	font-family: 'Segoe UI', 'Microsoft YaHei', system-ui, sans-serif;
	font-size: 11px;
	letter-spacing: 0.12em;
}

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

@keyframes timiSplashBreathe {
	50% {
		opacity: 0.45;
		transform: scale(1.04);
	}
}

@keyframes timiSplashProgress {
	from {
		transform: translateX(-130%);
	}
	to {
		transform: translateX(360%);
	}
}

@keyframes timiSplashGrid {
	to {
		background-position: 48px 48px;
	}
}

@keyframes timiSplashScan {
	0%,
	25% {
		transform: translateX(-100%);
	}
	70%,
	100% {
		transform: translateX(100%);
	}
}

@keyframes timiSplashEnter {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
}

@media (prefers-reduced-motion: reduce) {
	.timi-splash::before,
	.timi-splash::after,
	.timi-splash-inner,
	.timi-splash-orbit::before,
	.timi-splash-orbit::after,
	.timi-splash-orbit-line,
	.timi-splash-progress span {
		animation: none !important;
	}
}
