.heraldry-cursor-wrapper {
  pointer-events: none;
  // opacity: 1 !important;

  // top: 420px !important;
  // left: 420px !important;
}

.heraldry-cursor {
  display: block;
  position: relative;

  width: 24px;
  height: 24px;
  border-radius: 12px;
  border-top-left-radius: 3px;
  transition: 0.12s ease-in-out;
  border: 1px solid #bba6a6;
  background: rgba(255, 255, 255, 0.73);
  -webkit-backdrop-filter: blur(8px) saturate(1.5) contrast(0.7);
  backdrop-filter: blur(8px) saturate(1.5) contrast(0.7);
  box-shadow: -5px -5px 10px #fff inset, -4px -4px 5px #fff inset, 0 3px 14px -5px #f4f3f2c4, 0 7px 3px -6px #d7d7d7c4;

  .map-wrapper:active & {
    border-radius: 50px;
    // 312f2f
    border: 1px solid #bba6a6;
    box-shadow: -2px -2px 10px #fff inset, 0 0 5px #fff inset, 0 3px 14px -5px #f4f3f2c4, 0 7px 3px -6px #d7d7d7c4;
  }

  .heraldry-cursor-wrapper--without-content & {
    width: 14px;
    height: 14px;
    border: 1px solid #dbd7d7;
    border-color: #bba6a6;
    box-shadow: -5px -5px 10px #fff inset, -4px -4px 5px #fff inset, 0 3px 14px -5px #f4f3f2c4, 0 7px 3px -6px #d7d7d7c4;
  }
}

.heraldry-cursor-marker {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4px;
  color: #ffdada;
  background-color: #170505;
  font-size: 10px;
  min-width: 15px;
  white-space: nowrap;
  height: 15px;
  line-height: 15px;
  border-radius: 10px;
  border-bottom-right-radius: 2px;
  position: absolute;
  bottom: calc(100% + 4px);
  right: calc(100% + 4px);
  font-weight: 500;
  letter-spacing: 0.08em;
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.18) 0px 1px 2px 0px;
  transition: 0.12s ease-in-out;
  transform-origin: top left;
  animation: 0.3s heraldryCursorMarker forwards ease-in;

  .map-wrapper:active & {
    bottom: 100%;
    right: 100%;
  }
}

@keyframes heraldryCursorMarker {
  0% {
    font-size: 15px;
    opacity: 0;
    transform: scale(0) translate(-50px, -50px);
  }

  70% {
    transform: scale(1.3) translate(0, 0);
  }

  100% {
    font-size: 10px;
    opacity: 1;
    transform: scale(1) translate(0, 0);
  }
}
