body.vpm-portal-page.vpm-portal-guest {
	background: linear-gradient(165deg, #eef2f7 0%, #f8fafc 45%, #e8eef5 100%);
	min-height: 100dvh;
}

.vpm-shell--gate {
	min-height: 100dvh;
	display: flex;
	align-items: stretch;
	justify-content: center;
	padding: 0;
	box-sizing: border-box;
}

.vpm-gate {
	width: 100%;
	min-height: 100dvh;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

.vpm-gate__stage {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px 16px calc(var(--vpm-tabbar-h, 72px) + var(--vpm-safe-bottom, 0px) + 24px);
	box-sizing: border-box;
}

.vpm-gate__splash {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding-bottom: calc(var(--vpm-tabbar-h, 72px) + var(--vpm-safe-bottom, 0px));
	background: linear-gradient(165deg, #eef2f7 0%, #f8fafc 45%, #e8eef5 100%);
	z-index: 2;
	transition: opacity 0.55s ease, visibility 0.55s ease;
}

.vpm-gate__logo-splash {
	display: flex;
	align-items: center;
	justify-content: center;
	transform: scale(1);
	transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}

.vpm-gate__logo--splash {
	max-height: 96px;
	max-width: min(280px, 78vw);
}

.vpm-gate--intro .vpm-gate__logo-splash {
	transform: scale(0.72) translateY(-18vh);
}

.vpm-gate--ready .vpm-gate__splash {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.vpm-gate__content {
	width: min(100%, 420px);
	margin: 0 auto;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.55s ease 0.15s, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.vpm-gate--ready .vpm-gate__content,
.vpm-gate--denied .vpm-gate__content {
	opacity: 1;
	transform: translateY(0);
}

.vpm-gate__logo-wrap {
	margin: 0 auto 28px;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 56px;
}

.vpm-gate__logo {
	max-height: 64px;
	max-width: min(240px, 80vw);
	width: auto;
	height: auto;
	object-fit: contain;
}

.vpm-gate__title {
	margin: 0 0 24px;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.6;
	color: #111827;
}

.vpm-gate__cta {
	width: 100%;
	max-width: 280px;
	justify-content: center;
	margin: 0 auto 28px;
}

.vpm-gate__form {
	text-align: start;
	margin: 0 auto 24px;
	max-width: 320px;
}

.vpm-gate__form .vpm-field {
	margin-bottom: 14px;
}

.vpm-gate__form .vpm-btn {
	width: 100%;
	justify-content: center;
	margin-top: 6px;
}

.vpm-gate__powered {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.7;
	color: #64748b;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.vpm-gate__powered-logo {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
}

.vpm-gate__powered-logo img {
	max-height: 22px;
	max-width: 100px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.vpm-gate--denied .vpm-gate__title {
	color: #b45309;
}

.vpm-gate .vpm-feedback {
	margin-top: 12px;
	text-align: center;
}

.vpm-gate .vpm-field {
	display: block;
	margin-bottom: 14px;
}

.vpm-gate .vpm-field > span {
	display: block;
	margin-bottom: 6px;
	font-size: 0.82rem;
	color: #475569;
}

.vpm-gate .vpm-field input {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font: inherit;
}

.vpm-gate .vpm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: 0;
	border-radius: 10px;
	background: #2a76b8;
	color: #fff;
	font: inherit;
	cursor: pointer;
}

.vpm-gate .vpm-btn--ghost {
	background: transparent;
	color: #475569;
	border: 1px solid #cbd5e1;
	margin-top: 8px;
	width: 100%;
}

.vpm-gate .vpm-feedback--error {
	color: #b91c1c;
}

.vpm-gate .vpm-feedback--success {
	color: #15803d;
}

.vpm-gate__home {
	margin-top: 1.25rem;
	text-align: center;
}

.vpm-gate__home-link {
	color: inherit;
	font-weight: 600;
	text-decoration: none;
}

.vpm-gate__home-link:hover {
	text-decoration: underline;
}

/* Bottom dock — full width language bar (styled in portal-tabbar-shell.css) */
.vpm-gate__dock {
	display: flex;
	align-items: center;
	justify-content: center;
}

.vpm-gate__dock .vpm-tabbar__lang-wrap {
	display: flex;
	justify-content: center;
}

.vpm-gate__dock .vpm-tab {
	min-width: 72px;
}

.vpm-gate__dock .vpm-tabbar__lang-popover {
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
}
