.djs-minimap {
  position: absolute;
  top: 10px;
  right: 10px;
  overflow: hidden;
  background-color: #fcfcfcfc;
  user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
}

@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
  .djs-minimap {
    background-color: #e8e8e8cc;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}

.djs-minimap:not(.open) {
  overflow: hidden;
}

.djs-minimap .map {
  display: none;
}

.djs-minimap.open .map {
  display: block;
}

.djs-minimap .map {
  width: 240px;
  height: 120px;
}

.djs-minimap:not(.open) .toggle {
  width: 0;
  height: 0;
  line-height: 23px;
  text-align: center;
  visibility: hidden;
}

.djs-minimap:not(.open) .toggle:before {
  content: 'Open';
}

.djs-minimap.open .toggle {
  position: absolute;
  right: 0;
  padding: 6px;
  z-index: 1;
  visibility: hidden;
}

.djs-minimap.open .toggle:before {
  content: 'Close';
}

.djs-minimap .map {
  cursor: crosshair;
}

.djs-minimap .viewport {
  /* fill: rgba(255, 116, 0, 0.25); */
  fill: none;
  stroke: none;
}

.djs-minimap .viewport-dom {
  position: absolute;
  border: solid 2px orange;
  border-radius: 2px;
  box-sizing: border-box;
  cursor: move;
}

.djs-minimap:not(.open) .viewport-dom {
  display: none;
}

.djs-minimap.open .overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.djs-minimap .cursor-crosshair {
  cursor: crosshair;
}

.djs-minimap .cursor-move {
  cursor: move;
}
