/* HFD 18+ age gate — same tokens as directory.css (ink + gold brand) */
:root {
	--hfd-bg: #0b0d0f;
	--hfd-panel: #14171d;
	--hfd-panel-2: #191c23;
	--hfd-ink: #f3f1ea;
	--hfd-muted: #9496a0;
	--hfd-faint: #5b5d66;
	--hfd-gold: #d4af37;
	--hfd-gold-soft: #ecd98c;
	--hfd-border: rgba(255, 255, 255, 0.08);
}

.hfd-age {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background:
		radial-gradient(ellipse 80% 55% at 50% -5%, rgba(212, 175, 55, 0.18), transparent 50%),
		radial-gradient(ellipse 50% 40% at 100% 100%, rgba(63, 163, 150, 0.06), transparent 45%),
		rgba(11, 13, 15, 0.97);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}
.hfd-age[hidden] { display: none !important; }

.hfd-age__card {
	width: min(400px, 100%);
	padding: 32px 26px 24px;
	border-radius: 16px;
	background:
		linear-gradient(160deg, rgba(212, 175, 55, 0.08) 0%, transparent 42%),
		linear-gradient(180deg, #181b22 0%, var(--hfd-panel) 50%, #0c0e12 100%);
	border: 1px solid rgba(212, 175, 55, 0.34);
	box-shadow:
		0 0 0 1px rgba(236, 217, 140, 0.05) inset,
		0 28px 70px rgba(0, 0, 0, 0.6);
	text-align: center;
	color: var(--hfd-ink);
}
.hfd-age__brand {
	font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
	font-size: 1.45rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	background: linear-gradient(135deg, var(--hfd-gold-soft) 0%, var(--hfd-gold) 55%, #b8942a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin: 0 0 14px;
}
.hfd-age__title {
	margin: 0 0 10px;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--hfd-ink);
}
.hfd-age__text {
	margin: 0 0 22px;
	font-size: 0.94rem;
	line-height: 1.55;
	color: var(--hfd-muted);
}
.hfd-age__actions {
	display: grid;
	gap: 10px;
}
.hfd-age__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 13px 16px;
	border-radius: 12px;
	font-size: 0.94rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	border: 0;
	transition: transform 0.12s ease, filter 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.hfd-age__btn:focus-visible {
	outline: 2px solid var(--hfd-gold-soft);
	outline-offset: 2px;
}
/* Primary CTA = same gold as directory Apply / badges */
.hfd-age__btn--enter {
	background: linear-gradient(135deg, var(--hfd-gold-soft), var(--hfd-gold));
	color: #1a1206;
	box-shadow: 0 8px 24px rgba(212, 175, 55, 0.32);
}
.hfd-age__btn--enter:hover {
	transform: translateY(-1px);
	filter: brightness(1.06);
}
.hfd-age__btn--leave {
	background: transparent;
	color: var(--hfd-muted);
	border: 1px solid rgba(212, 175, 55, 0.22);
}
.hfd-age__btn--leave:hover {
	color: var(--hfd-ink);
	border-color: rgba(212, 175, 55, 0.45);
	background: rgba(212, 175, 55, 0.07);
}
.hfd-age__note {
	margin: 18px 0 0;
	font-size: 11px;
	line-height: 1.45;
	color: var(--hfd-faint);
}
body.hfd-age-locked {
	overflow: hidden !important;
}

/* Never show Aurora fuchsia age UI */
#aurora-agegate,
.aurora-agegate {
	display: none !important;
}
