/* Стили карты «Легаси» */
.km-map {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #16202B;
  border: 1px solid var(--line, #36445A);
  touch-action: none;
  user-select: none;
  cursor: grab;
}
.km-map:active { cursor: grabbing; }
.km-tiles, .km-markers { position: absolute; inset: 0; }
.km-tiles img {
  position: absolute;
  filter: brightness(0.72) saturate(0.85) contrast(1.05);
  pointer-events: none;
}
.km-markers { pointer-events: none; }
.km-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 14px 14px 14px 4px;
  background: #8DB0DC;
  color: #13202F;
  font: 600 13px/28px "Golos Text", system-ui, sans-serif;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}
.km-pin-b { background: #6FC08F; }
.km-ctrls {
  position: absolute;
  right: 8px;
  top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.km-ctrls button {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid #36445A;
  background: rgba(34, 44, 57, .92);
  color: #E3E8EF;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}
.km-attr {
  position: absolute;
  right: 6px;
  bottom: 4px;
  font-size: 10px;
  color: #94A1B3;
  background: rgba(26, 34, 45, .75);
  padding: 1px 5px;
  border-radius: 6px;
}
.km-attr a { color: inherit; }
