/* XS Auth — login / register */
.xs-auth-page {
	min-height: 100vh;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	background: linear-gradient(160deg, #1a0a0a 0%, #3d1515 40%, #8b2020 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	position: relative;
	overflow-x: hidden;
}
.xs-auth-page::before {
	content: "";
	position: fixed;
	inset: 0;
	background:
		radial-gradient(circle at 20% 30%, rgba(255, 200, 80, 0.12) 0%, transparent 40%),
		radial-gradient(circle at 80% 70%, rgba(255, 80, 80, 0.1) 0%, transparent 35%);
	pointer-events: none;
}
.xs-auth-wrap {
	width: 100%;
	max-width: 400px;
	position: relative;
	z-index: 1;
}
.xs-auth-brand {
	text-align: center;
	margin-bottom: 28px;
	color: #fff;
}
.xs-auth-brand-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 12px;
	background: linear-gradient(135deg, #ff6b4a, #e83838);
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	box-shadow: 0 8px 24px rgba(232, 56, 56, 0.45);
}
.xs-auth-brand h1 {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 2px;
}
.xs-auth-brand p {
	font-size: 13px;
	color: rgba(255,255,255,0.65);
	margin-top: 6px;
}
.xs-auth-card {
	background: rgba(255, 255, 255, 0.97);
	border-radius: 20px;
	padding: 28px 24px 24px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.xs-auth-field { margin-bottom: 16px; }
.xs-auth-field label {
	display: block;
	font-size: 13px;
	color: #666;
	margin-bottom: 8px;
	font-weight: 500;
}
.xs-auth-input {
	display: flex;
	align-items: center;
	background: #f5f5f7;
	border: 1.5px solid transparent;
	border-radius: 12px;
	padding: 0 14px;
	transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.xs-auth-input:focus-within {
	background: #fff;
	border-color: #e83838;
	box-shadow: 0 0 0 3px rgba(232, 56, 56, 0.12);
}
.xs-auth-input .icon {
	font-size: 18px;
	margin-right: 10px;
	opacity: 0.5;
	flex-shrink: 0;
}
.xs-auth-input input {
	flex: 1;
	border: none;
	background: transparent;
	height: 48px;
	font-size: 15px;
	color: #222;
	outline: none;
}
.xs-auth-input input::placeholder { color: #bbb; }
.xs-auth-hint {
	font-size: 11px;
	color: #aaa;
	margin-top: 6px;
	padding-left: 2px;
}
.xs-auth-btn {
	width: 100%;
	height: 50px;
	margin-top: 8px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #ff6b4a 0%, #e83838 100%);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 3px;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(232, 56, 56, 0.4);
	transition: transform 0.15s, box-shadow 0.15s;
}
.xs-auth-btn:active {
	transform: scale(0.98);
	box-shadow: 0 3px 12px rgba(232, 56, 56, 0.35);
}
.xs-auth-footer {
	text-align: center;
	margin-top: 20px;
	font-size: 14px;
}
.xs-auth-footer a {
	color: #e83838;
	text-decoration: none;
	font-weight: 500;
}
.xs-auth-footer span { color: #999; }
