.ovrform-gate-active {
	overflow: hidden;
}

.ovrform-gate {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 1.5rem;
	position: fixed;
	z-index: 999999;
}

.ovrform-gate__backdrop {
	background: rgba(15, 17, 21, 0.72);
	inset: 0;
	position: absolute;
	backdrop-filter: blur(8px);
}

.ovrform-gate__dialog {
	background: #faf9f5;
	border: 1px solid #d8d5cb;
	border-radius: 8px;
	box-shadow: 0 40px 90px -28px rgba(15, 17, 21, 0.7);
	color: #212628;
	max-height: calc(100vh - 3rem);
	max-width: 620px;
	overflow-y: auto;
	padding: clamp(1.5rem, 5vw, 3.5rem);
	position: relative;
	width: 100%;
}

.ovrform-gate__dialog h2 {
	color: #0f1115;
	font-family: Archivo, sans-serif;
	font-size: clamp(1.7rem, 4vw, 2.4rem);
	line-height: 1.08;
	margin: 0 0 1rem;
}

.ovrform-gate__dialog p {
	line-height: 1.65;
}

.ovrform-gate__eyebrow {
	color: #17924a;
	font-family: "Space Mono", monospace;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ovrform-gate__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.ovrform-gate__actions button {
	border: 1px solid #0f1115;
	border-radius: 4px;
	cursor: pointer;
	font: 700 0.78rem/1 "Space Mono", monospace;
	letter-spacing: 0.06em;
	min-height: 48px;
	padding: 0.9rem 1.2rem;
	text-transform: uppercase;
}

.ovrform-gate__accept {
	background: #0f1115;
	color: #fff;
}

.ovrform-gate__decline {
	background: transparent;
	color: #0f1115;
}

.ovrform-gate__blocked nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.5rem;
}

.ovrform-gate__blocked a {
	color: #17924a;
	font-weight: 700;
}

@media (max-width: 520px) {
	.ovrform-gate {
		padding: 0;
	}
	.ovrform-gate__dialog {
		border-radius: 0;
		max-height: 100vh;
		min-height: 100vh;
	}
	.ovrform-gate__actions,
	.ovrform-gate__actions form,
	.ovrform-gate__actions button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ovrform-gate__backdrop { backdrop-filter: none; }
}

