/**
 * 金沙国际登录页 — 原海报全屏背景 + 顶部品牌
 * 背景图：images/login-luxury-bg.jpg
 */
:root {
	--hero-image: url('../images/login-luxury-bg.jpg');
	--navy-deep: #020a1a;
	--navy-mid: #061428;
	--accent: #d4af6a;
	--accent-bright: #f5e0a3;
	--accent-rich: #c9a227;
	--accent-glow: rgba(212, 175, 106, 0.45);
	--ice-blue: #8ec4f0;
	--card-bg: rgba(4, 12, 28, 0.78);
	--card-border: rgba(212, 175, 106, 0.42);
	--text-primary: #f7f3e8;
	--text-muted: rgba(180, 200, 230, 0.62);
	--input-bg: rgba(255, 255, 255, 0.05);
	--radius-card: 20px;
	--radius-pill: 999px;
	--font-display: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Segoe UI", sans-serif;
	--font-ui: "SF Pro Text", system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	min-height: 100%;
}

body.premium-login-page {
	font-family: var(--font-ui);
	font-size: 14px;
	color: var(--text-primary);
	background: var(--navy-deep);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

body.premium-login-page input,
body.premium-login-page textarea {
	-webkit-user-select: text;
	user-select: text;
}

a {
	text-decoration: none;
	color: var(--accent-bright);
}

input {
	outline: none;
	border: none;
	background: transparent;
	font-family: inherit;
}

.page-shell {
	position: relative;
	/* 用 svh，避免手机弹键盘时 dvh 反复变化导致整页抖动、光标乱跳 */
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	isolation: isolate;
}

/* ========== 全屏原海报背景 ========== */
.stage-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	background: #020a1a;
}

.stage-photo {
	position: absolute;
	inset: 0;
	background-image: var(--hero-image);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 0;
	transform: scale(1.03);
	transition: opacity 0.85s ease, transform 1.1s ease;
}

.stage-photo.is-ready {
	opacity: 1;
	transform: scale(1);
}

/* 顶部略压暗方便品牌与表单可读；中下保留海报主体 */
.stage-veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg,
			rgba(2, 10, 26, 0.72) 0%,
			rgba(2, 10, 26, 0.45) 14%,
			rgba(2, 10, 26, 0.22) 28%,
			rgba(2, 10, 26, 0.18) 48%,
			rgba(2, 10, 26, 0.42) 78%,
			rgba(2, 10, 26, 0.78) 100%);
}

/* 原图已有光效，CSS 射线弱化叠加 */
.stage-rays {
	position: absolute;
	left: 50%;
	top: 36%;
	width: 140vmax;
	height: 140vmax;
	margin-left: -70vmax;
	margin-top: -70vmax;
	background: conic-gradient(
		from 0deg at 50% 50%,
		transparent 0deg,
		rgba(140, 190, 255, 0.04) 10deg,
		transparent 20deg,
		transparent 50deg,
		rgba(245, 210, 120, 0.035) 60deg,
		transparent 70deg,
		transparent 120deg,
		rgba(140, 190, 255, 0.03) 130deg,
		transparent 140deg,
		transparent 200deg,
		rgba(245, 210, 120, 0.03) 210deg,
		transparent 220deg,
		transparent 300deg,
		rgba(140, 190, 255, 0.03) 310deg,
		transparent 320deg,
		transparent 360deg
	);
	opacity: 0.55;
	mix-blend-mode: screen;
	animation: raysSpin 60s linear infinite;
	mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.7) 0%, transparent 58%);
	-webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.7) 0%, transparent 58%);
}

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

.stage-sparkles .sp {
	position: absolute;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: #fff8dc;
	box-shadow: 0 0 10px rgba(255, 230, 150, 0.9);
	animation: sparkle 3.2s ease-in-out infinite;
}

.stage-sparkles .s1 { left: 10%; top: 12%; }
.stage-sparkles .s2 { left: 82%; top: 9%; width: 2px; height: 2px; animation-delay: 0.5s; }
.stage-sparkles .s3 { left: 22%; top: 26%; animation-delay: 1s; }
.stage-sparkles .s4 { left: 90%; top: 22%; animation-delay: 0.3s; }
.stage-sparkles .s5 { left: 6%; top: 40%; width: 2px; height: 2px; animation-delay: 1.5s; }
.stage-sparkles .s6 { left: 70%; top: 16%; animation-delay: 0.8s; }
.stage-sparkles .s7 { left: 48%; top: 7%; width: 4px; height: 4px; animation-delay: 1.3s; }
.stage-sparkles .s8 { left: 94%; top: 38%; animation-delay: 1.9s; }

@keyframes sparkle {
	0%, 100% { opacity: 0.2; transform: scale(0.7); }
	50% { opacity: 1; transform: scale(1.3); }
}

.stage-gold-arc {
	position: absolute;
	left: -8%;
	right: -8%;
	bottom: -6%;
	height: 22%;
	background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(212, 175, 106, 0.16) 0%, transparent 70%);
	pointer-events: none;
}

.stage-gold-arc::before,
.stage-gold-arc::after {
	display: none;
}

/* ========== 顶部：金沙国际品牌 ========== */
.hero-banner {
	position: relative;
	z-index: 2;
	width: 100%;
	flex-shrink: 0;
	padding: calc(22px + env(safe-area-inset-top, 0px)) 16px 6px;
	background: transparent;
	text-align: center;
}

.hero-brand.jinsha-brand {
	margin: 0 auto;
	max-width: 440px;
	animation: brandReveal 0.85s cubic-bezier(0.34, 1.15, 0.64, 1) both;
}

@keyframes brandReveal {
	from { opacity: 0; transform: translateY(-10px) scale(0.96); filter: blur(3px); }
	to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.jinsha-crown {
	display: flex;
	justify-content: center;
	margin-bottom: 6px;
	filter: drop-shadow(0 4px 14px rgba(212, 175, 106, 0.55));
	animation: crownGlow 3.2s ease-in-out infinite;
}

.jinsha-crown svg {
	display: block;
}

@keyframes crownGlow {
	0%, 100% { filter: drop-shadow(0 4px 12px rgba(212, 175, 106, 0.4)); }
	50% { filter: drop-shadow(0 6px 20px rgba(245, 224, 163, 0.7)); }
}

.hero-title {
	font-family: var(--font-display);
	font-size: clamp(30px, 9vw, 44px);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-indent: 0.14em;
	line-height: 1.15;
	margin: 0 0 4px;
	background: linear-gradient(180deg, #fff8e7 0%, #ffe9a8 28%, #f0d78c 52%, #c9a227 78%, #8a6d1d 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 18px rgba(212, 175, 106, 0.35));
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hero-subtitle {
	font-size: 12px;
	letter-spacing: 0.32em;
	text-indent: 0.32em;
	color: var(--ice-blue);
	font-weight: 600;
	opacity: 0.95;
	margin: 0 auto;
	max-width: 92%;
	text-transform: uppercase;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hero-tagline,
.hero-emblem {
	display: none;
}

/* ========== 表单舞台 ========== */
.auth-stage {
	position: relative;
	z-index: 5;
	flex: 1;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 10px 16px calc(36px + env(safe-area-inset-bottom, 0px));
	animation: stageSlide 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes stageSlide {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

.login_bg {
	width: 100%;
	display: flex;
	justify-content: center;
}

.form,
.login100-form {
	width: 100%;
	max-width: 400px;
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: var(--radius-card);
	box-shadow:
		0 28px 80px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(255, 255, 255, 0.04) inset,
		0 0 48px rgba(212, 175, 106, 0.2),
		0 0 1px rgba(245, 224, 163, 0.55);
	backdrop-filter: blur(18px) saturate(1.15);
	-webkit-backdrop-filter: blur(18px) saturate(1.15);
	overflow: hidden;
	animation: cardFloat 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
	position: relative;
}

.form::after,
.login100-form::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(135deg, rgba(245, 224, 163, 0.1) 0%, transparent 30%, transparent 70%, rgba(212, 175, 106, 0.08) 100%);
	z-index: 0;
}

.form > *,
.login100-form > * {
	position: relative;
	z-index: 1;
}

@keyframes cardFloat {
	from { opacity: 0; transform: translateY(20px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardGlow {
	0%, 100% {
		box-shadow:
			0 28px 80px rgba(0, 0, 0, 0.55),
			0 0 36px rgba(212, 175, 106, 0.14),
			0 0 1px rgba(245, 224, 163, 0.4);
	}
	50% {
		box-shadow:
			0 32px 90px rgba(0, 0, 0, 0.6),
			0 0 56px rgba(212, 175, 106, 0.28),
			0 0 1px rgba(245, 224, 163, 0.65);
	}
}

.form::before,
.login100-form::before {
	display: none;
}

.form-header,
.login100-form-title {
	padding: 18px 20px 16px;
	text-align: center;
	background: linear-gradient(180deg, rgba(212, 175, 106, 0.2) 0%, rgba(212, 175, 106, 0.05) 100%);
	border-bottom: 1px solid rgba(212, 175, 106, 0.28);
	position: relative;
}

.form-header::before,
.login100-form-title::before {
	display: none;
}

.form-header-title,
.login100-form-title {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.22em;
}

.form-header-title,
#regDiv .form-header-title,
.login100-form-title {
	background: linear-gradient(90deg, #a8872a, #fff8e1, #f0d78c, #c9a227, #a8872a);
	background-size: 280% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: titleShimmer 5.5s linear infinite;
	filter: drop-shadow(0 1px 6px rgba(212, 175, 106, 0.35));
}

.form-header-title span {
	display: inline-block;
}

@keyframes titleShimmer {
	0% { background-position: 0% 50%; }
	100% { background-position: 280% 50%; }
}

.header-side-copy {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 10px;
	letter-spacing: 0.12em;
	color: var(--text-muted);
	white-space: nowrap;
}

.header-side-copy.left { left: 14px; }
.header-side-copy.right { right: 14px; }

#regDiv2 .login100-form-title {
	font-size: 18px;
	letter-spacing: 0.15em;
	display: block;
	padding: 20px 20px 18px;
	margin: 0;
}

.form-content-wrapper,
.login100-form .form-content-wrapper {
	padding: 22px 22px 24px;
}

.form div.userName,
.form div.passWord,
.wrap-input100 {
	border: 1px solid rgba(212, 175, 106, 0.18);
	background: var(--input-bg);
	border-radius: 14px;
	margin-bottom: 14px;
	min-height: 50px;
	display: flex;
	align-items: center;
	padding: 0 14px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.form div.userName:focus-within,
.form div.passWord:focus-within,
.wrap-input100:focus-within {
	border-color: rgba(245, 224, 163, 0.65);
	box-shadow: 0 0 0 3px rgba(212, 175, 106, 0.14), 0 0 18px rgba(212, 175, 106, 0.12);
	/* 禁止聚焦脉冲动画：手机端会带动光标上下抖 */
	animation: none;
}

.form div.userName lable,
.form div.passWord lable,
.label-input100 {
	color: var(--text-muted);
	font-size: 13px;
	margin-right: 8px;
	white-space: nowrap;
	flex-shrink: 0;
}

.form div.userName input,
.form div.passWord input,
.input100,
.input60 {
	flex: 1;
	font-size: 15px;
	color: var(--text-primary);
	min-width: 0;
}

.form div.userName input::placeholder,
.form div.passWord input::placeholder,
.input100::placeholder {
	color: rgba(160, 180, 210, 0.42);
}

.wrap-input100 {
	position: relative;
	flex-wrap: wrap;
	padding-top: 8px;
	padding-bottom: 8px;
}

.wrap-input100 .label-input100 {
	width: 100%;
	font-size: 11px;
	margin-bottom: 4px;
}

.wrap-input100 .input100 {
	padding: 4px 0;
}

.focus-input100 {
	display: none;
}

.choose_box {
	padding: 4px 0 8px;
}

.choose_box lable {
	font-size: 12px;
	color: var(--text-muted);
}

.choose_box input[type="checkbox"] {
	accent-color: var(--accent);
	width: 15px;
	height: 15px;
}

.login_btn,
.login100-form-btn {
	width: 100%;
	padding: 14px;
	margin-top: 8px;
	border: 1px solid rgba(255, 240, 200, 0.35);
	border-radius: var(--radius-pill);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.28em;
	color: #1a1408;
	cursor: pointer;
	background: linear-gradient(180deg, #fff1c4 0%, #f0d78c 28%, #c9a227 68%, #a8841f 100%);
	box-shadow:
		0 12px 32px rgba(180, 140, 50, 0.4),
		0 1px 0 rgba(255, 255, 255, 0.35) inset;
	transition: transform 0.15s, box-shadow 0.15s;
	animation: btnGlow 2.8s ease-in-out infinite;
}

@keyframes btnGlow {
	0%, 100% {
		box-shadow: 0 12px 32px rgba(180, 140, 50, 0.4), 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 0 0 0 rgba(240, 215, 140, 0);
	}
	50% {
		box-shadow: 0 14px 40px rgba(212, 175, 106, 0.55), 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 0 0 6px rgba(240, 215, 140, 0.12);
	}
}

.login_btn:hover,
.login100-form-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 42px rgba(212, 175, 106, 0.55);
}

.login_btn:active,
.login100-form-btn:active {
	transform: translateY(0);
}

.login-link,
.txt2 {
	margin-top: 16px;
	text-align: center;
	font-size: 12px;
	color: var(--text-muted);
}

.login-link a,
.txt2 {
	cursor: pointer;
	color: var(--accent-bright);
}

#loginDiv .login-foot-bar {
	margin-top: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

#loginDiv .login-foot-link {
	font-size: 12px;
	color: rgba(200, 210, 230, 0.55);
	cursor: pointer;
	letter-spacing: 0.02em;
	text-decoration: none;
	font-style: normal;
}

#loginDiv .login-foot-link em {
	font-style: normal;
	font-weight: 600;
	color: #f0d78c;
	letter-spacing: 0.06em;
	text-shadow: 0 0 12px rgba(212, 175, 106, 0.35);
	border-bottom: 1px solid rgba(240, 215, 140, 0.45);
	padding-bottom: 1px;
}

#loginDiv .login-foot-link:hover em,
#loginDiv .login-foot-link:active em {
	color: #fff3c4;
	border-bottom-color: rgba(255, 243, 196, 0.75);
	text-shadow: 0 0 16px rgba(212, 175, 106, 0.55);
}

#loginDiv .reg-help-btn {
	flex-shrink: 0;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(212, 175, 106, 0.4);
	background: rgba(212, 175, 106, 0.08);
	color: #f0d78c;
	font-size: 12px;
	letter-spacing: 0.08em;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.2s, border-color 0.2s;
}

#loginDiv .reg-help-btn:hover,
#loginDiv .reg-help-btn:active {
	background: rgba(212, 175, 106, 0.16);
	border-color: rgba(212, 175, 106, 0.65);
}

@media (max-width: 480px) {
	#loginDiv .login-foot-bar {
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
	}
}

.token-brand {
	margin-top: 20px;
	padding-bottom: 4px;
	text-align: center;
	font-size: 11px;
	letter-spacing: 0.36em;
	text-indent: 0.36em;
	color: rgba(255, 255, 255, 0.92);
	font-weight: 600;
	text-transform: uppercase;
	position: relative;
	text-shadow: 0 0 18px rgba(212, 175, 106, 0.25);
}

.token-brand::after {
	content: '';
	display: block;
	width: 72%;
	max-width: 220px;
	height: 1px;
	margin: 12px auto 0;
	background: linear-gradient(90deg, transparent, rgba(212, 175, 106, 0.85), transparent);
	box-shadow: 0 0 12px rgba(212, 175, 106, 0.45);
}

.container-login100-form-btn {
	margin-top: 8px;
}

.wrap-login100-form-btn {
	border-radius: var(--radius-pill);
	overflow: hidden;
}

.login100-form-bgbtn {
	background: linear-gradient(135deg, #f0d78c, #c9a227);
}

.sendSms {
	background: rgba(212, 175, 106, 0.15);
	color: var(--accent-bright);
	border: 1px solid rgba(212, 175, 106, 0.35);
	border-radius: 8px;
	padding: 6px 10px;
	font-size: 12px;
	cursor: pointer;
}

.flex-col-c { margin-top: 16px; text-align: center; }

.p-b-30 { padding-bottom: 0; }
.m-b-10 { margin-bottom: 12px; }
.p-b-5 { padding-bottom: 8px; }
.p-t-32 { padding-top: 16px; }

.validate-form .wrap-input100[data-validate] {
	margin-bottom: 12px;
}

/* 旧验证码 flex 行样式已由 .reg-captcha 替代 */

#loginCaptchaRow {
	border: none;
	background: transparent;
	padding: 0;
	margin-bottom: 14px;
}
#loginCaptchaRow > div:first-child {
	flex: 1;
	display: flex;
	align-items: center;
	border: 1px solid rgba(212, 175, 106, 0.18);
	background: var(--input-bg);
	border-radius: 14px;
	padding: 0 14px;
	min-height: 50px;
}

.logo { display: none; }
.login-top-bg { display: none; }

#tk-watermark {
	position: fixed;
	inset: 0;
	z-index: 9990;
	pointer-events: none;
	opacity: 0.04;
	background-repeat: repeat;
	background-size: 280px 140px;
}

.layui-m-layer { position: relative; z-index: 19891014; }
.layui-m-layer * { box-sizing: content-box; }
.layui-m-layermain, .layui-m-layershade {
	position: fixed; left: 0; top: 0; width: 100%; height: 100%;
}
.layui-m-layershade { background-color: rgba(0, 0, 0, 0.65); pointer-events: auto; }
.layui-m-layermain {
	display: table; font-family: var(--font-ui); pointer-events: none;
}
.layui-m-layermain .layui-m-layersection {
	display: table-cell; vertical-align: middle; text-align: center;
}
.layui-m-layerchild {
	position: relative; display: inline-block; text-align: left;
	background-color: #fff; font-size: 14px; border-radius: 12px;
	box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35); pointer-events: auto;
	animation: layui-m-anim-scale 0.2s both;
}
@keyframes layui-m-anim-scale {
	0% { opacity: 0; transform: scale(0.92); }
	100% { opacity: 1; transform: scale(1); }
}
.layui-m-layer2 .layui-m-layerchild {
	width: auto; max-width: 260px; background: transparent; box-shadow: none; color: #fff;
}
.layui-m-layer2 .layui-m-layercont { text-align: center; padding: 0; line-height: 0; }
.layui-m-layer2 .layui-m-layercont i {
	width: 25px; height: 25px; margin-left: 8px; display: inline-block;
	background-color: var(--accent-bright); border-radius: 100%;
	animation: layui-m-anim-loading 1.4s infinite ease-in-out both;
}
@keyframes layui-m-anim-loading {
	0%, 100%, 80% { transform: scale(0); }
	40% { transform: scale(1); }
}

body .layui-m-layer.toast-at-top .layui-m-layermain,
body .layui-m-layer .layui-m-layermain:has(.layui-m-layer-msg) {
	display: block;
	height: auto;
	min-height: 0;
	pointer-events: none;
}

body .layui-m-layer.toast-at-top .layui-m-layersection,
body .layui-m-layer .layui-m-layermain .layui-m-layersection:has(.layui-m-layer-msg) {
	display: block;
	vertical-align: top;
	text-align: center;
	padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 0;
}

.layui-m-layer-msg .layui-m-layercont {
	padding: 12px 22px;
	line-height: 1.5;
	font-size: 14px;
	white-space: normal;
	word-break: break-word;
}

body .layui-m-layer .layui-m-layer-msg {
	position: relative;
	top: 0;
	bottom: auto;
	left: auto;
	right: auto;
	margin: 0 auto;
	max-width: min(92%, 420px);
	background-color: rgba(8, 16, 36, 0.94);
	color: var(--text-primary);
	border: 1px solid rgba(212, 175, 106, 0.4);
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
	animation: toastTopIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes toastTopIn {
	from { opacity: 0; transform: translateY(-14px); }
	to { opacity: 1; transform: translateY(0); }
}

body .layui-m-layer .my-confirm-rect .layui-m-layerchild {
	border-radius: 14px; box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
}
body .layui-m-layer .my-confirm-rect .layui-m-layercont {
	padding: 22px 20px 14px; font-weight: 600;
}
body .layui-m-layer .my-confirm-rect .layui-m-layerbtn span[yes] {
	min-width: 104px; height: 36px; line-height: 36px; border-radius: 18px;
	background: linear-gradient(135deg, #c9a227, #f0d78c); color: #1a1408;
}

@media (max-width: 480px) {
	.header-side-copy { display: none; }
	.hero-banner { padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
	.hero-title {
		font-size: clamp(30px, 9.5vw, 40px);
		letter-spacing: 0.14em;
		text-indent: 0.14em;
	}
	.hero-subtitle {
		letter-spacing: 0.28em;
		text-indent: 0.28em;
		font-size: 11px;
	}
	.form,
	.login100-form {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		/* 输入时父级不要再跑无限动画，避免光标跟随重绘上下跳 */
		animation: none !important;
		opacity: 1;
		transform: none;
	}
	.stage-rays,
	.stage-sparkles .sp,
	.jinsha-crown,
	.form-header-title,
	.login_btn,
	.login100-form-btn {
		animation: none !important;
	}
	.stage-photo {
		background-position: center center;
		background-size: cover;
	}
	/* 输入框固定行高，减少键盘顶起时的跳动感 */
	.form div.userName,
	.form div.passWord,
	.wrap-input100 {
		min-height: 48px;
		height: 48px;
		transition: none;
	}
	.form div.passWord[style*="display:flex"],
	#loginCaptchaRow {
		height: auto;
		min-height: 48px;
	}
	.form div.userName input,
	.form div.passWord input,
	.input100,
	.input60 {
		font-size: 16px; /* ≥16px 可减少 iOS 自动缩放引发的抖动 */
		line-height: 24px;
		height: 24px;
	}
}

/* 触屏设备：聚焦期间冻结背景动效 */
@media (hover: none) and (pointer: coarse) {
	body.premium-login-page.is-input-focus .stage-rays,
	body.premium-login-page.is-input-focus .stage-sparkles .sp,
	body.premium-login-page.is-input-focus .jinsha-crown {
		animation: none !important;
	}
}

@media (min-width: 768px) {
	.hero-banner { padding-top: calc(28px + env(safe-area-inset-top, 0px)); }
	.form, .login100-form { max-width: 420px; }
	.stage-photo {
		background-position: center 8%;
		background-size: cover;
	}
}

@media (min-height: 900px) {
	.stage-photo {
		background-position: center 12%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.stage-rays,
	.stage-sparkles .sp,
	.jinsha-crown,
	.form-header-title,
	.login_btn,
	.login100-form-btn,
	.form div.userName:focus-within,
	.form div.passWord:focus-within {
		animation: none !important;
	}
	.auth-stage,
	.form,
	.login100-form,
	.hero-brand {
		animation: none;
		opacity: 1;
		transform: none;
	}
	.form-header-title {
		-webkit-text-fill-color: var(--accent-bright);
		color: var(--accent-bright);
	}
	.stage-photo {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ========== 注册区专属：高级大气简约（不影响登录） ========== */
#regDiv .form--reg {
	max-width: 380px;
	border-radius: 18px;
	background: rgba(8, 12, 22, 0.78);
	border: 1px solid rgba(212, 175, 106, 0.28);
	box-shadow:
		0 20px 50px rgba(0, 0, 0, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	overflow: hidden;
}

#regDiv .reg-head {
	padding: 18px 20px 0;
	text-align: center;
	background: transparent;
	border: none;
}

#regDiv .reg-head-title {
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.36em;
	text-indent: 0.36em;
	line-height: 1.2;
	color: #f3e2b0;
	background: linear-gradient(180deg, #fff8e1 0%, #e8c96a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: none;
	filter: drop-shadow(0 1px 8px rgba(212, 175, 106, 0.25));
}

#regDiv .reg-head-line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 10px auto 0;
	width: 52%;
}

#regDiv .reg-head-line::before,
#regDiv .reg-head-line::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(212, 175, 106, 0.45));
}

#regDiv .reg-head-line::after {
	background: linear-gradient(90deg, rgba(212, 175, 106, 0.45), transparent);
}

#regDiv .reg-head-line span {
	width: 5px;
	height: 5px;
	transform: rotate(45deg);
	background: linear-gradient(135deg, #fff3c4, #c9a227);
	box-shadow: 0 0 8px rgba(212, 175, 106, 0.5);
	flex-shrink: 0;
}

#regDiv .reg-body {
	padding: 16px 18px 18px;
}

#regDiv .reg-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 10px;
}

#regDiv .form--reg .userName,
#regDiv .form--reg .passWord {
	margin-bottom: 10px;
	min-height: 46px;
	height: 46px;
	border-radius: 12px;
	padding: 0 10px 0 0;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	box-shadow: none;
	display: flex;
	align-items: center;
	gap: 0;
	transition: border-color 0.2s ease, background 0.2s ease;
	overflow: hidden;
}

#regDiv .reg-row .userName,
#regDiv .reg-row .passWord {
	margin-bottom: 0;
}

#regDiv .form--reg .userName:focus-within,
#regDiv .form--reg .passWord:focus-within {
	border-color: rgba(212, 175, 106, 0.55);
	background: rgba(212, 175, 106, 0.06);
	box-shadow: 0 0 0 1px rgba(212, 175, 106, 0.12);
	animation: none;
}

#regDiv .reg-label {
	flex: 0 0 auto;
	min-width: 50px;
	padding: 0 9px 0 12px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	color: rgba(232, 201, 106, 0.82);
	white-space: nowrap;
	line-height: 1;
	border-right: 1px solid rgba(212, 175, 106, 0.18);
	margin-right: 9px;
}

#regDiv .form--reg .userName lable,
#regDiv .form--reg .passWord lable {
	display: none;
}

#regDiv .form--reg .userName input,
#regDiv .form--reg .passWord input {
	flex: 1;
	min-width: 0;
	width: auto;
	padding-right: 12px;
	font-size: 14px;
	line-height: 22px;
	color: #f4f0e6;
	letter-spacing: 0.02em;
}

#regDiv .form--reg .userName input::placeholder,
#regDiv .form--reg .passWord input::placeholder {
	color: rgba(170, 185, 210, 0.4);
	letter-spacing: 0.02em;
	font-size: 13px;
}

#regDiv .reg-field-soft {
	border-style: dashed !important;
	border-color: rgba(212, 175, 106, 0.22) !important;
	background: rgba(212, 175, 106, 0.03) !important;
}

#regDiv .reg-captcha {
	display: flex;
	align-items: stretch;
	gap: 10px;
	margin-bottom: 14px;
}

#regDiv .reg-captcha-input {
	flex: 1;
	margin-bottom: 0 !important;
}

#regDiv .reg-captcha-box {
	width: 116px;
	flex: 0 0 116px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	cursor: pointer;
}

#regDiv .reg-captcha-box img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

#regDiv .reg-submit {
	margin-top: 0;
	padding: 12px 14px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.4em;
	text-indent: 0.4em;
	border-radius: 999px;
	border: 1px solid rgba(255, 236, 190, 0.35);
	background: linear-gradient(180deg, #f7e7b2 0%, #d4af6a 55%, #b8923a 100%);
	box-shadow: 0 8px 20px rgba(180, 140, 50, 0.28);
	animation: none;
}

#regDiv .reg-foot-bar {
	margin-top: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

#regDiv .reg-foot-link {
	font-size: 12px;
	color: rgba(200, 210, 230, 0.55);
	cursor: pointer;
	letter-spacing: 0.02em;
	text-decoration: none;
	font-style: normal;
}

#regDiv .reg-foot-link em {
	font-style: normal;
	font-weight: 600;
	color: #f0d78c;
	letter-spacing: 0.06em;
	text-shadow: 0 0 12px rgba(212, 175, 106, 0.35);
	border-bottom: 1px solid rgba(240, 215, 140, 0.45);
	padding-bottom: 1px;
}

#regDiv .reg-foot-link:hover em,
#regDiv .reg-foot-link:active em {
	color: #fff3c4;
	border-bottom-color: rgba(255, 243, 196, 0.75);
	text-shadow: 0 0 16px rgba(212, 175, 106, 0.55);
}

#regDiv .reg-help-btn {
	flex-shrink: 0;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(212, 175, 106, 0.4);
	background: rgba(212, 175, 106, 0.08);
	color: #f0d78c;
	font-size: 12px;
	letter-spacing: 0.08em;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.2s, border-color 0.2s;
}

#regDiv .reg-help-btn:hover,
#regDiv .reg-help-btn:active {
	background: rgba(212, 175, 106, 0.16);
	border-color: rgba(212, 175, 106, 0.65);
}

#regDiv .token-brand {
	display: none;
}

/* 注册帮助弹窗 */
.reg-help-mask {
	position: fixed;
	inset: 0;
	z-index: 200000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 16px;
	background: rgba(2, 6, 16, 0.72);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.reg-help-dialog {
	width: 100%;
	max-width: 340px;
	padding: 18px 18px 16px;
	border-radius: 16px;
	background: linear-gradient(165deg, rgba(18, 24, 40, 0.96) 0%, rgba(8, 12, 22, 0.98) 100%);
	border: 1px solid rgba(212, 175, 106, 0.35);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(212, 175, 106, 0.12);
	animation: regHelpIn 0.22s ease both;
}

@keyframes regHelpIn {
	from { opacity: 0; transform: translateY(10px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.reg-help-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.reg-help-title {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-indent: 0.22em;
	color: #f0d78c;
}

.reg-help-close {
	width: 28px;
	height: 28px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.7);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	font-family: inherit;
}

.reg-help-line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 12px 0 14px;
}

.reg-help-line::before,
.reg-help-line::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(212, 175, 106, 0.4));
}

.reg-help-line::after {
	background: linear-gradient(90deg, rgba(212, 175, 106, 0.4), transparent);
}

.reg-help-line span {
	width: 5px;
	height: 5px;
	transform: rotate(45deg);
	background: linear-gradient(135deg, #fff3c4, #c9a227);
	flex-shrink: 0;
}

.reg-help-body {
	text-align: left;
}

.reg-help-warn {
	margin: 0 0 8px;
	padding: 8px 10px;
	border-radius: 8px;
	background: rgba(212, 175, 106, 0.08);
	border: 1px solid rgba(212, 175, 106, 0.2);
	color: #f5e0a3;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 500;
}

.reg-help-desc {
	margin: 12px 0 0;
	color: rgba(200, 210, 230, 0.78);
	font-size: 12px;
	line-height: 1.7;
}

.reg-help-ok {
	display: block;
	width: 100%;
	margin-top: 16px;
	padding: 11px;
	border: 1px solid rgba(255, 236, 190, 0.35);
	border-radius: 999px;
	background: linear-gradient(180deg, #f7e7b2 0%, #d4af6a 55%, #b8923a 100%);
	color: #1a1408;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-indent: 0.2em;
	cursor: pointer;
	font-family: inherit;
}

/* 手机号注册面板同步气质 */
#regDiv2 .login100-form {
	max-width: 380px;
	border-radius: 18px;
	background: rgba(8, 12, 22, 0.78);
	border: 1px solid rgba(212, 175, 106, 0.28);
}

#regDiv2 .login100-form-title {
	padding: 16px 18px 8px;
	font-size: 17px;
	letter-spacing: 0.36em;
	text-indent: 0.36em;
	animation: none;
	background: none;
	-webkit-text-fill-color: #f0d78c;
	color: #f0d78c;
	border: none;
}

#regDiv2 .form-content-wrapper {
	padding: 10px 16px 16px;
}

#regDiv2 .wrap-input100 {
	min-height: 42px;
	height: 42px;
	margin-bottom: 8px;
	border-radius: 11px;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	flex-wrap: nowrap;
}

#regDiv2 .label-input100 {
	width: auto;
	margin-bottom: 0;
	font-size: 12px;
	min-width: 48px;
}

#regDiv2 .m-b-10 { margin-bottom: 8px; }
#regDiv2 .token-brand { display: none; }
#regDiv2 .login100-form-btn {
	padding: 11px;
	letter-spacing: 0.4em;
	animation: none;
}

@media (max-width: 480px) {
	#regDiv .form--reg,
	#regDiv2 .login100-form {
		max-width: 100%;
		border-radius: 16px;
	}
	#regDiv .reg-body {
		padding: 14px 15px 15px;
	}
	#regDiv .form--reg .userName,
	#regDiv .form--reg .passWord,
	#regDiv .reg-captcha-box {
		min-height: 46px;
		height: 46px;
	}
	#regDiv .reg-label {
		min-width: 44px;
		padding: 0 7px 0 10px;
		margin-right: 7px;
		font-size: 12px;
		letter-spacing: 0.04em;
	}
	#regDiv .form--reg .userName input,
	#regDiv .form--reg .passWord input {
		font-size: 16px;
		line-height: 24px;
	}
	#regDiv .form--reg .userName input::placeholder,
	#regDiv .form--reg .passWord input::placeholder {
		font-size: 13px;
	}
	#regDiv .reg-captcha-box {
		width: 110px;
		flex-basis: 110px;
	}
	#regDiv .reg-foot-bar {
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
	}
}

@media (max-width: 480px) and (max-height: 740px) {
	body.is-reg-view .jinsha-crown,
	body.is-reg-view .hero-subtitle {
		display: none;
	}
	body.is-reg-view .hero-title {
		font-size: 22px;
	}
	body.is-reg-view .hero-banner {
		padding-top: calc(8px + env(safe-area-inset-top, 0px));
		padding-bottom: 0;
	}
	#regDiv .reg-head {
		padding-top: 14px;
	}
	#regDiv .reg-head-title {
		font-size: 16px;
	}
	#regDiv .reg-body {
		padding: 12px 14px 14px;
	}
	#regDiv .reg-row {
		gap: 8px;
		margin-bottom: 8px;
	}
	#regDiv .form--reg .userName,
	#regDiv .form--reg .passWord {
		margin-bottom: 8px;
		min-height: 44px;
		height: 44px;
	}
	#regDiv .reg-captcha {
		margin-bottom: 12px;
	}
	#regDiv .reg-captcha-box {
		height: 44px;
		width: 106px;
		flex-basis: 106px;
	}
	#regDiv .reg-submit {
		padding: 11px;
		font-size: 14px;
	}
}

