body.aso-member-gate-actions-locked {
	--amg-green: #2d6a4f;
	--amg-green-dark: #1f4f3b;
	--amg-blue: #1e3a5f;
	--amg-muted: #64748b;
}

.aso-member-gate-modal-open {
	overflow: hidden;
}

.aso-member-gate-modal[hidden] {
	display: none !important;
}

.aso-member-gate-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: clamp(1rem, 4vw, 2.5rem);
	position: fixed;
	z-index: 99999;
}

.aso-member-gate-backdrop {
	background: rgba(15, 23, 42, .46);
	backdrop-filter: blur(8px);
	inset: 0;
	position: absolute;
}

.aso-member-gate-dialog {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 252, 250, .98)),
		linear-gradient(135deg, rgba(183, 228, 199, .3), rgba(183, 205, 232, .18));
	border: 1px solid rgba(45, 106, 79, .18);
	border-radius: 16px;
	box-shadow: 0 30px 80px rgba(15, 23, 42, .24);
	color: #102033;
	max-width: 520px;
	outline: 0;
	padding: clamp(1.35rem, 4vw, 2rem);
	position: relative;
	width: min(100%, 520px);
}

.aso-member-gate-close {
	align-items: center;
	background: rgba(45, 106, 79, .08);
	border: 1px solid rgba(45, 106, 79, .14);
	border-radius: 999px;
	color: var(--amg-green-dark);
	cursor: pointer;
	display: inline-flex;
	font-size: 1.45rem;
	font-weight: 700;
	height: 38px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 1rem;
	top: 1rem;
	width: 38px;
}

.aso-member-gate-kicker {
	background: rgba(183, 228, 199, .72);
	border-radius: 999px;
	color: var(--amg-green-dark);
	display: inline-flex;
	font-size: .72rem;
	font-weight: 900;
	letter-spacing: .08em;
	margin: 0 0 .85rem;
	padding: .42rem .8rem;
	text-transform: uppercase;
}

.aso-member-gate-dialog h2 {
	color: var(--amg-blue);
	font-family: "Lora", serif;
	font-size: clamp(1.9rem, 7vw, 2.75rem);
	line-height: 1.08;
	margin: 0 2rem .8rem 0;
}

.aso-member-gate-body {
	color: var(--amg-muted);
	font-size: 1rem;
	line-height: 1.7;
}

.aso-member-gate-body p {
	margin: 0 0 1rem;
}

.aso-member-gate-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 1.35rem;
}

.aso-member-gate-actions a,
.aso-member-gate-actions button {
	align-items: center;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-family: "DM Sans", sans-serif;
	font-size: .95rem;
	font-weight: 800;
	justify-content: center;
	min-height: 44px;
	padding: .76rem 1.18rem;
	text-decoration: none;
}

.aso-member-gate-register {
	background: var(--amg-green);
	border: 1px solid var(--amg-green);
	color: #fff;
}

.aso-member-gate-register:hover {
	background: var(--amg-green-dark);
	color: #fff;
}

.aso-member-gate-login,
.aso-member-gate-actions button {
	background: #fff;
	border: 1px solid rgba(45, 106, 79, .18);
	color: var(--amg-green-dark);
}

.aso-member-gate-login:hover,
.aso-member-gate-actions button:hover {
	background: rgba(183, 228, 199, .18);
	color: var(--amg-green-dark);
}

@media (max-width: 640px) {
	.aso-member-gate-modal {
		align-items: flex-end;
		padding: .75rem;
	}

	.aso-member-gate-dialog {
		border-radius: 16px 16px 12px 12px;
		max-height: calc(100vh - 1.5rem);
		overflow: auto;
		width: 100%;
	}

	.aso-member-gate-actions {
		flex-direction: column;
	}

	.aso-member-gate-actions a,
	.aso-member-gate-actions button {
		width: 100%;
	}
}
