/* Events page first-time tour (js/yodel-tour.js).
   Above everything, the pinned site header included (z-index 20000). Every
   rule is two classes deep: main.css styles bare elements under
   .template-* at (0,1,1) and would otherwise reach into the bubble. */

.mk-tour {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	background: transparent;
}

/* The spotlight: a hole in the dimming, drawn by its own shadow, so the
   control underneath shows through untouched. */
.mk-tour__spot {
	position: fixed;
	z-index: 2147483001;
	border-radius: 14px;
	box-shadow: 0 0 0 9999px rgba(18, 50, 60, 0.62), 0 0 0 3px #fff;
	pointer-events: none;
	transition: top 0.3s ease, left 0.3s ease, width 0.3s ease, height 0.3s ease, opacity 0.2s ease;
}

.mk-tour__bubble {
	--mk-tour-arrow: 50%;
	position: fixed;
	z-index: 2147483002;
	box-sizing: border-box;
	width: min(320px, calc(100vw - 24px));
	padding: 16px 18px 14px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
	font-family: "Montserrat", Arial, sans-serif;
	color: #1f2937;
	text-align: left;
	transition: top 0.3s ease, left 0.3s ease;
}
/* The pointer: a turned square on the edge facing the control. */
.mk-tour__bubble::before {
	content: "";
	position: absolute;
	top: -7px;
	left: var(--mk-tour-arrow);
	width: 14px;
	height: 14px;
	margin-left: -7px;
	background: #fff;
	transform: rotate(45deg);
}
.mk-tour__bubble.is-above::before { top: auto; bottom: -7px; }

.mk-tour__bubble .mk-tour__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 -8px 2px 0;
}
.mk-tour__bubble .mk-tour__count {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #b80f68;
}
.mk-tour__bubble .mk-tour__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
	color: #12323c;
}
.mk-tour__bubble .mk-tour__body {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #3d4b52;
}
.mk-tour__bubble .mk-tour__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
}
.mk-tour__bubble .mk-tour__dots { display: flex; gap: 6px; }
.mk-tour__bubble .mk-tour__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #e5e7eb;
}
.mk-tour__bubble .mk-tour__dot.is-on { background: #e11383; }
.mk-tour__bubble .mk-tour__btns { display: flex; gap: 8px; }

.mk-tour__bubble .mk-tour__btn,
.mk-tour__bubble .mk-tour__x {
	margin: 0;
	font-family: inherit;
	text-transform: none;
	letter-spacing: normal;
	text-shadow: none;
	box-shadow: none;
	cursor: pointer;
}
.mk-tour__bubble .mk-tour__btn {
	min-height: 40px;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}
.mk-tour__bubble .mk-tour__btn--next {
	border: 0;
	background: #e11383;
	color: #fff;
}
.mk-tour__bubble .mk-tour__btn--next:hover { background: #b80f68; }
.mk-tour__bubble .mk-tour__btn--back {
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #12323c;
}
.mk-tour__bubble .mk-tour__btn--back:hover { background: #f9fafb; }
.mk-tour__bubble .mk-tour__x {
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: none;
	color: #5b6472;
	font-size: 22px;
	line-height: 1;
}
.mk-tour__bubble .mk-tour__x:hover { background: #f3f4f6; }
.mk-tour__bubble .mk-tour__btn:focus-visible,
.mk-tour__bubble .mk-tour__x:focus-visible {
	outline: 3px solid #0f6f97;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.mk-tour__spot,
	.mk-tour__bubble { transition: none; }
}
