.hotspot {
    --hotspot-color: #ef4444;
    position: relative;
    width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    background: var(--hotspot-color);
    cursor: pointer;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.46),
        0 0 0 3px color-mix(in srgb, var(--hotspot-color) 24%, transparent);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.hotspot::after {
    content: none;
}

.hotspot:hover {
    transform: scale(1.28);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.5),
        0 0 0 4px color-mix(in srgb, var(--hotspot-color) 30%, transparent);
}

@keyframes hotspot-pulse {
    0% {
        transform: scale(0.92);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.18);
        opacity: 0;
    }

    100% {
        transform: scale(1.18);
        opacity: 0;
    }
}
