.mobile-menu-toggle,
.mobile-panels-backdrop {
	display: none;
}

@media (max-width: 760px) {
	.mobile-menu-toggle {
		position: fixed;
		top: 10px;
		right: 10px;
		z-index: 1002;
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 9px 12px;
		border: 1px solid #777;
		border-radius: 3px;
		background: #111;
		color: #fff;
		font: 600 14px "Roboto Mono", monospace;
		cursor: pointer;
	}

	.mobile-menu-toggle:focus-visible {
		outline: 2px solid #aaa;
		outline-offset: 2px;
	}

	.mobile-menu-icon {
		font-size: 20px;
		line-height: 1;
	}

	.mobile-panels-backdrop {
		position: fixed;
		inset: 0;
		z-index: 1000;
		display: block;
		padding: 0;
		border: 0;
		background: rgb(0 0 0 / 65%);
		opacity: 0;
		visibility: hidden;
	}

	body.mobile-panels-open .mobile-panels-backdrop {
		opacity: 1;
		visibility: visible;
	}

	body.dark-mode .mobile-menu-toggle {
		filter: invert(1) hue-rotate(180deg);
	}

	.navigation-frame,
	.sections-frame,
	.article-sidebar {
		position: fixed !important;
		left: 0;
		z-index: 1001;
		width: min(88vw, 380px) !important;
		margin: 0 !important;
		visibility: hidden;
	}

	.navigation-frame,
	.article-sidebar {
		top: 0;
		height: 58dvh !important;
		transform: translateX(-105%);
	}

	.sections-frame {
		top: auto !important;
		bottom: 0;
		height: 42dvh !important;
		transform: translateX(-105%);
	}

	body.mobile-panels-open .navigation-frame,
	body.mobile-panels-open .article-sidebar,
	body.mobile-panels-open .sections-frame {
		visibility: visible;
		transform: translateX(0);
	}

	.article-layout {
		display: block;
		height: auto;
		min-height: 100%;
	}

	.article-main {
		width: 100%;
	}

	.article-panel,
	.article-navigation-frame {
		height: calc(58dvh - 21px) !important;
	}
}
