/* hoverHud.css */
/* Compact row/col HUD for .lh-box control container */

#hover-hud {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 2px 6px;
	border-radius: 6px;
	background: #eee;
	border: 1px solid #ccc;
	font: 12px/1.2 ui-monospace, monospace;
	color: #000;
}

#hover-hud .k {
	opacity: .6;
}

#hover-hud .v {
	min-width: 2ch;
	text-align: right;
}

/* #hud-back { pointer-events: none; } */



#gamepadOverlayToggle,
#gamepad-debug-overlay-toggle,
button[data-ge-overlay-toggle="true"],
.ge-overlay-latch-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	font-size: 13px;
	font-weight: 700;
	width: auto;
	min-width: 92px;
	pointer-events: auto;
	background: #202020 !important;
	background-color: #202020 !important;
	border: 1px solid #777 !important;
	color: #ffffff !important;
	text-shadow: 0 1px 1px #000;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

#gamepadOverlayToggle:not(:disabled),
#gamepad-debug-overlay-toggle:not(:disabled),
button[data-ge-overlay-toggle="true"]:not(:disabled),
.ge-overlay-latch-button:not(:disabled) {
	opacity: 1 !important;
	cursor: pointer;
}

#gamepadOverlayToggle[aria-pressed="true"],
#gamepad-debug-overlay-toggle[aria-pressed="true"],
button[data-ge-overlay-toggle="true"][aria-pressed="true"],
.ge-overlay-latch-button[aria-pressed="true"] {
	background: #064fc4 !important;
	background-color: #064fc4 !important;
	border-color: rgba(120, 190, 255, 0.95) !important;
	color: #ffffff !important;
	box-shadow: 0 0 8px rgba(0, 102, 255, 0.75);
}

#gamepad-enforcer-overlay {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 10000;
	width: min(95vw, 720px);
	height: auto;
	max-height: 95vh;
	image-rendering: pixelated;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 12px;
	box-shadow: 0 0 18px rgba(0, 0, 0, 0.75);
	background: rgba(0, 0, 0, 0.58);
	pointer-events: none;
}

#gamepad-enforcer-overlay[hidden] {
	display: none !important;
}
