/* Mainframe map uses the forum's existing glass block, palette and typography. */
.f-map-panel {
  padding: 14px;
}
.f-map-toolbar {
  display: flex;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
}
.f-map-toolbar label {
  color: var(--muted);
  font-size: 12px;
}
.f-map-toolbar select {
  display: block;
  min-width: 220px;
  margin-top: 5px;
}
.f-map-zoom {
  display: flex;
  gap: 6px;
}
.f-map-names {
  display: flex;
  gap: 6px;
  align-items: center;
  padding-bottom: 8px;
}
.f-map-status {
  color: var(--green-mid);
  font-size: 12px;
  margin: 14px 0 8px;
}
.f-map-status[data-state="stale"],
.f-map-status[data-state="unavailable"],
.f-map-status[data-state="stopped"] {
  color: var(--amber);
}
.f-map-view {
  display: block;
  width: 100%;
  height: 460px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 8, 4, 0.9);
  cursor: grab;
  touch-action: none;
  overflow: hidden;
}
.f-map-view:active {
  cursor: grabbing;
}
.f-map-dot {
  fill: var(--green);
  stroke: #001e0e;
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
}
.f-map-marker:focus .f-map-dot,
.f-map-marker:hover .f-map-dot {
  fill: #fff;
  stroke: var(--green);
  stroke-width: 3px;
}
.f-map-label {
  fill: #d6ffef;
  stroke: #001008;
  stroke-width: 3px;
  paint-order: stroke;
  font-family: var(--mono);
  pointer-events: none;
}
.f-map-players {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  max-height: 150px;
  overflow: auto;
  padding: 8px 0 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.f-map-players:empty {
  display: none;
}
@media (max-width: 600px) {
  .f-map-panel {
    padding: 10px;
  }
  .f-map-toolbar {
    gap: 10px;
  }
  .f-map-toolbar select {
    min-width: 180px;
  }
  .f-map-view {
    height: 340px;
  }
}
