.cfb-stack {
	pointer-events: none;
}

.cfb-btn {
	pointer-events: auto;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cfb-btn:hover {
	transform: scale(1.08);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
}

.cfb-btn svg {
	display: block;
}

.cfb-btn img {
	display: block;
	object-fit: contain;
	border-radius: 50%;
}

.cfb-tooltip {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	white-space: nowrap;
	background: rgba(20, 20, 20, 0.9);
	color: #fff;
	font-size: 13px;
	line-height: 1.2;
	padding: 6px 10px;
	border-radius: 4px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease;
	pointer-events: none;
}

.cfb-show-labels .cfb-btn:hover .cfb-tooltip {
	opacity: 1;
	visibility: visible;
}

@keyframes cfb-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.35);
	}
	70% {
		box-shadow: 0 0 0 12px rgba(0, 0, 0, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}

.cfb-btn.cfb-pulse {
	animation: cfb-pulse 2s infinite;
}

@media (max-width: 480px) {
	.cfb-tooltip {
		display: none;
	}
}
