html.biolab-age-gate-required,
html.biolab-age-gate-required body {
	overflow: hidden !important;
	overscroll-behavior: none;
}

.biolab-age-gate {
	position: fixed;
	inset: 0;
	z-index: 2147483646;
	display: none;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	padding: 24px;
	font-family: var(--bag-font, Inter, Arial, sans-serif);
	-webkit-backdrop-filter: blur(var(--bag-blur, 7px));
	backdrop-filter: blur(var(--bag-blur, 7px));
	opacity: 0;
	transition: opacity 180ms ease;
}

.biolab-age-gate::before {
	position: absolute;
	inset: 0;
	background: var(--bag-overlay, #18152d);
	content: "";
	opacity: var(--bag-overlay-opacity, .6);
}

html.biolab-age-gate-required .biolab-age-gate {
	display: flex;
}

html.biolab-age-gate-required .biolab-age-gate.biolab-age-gate--visible {
	opacity: 1;
}

.biolab-age-gate *,
.biolab-age-gate *::before,
.biolab-age-gate *::after {
	box-sizing: border-box;
}

.biolab-age-gate__dialog {
	width: min(100%, var(--bag-width, 448px));
	max-height: calc(100dvh - 48px);
	overflow: auto;
	padding: 35px 36px 34px;
	border: 0;
	border-radius: var(--bag-modal-radius, 24px);
	outline: 0;
	background: var(--bag-modal-bg, #fff);
	box-shadow: 0 24px 80px color-mix(in srgb, var(--bag-shadow, #0b0920) 22%, transparent);
	transform: translateY(8px) scale(.985);
	transition: transform 220ms cubic-bezier(.2, .75, .3, 1);
}

.biolab-age-gate--visible .biolab-age-gate__dialog {
	transform: translateY(0) scale(1);
}

.biolab-age-gate__label,
.biolab-age-gate__heading,
.biolab-age-gate__description,
.biolab-age-gate__disclaimer {
	margin: 0;
	padding: 0;
	border: 0;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
}

#biolab-age-gate p.biolab-age-gate__label {
	margin-bottom: 12px;
	color: var(--bag-label, #7b61ff) !important;
	font-family: var(--age-biolab-label-font, var(--bag-font, Inter, Arial, sans-serif)) !important;
	font-size: var(--age-biolab-label-size, 13px) !important;
	font-weight: var(--age-biolab-label-weight, 600) !important;
	line-height: var(--age-biolab-label-line, 1.2) !important;
	letter-spacing: var(--age-biolab-label-spacing, 1.95px) !important;
	text-transform: var(--age-biolab-label-transform, uppercase) !important;
	-webkit-text-fill-color: var(--bag-label, #7b61ff) !important;
}

#biolab-age-gate h2.biolab-age-gate__heading {
	margin-bottom: 13px;
	color: var(--bag-heading, #171720) !important;
	font-family: var(--age-biolab-heading-font, var(--bag-font, Inter, Arial, sans-serif)) !important;
	font-size: var(--age-biolab-heading-size, 30px) !important;
	font-weight: var(--age-biolab-heading-weight, 700) !important;
	line-height: var(--age-biolab-heading-line, 1.16) !important;
	letter-spacing: var(--age-biolab-heading-spacing, 0) !important;
	text-transform: var(--age-biolab-heading-transform, none) !important;
	-webkit-text-fill-color: var(--bag-heading, #171720) !important;
	text-shadow: none !important;
}

#biolab-age-gate p.biolab-age-gate__description {
	color: var(--bag-description, #747487) !important;
	font-family: var(--age-biolab-description-font, var(--bag-font, Inter, Arial, sans-serif)) !important;
	font-size: var(--age-biolab-description-size, 15px) !important;
	font-weight: var(--age-biolab-description-weight, 400) !important;
	line-height: var(--age-biolab-description-line, 1.52) !important;
	letter-spacing: var(--age-biolab-description-spacing, 0) !important;
	text-transform: var(--age-biolab-description-transform, none) !important;
	-webkit-text-fill-color: var(--bag-description, #747487) !important;
}

.biolab-age-gate__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 23px 0 20px;
}

#biolab-age-gate button.biolab-age-gate__button {
	appearance: none !important;
	min-width: 0;
	min-height: 46px;
	margin: 0 !important;
	padding: 10px 16px !important;
	border-width: 1px !important;
	border-style: solid !important;
	border-radius: var(--bag-button-radius, 999px) !important;
	box-shadow: none !important;
	background-image: none !important;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}

#biolab-age-gate button.biolab-age-gate__button:hover {
	filter: brightness(.96);
	transform: translateY(-1px);
}

#biolab-age-gate button.biolab-age-gate__button:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--bag-label, #7b61ff) 45%, transparent);
	outline-offset: 3px;
}

#biolab-age-gate button.biolab-age-gate__button:active {
	transform: translateY(0);
}

#biolab-age-gate button.biolab-age-gate__button--accept,
#biolab-age-gate button.biolab-age-gate__button--accept:hover,
#biolab-age-gate button.biolab-age-gate__button--accept:focus,
#biolab-age-gate button.biolab-age-gate__button--accept:active {
	font-family: var(--age-biolab-accept-font, var(--bag-font, Inter, Arial, sans-serif)) !important;
	font-size: var(--age-biolab-accept-size, 14px) !important;
	font-weight: var(--age-biolab-accept-weight, 650) !important;
	line-height: var(--age-biolab-accept-line, 1.2) !important;
	letter-spacing: var(--age-biolab-accept-spacing, 0) !important;
	text-transform: var(--age-biolab-accept-transform, none) !important;
	border-color: var(--bag-accept-bg, #6036df) !important;
	background: var(--bag-accept-bg, #6036df) !important;
	color: var(--bag-accept-text, #fff) !important;
	-webkit-text-fill-color: var(--bag-accept-text, #fff) !important;
}

#biolab-age-gate button.biolab-age-gate__button--exit,
#biolab-age-gate button.biolab-age-gate__button--exit:hover,
#biolab-age-gate button.biolab-age-gate__button--exit:focus,
#biolab-age-gate button.biolab-age-gate__button--exit:active {
	font-family: var(--age-biolab-exit-font, var(--bag-font, Inter, Arial, sans-serif)) !important;
	font-size: var(--age-biolab-exit-size, 14px) !important;
	font-weight: var(--age-biolab-exit-weight, 650) !important;
	line-height: var(--age-biolab-exit-line, 1.2) !important;
	letter-spacing: var(--age-biolab-exit-spacing, 0) !important;
	text-transform: var(--age-biolab-exit-transform, none) !important;
	border-color: var(--bag-exit-border, #dddde8) !important;
	background: var(--bag-exit-bg, #fff) !important;
	color: var(--bag-exit-text, #171720) !important;
	-webkit-text-fill-color: var(--bag-exit-text, #171720) !important;
}

#biolab-age-gate p.biolab-age-gate__disclaimer {
	color: var(--bag-disclaimer, #747487) !important;
	font-family: var(--age-biolab-disclaimer-font, var(--bag-font, Inter, Arial, sans-serif)) !important;
	font-size: var(--age-biolab-disclaimer-size, 13px) !important;
	font-weight: var(--age-biolab-disclaimer-weight, 400) !important;
	line-height: var(--age-biolab-disclaimer-line, 1.52) !important;
	letter-spacing: var(--age-biolab-disclaimer-spacing, 0) !important;
	text-transform: var(--age-biolab-disclaimer-transform, none) !important;
	-webkit-text-fill-color: var(--bag-disclaimer, #747487) !important;
}

@media (max-width: 520px) {
	.biolab-age-gate {
		padding: 16px;
	}

	.biolab-age-gate__dialog {
		max-height: calc(100dvh - 32px);
		padding: 30px 24px 27px;
	}

	#biolab-age-gate h2.biolab-age-gate__heading {
		font-size: min(var(--age-biolab-heading-size, 30px), 28px) !important;
	}

	.biolab-age-gate__actions {
		grid-template-columns: 1fr;
		margin-top: 21px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.biolab-age-gate,
	.biolab-age-gate__dialog,
	.biolab-age-gate__button {
		transition: none;
	}
}
