body:has(.email-login),
body.dj-android-login-page {
	background: #090b10 !important;
	color: #f5f6f8;
}

body:has(.email-login) uni-page-head,
body.dj-android-login-page uni-page-head {
	display: none !important;
}

body:has(.email-login) .uni-placeholder,
body.dj-android-login-page .uni-placeholder {
	display: none !important;
}

.email-login {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	min-height: 100vh !important;
	min-height: 100dvh !important;
	padding: calc(18px + env(safe-area-inset-top, 0px)) 20px
		calc(24px + env(safe-area-inset-bottom, 0px)) !important;
	box-sizing: border-box !important;
	overflow-x: hidden !important;
	background:
		linear-gradient(180deg, #21151a 0, #12141a 210px, #090b10 440px) !important;
	color: #f5f6f8 !important;
	letter-spacing: 0;
}

.email-login::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: #ff596f;
}

.email-login .wrapper {
	position: relative;
	width: 100%;
	max-width: 430px;
	margin: 0 auto !important;
	padding: clamp(38px, 7vh, 70px) 0 24px !important;
	box-sizing: border-box;
}

.email-login .brand {
	display: none !important;
}

.dj-login-back {
	position: absolute;
	top: 4px;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 50%;
	background: rgba(255, 255, 255, .055);
	color: #f4f5f7;
	font: 400 28px/1 -apple-system, BlinkMacSystemFont, "PingFang SC",
		"Microsoft YaHei", sans-serif;
	cursor: pointer;
}

.dj-login-intro {
	text-align: center;
}

.dj-login-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin: 0 auto 16px;
	border: 1px solid rgba(255, 89, 111, .5);
	border-radius: 16px;
	background: #24171c;
	color: #ff7183;
	font-size: 27px;
	font-weight: 800;
	line-height: 1;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.dj-login-kicker {
	color: #ff7183;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
}

.dj-login-title {
	margin: 7px 0 0;
	color: #f8f8fa;
	font-size: 30px;
	font-weight: 750;
	line-height: 1.25;
}

.dj-login-copy {
	max-width: 310px;
	margin: 10px auto 0;
	color: #969aa5;
	font-size: 14px;
	line-height: 1.65;
}

.email-login .form {
	margin-top: 30px !important;
	padding: 20px !important;
	box-sizing: border-box;
	border: 1px solid #272b35;
	border-radius: 14px !important;
	background: #14171e !important;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .24) !important;
}

.email-login .field {
	position: relative;
	display: flex !important;
	flex-direction: column;
	align-items: stretch !important;
	justify-content: center;
	height: 68px !important;
	margin-bottom: 14px !important;
	padding: 9px 15px !important;
	border: 1px solid #30343e !important;
	border-radius: 10px !important;
	background: #1a1d24 !important;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.email-login .field:focus-within {
	border-color: #ff596f !important;
	background: #1c1f27 !important;
	box-shadow: 0 0 0 3px rgba(255, 89, 111, .12);
}

.email-login .field-label {
	width: auto !important;
	flex: none;
	margin-bottom: 3px;
	color: #8f94a0 !important;
	font-size: 11px !important;
	font-weight: 650;
	line-height: 18px;
}

.email-login .field input,
.email-login .field uni-input {
	width: 100%;
	height: 30px !important;
	color: #f7f7f9 !important;
	font-size: 16px !important;
	line-height: 30px !important;
}

.email-login .field .uni-input-wrapper {
	height: 30px;
}

.email-login .field input::placeholder,
.email-login .field .uni-input-placeholder {
	color: #6f7480 !important;
}

.email-login .confirm-btn {
	height: 52px !important;
	margin-top: 6px !important;
	border-radius: 10px !important;
	background: #ff596f !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 52px !important;
	box-shadow: 0 10px 24px rgba(255, 89, 111, .22);
	transition: opacity .18s ease, transform .12s ease;
}

.email-login .confirm-btn.is-ready:active {
	transform: scale(.985);
}

.email-login .confirm-btn::after {
	border: 0 !important;
}

.email-login .confirm-btn[disabled] {
	box-shadow: none;
	opacity: .58 !important;
}

.email-login .action-row {
	justify-content: space-between !important;
	margin-top: 18px !important;
	padding-top: 16px;
	border-top: 1px solid #272b34;
	color: #b2b5be !important;
	font-size: 14px !important;
}

.email-login .action-row uni-text {
	color: #b2b5be !important;
}

.email-login .action-row uni-text:first-child {
	color: #ff7183 !important;
	font-weight: 650;
}

.email-login .footer {
	align-items: flex-start !important;
	justify-content: flex-start !important;
	margin-top: 18px !important;
	padding: 0 4px;
	color: #7f8490 !important;
	font-size: 12px !important;
	line-height: 20px !important;
	text-align: left;
}

.email-login .footer .link {
	color: #ff7183 !important;
}

.email-login .u-checkbox {
	margin-right: 7px;
}

.email-login .u-checkbox__icon-wrap {
	border-color: #505560 !important;
	background: #12151b !important;
}

.email-login .u-checkbox__icon-wrap--checked {
	border-color: #ff596f !important;
	background: #ff596f !important;
}

.dj-password-toggle {
	position: absolute;
	top: 50%;
	right: 10px;
	min-width: 48px;
	height: 34px;
	padding: 0 8px;
	transform: translateY(-25%);
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: #9ea3ae;
	font: 600 12px/1 -apple-system, BlinkMacSystemFont, "PingFang SC",
		"Microsoft YaHei", sans-serif;
	cursor: pointer;
}

.dj-password-toggle.is-visible {
	color: #ff7183;
}

.email-login .field--password input {
	padding-right: 58px !important;
}

@media (max-height: 700px) {
	.email-login .wrapper { padding-top: 28px !important; }
	.dj-login-mark { width: 50px; height: 50px; margin-bottom: 12px; }
	.dj-login-title { font-size: 26px; }
	.email-login .form { margin-top: 22px !important; }
}

@media (prefers-reduced-motion: reduce) {
	.email-login .field,
	.email-login .confirm-btn {
		transition: none;
	}
}
