/**
 * MF Suite — Enlighter's code toolbar beyond the mouse (divb-hq#311, docs/core/compat.md).
 *
 * Enlighter shows its toolbar only on `.enlighter-default:hover` and hides it with
 * `display: none` otherwise, which also takes its buttons out of the tab order: a rule on
 * `:focus-within` alone could never fire (measured on Local: Tab skipped the toolbar). So
 * the toolbar stays in the layout and is hidden by its opacity instead. It shows on hover
 * as before, while focus is inside the code box, and always on a device that cannot
 * hover. The toolbar is positioned absolutely by Enlighter, so nothing moves. Measured on
 * the live post 32711 at 390 px: it sits in the code box's title bar and covers no code.
 */

.enlighter-default .enlighter-toolbar {
	display: block;
	opacity: 0;
}

.enlighter-default:hover .enlighter-toolbar,
.enlighter-default:focus-within .enlighter-toolbar {
	opacity: 1;
}

@media (hover: none) {

	.enlighter-default .enlighter-toolbar {
		opacity: 1;
	}
}

.enlighter-default .enlighter-btn:focus-visible {
	outline: 2px solid currentcolor;
	outline-offset: 2px;
}

.mf-enlighter-status {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
