html.src-gate-open,
body.src-gate-open {
	overflow: auto !important;
	height: auto !important;
	touch-action: auto !important;
}

body.src-gate-open > *:not(#src-research-gate-overlay) {
	z-index: 0 !important;
	pointer-events: none !important;
}

body.src-gate-open > #src-research-gate-overlay {
	pointer-events: auto !important;
}

.src-gate-overlay,
.src-gate-overlay * {
	box-sizing: border-box;
}

.src-gate-overlay {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: auto !important;
	left: 0 !important;
	z-index: 2147483647 !important;
	display: block !important;
	isolation: isolate;
	width: 100%;
	max-width: none !important;
	height: 100%;
	height: var(--src-gate-viewport-height, 100vh);
	margin: 0 !important;
	padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
	background:
		radial-gradient(circle at 50% 16%, rgba(31, 89, 124, .26), transparent 42%),
		rgba(1, 12, 25, .91);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	overflow-x: hidden !important;
	overflow-y: scroll !important;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: none;
	overscroll-behavior-y: contain;
	touch-action: pan-y !important;
	scroll-behavior: auto !important;
	scrollbar-gutter: stable;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.src-gate-card {
	--src-accent: #55ad43;
	--src-accent-dark: #368c2d;
	position: relative;
	min-width: 0;
	min-height: 0;
	width: min(100%, 820px);
	height: auto !important;
	max-height: none !important;
	margin: 0 auto !important;
	padding: clamp(30px, 3.7vw, 44px);
	border: 1px solid rgba(218, 229, 238, .55);
	border-radius: 26px;
	background:
		radial-gradient(circle at 50% 0, rgba(22, 69, 101, .36), transparent 40%),
		linear-gradient(145deg, #061c2f 0%, #031526 55%, #041a2c 100%);
	box-shadow: 0 34px 110px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .04);
	color: #f7fbff;
	overflow: visible !important;
	touch-action: pan-y !important;
	transform: none;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, .25) transparent;
}

#src-research-gate-overlay .src-gate-form,
#src-research-gate-overlay .src-gate-radio,
#src-research-gate-overlay .src-gate-check {
	touch-action: pan-y;
}

#src-research-gate-overlay button,
#src-research-gate-overlay input,
#src-research-gate-overlay label {
	-webkit-tap-highlight-color: transparent;
}

.src-gate-overlay::-webkit-scrollbar { width: 7px; }
.src-gate-overlay::-webkit-scrollbar-track { background: transparent; }
.src-gate-overlay::-webkit-scrollbar-thumb { border-radius: 20px; background: rgba(255, 255, 255, .28); }

.src-gate-header {
	text-align: center;
}

.src-gate-logo {
	display: block;
	width: auto;
	height: auto;
	max-width: 190px;
	max-height: 58px;
	margin: 0 auto 15px;
	object-fit: contain;
}

.src-gate-store {
	display: block;
	margin-bottom: 14px;
	color: var(--src-accent);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .24em;
	line-height: 1.4;
	text-transform: uppercase;
}

.src-gate-title {
	margin: 0;
	color: #fff;
	font-size: clamp(34px, 4.6vw, 50px);
	font-weight: 800;
	line-height: 1.07;
	letter-spacing: -.045em;
	text-shadow: 0 3px 16px rgba(0, 0, 0, .34);
}

.src-gate-copy {
	max-width: 690px;
	margin: 18px auto 27px;
	color: #bac7d3;
	font-size: clamp(15px, 1.65vw, 17px);
	font-weight: 450;
	line-height: 1.62;
}

.src-gate-form fieldset {
	min-width: 0;
	margin: 0 0 20px;
	padding: 0;
	border: 0;
}

.src-gate-legend {
	display: flex;
	width: 100%;
	margin: 0 0 14px;
	padding: 0;
	color: #fff;
	font-size: clamp(16px, 1.8vw, 19px);
	font-weight: 750;
	line-height: 1.3;
	text-align: center;
}

.src-gate-legend::before,
.src-gate-legend::after {
	content: "";
	flex: 1 1 auto;
	align-self: center;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(208, 222, 233, .32));
}

.src-gate-legend::after {
	background: linear-gradient(90deg, rgba(208, 222, 233, .32), transparent);
}

.src-gate-legend-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 0 20px;
}

.src-gate-legend-icon {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	color: var(--src-accent);
}

.src-gate-legend-icon svg,
.src-gate-type-icon svg,
.src-gate-button-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.src-gate-radio-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.src-gate-radio {
	position: relative;
	display: grid;
	grid-template-columns: 50px minmax(0, 1fr);
	gap: 15px;
	align-items: center;
	min-height: 94px;
	padding: 17px 48px 17px 21px;
	border: 2px solid rgba(225, 233, 239, .88);
	border-radius: 17px;
	background: linear-gradient(145deg, #f9fbfc 0%, #d9dee3 100%);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .14), inset 0 1px 0 #fff;
	color: #0a1728;
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.src-gate-radio:hover {
	transform: translateY(-2px);
	border-color: rgba(85, 173, 67, .76);
	box-shadow: 0 14px 30px rgba(0, 0, 0, .2), inset 0 1px 0 #fff;
}

.src-gate-radio.is-selected {
	border-color: var(--src-accent);
	background: linear-gradient(145deg, #f9fcf7 0%, #e2ebde 100%);
	box-shadow: 0 0 0 2px rgba(85, 173, 67, .22), 0 14px 30px rgba(0, 0, 0, .2);
}

.src-gate-radio input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.src-gate-type-icon {
	display: block;
	width: 48px;
	height: 48px;
	color: #172536;
	transition: color .2s ease;
}

.src-gate-radio.is-selected .src-gate-type-icon { color: var(--src-accent-dark); }

.src-gate-radio-copy {
	font-size: clamp(15px, 1.55vw, 17px);
	font-weight: 750;
	line-height: 1.42;
}

.src-gate-radio-selected {
	position: absolute;
	top: 50%;
	right: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--src-accent);
	box-shadow: 0 4px 12px rgba(54, 140, 45, .28);
	opacity: 0;
	transform: translateY(-50%) scale(.75);
	transition: opacity .2s ease, transform .2s ease;
}

.src-gate-radio-selected::after {
	content: "";
	width: 7px;
	height: 13px;
	margin-top: -2px;
	border: solid #fff;
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}

.src-gate-radio.is-selected .src-gate-radio-selected {
	opacity: 1;
	transform: translateY(-50%) scale(1);
}

.src-gate-radio input:focus-visible ~ .src-gate-radio-copy,
.src-gate-check input:focus-visible + .src-gate-checkmark {
	outline: 3px solid rgba(104, 194, 86, .55);
	outline-offset: 4px;
}

.src-gate-check {
	position: relative;
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	min-height: 64px;
	margin: 10px 0;
	padding: 13px 20px;
	border: 1px solid rgba(225, 233, 239, .9);
	border-radius: 13px;
	background: linear-gradient(145deg, #f8fafc 0%, #d8dee4 100%);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .13), inset 0 1px 0 #fff;
	color: #0a1728;
	cursor: pointer;
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.src-gate-check:hover {
	transform: translateY(-1px);
	border-color: rgba(85, 173, 67, .75);
	box-shadow: 0 11px 24px rgba(0, 0, 0, .18), inset 0 1px 0 #fff;
}

.src-gate-check input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.src-gate-checkmark {
	position: relative;
	width: 30px;
	height: 30px;
	border: 2px solid #95a8ba;
	border-radius: 6px;
	background: #fff;
	transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.src-gate-check input:checked + .src-gate-checkmark {
	border-color: var(--src-accent);
	background: var(--src-accent);
	box-shadow: 0 5px 13px rgba(54, 140, 45, .25);
}

.src-gate-check input:checked + .src-gate-checkmark::after {
	content: "";
	position: absolute;
	left: 9px;
	top: 3px;
	width: 7px;
	height: 14px;
	border: solid #fff;
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}

.src-gate-check-label {
	font-size: clamp(14px, 1.45vw, 16px);
	font-weight: 620;
	line-height: 1.48;
}

.src-gate-error {
	min-height: 22px;
	margin: 13px 0 6px;
	color: #ffb4aa;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.src-gate-enter,
.src-gate-leave {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	width: 100%;
	min-height: 58px;
	border-radius: 12px;
	font: inherit;
	font-size: clamp(16px, 1.8vw, 19px);
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, background .2s ease;
}

.src-gate-button-icon {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
}

.src-gate-enter {
	border: 1px solid rgba(131, 211, 113, .8);
	background: linear-gradient(105deg, var(--src-accent-dark) 0%, var(--src-accent) 100%);
	box-shadow: 0 12px 30px rgba(48, 134, 40, .24), inset 0 1px 0 rgba(255, 255, 255, .2);
	color: #fff;
}

#src-research-gate-overlay .src-gate-enter,
#src-research-gate-overlay .src-gate-enter:hover,
#src-research-gate-overlay .src-gate-enter:focus,
#src-research-gate-overlay .src-gate-enter span,
#src-research-gate-overlay .src-gate-enter .src-gate-button-icon {
	color: #fff !important;
}

.src-gate-enter:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 35px rgba(48, 134, 40, .34), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.src-gate-enter:disabled {
	cursor: wait;
	opacity: .65;
	transform: none;
}

.src-gate-leave {
	min-height: 58px;
	margin-top: 14px;
	border: 1px solid rgba(235, 190, 133, .85);
	background: rgba(1, 14, 27, .32);
	color: #e4b56e;
}

.src-gate-leave:hover {
	transform: translateY(-1px);
	background: rgba(228, 181, 110, .08);
	box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

.src-gate-enter:focus-visible,
.src-gate-leave:focus-visible {
	outline: 3px solid rgba(111, 200, 92, .75);
	outline-offset: 3px;
}

@media (max-width: 700px) {
	.src-gate-overlay {
		padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
	}

	.src-gate-card {
		width: 100%;
		height: auto !important;
		max-height: none !important;
		padding: 28px 16px 20px;
		border-radius: 21px;
	}

	.src-gate-logo { max-width: 150px; max-height: 48px; }
	.src-gate-store { margin-bottom: 10px; font-size: 10px; letter-spacing: .18em; }
	.src-gate-title { font-size: clamp(31px, 10vw, 42px); }
	.src-gate-copy { margin: 15px auto 25px; font-size: 14px; line-height: 1.55; }
	.src-gate-form fieldset { margin-bottom: 25px; }
	.src-gate-legend { margin-bottom: 14px; font-size: 16px; }
	.src-gate-legend-inner { gap: 8px; padding: 0 10px; }
	.src-gate-legend-icon { flex-basis: 25px; width: 25px; height: 25px; }
	.src-gate-radio-grid { grid-template-columns: 1fr; gap: 10px; }
	.src-gate-radio { grid-template-columns: 45px minmax(0, 1fr); gap: 14px; min-height: 78px; padding: 14px 47px 14px 17px; border-radius: 13px; }
	.src-gate-type-icon { width: 43px; height: 43px; }
	.src-gate-radio-copy { font-size: 15px; }
	.src-gate-radio-selected { right: 14px; width: 27px; height: 27px; }
	.src-gate-check { grid-template-columns: 26px minmax(0, 1fr); gap: 13px; min-height: 62px; margin: 9px 0; padding: 13px 14px; }
	.src-gate-checkmark { width: 26px; height: 26px; }
	.src-gate-check input:checked + .src-gate-checkmark::after { left: 7px; top: 2px; }
	.src-gate-check-label { font-size: 13px; }
	.src-gate-error { margin-top: 10px; }
	.src-gate-enter { min-height: 58px; font-size: 17px; }
	.src-gate-leave { min-height: 52px; margin-top: 10px; font-size: 15px; }
	.src-gate-button-icon { flex-basis: 25px; width: 25px; height: 25px; }
}

@media (max-width: 380px) {
	.src-gate-card { padding-right: 13px; padding-left: 13px; }
	.src-gate-title { font-size: 29px; }
	.src-gate-legend::before,
	.src-gate-legend::after { display: none; }
	.src-gate-radio { grid-template-columns: 39px minmax(0, 1fr); gap: 11px; padding-left: 13px; }
	.src-gate-type-icon { width: 38px; height: 38px; }
}

@supports (-webkit-touch-callout: none) {
	.src-gate-overlay {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.src-gate-overlay * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
