/* Front-end overlay (jen v admin náhledu přes ?fmc_overlay=1). Tracking samotný nic nevykresluje. */

#fmc-overlay-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	z-index: 2147483000;
	pointer-events: none;
}

.fmc-badge {
	position: absolute;
	transform: translate(-50%, -50%);
	min-width: 34px;
	padding: 3px 7px;
	border-radius: 999px;
	background: #2563eb;
	color: #fff;
	font: 600 12px/1.1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
	border: 2px solid #fff;
	pointer-events: auto;
	cursor: default;
	white-space: nowrap;
}

.fmc-badge__count {
	display: block;
	font-size: 13px;
}

.fmc-badge__pct {
	display: block;
	font-size: 10px;
	opacity: 0.85;
}

.fmc-badge--hot {
	background: #dc2626;
}

.fmc-badge--active {
	background: #f59e0b;
	color: #111;
	transform: translate(-50%, -50%) scale(1.25);
	z-index: 2147483001;
}

.fmc-tracked-outline {
	outline: 2px dashed rgba(37, 99, 235, 0.6) !important;
	outline-offset: 1px;
}

/* Legenda v samostatném (celookenním) náhledu */
#fmc-overlay-bar {
	position: fixed;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2147483002;
	max-width: 90vw;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(17, 24, 39, 0.92);
	color: #fff;
	font: 600 12px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
}
