/* GSF04 Ver.30 — deterministic SVG paint order and balanced semantic colors.
   All geometry and stored state are untouched; numbers are still topmost. */
#selectedSingleBoothLayer {pointer-events:none}
#selectedSingleBoothLayer > .booth {pointer-events:none}

/* A searched booth is highlighted without a thick stroke swallowing its face.
   A CSS drop shadow avoids increasing the SVG geometry/stroke overlap. */
#boothLayer .booth.search-hit:not(.selected):not(.mergedSource),
#mergedBoothLayer .mergedBooth.search-hit:not(.selected) {
  fill:#fff0a4!important;
  stroke:#d6a13b!important;
  stroke-width:.75!important;
  stroke-opacity:1!important;
  fill-opacity:1!important;
  filter:drop-shadow(0 0 .58px rgba(237,178,55,.64));
}

/* Favorite mint: selected and unselected colors stay recognizable. */
#boothLayer .booth.favorite:not(.selected):not(.search-hit):not(.mergedSource),
#mergedBoothLayer .mergedBooth.favorite:not(.selected):not(.search-hit) {
  fill:#c8f2d9!important;
  stroke:#66b98b!important;
  stroke-width:.8!important;
  stroke-opacity:1!important;
  fill-opacity:1!important;
  filter:drop-shadow(0 0 1.5px rgba(97,204,149,.75));
}
/* The selected single booth is replicated visually in this final overlay.
   Its original interactive rect remains exactly where it was. */
#selectedSingleBoothLayer .booth.selected,
#selectedMergedBoothLayer .mergedBooth.selected,
#boothLayer .booth.selected:not(.mergedSource) {
  fill:#df4968!important;
  stroke:#962944!important;
  stroke-width:.85!important;
  fill-opacity:1!important;
  stroke-opacity:1!important;
  opacity:1!important;
  filter:none;
}
/* Favorite+selected: pastel mint inside, pink selection outline outside. */
#selectedSingleBoothLayer .booth.selected.favorite,
#selectedMergedBoothLayer .mergedBooth.selected.favorite,
#boothLayer .booth.selected.favorite:not(.mergedSource) {
  fill:#c8f2d9!important;
  stroke:#d64f7b!important;
  stroke-width:.9!important;
  filter:drop-shadow(0 0 1.5px rgba(97,204,149,.75));
}
/* We retain the map's original numbering group as the last painted layer. */
#numberLayer {pointer-events:none}
