.gs-auth-sheet-body {
	display: grid;
	gap: 12px;
	padding: 10px 16px calc(18px + env(safe-area-inset-bottom, 0px));
}

.gs-auth-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.gs-auth-head h2 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: #fff;
}

.gs-auth {
	display: grid;
	gap: 12px;
	color: #e9e9ea;
	font-family: "Titillium Web", sans-serif;
}

.gs-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 3px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
}

.gs-auth-tab {
	min-height: 36px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: none;
	color: rgba(255, 255, 255, 0.56);
	font: 800 0.86rem "Titillium Web", sans-serif;
	cursor: pointer;
}

.gs-auth-tab.is-on {
	border-color: rgba(255, 45, 134, 0.72);
	background: rgba(255, 45, 134, 0.14);
	color: #fff;
}

.gs-auth-ctx {
	margin: 0;
	padding: 9px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.84rem;
	font-weight: 700;
}

.gs-auth-form {
	display: grid;
	gap: 10px;
}

.gs-auth-field {
	display: grid;
	gap: 4px;
	margin: 0;
}

.gs-auth-field > span:first-child {
	color: rgba(255, 255, 255, 0.56);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gs-auth-field input {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(15, 23, 42, 0.96);
	color: rgba(255, 255, 255, 0.9);
	font: 600 0.95rem "Titillium Web", sans-serif;
	outline: none;
}

.gs-auth-field input::placeholder {
	color: rgba(255, 255, 255, 0.36);
}

.gs-auth-field input:focus {
	border-color: rgba(255, 45, 134, 0.68);
	box-shadow: 0 0 0 3px rgba(255, 45, 134, 0.16);
}

.gs-auth-field input[aria-invalid="true"] {
	border-color: #f87171;
	box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.16);
}

.gs-auth-field small {
	min-height: 0;
	color: #fca5a5;
	font-size: 0.78rem;
	font-weight: 700;
}

.gs-auth-field small:empty {
	display: none;
}

.gs-auth-pwd {
	position: relative;
	display: block;
}

.gs-auth-pwd input {
	padding-right: 46px;
}

.gs-auth-eye {
	position: absolute;
	top: 50%;
	right: 6px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 10px;
	background: none;
	color: rgba(255, 255, 255, 0.5);
	transform: translateY(-50%);
	cursor: pointer;
}

.gs-auth-eye:hover {
	color: #fff;
}

.gs-auth-alert {
	margin: 0;
	padding: 9px 12px;
	border: 1px solid rgba(248, 113, 113, 0.45);
	border-radius: 12px;
	background: rgba(248, 113, 113, 0.12);
	color: #fecaca;
	font-size: 0.84rem;
	font-weight: 700;
}

.gs-auth-submit {
	min-height: 46px;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(180deg, #ff4ba1, #ff2d86);
	color: #fff;
	font: 900 0.95rem "Titillium Web", sans-serif;
	cursor: pointer;
}

.gs-auth-submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.gs-auth-link {
	justify-self: center;
	border: 0;
	background: none;
	color: rgba(255, 255, 255, 0.6);
	font: 700 0.82rem "Titillium Web", sans-serif;
	cursor: pointer;
}

.gs-auth-link:hover {
	color: #fff;
}

.gs-auth-note {
	margin: 0;
	padding: 9px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.82rem;
}

.gs-auth-note a {
	color: #ff2d86;
}

.gs-auth-tab:focus-visible,
.gs-auth-eye:focus-visible,
.gs-auth-submit:focus-visible,
.gs-auth-link:focus-visible {
	outline: 2px solid #ff2d86;
	outline-offset: 2px;
}

.gs-auth-page {
	display: grid;
	gap: 16px;
	max-width: 440px;
	margin: 24px auto 32px;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 22px;
	background: linear-gradient(180deg, #151433, #0b0e22);
}

.gs-auth-page h1 {
	margin: 0;
	color: #fff;
	font-size: 1.3rem;
	font-weight: 800;
}

.gs-auth-page-more {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.86rem;
	text-align: center;
}

.gs-auth-page-more b {
	color: #fff;
}

.gs-fav-empty {
	display: grid;
	justify-items: center;
	gap: 10px;
}

.gs-fav-empty .gs-locked-btn {
	width: min(100%, 280px);
}
