.avg18-age-gate-active {
	overflow: hidden;
}

.avg18-age-gate-active body {
	overflow: hidden;
}

.avg18-age-gate-overlay {
	align-items: center;
	background: var(--avg18-overlay-bg, rgba(17, 24, 39, 0.86));
	box-sizing: border-box;
	display: flex;
	inset: 0;
	justify-content: center;
	min-height: 100vh;
	padding: 24px;
	position: fixed;
	z-index: 2147483000;
}

.avg18-age-gate-overlay[hidden] {
	display: none !important;
}

.avg18-age-gate-overlay * {
	box-sizing: border-box;
}

.avg18-age-gate-dialog {
	background: var(--avg18-modal-bg, #ffffff);
	border: 1px solid rgba(17, 24, 39, 0.12);
	border-radius: var(--avg18-radius, 16px);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
	color: var(--avg18-text-color, #111111);
	font-family: inherit;
	max-width: var(--avg18-max-width, 520px);
	padding: 32px;
	text-align: center;
	width: 100%;
}

.avg18-age-gate-logo {
	display: block;
	height: auto;
	margin: 0 auto 18px;
	max-height: 90px;
	max-width: 180px;
	object-fit: contain;
	width: auto;
}

.avg18-age-gate-badge {
	align-items: center;
	background: rgba(17, 24, 39, 0.08);
	border-radius: 999px;
	color: var(--avg18-text-color, #111111);
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0.08em;
	margin-bottom: 18px;
	min-height: 40px;
	min-width: 64px;
	padding: 8px 14px;
	text-transform: uppercase;
}

.avg18-age-gate-title {
	color: var(--avg18-text-color, #111111);
	font-size: clamp(24px, 4vw, 34px);
	line-height: 1.15;
	margin: 0 0 14px;
}

.avg18-age-gate-message {
	color: var(--avg18-text-color, #111111);
	font-size: 16px;
	line-height: 1.6;
	margin: 0 auto 26px;
	max-width: 46em;
	opacity: 0.88;
}

.avg18-age-gate-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.avg18-age-gate-button {
	appearance: none;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	min-height: 46px;
	padding: 13px 22px;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.avg18-age-gate-button:hover,
.avg18-age-gate-button:focus {
	opacity: 0.9;
	transform: translateY(-1px);
}

.avg18-age-gate-button:focus {
	outline: 3px solid rgba(59, 130, 246, 0.45);
	outline-offset: 2px;
}

.avg18-age-gate-button-primary {
	background: var(--avg18-confirm-bg, #1a7f37);
	color: var(--avg18-confirm-color, #ffffff);
}

.avg18-age-gate-button-secondary {
	background: var(--avg18-deny-bg, #f3f4f6);
	color: var(--avg18-deny-color, #111111);
}

@media (max-width: 600px) {
	.avg18-age-gate-overlay {
		padding: 16px;
	}

	.avg18-age-gate-dialog {
		padding: 24px 18px;
	}

	.avg18-age-gate-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.avg18-age-gate-button {
		width: 100%;
	}
}
