:root:not(.volcane-age-confirmed):has(.volcane-age-gate[open]) {
	overflow: hidden;
}

.volcane-age-gate[open] {
	display: grid;
	position: fixed;
	z-index: 2147483647;
	inset: 0;
	place-items: center;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	max-width: none;
	max-height: none;
	box-sizing: border-box;
	padding: 2rem 1.25rem;
	border: 0;
	margin: 0;
	overflow-y: auto;
	background: var(--color-surface-dark, #111111);
	color: var(--color-on-dark, #ffffff);
	font: inherit;
}

.volcane-age-confirmed .volcane-age-gate,
.volcane-age-gate [hidden] {
	display: none;
}

.volcane-age-gate::backdrop {
	background: var(--color-surface-dark, #111111);
}

.volcane-age-gate__panel {
	width: 100%;
	max-width: 40rem;
	margin: auto;
	text-align: center;
}

.volcane-age-gate__logo {
	display: block;
	width: 15rem;
	max-width: 100%;
	height: auto;
	margin: 0 auto 2.5rem;
}

.volcane-age-gate__brand {
	font-size: 2rem;
	font-weight: 700;
}

.volcane-age-gate__title {
	margin: 0 0 1.5rem;
	color: inherit;
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 1.3;
}

.volcane-age-gate__title:focus {
	outline: none;
}

.volcane-age-gate__message {
	margin: 0 0 2rem;
	line-height: 1.6;
}

.volcane-age-gate__choices {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

.volcane-age-gate__button {
	min-height: 3rem;
	padding: 1rem 1.5rem;
	border: 0;
	border-radius: 0;
	background: var(--color-primary, #ffc123);
	color: var(--color-ink, #111111);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
	transition: background-color 0.2s;
}

.volcane-age-gate__button--decline {
	background: var(--color-on-dark, #ffffff);
}

.volcane-age-gate__button:disabled {
	opacity: 0.5;
	cursor: default;
}

.volcane-age-gate__privacy {
	display: inline-block;
	margin-top: 2rem;
	color: inherit;
	font-size: 0.875rem;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.volcane-age-gate__button:focus-visible,
.volcane-age-gate__privacy:focus-visible {
	outline: 2px solid var(--color-primary, #ffc123);
	outline-offset: 4px;
}

@media (hover: hover) {
	.volcane-age-gate__button:not(:disabled):hover {
		background: var(--color-on-dark, #ffffff);
	}

	.volcane-age-gate__button--decline:not(:disabled):hover {
		background: var(--color-primary, #ffc123);
	}

	.volcane-age-gate__privacy:hover {
		color: var(--color-primary, #ffc123);
	}
}

@media (max-width: 767px) {
	.volcane-age-gate__title {
		font-size: 1.5rem;
	}

	.volcane-age-gate__choices {
		flex-direction: column;
	}
}

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