.entry-content .wag-content-gate,
.wag-content-gate {
	box-sizing: border-box;
}

.entry-content .wag-content-gate--locked,
.wag-content-gate--locked {
	margin: 1.5rem 0;
	border-radius: 10px;
	overflow: hidden;
	clear: both;
}

.entry-content .wag-content-gate__mask,
.wag-content-gate__mask {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 2rem 1.25rem;
	text-align: center;
	border: 1px dashed var(--wag-border-color, rgba(0, 0, 0, 0.12));
	border-radius: 10px;
	background: var(--wag-gate-bg, rgba(0, 0, 0, 0.03));
}

.entry-content .wag-content-gate--login .wag-content-gate__mask,
.entry-content .wag-content-gate[data-gate='login'] .wag-content-gate__mask,
.wag-content-gate--login .wag-content-gate__mask,
.wag-content-gate[data-gate='login'] .wag-content-gate__mask {
	border-color: rgba(34, 113, 177, 0.35);
	background: rgba(34, 113, 177, 0.06);
}

.entry-content .wag-content-gate--reply .wag-content-gate__mask,
.entry-content .wag-content-gate--reply-closed .wag-content-gate__mask,
.entry-content .wag-content-gate[data-gate='reply'] .wag-content-gate__mask,
.wag-content-gate--reply .wag-content-gate__mask,
.wag-content-gate--reply-closed .wag-content-gate__mask,
.wag-content-gate[data-gate='reply'] .wag-content-gate__mask {
	border-color: rgba(0, 163, 42, 0.35);
	background: rgba(0, 163, 42, 0.06);
}

.entry-content .wag-content-gate__icon,
.wag-content-gate__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	font-size: 1rem;
	color: var(--wag-gate-icon-color, rgba(0, 0, 0, 0.55));
	background: var(--wag-gate-icon-bg, rgba(255, 255, 255, 0.75));
}

.entry-content .wag-content-gate__title,
.wag-content-gate__title {
	margin: 0.35rem 0 0;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
}

.entry-content .wag-content-gate__desc,
.wag-content-gate__desc {
	margin: 0;
	max-width: 28rem;
	font-size: 0.875rem;
	opacity: 0.78;
	line-height: 1.5;
}

.entry-content .wag-content-gate__action,
.wag-content-gate__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.65rem;
	padding: 0.45rem 1rem;
	border: 0;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	color: #fff;
	background: #2271b1;
	transition: opacity 0.15s ease;
}

.entry-content .wag-content-gate__action:hover,
.entry-content .wag-content-gate__action:focus-visible,
.wag-content-gate__action:hover,
.wag-content-gate__action:focus-visible {
	opacity: 0.88;
	color: #fff;
}

.entry-content .wag-content-gate--reply .wag-content-gate__action,
.entry-content .wag-content-gate[data-gate='reply'] .wag-content-gate__action,
.wag-content-gate--reply .wag-content-gate__action,
.wag-content-gate[data-gate='reply'] .wag-content-gate__action {
	background: #008a20;
}

.entry-content .wag-content-gate--reply-closed .wag-content-gate__action,
.wag-content-gate--reply-closed .wag-content-gate__action {
	display: none;
}

.entry-content .wag-content-gate--unlocked,
.wag-content-gate--unlocked {
	margin: 1.25rem 0;
	padding: 1rem 1.1rem;
	border-left: 3px solid rgba(34, 113, 177, 0.45);
	border-radius: 0 8px 8px 0;
	background: rgba(34, 113, 177, 0.04);
}

.entry-content .wag-content-gate--unlocked[data-gate='reply'],
.wag-content-gate--unlocked[data-gate='reply'] {
	border-left-color: rgba(0, 163, 42, 0.45);
	background: rgba(0, 163, 42, 0.04);
}

body.dark .entry-content .wag-content-gate__mask,
body.dark .wag-content-gate__mask,
[data-theme='dark'] .entry-content .wag-content-gate__mask,
[data-theme='dark'] .wag-content-gate__mask {
	--wag-gate-bg: rgba(255, 255, 255, 0.04);
	--wag-border-color: rgba(255, 255, 255, 0.14);
	--wag-gate-icon-bg: rgba(255, 255, 255, 0.08);
	--wag-gate-icon-color: rgba(255, 255, 255, 0.72);
}

body.dark .entry-content .wag-content-gate--unlocked,
body.dark .wag-content-gate--unlocked {
	background: rgba(255, 255, 255, 0.04);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme='light']) .entry-content .wag-content-gate__mask,
	:root:not([data-theme='light']) .wag-content-gate__mask {
		--wag-gate-bg: rgba(255, 255, 255, 0.04);
		--wag-border-color: rgba(255, 255, 255, 0.14);
		--wag-gate-icon-bg: rgba(255, 255, 255, 0.08);
		--wag-gate-icon-color: rgba(255, 255, 255, 0.72);
	}
}
