/* Mines map styling */
.mine-wrapper {
  pointer-events: auto;
}

.mine-icon {
  position: relative;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0f1a1a;
  box-shadow: 0 0 6px rgba(0, 255, 200, 0.25), inset 0 0 8px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 255, 200, 0.25);
  /* Ore donut: uses --mine-ore-deg (0..360) */
  /* Pulse on each cycle (visual tick) */
}
.mine-icon .glyph {
  font-size: 15px;
  left: 10px;
  z-index: 2;
  position: absolute;
}
.mine-icon .mine-label {
  position: absolute;
  bottom: -1.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  background: #1c2a2a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cfe;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  z-index: 3;
}
.mine-icon .unit-owner {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 1rem;
  height: 1rem;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
  z-index: 4;
}
.mine-icon .ore-donut {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(#00e0a0 var(--mine-ore-deg, 0deg), rgba(0, 0, 0, 0) 0deg);
  -webkit-mask: radial-gradient(circle 70% at 50% 50%, transparent 98%, black 100%);
          mask: radial-gradient(circle 70% at 50% 50%, transparent 98%, black 100%);
  z-index: 1;
}
.mine-icon .pulse {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: mine-pulse var(--mine-pulse, 0ms) steps(1, end) infinite;
  opacity: 0.8;
}
.mine-icon .mine-badge {
  position: absolute;
  bottom: -6px;
  right: -6px;
  font-size: 10px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 6px;
  background: #1c2a2a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cfe;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  z-index: 3;
}

.mine-free {
  box-shadow: 0 0 8px rgba(0, 255, 160, 0.45), inset 0 0 8px rgba(0, 0, 0, 0.6);
  border-color: rgba(0, 255, 160, 0.35);
}

.mine-owned {
  box-shadow: 0 0 10px rgba(77, 171, 255, 0.55), inset 0 0 8px rgba(0, 0, 0, 0.6);
  border-color: rgba(77, 171, 255, 0.45);
}

.mine-occupied {
  background-image: repeating-linear-gradient(135deg, rgba(255, 90, 90, 0.25) 0 6px, rgba(0, 0, 0, 0) 6px 12px);
  box-shadow: 0 0 10px rgba(255, 90, 90, 0.55), inset 0 0 8px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 90, 90, 0.45);
}
.mine-occupied .glyph {
  filter: drop-shadow(0 0 2px rgba(255, 90, 90, 0.6));
}

@keyframes mine-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/*# sourceMappingURL=resource-map.css.map */