.m404ac-banner,
.m404ac-reopen {
	font-family: Arial, sans-serif;
	box-sizing: border-box;
}

.m404ac-banner[hidden],
.m404ac-reopen[hidden] {
	display: none !important;
}

.m404ac-banner {
	position: fixed;
	z-index: 999999;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 18px 24px;
	color: #f7f6f2;
	background: #171819;
	border-top: 3px solid #c91f2d;
	box-shadow: 0 -10px 35px rgba(0, 0, 0, .22);
}

.m404ac-copy {
	max-width: 850px;
}

.m404ac-copy strong {
	display: block;
	margin: 0 0 7px;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: .02em;
}

.m404ac-copy p {
	margin: 0;
	color: #dddcd7;
	font-size: 13px;
	line-height: 1.55;
}

.m404ac-privacy {
	display: flex;
	gap: 16px;
	margin-top: 8px;
}

.m404ac-privacy a {
	color: #c5c2bb;
	font-size: 11px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.m404ac-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
}

.m404ac-actions button,
.m404ac-reopen {
	min-height: 42px;
	border-radius: 2px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.m404ac-actions button {
	padding: 0 16px;
	border: 1px solid #c91f2d;
}

.m404ac-deny {
	color: #f7f6f2;
	background: transparent;
}

.m404ac-allow {
	color: #fff;
	background: #c91f2d;
}

.m404ac-actions button:hover,
.m404ac-reopen:hover {
	filter: brightness(1.12);
}

.m404ac-actions button:focus-visible,
.m404ac-reopen:focus-visible,
.m404ac-privacy a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.m404ac-reopen {
	position: fixed;
	z-index: 999998;
	left: 10px;
	bottom: max(10px, env(safe-area-inset-bottom));
	min-height: 32px;
	padding: 0 10px;
	color: #e9e7e1;
	background: #171819;
	border: 1px solid #555;
	font-size: 11px;
}

@media (max-width: 760px) {
	.m404ac-banner {
		align-items: stretch;
		flex-direction: column;
		gap: 12px;
		padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
	}

	.m404ac-copy strong {
		font-size: 15px;
	}

	.m404ac-copy p {
		font-size: 12px;
	}

	.m404ac-actions {
		width: 100%;
	}

	.m404ac-actions button {
		flex: 1 1 50%;
		padding: 0 10px;
		font-size: 12px;
	}
}
