.has-mobile-menu .nav-toggle {
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	display: none;
	place-items: center;
	cursor: pointer;
	flex: 0 0 auto;
}

.has-mobile-menu .nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: #f8fbff;
	transition: transform 220ms ease, opacity 220ms ease;
}

.has-mobile-menu .nav-toggle span + span {
	margin-top: 4px;
}

.has-mobile-menu[data-menu-open="true"] .nav-toggle span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.has-mobile-menu[data-menu-open="true"] .nav-toggle span:nth-child(2) {
	opacity: 0;
}

.has-mobile-menu[data-menu-open="true"] .nav-toggle span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.has-mobile-menu .mobile-menu {
	position: fixed;
	inset: var(--nav-h, 70px) 0 0;
	z-index: 70;
	padding: 12px 24px max(24px, env(safe-area-inset-bottom));
	background: rgba(7, 10, 17, 0.96);
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(18px);
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-12px);
	transition: opacity 240ms ease, transform 240ms ease, visibility 240ms ease;
}

.has-mobile-menu .mobile-menu.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
}

.has-mobile-menu[data-menu-open="true"] {
	overflow: hidden;
}

.has-mobile-menu .mobile-menu__links {
	display: grid;
	gap: 0;
}

.has-mobile-menu .mobile-menu__links a {
	min-height: 48px;
	display: flex;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(248, 251, 255, 0.78);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
	text-decoration: none;
}

.has-mobile-menu .mobile-menu__links a:last-of-type {
	border-bottom-color: transparent;
}

.has-mobile-menu .mobile-menu__links a.is-profile-link {
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid rgba(18, 174, 232, 0.5);
	border-radius: 8px;
	background: rgba(18, 174, 232, 0.12);
	color: #f8fbff;
	text-transform: none;
}

.mobile-page-nav {
	display: none;
}

@media (min-width: 721px) {
	.has-mobile-menu .mobile-menu {
		display: none;
	}
}

@media (max-width: 720px) {
	.has-mobile-menu header nav[aria-label="Primary"],
	.has-mobile-menu header .top-nav {
		display: none !important;
	}

	.has-mobile-menu .nav-toggle {
		display: grid !important;
	}

	.has-mobile-menu .mobile-menu {
		padding-inline: 14px;
	}

	.mobile-page-nav {
		position: fixed;
		inset: 0 0 auto;
		z-index: 80;
		min-height: var(--nav-h, 70px);
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		padding-inline: 14px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
		background: rgba(7, 10, 17, 0.88);
		backdrop-filter: blur(18px);
		box-shadow: 0 18px 56px rgba(0, 0, 0, 0.24);
	}

	.mobile-page-nav .brand,
	.mobile-page-nav .brand__plate {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.mobile-page-nav .brand__plate {
		width: 138px;
		height: 40px;
		padding: 7px 8px;
		border-radius: 8px;
		background: rgba(255, 255, 255, 0.96);
		box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
	}

	.mobile-page-nav .brand img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}

	.has-auth-mobile-nav .auth-page {
		padding-top: calc(var(--nav-h, 70px) + 18px);
	}

	.has-auth-mobile-nav .auth-shell > .brand {
		display: none;
	}
}
