.gather-minimap {
  position: absolute;
  right: max(14px, env(safe-area-inset-right));
  top: max(12px, env(safe-area-inset-top));
  width: 180px;
  z-index: 5;
  pointer-events: none;
}
.gather-minimap[hidden] {
  display: none;
}
.gather-minimap canvas {
  pointer-events: auto;
  cursor: pointer;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 5px #000a);
}
.minimap-inventory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 6px;
  font:
    11px system-ui,
    sans-serif;
  padding: 9px 7px;
  border-radius: 8px;
  background: #101b23ed;
}
.minimap-inventory span:nth-child(1) {
  color: #e9bd7f;
}
.minimap-inventory span:nth-child(2) {
  color: #85dafa;
}
.minimap-inventory span:nth-child(3) {
  color: #b9df92;
}
@media (max-width: 600px) {
  .minimap-inventory {
    font-size: 10px;
  }
  .minimap-inventory b {
    font-size: 11px;
  }
  .gather-minimap {
    width: 148px;
  }
  .corner-hud .hud-place {
    max-width: calc(100vw - 245px);
    padding-right: 0;
  }
  .corner-hud #hud-location {
    font-size: 17px;
  }
}

.minimap-destination {
  position: absolute;
  right: calc(100% + 8px);
  top: 0;
  width: min(190px, calc(100vw - 180px));
  pointer-events: auto;
  max-width: 220px;
  padding: 8px;
  color: #d1dadd;
  background: #142129;
  border: 1px solid #83999f;
  border-radius: 8px;
}
.map-destination svg {
  vertical-align: middle;
  margin-right: 10px;
}
.gather-minimap canvas[hidden] {
  display: none;
}
.minimap-inventory span {
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.minimap-inventory i {
  font-style: normal;
}
.minimap-inventory b {
  margin-left: auto;
  color: #f2f5f7;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.minimap-inventory span:nth-child(4) {
  color: #e6cf91;
}
.minimap-inventory .currency-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
