.anti-spoiler {
    cursor: pointer;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease, text-shadow 0.3s ease, background-color 0.3s ease;
    color: transparent;
}

/* Style for blur effect */
.anti-spoiler.blur {
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.anti-spoiler.blur.revealed {
    color: inherit;
    text-shadow: none;
}

/* Style for mask effect */
.anti-spoiler.mask {
    color: inherit;
}

.mask-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: inherit;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.anti-spoiler.mask .mask-overlay {
    pointer-events: auto;
}