/* Desktop + tablet only — mobile warning */

.device-gate {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	isolation: isolate;
	align-items: center;
	justify-content: center;
	padding: 32px 28px;
	background: #0d0c0a;
	color: #c8c4bc;
	font-family: 'Poppins', sans-serif;
	text-align: center;
	overflow: hidden;
}

.device-gate::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: #111 url('../images/bg-team3.jpg') center / cover no-repeat;
	filter: blur(12px) brightness(0.35);
	pointer-events: none;
}

.device-gate::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(13, 12, 10, 0.62);
	pointer-events: none;
}

.device-gate-inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	max-width: 420px;
}

.device-gate-inner img {
	width: min(280px, 78vw);
	height: auto;
}

.device-gate-inner p {
	margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0.01em;
    color: #c8c4bc;
    text-align: center;
    max-width: 85%;
}

html.device-restricted,
html.device-restricted body,
body.device-restricted {
	overflow: hidden !important;
}

html.device-restricted body > :not(.device-gate),
body.device-restricted > :not(.device-gate) {
	display: none !important;
}

html.device-restricted .device-gate,
body.device-restricted .device-gate {
	display: flex;
}

@media (max-width: 767px) {
	html,
	body {
		overflow: hidden !important;
	}

	body > :not(.device-gate) {
		display: none !important;
	}

	.device-gate {
		display: flex;
	}
}
