.target-cursor-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 100002;
    mix-blend-mode: difference;
}

.target-cursor-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
}

.target-cursor-corner {
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 12px;
    border: 3px solid #ffffff;
    will-change: transform;
}

.corner-tl {
    transform: translate(-18px, -18px);
    border-right: none;
    border-bottom: none;
}

.corner-tr {
    transform: translate(6px, -18px);
    border-left: none;
    border-bottom: none;
}

.corner-br {
    transform: translate(6px, 6px);
    border-left: none;
    border-top: none;
}

.corner-bl {
    transform: translate(-18px, 6px);
    border-right: none;
    border-top: none;
}

body.target-cursor-active,
body.target-cursor-active * {
    cursor: none !important;
}

body.chat-open .target-cursor-wrapper {
    visibility: hidden;
}

body.chat-open,
body.chat-open * {
    cursor: auto !important;
}

@media (hover: none), (pointer: coarse) {
    .target-cursor-wrapper {
        display: none !important;
    }

    body.target-cursor-active,
    body.target-cursor-active * {
        cursor: auto !important;
    }
}
