@property --mk-cursor-angle {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}

.mk-cursor-on,
.mk-cursor-on * {
	cursor: none !important;
}

.mk-cursor-on input,
.mk-cursor-on textarea,
.mk-cursor-on select {
	cursor: text !important;
}

.mk-cursor {
	position: absolute;
	z-index: 90;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.mk-cursor__cur {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.mk-cursor.is-shown .mk-cursor__cur {
	opacity: 1;
}

.mk-cursor__ring {
	position: absolute;
	top: 0;
	left: 0;
	width: var(--mk-cursor-size, 38px);
	height: var(--mk-cursor-size, 38px);
	margin: calc(var(--mk-cursor-size, 38px) / -2) 0 0 calc(var(--mk-cursor-size, 38px) / -2);
	border-radius: 50%;
	transition: width 0.45s cubic-bezier(0.2, 0.9, 0.25, 1), height 0.45s cubic-bezier(0.2, 0.9, 0.25, 1), margin 0.45s cubic-bezier(0.2, 0.9, 0.25, 1), opacity 0.25s ease;
	will-change: transform;
}

.mk-cursor__lens {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08) 70%);
	-webkit-backdrop-filter: brightness(1.07) saturate(1.25);
	backdrop-filter: brightness(1.07) saturate(1.25);
	transition: background 0.4s ease;
}

.mk-cursor__edge {
	position: absolute;
	inset: 0;
	padding: 1.25px;
	border-radius: 50%;
	background: conic-gradient(from var(--mk-cursor-angle), rgba(141, 152, 255, 0.95), rgba(247, 163, 27, 0.9) 22%, rgba(201, 208, 255, 0.6) 48%, rgba(124, 131, 181, 0.85) 74%, rgba(141, 152, 255, 0.95));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	--mk-cursor-angle: 210deg;
	transition: opacity 0.3s ease;
}

.mk-cursor__halo {
	position: absolute;
	inset: -35%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(141, 152, 255, 0.16), rgba(141, 152, 255, 0));
	opacity: 0;
	transition: opacity 0.4s ease;
}

.mk-cursor__label {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #111142;
	font: 600 12px var(--wp--preset--font-family--inter);
	letter-spacing: 0.9px;
	text-transform: uppercase;
	opacity: 0;
	transform: scale(0.8);
	transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.9, 0.25, 1);
}

.mk-cursor__dot {
	position: absolute;
	top: 0;
	left: 0;
	width: 7px;
	height: 7px;
	margin: -3.5px 0 0 -3.5px;
	border-radius: 50%;
	background: radial-gradient(circle at 40% 35%, #ffe3a8 0%, #f7a31b 55%, #e58a00 100%);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 0 14px 3px rgba(247, 163, 27, 0.45);
	transition: opacity 0.25s ease;
	will-change: transform;
}

.mk-cursor__cur.is-link .mk-cursor__ring {
	--mk-cursor-size: 60px;
}

.mk-cursor__cur.is-link .mk-cursor__lens {
	background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.7), rgba(201, 208, 255, 0.28) 75%);
}

.mk-cursor__cur.is-link .mk-cursor__halo {
	opacity: 1;
}

.mk-cursor__cur.is-dark .mk-cursor__lens {
	background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06) 75%);
	-webkit-backdrop-filter: brightness(1.35);
	backdrop-filter: brightness(1.35);
}

.mk-cursor__cur.is-dark .mk-cursor__edge {
	background: conic-gradient(from var(--mk-cursor-angle), rgba(255, 255, 255, 0.95), rgba(247, 163, 27, 0.95) 25%, rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0.95));
}

.mk-cursor__cur.is-view .mk-cursor__ring {
	--mk-cursor-size: 92px;
}

.mk-cursor__cur.is-view .mk-cursor__lens {
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 18px 40px rgba(28, 35, 64, 0.1);
	-webkit-backdrop-filter: blur(8px) saturate(1.4);
	backdrop-filter: blur(8px) saturate(1.4);
}

.mk-cursor__cur.is-view .mk-cursor__label {
	opacity: 1;
	transform: none;
}

.mk-cursor__cur.is-view .mk-cursor__dot {
	opacity: 0;
}

.mk-cursor__cur.is-text .mk-cursor__ring {
	--mk-cursor-size: 26px;
}

.mk-cursor__cur.is-text .mk-cursor__edge {
	opacity: 0.55;
}

.mk-cursor__cur.is-field .mk-cursor__ring,
.mk-cursor__cur.is-field .mk-cursor__dot {
	opacity: 0;
}

.mk-cursor__ripple {
	position: absolute;
	top: 0;
	left: 0;
	width: 10px;
	height: 10px;
	margin: -5px 0 0 -5px;
	border: 1.5px solid rgba(247, 163, 27, 0.8);
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(141, 152, 255, 0.35);
	pointer-events: none;
	animation: mk-cursor-ripple 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes mk-cursor-ripple {

	from {
		opacity: 0.9;
		transform: var(--mk-cursor-at) scale(1);
	}

	to {
		opacity: 0;
		transform: var(--mk-cursor-at) scale(9);
	}
}

@media (max-width: 900px), (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {

	.mk-cursor {
		display: none !important;
	}
}
