/* Uses the theme's colors when it defines them (Second Wind theme), with fallbacks for any other theme. */
.swc-age-gate-open,
.swc-age-gate-open body {
	overflow: hidden;
}

.swc-age-gate {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(36, 28, 23, 0.72);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.swc-age-gate__card {
	width: 100%;
	max-width: 420px;
	padding: 40px 32px 28px;
	border-radius: 16px;
	background: var(--wp--preset--color--base, #fbf8f3);
	color: var(--wp--preset--color--contrast, #2b211b);
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	font-family: inherit;
}

.swc-age-gate__site {
	margin: 0 0 8px;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-1, #9a5b34);
}

.swc-age-gate__title {
	margin: 0 0 12px;
	font-size: 1.75rem;
	line-height: 1.2;
}

.swc-age-gate__msg {
	margin: 0 0 24px;
	line-height: 1.5;
}

.swc-age-gate__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.swc-age-gate__actions button {
	padding: 14px 20px;
	border-radius: 999px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	border: 2px solid var(--wp--preset--color--contrast, #2b211b);
}

.swc-age-gate__yes {
	background: var(--wp--preset--color--contrast, #2b211b);
	color: var(--wp--preset--color--base, #fbf8f3);
}

.swc-age-gate__no {
	background: transparent;
	color: inherit;
}

.swc-age-gate__actions button:focus-visible {
	outline: 3px solid var(--wp--preset--color--accent-1, #9a5b34);
	outline-offset: 2px;
}

.swc-age-gate__warning {
	margin: 24px 0 0;
	font-size: 0.72rem;
	line-height: 1.4;
	opacity: 0.7;
}
