.l2-legal {
	position: fixed;
	inset: 0;
	z-index: 2147483600;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(16px, 4vh, 40px) 16px;
	background: rgba(5, 7, 10, .72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	opacity: 0;
	pointer-events: none;
	transition: opacity .22s ease;
}
.l2-legal.is-open {
	opacity: 1;
	pointer-events: auto;
}
.l2-legal__panel {
	width: min(720px, 100%);
	max-height: min(84vh, 860px);
	display: flex;
	flex-direction: column;
	background:
		linear-gradient(180deg, rgba(28, 24, 18, .98) 0%, rgba(14, 12, 10, .99) 100%);
	border: 1px solid rgba(201, 168, 96, .28);
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, .45),
		0 24px 64px rgba(0, 0, 0, .55);
	overflow: hidden;
	transform: translateY(8px);
	transition: transform .22s cubic-bezier(.22, 1, .36, 1);
}
.l2-legal.is-open .l2-legal__panel {
	transform: none;
}
.l2-legal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px 14px;
	border-bottom: 1px solid rgba(201, 168, 96, .16);
	flex: 0 0 auto;
}
.l2-legal__title {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #f0e6d2;
	line-height: 1.25;
}
.l2-legal__close {
	width: 36px;
	height: 36px;
	flex: 0 0 auto;
	border: 1px solid rgba(201, 168, 96, .28);
	background: rgba(255, 255, 255, .03);
	color: #e8dfcf;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.l2-legal__close:hover {
	border-color: rgba(240, 138, 29, .55);
	background: rgba(240, 138, 29, .1);
	color: #fff;
}
.l2-legal__scroll {
	padding: 18px 22px 28px;
	overflow: auto;
	overscroll-behavior: contain;
	color: #cfc6b6;
	font-family: Intro, "Open Sans", Tahoma, Arial, sans-serif;
	font-size: .92rem;
	line-height: 1.7;
	scrollbar-width: thin;
	scrollbar-color: rgba(201, 168, 96, .55) transparent;
}
.l2-legal__scroll::-webkit-scrollbar {
	width: 6px;
}
.l2-legal__scroll::-webkit-scrollbar-track {
	background: transparent;
	margin: 8px 0;
}
.l2-legal__scroll::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, rgba(223, 198, 131, .55), rgba(168, 132, 62, .4));
	border-radius: 99px;
}
.l2-legal__scroll::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, rgba(240, 210, 140, .7), rgba(189, 145, 55, .55));
}
.l2-legal__scroll p {
	margin: 0 0 1.05em;
}
.l2-legal__scroll p:last-child {
	margin-bottom: 0;
}
.l2-legal__scroll strong,
.l2-legal__scroll b {
	color: #efe4cf;
	font-weight: 650;
}
.l2-legal__loading,
.l2-legal__error {
	margin: 0;
	color: rgba(207, 198, 182, .75);
	font-size: .9rem;
}
.l2-legal__error {
	color: #d9a28a;
}
@media (max-width: 560px) {
	.l2-legal {
		padding: 10px;
		align-items: stretch;
	}
	.l2-legal__panel {
		max-height: none;
		height: 100%;
	}
	.l2-legal__head,
	.l2-legal__scroll {
		padding-left: 16px;
		padding-right: 16px;
	}
}
