.leaflet-bar,
.leaflet-touch .leaflet-bar {
    border: 0;
    box-shadow: none;
}
.leaflet-bar a,
.leaflet-touch .leaflet-bar a {
    width: 44px;
    height: 44px;
    line-height: 42px;
    background: #fff;
    color: #080808;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    margin-bottom: 8px;
}
.leaflet-bar a:hover,
.leaflet-bar a:focus,
.leaflet-touch .leaflet-bar a:hover,
.leaflet-touch .leaflet-bar a:focus {
    background: #f6f6f6;
    color: #080808;
}
.leaflet-bar a:first-child,
.leaflet-bar a:last-child,
.leaflet-touch .leaflet-bar a:first-child,
.leaflet-touch .leaflet-bar a:last-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom: 1px solid #e5e5e5;
}
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: rgba(226, 238, 176, 0.9);
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background-color: #b5d335;
    color: #141414;
    font-weight: 600;
}
.leaflet-bar a.map-locate {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.leaflet-bar a.map-locate svg,
.map-legend svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.map-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 12px 16px;
    color: #080808;
    font: 500 14px/1.2 Onest, Manrope, sans-serif;
}
.map-legend svg { stroke: #8fad1c; }
.leaflet-control-scale-line {
    border: 1px solid #080808;
    border-top: 0;
    background: rgba(255, 255, 255, 0.9);
    color: #080808;
    font-size: 12px;
}
/* Легенда прогноза клёва на общей карте */
.map-score-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--muted-2, #6b7280);
}
.map-score-legend-label { font-weight: 600; color: #141414; }
.map-score-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-score-legend i {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    opacity: .85;
}
.map-note { margin: 12px 0 0; color: var(--muted-2, #6b7280); font-size: 14px; }
/* Фильтр по рыбе на общей карте */
.map-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin: 0 0 16px;
}
.map-fish-filter { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.map-fish-filter select {
    padding: 8px 12px;
    border: 1px solid var(--line, #e5e5e5);
    border-radius: 12px;
    background: #fff;
    font: inherit;
    font-weight: 400;
    min-width: 220px;
    max-width: 100%;
}
.map-fish-note { margin: 0; color: var(--muted-2, #6b7280); font-size: 14px; }
.map-seo { margin: 28px 0 0; max-width: 820px; }
.map-seo h2 { margin: 0 0 10px; }
.map-seo p { color: var(--muted-2, #6b7280); margin: 0 0 12px; }
@media (max-width: 640px) {
    .map-fish-filter { width: 100%; }
    .map-fish-filter select { flex: 1; min-width: 0; }
}

/* иконка свёрнутого переключателя слоёв: в leaflet.css пропали
   background-image и размеры, кнопка рисовалась пустым квадратом */
.leaflet-control-layers-toggle {
    background-image: url(/assets/leaflet/images/layers.png);
    background-size: 24px 24px;
    width: 44px;
    height: 44px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .leaflet-control-layers-toggle {
        background-image: url(/assets/leaflet/images/layers-2x.png);
        background-size: 24px 24px;
    }
}

/* тайлы карты не должны тянуться как картинки браузером */
.leaflet-container img.leaflet-tile,
.leaflet-container .leaflet-marker-icon,
.leaflet-container .leaflet-interactive {
    -webkit-user-drag: none;
    user-select: none;
}
