#feature-tour-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	pointer-events: auto;
	cursor: default;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}

#feature-tour-overlay.feature-tour-visible {
	opacity: 1;
	visibility: visible;
}

#feature-tour-overlay.feature-tour-over-target {
	cursor: pointer;
}

.feature-tour-hole {
	position: fixed;
	border-radius: 6px;
	box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.62);
	border: 2px solid #f0ad4e;
	pointer-events: none;
	z-index: 100001;
	opacity: 0;
	transform: scale(0.96);
	transition:
		top 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		left 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.28s ease,
		transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

#feature-tour-overlay.feature-tour-visible .feature-tour-hole {
	opacity: 1;
	transform: scale(1);
}

.feature-tour-hole.feature-tour-hole-pulse {
	animation: featureTourHolePulse 0.55s ease-in-out 2;
}

@keyframes featureTourHolePulse {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.62), 0 0 0 0 rgba(240, 173, 78, 0.55);
	}
	50% {
		transform: scale(1.045);
		box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.62), 0 0 0 10px rgba(240, 173, 78, 0);
	}
}

.feature-tour-target {
	outline: none;
}

.feature-tour-card {
	position: fixed;
	z-index: 100003;
	background: #fff;
	border: 1px solid #e7eaec;
	border-radius: 8px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
	padding: 12px 14px;
	padding-right: 36px;
	max-width: 320px;
	color: #333;
	font-size: 13px;
	line-height: 1.45;
	pointer-events: auto;
	cursor: default;
	opacity: 0;
	transform: translateY(8px);
	transition:
		top 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		left 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.28s ease,
		transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-tour-close {
	position: absolute;
	top: 4px;
	right: 6px;
	width: 28px;
	height: 28px;
	padding: 0;
	border: none;
	background: transparent;
	color: #d9534f;
	font-size: 22px;
	font-weight: 700;
	line-height: 28px;
	text-align: center;
	cursor: pointer;
	border-radius: 4px;
}

.feature-tour-close:hover,
.feature-tour-close:focus {
	color: #c9302c;
	background: rgba(217, 83, 79, 0.08);
	outline: none;
}

#feature-tour-overlay.feature-tour-visible .feature-tour-card {
	opacity: 1;
	transform: translateY(0);
}

#feature-tour-overlay.feature-tour-card-swap .feature-tour-card {
	opacity: 0;
	transform: translateY(6px);
}

.feature-tour-card-text {
	font-weight: 600;
	margin-bottom: 6px;
}

.feature-tour-card-meta {
	font-size: 11px;
	color: #888;
	margin-bottom: 10px;
}

.feature-tour-skip {
	width: 100%;
	cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
	#feature-tour-overlay,
	.feature-tour-hole,
	.feature-tour-card {
		transition: none !important;
	}

	.feature-tour-hole.feature-tour-hole-pulse {
		animation: none !important;
	}
}
