:root.rv-gate-open,
:root.rv-gate-open body {
	overflow: hidden !important;
}

.rv-gate {
	align-items: center;
	display: none;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 2147483000;
}

.rv-gate--visible {
	display: flex;
}

.rv-gate [hidden] {
	display: none !important;
}

.rv-gate__backdrop {
	backdrop-filter: blur(12px);
	background: rgba(2, 38, 63, 0.82);
	inset: 0;
	position: absolute;
}

.rv-gate__panel {
	background: linear-gradient(155deg, #1681b2 0%, #07567f 100%);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 22px;
	box-shadow: 0 26px 90px rgba(0, 20, 34, 0.52);
	color: #fff;
	font-family: inherit;
	max-height: calc(100vh - 48px);
	max-width: 520px;
	overflow-y: auto;
	padding: 38px 42px 32px;
	position: relative;
	text-align: center;
	width: 100%;
}

.rv-gate__lock {
	align-items: center;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.34);
	border-radius: 50%;
	display: inline-flex;
	height: 72px;
	justify-content: center;
	margin-bottom: 18px;
	width: 72px;
}

.rv-gate__lock svg {
	fill: none;
	height: 38px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 4;
	width: 38px;
}

.rv-gate__eyebrow {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
	margin: 0 0 10px;
	opacity: 0.72;
}

.rv-gate__panel h2 {
	color: #fff;
	font-size: clamp(27px, 5vw, 38px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.08;
	margin: 0 0 14px;
}

.rv-gate__intro {
	font-size: 17px;
	line-height: 1.55;
	margin: 0 auto 24px;
	max-width: 430px;
	opacity: 0.92;
}

.rv-gate__form > label:not(.rv-gate__privacy) {
	display: block;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 7px;
	text-align: left;
}

.rv-gate__form input[type="email"],
.rv-gate__form .rv-gate__code {
	background: #fff;
	border: 2px solid transparent;
	border-radius: 10px;
	box-shadow: none;
	color: #123b50;
	font: inherit;
	font-size: 16px;
	height: 52px;
	margin: 0;
	outline: none;
	padding: 0 16px;
	width: 100%;
}

.rv-gate__form input[type="email"]:focus,
.rv-gate__form .rv-gate__code:focus {
	border-color: #bde9ff;
	box-shadow: 0 0 0 4px rgba(189, 233, 255, 0.2);
}

.rv-gate__form .rv-gate__code {
	font-size: 27px;
	font-weight: 800;
	letter-spacing: 0.22em;
	margin-bottom: 12px;
	text-align: center;
}

.rv-gate__code-message {
	font-size: 15px;
	line-height: 1.5;
	margin: 0 0 18px;
	opacity: 0.92;
}

.rv-gate__privacy {
	align-items: flex-start;
	display: flex;
	font-size: 13px;
	gap: 9px;
	line-height: 1.4;
	margin: 14px 0 18px;
	text-align: left;
}

.rv-gate__privacy input {
	flex: 0 0 auto;
	margin: 3px 0 0;
}

.rv-gate__privacy a,
.rv-gate__home {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rv-gate__newsletter {
	margin-top: -6px;
}

.rv-gate__form button {
	background: #fff;
	border: 0;
	border-radius: 10px;
	color: #07567f;
	cursor: pointer;
	font: inherit;
	font-size: 16px;
	font-weight: 800;
	min-height: 52px;
	padding: 12px 20px;
	width: 100%;
}

.rv-gate__form button:hover {
	background: #e8f7ff;
}

.rv-gate__form button:disabled {
	cursor: wait;
	opacity: 0.72;
}

.rv-gate__form .rv-gate__change-email {
	background: transparent;
	color: #fff;
	font-size: 13px;
	font-weight: 650;
	margin-top: 8px;
	min-height: 38px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rv-gate__form .rv-gate__change-email:hover {
	background: rgba(255, 255, 255, 0.08);
}

.rv-gate__note {
	font-size: 12px;
	margin: 10px 0 0;
	opacity: 0.72;
}

.rv-gate__status {
	display: none;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.45;
	margin: 15px 0 0;
	padding: 12px 14px;
	text-align: left;
}

.rv-gate__status--success,
.rv-gate__status--error {
	border-radius: 9px;
	display: block;
}

.rv-gate__status--success {
	background: rgba(204, 255, 224, 0.16);
	border: 1px solid rgba(204, 255, 224, 0.45);
}

.rv-gate__status--error {
	background: rgba(255, 207, 207, 0.16);
	border: 1px solid rgba(255, 207, 207, 0.52);
}

.rv-gate__home {
	display: inline-block;
	font-size: 13px;
	margin-top: 20px;
	opacity: 0.82;
}

.rv-gate__honeypot {
	height: 0;
	left: -99999px;
	overflow: hidden;
	position: absolute;
	width: 0;
}

@media (max-width: 600px) {
	.rv-gate {
		align-items: flex-end;
		padding: 12px;
	}

	.rv-gate__panel {
		border-radius: 18px;
		max-height: calc(100vh - 24px);
		padding: 28px 22px 24px;
	}

	.rv-gate__lock {
		height: 60px;
		margin-bottom: 14px;
		width: 60px;
	}

	.rv-gate__intro {
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.rv-gate--visible .rv-gate__backdrop {
		animation: rv-gate-fade 180ms ease-out both;
	}

	.rv-gate--visible .rv-gate__panel {
		animation: rv-gate-rise 260ms ease-out both;
	}
}

@keyframes rv-gate-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes rv-gate-rise {
	from { opacity: 0; transform: translateY(18px) scale(0.985); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}
