@media (hover: hover) and (pointer: fine) {
	body.has-custom-cursor,
	body.has-custom-cursor * {
		cursor: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.has-custom-cursor,
	body.has-custom-cursor * {
		cursor: auto !important;
	}

	.sb-custom-cursor__dot,
	.sb-custom-cursor__ring {
		display: none !important;
		transition: none !important;
		animation: none !important;
	}
}

.sb-custom-cursor__dot,
.sb-custom-cursor__ring {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999;
	pointer-events: none;
	opacity: 1;
	transform: translate3d(-50%, -50%, 0);
	will-change: transform;
}

.sb-custom-cursor__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255, 253, 253, 0.62);
	mix-blend-mode: exclusion;
	transition:
		width 300ms cubic-bezier(0.16, 1, 0.3, 1),
		height 300ms cubic-bezier(0.16, 1, 0.3, 1),
		border-radius 300ms cubic-bezier(0.16, 1, 0.3, 1),
		background-color 220ms ease,
		opacity 220ms ease;
}

.sb-custom-cursor__ring {
	width: 36px;
	height: 36px;
	border: 1.5px solid rgba(255, 253, 253, 0.58);
	border-radius: 50%;
	background: transparent;
	mix-blend-mode: exclusion;
	transition:
		width 380ms cubic-bezier(0.16, 1, 0.3, 1),
		height 380ms cubic-bezier(0.16, 1, 0.3, 1),
		border-width 360ms cubic-bezier(0.22, 1, 0.36, 1),
		border-color 280ms ease,
		background-color 220ms ease,
		mix-blend-mode 240ms ease,
		opacity 220ms ease;
}

.sb-custom-cursor__label,
.sb-custom-cursor__drag {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	color: var(--sb-color-white);
	pointer-events: none;
	user-select: none;
	transition: opacity 180ms ease;
}

.sb-custom-cursor__code-icon,
.sb-custom-cursor__rocket {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	color: var(--sb-color-white);
	pointer-events: none;
	user-select: none;
	transform: scale(0.88);
	transform-origin: center center;
	transition:
		opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Capabilities: mismo ritmo que search — sin anillo; color acento (no blanco como current focus). */
.sb-custom-cursor__capabilities {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	color: var(--sb-color-accent);
	pointer-events: none;
	user-select: none;
	transform: scale(0.74);
	transform-origin: center center;
	transition:
		opacity 200ms ease,
		transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Method: mismo ritmo que search — salida rápida en base; entrada lenta + retardo con .is-method. */
.sb-custom-cursor__method-icon {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	color: var(--sb-color-white);
	pointer-events: none;
	user-select: none;
	transform: scale(0.74);
	transform-origin: center center;
	transition:
		opacity 200ms ease,
		transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Search: salida rápida en base; entrada lenta + retardo solo con .is-search (evita el “flash”). */
.sb-custom-cursor__search {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	color: var(--sb-color-white);
	pointer-events: none;
	user-select: none;
	transform: scale(0.74);
	transform-origin: center center;
	transition:
		opacity 200ms ease,
		transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.sb-custom-cursor__label {
	font-family: var(--sb-font-body);
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
}

.sb-custom-cursor__drag {
	gap: 5px;
}

.sb-custom-cursor__drag svg {
	display: block;
	width: 15px;
	height: 15px;
	stroke: currentColor;
	stroke-width: 1.8;
}

.sb-custom-cursor__code-icon svg {
	display: block;
	width: 13px;
	height: 13px;
	stroke: currentColor;
	stroke-width: 1.5;
}

.sb-custom-cursor__method-icon-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	transform: rotate(var(--sb-cursor-method-rotate, 0deg));
	transform-origin: center center;
}

.sb-custom-cursor__method-icon svg {
	display: block;
	width: 22px;
	height: 22px;
	stroke: currentColor;
	stroke-width: 1.1;
}

.sb-custom-cursor__rocket-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	transform: rotate(var(--sb-cursor-rocket-rotate, -6deg));
}

.sb-custom-cursor__rocket svg {
	display: block;
	width: 1.3em;
	height: 1.3em;
	stroke: currentColor;
	stroke-width: 1.5;
}

.sb-custom-cursor__dot.is-hovering {
	width: 10px;
	height: 10px;
	background: var(--sb-color-accent);
	mix-blend-mode: normal;
}

.sb-custom-cursor__ring.is-hovering {
	width: 52px;
	height: 52px;
	border-width: 1.5px;
	border-style: solid;
	border-color: var(--sb-color-accent);
	background: var(--sb-color-accent-soft);
	mix-blend-mode: normal;
}

.sb-custom-cursor__dot.is-media,
.sb-custom-cursor__dot.is-drag,
.sb-custom-cursor__dot.is-marquee,
.sb-custom-cursor__dot.is-method,
.sb-custom-cursor__dot.is-code,
.sb-custom-cursor__dot.is-rocket,
.sb-custom-cursor__dot.is-search,
.sb-custom-cursor__dot.is-capabilities {
	width: 4px;
	height: 4px;
	opacity: 0;
}

.sb-custom-cursor__ring.is-media {
	width: 80px;
	height: 80px;
	border-width: 1.5px;
	border-style: solid;
	border-color: rgba(255, 253, 253, 0.56);
	background: transparent;
	mix-blend-mode: exclusion;
}

.sb-custom-cursor__ring.is-drag {
	width: 72px;
	height: 72px;
	border-width: 1.5px;
	border-style: solid;
	border-color: rgba(255, 253, 253, 0.18);
	background: rgba(46, 44, 56, 0.38);
	backdrop-filter: blur(10px);
	mix-blend-mode: normal;
}

.sb-custom-cursor__ring.is-drag.is-light {
	border-color: rgba(46, 44, 56, 0.18);
	background: rgba(255, 255, 255, 0.34);
	color: rgba(46, 44, 56, 0.82);
	backdrop-filter: blur(10px);
}

.sb-custom-cursor__ring.is-drag .sb-custom-cursor__drag {
	opacity: 1;
}

.sb-custom-cursor__ring.is-drag.is-light .sb-custom-cursor__drag {
	color: rgba(46, 44, 56, 0.82);
}

.sb-custom-cursor__ring.is-marquee {
	width: 76px;
	height: 76px;
	border-width: 1.5px;
	border-style: solid;
	border-color: rgba(255, 253, 253, 0.5);
	background: transparent;
	mix-blend-mode: exclusion;
}

.sb-custom-cursor__dot.is-metrics {
	width: 5px;
	height: 5px;
	opacity: 0.72;
}

.sb-custom-cursor__ring.is-metrics {
	width: 68px;
	height: 68px;
	border-width: 1.5px;
	border-style: solid;
	border-color: rgba(255, 253, 253, 0.52);
	background: transparent;
	mix-blend-mode: exclusion;
}

.sb-custom-cursor__ring.is-method {
	width: 28px;
	height: 28px;
	border-width: 0;
	border-color: transparent;
	border-style: solid;
	border-radius: 50%;
	background: transparent;
	backdrop-filter: none;
	mix-blend-mode: exclusion;
}

.sb-custom-cursor__ring.is-method::before,
.sb-custom-cursor__ring.is-method::after {
	display: none;
}

.sb-custom-cursor__ring.is-method .sb-custom-cursor__method-icon {
	opacity: 0.72;
	transform: scale(1);
	color: var(--sb-color-white);
	transition:
		opacity 720ms cubic-bezier(0.16, 1, 0.22, 1),
		transform 760ms cubic-bezier(0.14, 1, 0.2, 1);
	transition-delay: 130ms;
}

.sb-custom-cursor__ring.is-code {
	width: 72px;
	height: 72px;
	border-width: 1.5px;
	border-style: solid;
	border-color: rgba(255, 253, 253, 0.46);
	background: transparent;
	mix-blend-mode: exclusion;
}

.sb-custom-cursor__ring.is-code .sb-custom-cursor__code-icon {
	opacity: 0.72;
	transform: scale(1);
}

.sb-custom-cursor__ring.is-rocket {
	width: 72px;
	height: 72px;
	border-width: 1.5px;
	border-style: solid;
	border-color: rgba(255, 253, 253, 0.46);
	background: transparent;
	mix-blend-mode: exclusion;
}

.sb-custom-cursor__ring.is-rocket .sb-custom-cursor__rocket {
	opacity: 0.72;
	transform: scale(1);
}

.sb-custom-cursor__ring.is-capabilities {
	width: 28px;
	height: 28px;
	border-width: 0;
	border-color: transparent;
	border-style: solid;
	border-radius: 50%;
	background: transparent;
	backdrop-filter: none;
	mix-blend-mode: normal;
}

.sb-custom-cursor__ring.is-capabilities::before,
.sb-custom-cursor__ring.is-capabilities::after {
	display: none;
}

.sb-custom-cursor__ring.is-capabilities .sb-custom-cursor__capabilities {
	opacity: 0.72;
	transform: scale(1);
	color: var(--sb-color-accent);
	transition:
		opacity 720ms cubic-bezier(0.16, 1, 0.22, 1),
		transform 760ms cubic-bezier(0.14, 1, 0.2, 1);
	transition-delay: 130ms;
}

.sb-custom-cursor__capabilities svg {
	display: block;
	width: 22px;
	height: 22px;
	stroke: currentColor;
	stroke-width: 1.8;
}

.sb-custom-cursor__ring.is-search {
	width: 28px;
	height: 28px;
	border-width: 0;
	border-color: transparent;
	border-style: solid;
	border-radius: 50%;
	background: transparent;
	backdrop-filter: none;
	mix-blend-mode: normal;
}

.sb-custom-cursor__ring.is-search::before,
.sb-custom-cursor__ring.is-search::after {
	display: none;
}

.sb-custom-cursor__ring.is-search .sb-custom-cursor__search {
	opacity: 0.72;
	transform: scale(1);
	color: rgba(248, 250, 252, 0.9);
	transition:
		opacity 720ms cubic-bezier(0.16, 1, 0.22, 1),
		transform 760ms cubic-bezier(0.14, 1, 0.2, 1);
	transition-delay: 130ms;
}

.sb-custom-cursor__search svg {
	display: block;
	width: 22px;
	height: 22px;
	stroke: currentColor;
	stroke-width: 1.8;
}

.sb-custom-cursor__dot.is-text {
	width: 2px;
	height: 1.2em;
	border-radius: 1px;
	background: var(--sb-color-accent);
	mix-blend-mode: normal;
}

.sb-custom-cursor__ring.is-text {
	width: 20px;
	height: 20px;
	opacity: 0;
}

.sb-custom-cursor__dot.is-clicking {
	transform: translate3d(-50%, -50%, 0) scale(0.6);
}

.sb-custom-cursor__ring.is-clicking {
	transform: translate3d(-50%, -50%, 0) scale(0.85);
}

.sb-custom-cursor__dot.is-hidden,
.sb-custom-cursor__ring.is-hidden {
	opacity: 0;
}
