/* Styles from the MinedMap viewer (MIT), plus the back link. */
body {
  padding: 0;
  margin: 0;
}

html, body, #map {
  height: 100%;
}

body, .leaflet-container {
  background: #333;
}

.leaflet-container a.leaflet-popup-close-button {
  color: #ccc;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  color: #fff;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  background: rgba(64, 64, 64, 0.5);
}

.overzoomed {
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  -ms-interpolation-mode: nearest-neighbor;
}

.sign-wrapper {
  padding: 0;
  padding-left: 4px;
  margin-bottom: 2em;
}

.sign-wrapper:last-child {
  margin-bottom: 0;
}

.sign-title {
  color: #fff;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.sign-container {
  padding: 0;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sign-content {
  padding: 0;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  font-family: sans-serif;
}

span.obfuscated:hover {
  background-color: transparent !important;
}
    
.back-link {
  position: absolute;
  top: 10px;
  left: 54px;
  z-index: 1000;
  background: rgba(30, 30, 30, 0.85);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font: 14px system-ui, sans-serif;
  text-decoration: none;
}

.spawn-icon {
  background: #ffffff;
  border: 4px solid #e53935;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #111;
}
