html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
}

body {
	overflow: hidden;
	background-color: #58bce8;
	background-image: url("index-bg.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.index-login {
	position: relative;
	width: 100%;
	height: 100%;
	height: 100dvh;
	min-height: 420px;
	overflow: hidden;
}

.index-logo {
	position: absolute;
	z-index: 1;
	top: clamp(18px, 5vh, 52px);
	left: 50%;
	display: block;
	width: min(88vw, 760px);
	height: auto;
	max-height: 38vh;
	object-fit: contain;
	transform: translateX(-50%);
	user-select: none;
	-webkit-user-drag: none;
}

.index-btn-wallet {
	position: absolute;
	z-index: 2;
	right: auto;
	bottom: calc(clamp(24px, 5vh, 52px) + env(safe-area-inset-bottom, 0px));
	left: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: min(84vw, 360px);
	height: 72px;
	padding: 0 28px;
	border: 3px solid #fff1a8;
	border-radius: 36px;
	background: linear-gradient(180deg, #ffe36d 0%, #f3ba2f 52%, #d99413 100%);
	box-shadow: 0 7px 0 #9b5b08, 0 12px 24px rgba(45, 31, 4, 0.32);
	color: #342400;
	font: inherit;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
	transform: translateX(-50%);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: filter 180ms ease, box-shadow 180ms ease, transform 100ms ease;
}

.index-btn-wallet:hover {
	filter: brightness(1.06);
}

.index-btn-wallet:focus-visible {
	outline: 4px solid #ffffff;
	outline-offset: 4px;
}

.index-btn-wallet:active {
	box-shadow: 0 4px 0 #9b5b08, 0 8px 16px rgba(45, 31, 4, 0.28);
	transform: translate(-50%, 3px);
}

.index-wallet-icon {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: 31px;
	height: 24px;
	border: 3px solid currentColor;
	border-radius: 6px;
}

.index-wallet-icon::before {
	position: absolute;
	top: -9px;
	left: 3px;
	width: 18px;
	height: 8px;
	border: 3px solid currentColor;
	border-bottom: 0;
	border-radius: 8px 8px 0 0;
	content: "";
}

.index-wallet-icon::after {
	position: absolute;
	top: 5px;
	right: -6px;
	width: 11px;
	height: 8px;
	border: 2px solid currentColor;
	border-radius: 4px;
	background: #fff2ad;
	content: "";
}

.layui-layer {
	border-radius: 12px;
}

@media (max-width: 767px) {
	.index-logo {
		top: clamp(16px, 4vh, 34px);
		width: min(92vw, 560px);
	}

	.index-btn-wallet {
		width: min(86vw, 330px);
		height: 64px;
		padding: 0 22px;
		border-radius: 32px;
		font-size: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.index-btn-wallet {
		transition: none;
	}
}
