:root {
    --maryou-cursor-color: #d08a50;
    --maryou-cursor-z-index: 1000000000;
}

@media (pointer: fine) {
    html[data-maryou-cursor="enabled"],
    html[data-maryou-cursor="enabled"] * {
        cursor: none !important;
    }
}

.maryou-cursor-dot,
.maryou-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--maryou-cursor-z-index);
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: screen;
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
    will-change: auto;
}

.maryou-cursor-dot {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: var(--maryou-cursor-color);
    transition: width 180ms ease, height 180ms ease, border-radius 180ms ease, opacity 180ms ease;
}

.maryou-cursor-ring {
    width: 30px;
    height: 30px;
    border: 1px solid var(--maryou-cursor-color);
    border-radius: 10px;
    transition: width 180ms ease, height 180ms ease, border-radius 180ms ease, opacity 180ms ease;
}

html[data-maryou-cursor="enabled"].maryou-cursor-visible .maryou-cursor-dot,
html[data-maryou-cursor="enabled"].maryou-cursor-visible .maryou-cursor-ring {
    opacity: 1;
    will-change: transform;
}

.maryou-cursor-dot.is-action {
    width: 30px;
    height: 30px;
    border-radius: 9px;
}

.maryou-cursor-dot.is-text {
    width: 5px;
    height: 25px;
    border-radius: 3px;
}

.maryou-cursor-ring.is-text {
    width: 15px;
    height: 35px;
}

.maryou-cursor-dot.is-hidden,
.maryou-cursor-ring.is-hidden {
    opacity: 0 !important;
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
    .maryou-cursor-dot,
    .maryou-cursor-ring {
        display: none !important;
    }
}
