.field-map {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #455364;
  border-radius: 10px;
  background: var(--brand-navy);
  box-shadow: 0 24px 70px #03070e8c;
}

.map-surface {
  position: relative;
  min-height: 16rem;
  aspect-ratio: 1.45;
  overflow: hidden;
  background:
    linear-gradient(160deg, #101b2841, #101b2819 45%, #101b2860),
    url('assets/terrain.webp') center / cover no-repeat,
    var(--brand-navy);
}

.map-surface::before,
.map-surface::after {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
}

.map-surface::before {
  background-image:
    linear-gradient(90deg, #e2e9f019 1px, transparent 1px),
    linear-gradient(#e2e9f019 1px, transparent 1px);
  background-position: center;
  background-size: 64px 64px;
}

.map-surface::after {
  z-index: 1;
  box-shadow: inset 0 0 56px #101b2848;
}

.map-network {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
}

.map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  min-height: 53px;
  padding: 12px 16px;
  border-top: 1px solid #455364;
  color: var(--on-dark);
  font-size: .875rem;
  line-height: 1.4;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #d2dbe5;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.map-legend span::before {
  content: '';
  width: 8px;
  height: 8px;
  border: 1px solid var(--brand-peach);
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-orange) 38%, transparent 42%);
}

.map-legend span:nth-child(2)::before {
  width: 13px;
  height: 0;
  border: 0;
  border-top: 1px solid var(--brand-peach);
  border-radius: 0;
  background: none;
}
