html.tia-age-locked,
html.tia-age-locked body {
	overflow: hidden !important;
	overscroll-behavior: none;
}

.tia-age-gate {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2147483647;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	overflow-y: auto;
	padding: 24px;
	background: var(--tia-age-overlay, rgba(8, 8, 11, .98));
	-webkit-backdrop-filter: blur(var(--tia-age-blur, 12px));
	backdrop-filter: blur(var(--tia-age-blur, 12px));
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html.tia-age-locked .tia-age-gate {
	display: flex;
}

.tia-age-card,
.tia-age-card * {
	box-sizing: border-box;
}

.tia-age-card [hidden] {
	display: none !important;
}

.tia-age-card {
	width: min(100%, 560px);
	margin: auto;
	padding: clamp(28px, 5vw, 48px);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 24px;
	background: #141419;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
	color: #f8f8fa;
	text-align: center;
}

.tia-age-mark {
	display: grid;
	width: 76px;
	height: 76px;
	margin: 0 auto 18px;
	place-items: center;
	border: 3px solid var(--tia-age-accent, #e3344f);
	border-radius: 50%;
	color: #fff;
	font-size: 27px;
	font-weight: 800;
	line-height: 1;
}

.tia-age-site {
	margin: 0 0 8px;
	color: var(--tia-age-accent, #e3344f);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.tia-age-card h2 {
	margin: 0 0 16px;
	color: #fff;
	font-size: clamp(25px, 5vw, 36px);
	font-weight: 800;
	line-height: 1.15;
}

.tia-age-description,
.tia-age-description p {
	color: #c9c9d0;
	font-size: 16px;
	line-height: 1.65;
}

.tia-age-description p {
	margin: 0 0 12px;
}

.tia-age-question {
	margin: 20px 0;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
}

.tia-age-actions {
	display: grid;
	gap: 12px;
}

.tia-age-button {
	appearance: none;
	width: 100%;
	min-height: 52px;
	padding: 13px 20px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.25;
	transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

.tia-age-button:hover {
	transform: translateY(-1px);
}

.tia-age-button:focus-visible {
	outline: 3px solid rgba(255, 255, 255, .9);
	outline-offset: 3px;
}

.tia-age-confirm {
	border-color: var(--tia-age-accent, #e3344f);
	background: var(--tia-age-accent, #e3344f);
	color: #fff;
}

.tia-age-deny {
	background: transparent;
	color: #e8e8ec;
}

.tia-age-deny:hover {
	border-color: rgba(255, 255, 255, .45);
	background: rgba(255, 255, 255, .06);
}

.tia-age-denied {
	margin: 22px 0 0;
	padding: 14px;
	border: 1px solid rgba(227, 52, 79, .45);
	border-radius: 12px;
	background: rgba(227, 52, 79, .1);
	color: #fff;
	font-weight: 700;
	line-height: 1.5;
}

@media (min-width: 560px) {
	.tia-age-actions {
		grid-template-columns: 1.35fr 1fr;
	}
}

@media (max-width: 480px) {
	.tia-age-gate {
		align-items: flex-start;
		padding: 14px;
	}

	.tia-age-card {
		border-radius: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tia-age-button {
		transition: none;
	}
}
