.custom-cursor {
    position: fixed;
    z-index: 40;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    mix-blend-mode: difference;
    transform: translate3d(-50%, -50%, 0);
    pointer-events: none;
    transition: width .18s ease, height .18s ease, border .18s ease, background .18s ease, opacity .12s ease;
}

body.has-cookie-bar .custom-cursor {
    z-index: 70;
}

.custom-cursor span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #000;
    font-size: 0;
    font-weight: var(--font-weight-regular);
}

.custom-cursor.is-link {
    width: 34px;
    height: 34px;
}

.custom-cursor.is-locale {
    opacity: 0;
}

.custom-cursor.is-native {
    opacity: 0;
}

body.has-game-info .custom-cursor {
    opacity: 0;
}

.custom-cursor.is-play {
    width: 82px;
    height: 82px;
    mix-blend-mode: normal;
    background: #fff;
}

.custom-cursor.is-play span {
    font-size: 12px;
}

.custom-cursor.is-drag {
    width: 28px;
    height: 28px;
    background: var(--color-accent);
    mix-blend-mode: screen;
}

.custom-cursor.is-game {
    width: var(--game-cursor-length, 20px);
    height: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    mix-blend-mode: normal;
    opacity: 1;
    transition: none;
    will-change: transform, opacity;
}

.custom-cursor.is-game::before,
.custom-cursor.is-game::after {
    position: absolute;
    right: 0;
    content: '';
}

.custom-cursor.is-game::before {
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--color-accent);
    transform: translateY(-50%);
}

.custom-cursor.is-game::after {
    top: 50%;
    width: 5px;
    height: 5px;
    border-top: 1px solid var(--color-accent);
    border-right: 1px solid var(--color-accent);
    transform: translateY(-50%) rotate(45deg);
}

@media (pointer: coarse) {
    .custom-cursor {
        display: none;
    }

    body.has-custom-cursor {
        cursor: auto;
    }
}
