html.lmaog-locked,
html.lmaog-locked body {
	overflow: hidden !important;
}

.lmaog-age-gate {
	--lmaog-overlay: rgba(0, 0, 0, 0.55);
	--lmaog-blur: 2px;
	--lmaog-panel: #ffffff;
	--lmaog-text: #111111;
	--lmaog-accent: #111111;

	position: fixed;
	inset: 0;
	z-index: 2147483647;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	padding: 24px;
	background: var(--lmaog-overlay);
	-webkit-backdrop-filter: blur(var(--lmaog-blur));
	backdrop-filter: blur(var(--lmaog-blur));
	opacity: 1;
	visibility: visible;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.lmaog-age-gate--closing {
	opacity: 0;
	visibility: hidden;
}

.lmaog-age-gate__panel {
	width: min(100%, 560px);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: clamp(28px, 5vw, 54px);
	border-radius: 18px;
	background: var(--lmaog-panel);
	color: var(--lmaog-text);
	text-align: center;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.lmaog-age-gate__logo {
	display: block;
	width: auto;
	height: auto;
	max-width: min(220px, 70%);
	max-height: 110px;
	margin: 0 auto 28px;
	object-fit: contain;
}

.lmaog-age-gate__title {
	margin: 0 0 18px;
	color: inherit;
	font-size: clamp(28px, 5vw, 42px);
	font-weight: 700;
	line-height: 1.12;
}

.lmaog-age-gate__text {
	max-width: 46ch;
	margin: 0 auto 30px;
	color: inherit;
	font-size: 17px;
	line-height: 1.6;
	opacity: 0.82;
}

.lmaog-age-gate__text p:first-child {
	margin-top: 0;
}

.lmaog-age-gate__text p:last-child {
	margin-bottom: 0;
}

.lmaog-age-gate__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.lmaog-age-gate__button {
	appearance: none;
	min-width: 190px;
	margin: 0;
	padding: 14px 22px;
	border: 1px solid var(--lmaog-accent);
	border-radius: 9px;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
}

.lmaog-age-gate__button:hover {
	transform: translateY(-1px);
}

.lmaog-age-gate__button:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.lmaog-age-gate__button--yes {
	background: var(--lmaog-accent);
	color: #ffffff;
}

.lmaog-age-gate__button--no {
	background: transparent;
	color: var(--lmaog-accent);
}

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

	.lmaog-age-gate__panel {
		padding: 30px 20px;
		border-radius: 14px;
	}

	.lmaog-age-gate__actions {
		flex-direction: column;
	}

	.lmaog-age-gate__button {
		width: 100%;
		min-width: 0;
	}
}

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