/*
	Возрастное предупреждение 18+ (гейт в стиле vc.ru).
	Раньше жил инлайн-<style> в include/adult_gate.php — вынесен в файл,
	чтобы публичный HTML не содержал стилей и комментариев.
	Подключается из include/adult_gate.php через Asset.
	Не забыть: rem не используем — Semantic UI задаёт html{font-size:14px},
	размеры — в px.
*/

.wxxx-adult-gate {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.wxxx-adult-gate__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 15, 15, 0.78);
}

.wxxx-adult-gate__card {
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: 10px;
	border-top: 4px solid var(--wxxx-red, #900909);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	width: 100%;
	max-width: 380px;
	padding: 28px 28px 22px;
	text-align: center;
}

.wxxx-adult-gate__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--wxxx-red, #900909);
	color: #fff;
	font-weight: 800;
	font-size: 16px;
	margin-bottom: 14px;
}

.wxxx-adult-gate__title {
	font-size: 20px;
	font-weight: 800;
	color: #111213;
	margin-bottom: 10px;
}

.wxxx-adult-gate__text {
	color: #55595e;
	font-size: 15px;
	line-height: 1.5;
	margin-bottom: 22px;
}

.wxxx-adult-gate__buttons {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-bottom: 14px;
}

.wxxx-adult-gate__btn {
	flex: 1;
	max-width: 160px;
	padding: 11px 14px;
	border: 0;
	border-radius: 6px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.wxxx-adult-gate__btn--confirm {
	background: var(--wxxx-red, #900909);
	color: #fff;
}

.wxxx-adult-gate__btn--confirm:hover {
	background: #b00b0b;
}

.wxxx-adult-gate__btn--close {
	background: #f0f1f3;
	color: #33373c;
}

.wxxx-adult-gate__btn--close:hover {
	background: #e2e4e7;
}

.wxxx-adult-gate__note {
	font-size: 12px;
	color: #93999f;
}

html.wxxx-adult-lock,
html.wxxx-adult-lock body {
	overflow: hidden !important;
}
