/* Explore -> Map (Feature 7): the map page (.emap) - scoped only. Pins are divIcons (.emap-pin / .emap-cluster). */
.emap .emap-filters { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.emap .emap-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.emap .emap-chips a { padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: 14px; text-decoration: none; }
.emap .emap-chips a[aria-current="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.emap .emap-cat select { height: 38px; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0 12px; font-size: 14px; background: var(--surface); }
.emap .emap-stage { position: relative; }
.emap .emap-map { height: 480px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--line-2); z-index: 0; }
.emap .emap-near { position: absolute; top: 12px; right: 12px; z-index: 500; display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border: 0; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--s2); font-weight: 600; font-size: 14px; cursor: pointer; }
.emap .emap-near:disabled { opacity: .6; }
.emap .emap-note { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 500; margin: 0; padding: 10px 12px; border-radius: var(--r); background: var(--surface); box-shadow: var(--s2); font-size: 14px; }
.emap .emap-rail { margin-top: 16px; scroll-snap-type: x mandatory; }
.emap .emap-card { flex: none; width: 260px; scroll-snap-align: start; border-radius: var(--r-lg); transition: box-shadow .2s; }
.emap .emap-card .ev-card { width: 100%; }
.emap .emap-card.is-on { box-shadow: 0 0 0 3px var(--acc); }
.emap .emap-credit { margin: 12px 0 0; font-size: 13px; color: var(--mut); }
.emap .emap-pin { background: none; border: 0; }
.emap .emap-pin span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--acc); border: 3px solid #fff; box-shadow: var(--s2); }
.emap .emap-pin span b { transform: rotate(45deg); color: var(--ink); font-size: 13px; }
.emap .emap-cluster { background: none; border: 0; }
.emap .emap-cluster span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--cream); font-weight: 700; border: 3px solid #fff; box-shadow: var(--s2); }
.emap .emap-pop { display: grid; gap: 6px; min-width: 200px; font-family: var(--ff); }
.emap .emap-pop a { display: grid; color: var(--ink); text-decoration: none; padding: 6px 0; border-top: 1px solid var(--line); }
.emap .emap-pop a span { font-weight: 700; }
.emap .emap-pop small { color: var(--mut); }
@media (max-width: 767px) {
    .emap .emap-filters { flex-wrap: nowrap; gap: 8px; }
    .emap .emap-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
    .emap .emap-chips::-webkit-scrollbar { display: none; }
    .emap .emap-chips a { white-space: nowrap; }
    .emap .emap-cat select { max-width: 130px; }
    .emap .emap-map { height: 400px; }
    .emap .emap-card { width: 78vw; max-width: 280px; }
}
