/* Карта: подложка OpenStreetMap приглушена фильтром под тёмную тему (матово, без свечения). */
.map-screen { position: fixed; inset: 0; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; background: var(--bg); }
.map-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(12px + var(--safe-t)) 16px 8px; }
.map-top small { display: block; margin-top: 2px; }
.map-kinds { padding-bottom: 10px; }
.map-box { position: relative; flex: 1; min-height: 0; margin-bottom: var(--tabbar-h); border-top: 1px solid var(--line); }
#map { position: absolute; inset: 0; background: #1a1d24; }
.map-wait { position: absolute; inset: 0; min-height: 0; }
#map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.82) contrast(.92) saturate(.5); }
#map .leaflet-control-attribution { background: rgba(14, 16, 21, .85); color: var(--muted); font: 11px var(--f-body); }
#map .leaflet-control-attribution a { color: var(--ink); }
.mk { position: relative; display: block; width: 30px; height: 38px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); }
.mk img { width: 100%; height: 100%; display: block; }
.mk b { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: 99px; font: 700 10.5px/1 var(--f-body); background: var(--ink); color: var(--on-accent); border: 2px solid var(--bg); }
.map-peek { position: absolute; z-index: 500; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + 12px); display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); animation: fade .2s; }
.map-peek[hidden] { display: none; }
.map-peek .empty { padding: 12px; border: 0; }
.peek-head { display: flex; align-items: center; gap: 8px; }
.peek-head b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.peek-head small { flex: none; color: var(--muted); font-size: 12.5px; }
.peek-x { margin-left: auto; flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--raised); }
.peek-x svg { width: 16px; height: 16px; }
.peek-ev { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px; border-radius: 12px; text-align: left; background: var(--raised); }
.peek-ev img, .peek-ev > i { flex: none; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.peek-ev > i { display: grid; place-items: center; font-style: normal; font-size: 11px; color: var(--muted); background: var(--bg); }
.peek-ev span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.peek-ev > svg { flex: none; width: 20px; height: 20px; margin-right: 6px; color: var(--muted); }
.peek-ev small { color: var(--lavender); font-size: 12px; font-weight: 600; }
.peek-ev b { font-size: 14px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
