/**
 * Cursor-Kreis – Styles für .cursor-circle Elemente und den Kreis selbst.
 * Logik: /js/cursor-circle.js
 */

.cursor-circle {
	cursor: none;
}

@media (hover: none), (pointer: coarse) {
	.cursor-circle {
		cursor: auto;
	}
}

.fj-cursor-circle {
	position: fixed;
	top: 0;
	left: 0;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	text-align: center;
	padding: 8px;
	box-sizing: border-box;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	pointer-events: none;
	z-index: 999999;
	transform: translate(-50%, -50%) scale(0) rotate(-60deg);
	opacity: 0;
	transition: transform 0.25s ease, opacity 0.25s ease;
	will-change: transform, opacity;
}

.fj-cursor-circle.is-active {
	transform: translate(-50%, -50%) scale(1) rotate(-20deg);
	opacity: 1;
}

.fj-cursor-circle__icon {
	width: 28px;
	height: 28px;
	object-fit: contain;
	flex-shrink: 0;
}

/* Unsichtbares Duplikat zum Messen der Textgrösse (siehe cursor-circle.js) –
   erbt Schrift/Padding vom echten Kreis, aber ohne feste Breite/Höhe, damit
   die natürliche Textgrösse ermittelt werden kann. */
.fj-cursor-circle.fj-cursor-circle--measure {
	position: absolute;
	top: -9999px;
	left: -9999px;
	width: auto;
	height: auto;
	white-space: nowrap;
	visibility: hidden;
	transform: none;
	opacity: 1;
}
