.fnm-wrap {
  position: relative;
  width: 100%;
  margin: 1.25rem 0;
}
.fnm-map {
  width: 100%;
  min-height: 360px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2ef;
}
.fnm-toolbar {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: .65rem;
}
.fnm-locate {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: .7rem 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: #222;
  box-shadow: 0 1px 6px rgba(0,0,0,.18);
}
.fnm-locate:hover { box-shadow: 0 2px 9px rgba(0,0,0,.24); }
.fnm-locate:disabled { opacity: .65; cursor: wait; }
.fnm-status { font-size: .92rem; }
.fnm-popup { min-width: 180px; }
.fnm-popup-image {
  display: block;
  margin: -1px -1px .6rem;
}
.fnm-popup-image img {
  display: block;
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 5px;
}
.fnm-popup-title {
  display: block;
  font-size: 1rem;
  margin-bottom: .5rem;
}
.fnm-popup-link {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
}
.fnm-user-icon-wrap {
  background: transparent;
  border: 0;
}
.fnm-user-icon {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1976d2;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(25,118,210,.28), 0 1px 5px rgba(0,0,0,.35);
}
@media (max-width: 600px) {
  .fnm-map { min-height: 70vh; border-radius: 6px; }
  .fnm-locate { width: 100%; }
}

.fnm-nearest {
  margin-top: 1rem;
  padding: 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
}
.fnm-nearest[hidden] { display: none; }
.fnm-nearest h3 {
  margin: 0 0 .8rem;
  font-size: 1.15rem;
}
.fnm-nearest-list {
  margin: 0;
  padding-left: 1.6rem;
}
.fnm-nearest-item {
  margin: 0 0 .55rem;
  padding-left: .15rem;
}
.fnm-nearest-item:last-child { margin-bottom: 0; }
.fnm-nearest-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: inherit;
  text-decoration: none;
}
.fnm-nearest-link:hover strong { text-decoration: underline; }
.fnm-nearest-link img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: cover;
  border-radius: 7px;
}
.fnm-nearest-text {
  display: flex;
  flex: 1;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.fnm-nearest-distance {
  white-space: nowrap;
  font-weight: 600;
}
@media (max-width: 600px) {
  .fnm-nearest { padding: .85rem; }
  .fnm-nearest-text {
    display: block;
  }
  .fnm-nearest-distance {
    display: block;
    margin-top: .15rem;
  }
}
