/* Explore owns its layout; other product screens retain their existing styling. */
:root {
  --explore-width: 420px;
  --explore-ink: #f0f4f5;
  --explore-muted: #aabac6;
  --explore-line: #293b49;
  --explore-bg: #101e2b;
  --map-bottom: 0px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.explore-sheet,
.dest-sheet {
  background: var(--explore-bg) !important;
  backdrop-filter: none !important;
  color: var(--explore-ink);
}
.explore-sheet button,
.explore-sheet input,
.explore-sheet select,
.detail-back,
.layers-menu {
  font: inherit;
}
.explore-sheet button,
.layers-trigger,
.detail-back {
  cursor: pointer;
}
.explore-sheet :focus-visible,
.dest-sheet :focus-visible,
.map-layer-toggle :focus-visible,
.map-util-btn:focus-visible,
.dock-item:focus-visible {
  outline: 3px solid #65e1d1;
  outline-offset: 3px;
}
.explore-sheet {
  left: 0;
  right: 0;
  top: auto;
  bottom: calc(74px + env(safe-area-inset-bottom));
  width: auto;
  height: 60dvh !important;
  max-height: calc(100dvh - 84px);
  border: 1px solid var(--explore-line);
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  transform: translateY(calc(100% + 100px));
  visibility: hidden;
  box-shadow: 0 -8px 32px #0003;
  transition:
    transform 0.25s,
    height 0.25s;
  overflow: hidden;
  z-index: 82;
}
.explore-sheet.open {
  visibility: visible;
  transform: none;
}
.explore-sheet.l1 {
  height: 232px !important;
}
.explore-sheet.l2 {
  height: 74dvh !important;
}
.explore-sheet.l3 {
  height: calc(100dvh - 84px) !important;
  bottom: calc(74px + env(safe-area-inset-bottom));
  border-radius: 20px 20px 0 0;
}
/* Slim grabber. The heading row is a second drag surface so a thumb can grab
   the sheet anywhere along the top; see initExploreInteractions in
   app-map-explore-today.js. */
.es-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 22px;
  min-height: 22px;
  padding: 0;
  background: none;
  border: 0;
  touch-action: none;
}
.es-handle span {
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 3px;
  background: #70818d;
}
/* Explicit flex column: this overrides the older gap+margin pair in index.html
   that used to double the spacing between the title, the mode toggle and search. */
.es-peek {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 18px;
  flex: none;
}
.es-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  margin: 0;
  touch-action: none;
}
.es-heading-title {
  font-family: var(--font-display, Georgia, serif);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 500;
  color: #f4f5f0;
}
.es-close {
  width: 40px;
  height: 40px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: #ffffff08;
  color: #b5c6d0;
  font-size: 26px !important;
}
/* index.html sets align-self:flex-start, which stopped the toggle stretching: the
   two buttons were squeezed to 82px and "I'm visiting" wrapped to two lines.
   align-self:stretch makes both halves equal width and the label always fits. */
.es-audience {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #091522;
  border-radius: 10px;
  margin: 0;
  align-self: stretch;
  width: 100%;
}
.es-audience-btn {
  flex: 1 1 0;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--explore-muted);
  height: 36px;
  font-size: 14px !important;
  white-space: nowrap;
  min-width: 0;
  padding: 0 8px;
}
.es-audience-btn[aria-pressed="true"] {
  background: #25413f;
  color: #a4f0e2;
}
.es-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid #52626c;
  background: #0b1722;
  border-radius: 10px;
  margin: 0;
}
.es-search svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: #a8c2c9;
}
.es-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  color: white;
  font-size: 16px;
}
.es-search input::placeholder {
  color: #a7b4bf;
  font-size: 14px;
}
/* Wrapped chip grid — deliberately NOT a horizontal scroller. Every category
   stays reachable by tapping at any width, with nothing hidden off-screen. */
.es-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  overflow: visible;
}
.es-ribbon button {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
}
.es-ribbon button svg {
  flex: none;
}
.es-ribbon button .es-chip-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.es-ribbon button.active,
.es-ribbon button[aria-pressed="true"] {
  background: #b4eddf;
  color: #122d2a;
  border-color: #b4eddf;
}
.es-browse-controls {
  padding: 8px 18px;
  flex: none;
  border-bottom: 1px solid var(--explore-line);
}
.es-filter-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.es-area-label {
  flex: 1;
  min-width: 0;
}
.es-area-label select {
  width: 100%;
  height: 44px;
  background: #182b39;
  border: 1px solid #3a4e5d;
  color: #e0e9ee;
  border-radius: 9px;
  padding: 0 10px;
  font-size: 14px;
}
.es-action {
  height: 44px;
  padding: 0 14px;
  border: 1px solid #3a4e5d;
  background: none;
  border-radius: 9px;
  color: #b4eddf;
  font-size: 14px !important;
}
.es-results-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  font-size: 12px;
  color: var(--explore-muted);
}
.es-results-heading button {
  border: 0;
  background: none;
  color: #a4e6d9;
  min-height: 34px;
  font-size: 12px;
}
.es-fit {
  margin-left: auto;
}
.es-data-status {
  font-size: 12px;
  line-height: 1.5;
  color: #edc68c;
  margin: 0;
}
.es-data-status:empty {
  display: none;
}
.es-body,
.explore-sheet.l2 .es-body,
.explore-sheet.l3 .es-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 18px 16px;
  flex: 1;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
/* One uniform card per place: fixed-height thumbnail, name clamped to two lines,
   then a meta line that wraps rather than truncates. Every row is at least 83px
   and rows only grow when the barangay and the travel time genuinely need a
   second line - nothing is ever cut off with an ellipsis. */
.explore-result {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  flex: none;
  min-height: 83px;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--explore-line);
  border-radius: 0;
  padding: 10px 0;
  color: var(--explore-ink);
}
.explore-result:hover {
  background: #ffffff05;
}
.explore-result.selected {
  background: #22423e;
  box-shadow: inset 3px 0 #9ce5d5;
}
.explore-result img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.explore-result-image {
  position: relative;
  overflow: hidden;
  width: 82px;
  height: 62px;
  flex: none;
  border-radius: 11px;
  background: #213947;
}
.sample-photo-badge {
  position: absolute;
  z-index: 2;
  left: 4px;
  bottom: 4px;
  padding: 2px 5px;
  border: 1px solid rgba(255, 228, 171, 0.32);
  border-radius: 999px;
  background: rgba(13, 20, 28, 0.84);
  color: #ffe5a8;
  font: 700 8px/1.2 var(--font-body);
  letter-spacing: 0.02em;
}
.sample-demo-label {
  color: #e9cb87;
  font-size: 0.62rem;
  font-weight: 600;
}
.explore-result-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.explore-result-copy strong {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
/* Wrap, never truncate. .result-access used to be flex:none, so on a 360px phone
   it ate the whole line and squeezed the barangay down to 14-22px of visible
   text. With wrapping the category+barangay keep line one and the travel time
   drops to line two only when it really does not fit. */
.result-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  row-gap: 3px;
  min-width: 0;
  flex-wrap: wrap;
  white-space: normal;
  overflow: visible;
}
.result-category {
  font-size: 11px;
  color: #a1d9cf;
  flex: none;
}
.result-area {
  font-size: 12px;
  color: #aabac6;
  min-width: 0;
  flex: 0 1 auto;
  white-space: nowrap;
}
.result-area svg {
  vertical-align: -2px;
}
.result-access {
  font-size: 11px;
  color: #8fb0b8;
  flex: none;
}
.result-arrow {
  color: #89a7ae;
  flex: none;
  display: flex;
}
.explore-empty {
  padding: 24px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #aabac6;
}
.explore-empty h3 {
  color: #edf3f3;
  font-size: 20px;
}
.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #94b7b8;
}
.image-placeholder svg {
  width: 28px;
  height: 28px;
}
.es-result-copy,
.result-copy {
  flex: 1;
  min-width: 0;
}
.explore-result h3 {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  margin: 4px 0 6px;
}
.explore-result p {
  font-size: 12px;
  color: var(--explore-muted);
  line-height: 1.5;
  margin: 0;
}
.explore-result small {
  font-size: 11px;
  color: #a1d9cf;
}
.explore-sheet.l1 .es-browse-controls,
.explore-sheet.l1 .es-body {
  display: none;
}
.es-empty {
  padding: 28px 0;
  color: #aabac6;
  font-size: 14px;
  line-height: 1.6;
}
.es-empty h3 {
  color: #edf3f3;
  font-size: 20px;
}
.es-empty button {
  min-height: 44px;
  background: #25413f;
  color: #bcf0e4;
  border: 1px solid #506d69;
  border-radius: 8px;
  padding: 8px 14px;
}
.map-layer-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  left: auto;
  bottom: auto;
  display: block !important;
  z-index: 85;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}
.layers-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid #5c707e;
  border-radius: 10px;
  background: #102130;
  color: #eef5f4;
  font-size: 14px;
  box-shadow: 0 3px 14px #0002;
}
.layers-trigger svg {
  width: 19px;
  height: 19px;
}
.layers-menu {
  position: absolute;
  right: 0;
  top: 54px;
  width: 260px;
  max-height: calc(100dvh - 160px);
  overflow: auto;
  background: #101e2b;
  color: #e4eeee;
  border: 1px solid #52636e;
  border-radius: 15px;
  padding: 16px;
  box-shadow: 0 10px 30px #0005;
}
.layers-menu fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.layers-menu legend {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a6c9c4;
  margin-bottom: 8px;
}
.layers-menu label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  font-size: 14px;
  cursor: pointer;
}
.layers-menu small {
  display: block;
  color: #a7b8c3;
  font-size: 11px;
  margin-top: 3px;
}
.layers-menu input {
  accent-color: #71d9c1;
  width: 18px;
  height: 18px;
}
.layers-menu > label {
  border-top: 1px solid #354957;
  margin-top: 8px;
  padding-top: 8px;
}
#locateMeBtn {
  top: 72px;
  right: 16px;
  min-height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: #102130;
  border: 1px solid #5c707e;
  color: #eef5f4;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  z-index: 65;
}
.leaflet-top.leaflet-right {
  top: 122px;
  right: 6px;
}
.leaflet-control-zoom {
  display: block !important;
  border: 1px solid #5c707e !important;
  border-radius: 10px !important;
  overflow: hidden;
}
.leaflet-control-zoom a {
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  background: #102130 !important;
  color: #e6eeef !important;
  border-color: #405565 !important;
}
.leaflet-bottom.leaflet-right {
  bottom: max(78px, var(--map-bottom));
  transition: bottom 0.2s;
}
.leaflet-control-attribution {
  max-width: calc(100vw - 20px);
  font-size: 10px !important;
  background: #fffffff2 !important;
  color: #243b45 !important;
  line-height: 1.5 !important;
}
.leaflet-control-attribution a {
  color: #174c57 !important;
}
.map-status {
  position: fixed;
  right: 72px;
  top: 74px;
  z-index: 84;
  max-width: min(320px, calc(100vw - 100px));
  padding: 12px 16px;
  border: 1px solid #597776;
  border-radius: 12px;
  background: #102130;
  color: #dceae8;
  font-size: 13px;
  line-height: 1.5;
}
/* The partner's middle way: the pins had shrunk to an 8px dot with a whisper of a
   glow ("I can barely see the sand colour for a beach"). They are back up to a
   12px neon disc — clearly readable against satellite imagery — with a layered
   halo instead of the flat 4px shadow, and a slightly larger ring for the
   places that carry the map: featured businesses and the curated landmarks. */
.place-marker {
  background: none !important;
  border: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.place-pin {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  background: var(--pin-color, #0ea5e9);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--pin-color, #0ea5e9) 24%, transparent),
    0 0 7px color-mix(in srgb, var(--pin-color, #0ea5e9) 95%, transparent),
    0 0 16px color-mix(in srgb, var(--pin-color, #0ea5e9) 70%, transparent),
    0 0 28px color-mix(in srgb, var(--pin-color, #0ea5e9) 38%, transparent),
    0 1px 3px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  box-sizing: border-box;
  transition:
    width 0.15s ease,
    height 0.15s ease,
    box-shadow 0.15s ease;
}
.place-pin::after {
  content: "";
  display: block;
  width: 3px;
  height: 3px;
  margin: 3.25px auto 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.9);
}
/* Key places: what a traveller should see from out at sea before zooming in. */
.place-marker.is-key .place-pin {
  width: 15px;
  height: 15px;
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--pin-color, #0ea5e9) 26%, transparent),
    0 0 10px color-mix(in srgb, var(--pin-color, #0ea5e9) 100%, transparent),
    0 0 22px color-mix(in srgb, var(--pin-color, #0ea5e9) 78%, transparent),
    0 0 38px color-mix(in srgb, var(--pin-color, #0ea5e9) 42%, transparent),
    0 1px 3px rgba(0, 0, 0, 0.6);
}
.place-marker.is-key .place-pin::after {
  width: 4px;
  height: 4px;
  margin: 4px auto 0;
}
.place-marker.selected .place-pin {
  width: 16px;
  height: 16px;
  background: #fff;
  border: 2px solid var(--pin-color, #0ea5e9);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.9),
    0 0 14px var(--pin-color, #0ea5e9),
    0 0 26px var(--pin-color, #0ea5e9);
}
.place-marker:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -10px;
  border-radius: 50%;
}
.leaflet-container .leaflet-tooltip {
  background: rgba(4, 12, 30, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
  color: #f5fdff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}
.leaflet-container .leaflet-tooltip::before {
  display: none !important;
}
.map-satellite .leaflet-tile-pane {
  filter: brightness(1.12) saturate(0.9);
}
.place-cluster-icon {
  background: none !important;
  border: none !important;
  display: grid;
  place-items: center;
}
.place-cluster-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(5, 18, 31, 0.9);
  border: 1.5px solid #e8dcc8;
  color: #fff;
  font: 700 11px var(--font-body);
  box-shadow:
    0 0 6px rgba(232, 220, 200, 0.38),
    0 0 12px rgba(232, 220, 200, 0.2);
  backdrop-filter: blur(5px);
} /* Barangay dots mark where the town actually is, so they have to read as towns
   from 40km out, not as specks. 6px → 12px with a proper cyan halo; they ease to
   10px at regional zoom instead of disappearing. */
.barangay-point-icon {
  background: none !important;
  border: 0 !important;
  display: grid !important;
  place-items: center;
}
.barangay-point {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #eaffff 0%, #7ff0ff 40%, #36d9ff 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 3px rgba(54, 217, 255, 0.18),
    0 0 8px #36d9ff,
    0 0 18px rgba(54, 217, 255, 0.75),
    0 0 32px rgba(54, 217, 255, 0.4);
  pointer-events: none;
  box-sizing: border-box;
  transition:
    width 0.2s ease,
    height 0.2s ease,
    box-shadow 0.2s ease;
}
.leaflet-container.zoom-far .barangay-point {
  width: 10px;
  height: 10px;
  box-shadow:
    0 0 0 3px rgba(54, 217, 255, 0.16),
    0 0 7px #36d9ff,
    0 0 16px rgba(54, 217, 255, 0.6),
    0 0 26px rgba(54, 217, 255, 0.3);
}
.barangay-point-tooltip {
  background: rgba(4, 12, 30, 0.88) !important;
  border: 1px solid rgba(54, 217, 255, 0.28) !important;
  color: #f5fdff !important;
  border-radius: 7px !important;
  font: 0.65rem var(--font-body) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}
.barangay-point-tooltip::before {
  display: none !important;
}
.user-location {
  border-radius: 50%;
  background: #237fea;
  border: 3px solid white;
  box-shadow: 0 0 0 5px #237fea40;
}
.dest-sheet {
  visibility: hidden;
  left: 0;
  right: 0;
  top: auto;
  bottom: calc(74px + env(safe-area-inset-bottom));
  width: auto;
  height: 65dvh;
  max-height: calc(100dvh - 84px);
  border-radius: 24px 24px 0 0;
  border: 1px solid #344956;
  transform: translateY(calc(100% + 100px));
  z-index: 83;
  box-shadow: 0 -6px 25px #0003;
}
.dest-sheet.expanded {
  visibility: visible;
  top: auto;
  bottom: calc(74px + env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  width: auto;
  height: 65dvh;
  max-height: calc(100dvh - 84px);
  transform: none;
  border-radius: 24px 24px 0 0;
}
.dest-exp-back {
  display: none !important;
}
/* A place sheet is also a map control. The earlier mobile override hid both
   the compact return card and its drag target, so the map could only be opened
   through a secondary button. Keep a deliberate, finger-sized map handle in
   the expanded state and a compact card in the collapsed state. */
.dest-handle {
  width: 100%;
  min-height: 46px;
  flex: none;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 20px 8px;
  border: 0;
  border-bottom: 1px solid #344956;
  background: #101e2b;
  color: #a7ddd3;
  font: 600 11px/1 var(--font-body);
  letter-spacing: 0.03em;
  cursor: grab;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.dest-handle:active {
  cursor: grabbing;
  background: #162d3a;
}
.dest-handle-grip {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: #78909d;
}
.dest-compact {
  display: none !important;
  width: 100%;
  border: 0;
  color: inherit;
  font-family: inherit;
  text-align: left;
}
.dest-sheet.closed {
  visibility: visible;
  height: auto;
  min-height: 0;
  max-height: none;
  transform: none;
}
.dest-sheet.closed .detail-back,
.dest-sheet.closed .dest-handle {
  display: none !important;
}
.dest-sheet.closed .dest-compact {
  display: flex !important;
  min-height: 82px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #101e2b;
  cursor: pointer;
}
.dest-sheet.expanded .dest-compact {
  display: none !important;
}
.detail-back {
  min-height: 52px;
  flex: none;
  text-align: left;
  padding: 12px 20px;
  background: #101e2b;
  border: 0;
  border-bottom: 1px solid #344956;
  color: #b9ebdd;
  font-size: 14px;
}
/* overflow-x:hidden kills a 4px phantom sideways scroll from the full-bleed photo. */
.dest-expanded {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 20px 24px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.dest-exp-photo {
  margin: 0 -20px 20px;
  width: calc(100% + 40px);
  height: 210px;
  min-height: 210px;
  border-radius: 0;
  background: #233e49;
  position: relative;
}
.dest-exp-photo img,
.dest-exp-photo video,
.dest-exp-photo iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.detail-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: #9eb9b8;
}
.detail-image-placeholder svg {
  width: 40px;
  height: 40px;
}
.exp-overlay {
  display: none;
}
.dest-exp-title {
  font-size: 30px;
  line-height: 1.15;
  margin: 12px 0 8px;
}
.detail-barangay {
  font-size: 14px;
  color: #adc6cc;
  margin: 0 0 18px;
}
.dest-exp-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}
.dest-exp-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #d0dce2;
}
.dest-exp-tip {
  font-size: 14px;
  line-height: 1.6;
}
.dest-exp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dest-exp-btn {
  min-height: 48px;
  font-size: 14px;
}
.dest-save-btn {
  width: 44px;
  height: 44px;
}
.dest-exp-btn:disabled,
.dest-save-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
body.place-open .explore-sheet {
  visibility: hidden;
}
body[data-active-tab="discover"] #talaOrbWrap {
  display: none;
}
/* left:0/right:0 already pin the bar to the viewport. width:100% plus
   content-box padding made the bar 24px wider than the screen, which clipped
   the last tab ("The Hunt") off the right edge on 390px phones. */
.bottom-dock {
  left: 0;
  right: 0;
  bottom: 0;
  height: 74px;
  padding: 5px 12px calc(5px + env(safe-area-inset-bottom));
  border-radius: 0;
  transform: none !important;
  background: #0c1927;
  border-width: 1px 0 0;
  justify-content: space-around;
  box-sizing: content-box;
  z-index: 110;
}
.bottom-dock .dock-item {
  flex: 1;
  max-width: 110px;
  min-height: 54px;
}
.dock-item span {
  font-size: 12px;
}
@media (min-width: 1100px), (min-width: 900px) and (orientation: landscape) {
  .explore-sheet,
  .explore-sheet.l1,
  .explore-sheet.l2,
  .explore-sheet.l3 {
    top: 0;
    bottom: 74px;
    left: 0;
    right: auto;
    width: var(--explore-width);
    height: auto !important;
    max-height: none;
    border-radius: 0;
    transform: translateX(-100%);
    box-shadow: none;
    border-width: 0 1px 0 0;
  }
  .explore-sheet.open {
    transform: none;
  }
  .es-handle {
    display: none;
  }
  .es-peek {
    padding: 28px 24px 0;
    gap: 12px;
  }
  .es-heading-title {
    font-size: 26px;
  }
  .es-ribbon {
    margin: 14px 0 0;
    padding: 0;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  }
  .es-browse-controls {
    padding: 4px 24px 8px;
  }
  .es-body,
  .explore-sheet.l1 .es-body {
    display: flex;
    padding: 0 24px 20px;
  }
  .explore-sheet.l1 .es-browse-controls {
    display: block;
  }
  body.explore-open #map,
  body.place-open #map {
    left: var(--explore-width);
    width: calc(100% - var(--explore-width));
  }
  .dest-sheet,
  .dest-sheet.expanded {
    left: 0;
    right: auto;
    top: 0;
    bottom: 74px;
    width: var(--explore-width);
    height: auto;
    max-height: none;
    border-radius: 0;
    border-width: 0 1px 0 0;
  }
  .dest-handle {
    display: none !important;
  }
  .dest-exp-photo {
    height: 240px;
    min-height: 240px;
  }
  .dest-expanded {
    padding-right: 24px;
    padding-left: 24px;
  }
  .dest-exp-photo {
    margin-left: -24px;
    width: calc(100% + 48px);
  }
  .leaflet-bottom.leaflet-right {
    bottom: 78px;
  }
  .bottom-dock {
    height: 64px;
    padding: 5px 18px;
    justify-content: center;
    gap: 24px;
  }
  .bottom-dock .dock-item {
    max-width: 130px;
  }
  .map-status {
    top: 18px;
    right: 140px;
  }
}
@media (min-width: 900px) and (max-width: 1099px) and (orientation: landscape) {
  :root {
    --explore-width: 400px;
  }
  .es-peek {
    padding-top: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .explore-sheet,
  .dest-sheet,
  .leaflet-bottom {
    transition: none !important;
  }
}

/* --- STAFF ADMIN ENTRY --- */
.admin-entry {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 66;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #102130;
  border: 1px solid #5c707e;
  color: #7d9aa0;
  text-decoration: none;
  box-shadow: 0 3px 14px #0002;
  transition:
    color 0.15s,
    border-color 0.15s;
}
.admin-entry:hover,
.admin-entry:focus-visible {
  color: #b9ebdd;
  border-color: #71d9c1;
  outline: none;
}
.admin-entry svg {
  width: 17px;
  height: 17px;
}
@media (max-width: 520px) {
  .admin-entry {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }
}
/* On the map the Layers pill sits in the same top-right corner as the staff gear,
   so the gear moved across rather than being an invisible tap target underneath. */
body[data-map-tools="on"] .admin-entry {
  right: 104px;
}
@media (max-width: 520px) {
  body[data-map-tools="on"] .admin-entry {
    right: 96px;
    top: 10px;
  }
}
/* Phones get exactly the same dot as desktop. The old rule shrank it to 10px on
   phones — the screens the partner was testing on — which is where "the dots are
   too small" came from. */
@media (max-width: 700px) {
  .place-pin {
    width: 13px;
    height: 13px;
  }
  .place-pin::after {
    width: 3px;
    height: 3px;
    margin: 3.5px auto 0;
  }
  .place-marker.is-key .place-pin {
    width: 16px;
    height: 16px;
  }
  .place-marker.is-key .place-pin::after {
    width: 4px;
    height: 4px;
    margin: 4.5px auto 0;
  }
  .place-marker.selected .place-pin {
    width: 17px;
    height: 17px;
  }
}

/* Selected and current-location pins get a restrained, reduced-motion-safe cue. */
@keyframes placePinHalo {
  0%,
  100% {
    box-shadow:
      0 0 0 5px rgba(255, 255, 255, 0.18),
      0 0 18px var(--pin-color);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(255, 255, 255, 0.08),
      0 0 24px var(--pin-color);
  }
}
.place-marker.selected .place-pin {
  transform: translateY(-4px);
  animation: placePinHalo 1.8s ease-in-out infinite;
}
.place-marker.is-saved .place-pin {
  outline: 2px solid #f2ca72;
  outline-offset: 4px;
}
.user-location::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 2px solid #0d9488;
  border-radius: 50%;
  animation: userLocationPulse 1.8s ease-out infinite;
}
@keyframes userLocationPulse {
  from {
    transform: scale(0.7);
    opacity: 0.85;
  }
  to {
    transform: scale(2.1);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .place-marker.selected .place-pin,
  .user-location::after {
    animation: none;
  }
  .place-marker.selected .place-pin {
    transform: translateY(-4px);
  }
}
.legend-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  margin-top: 6px;
  padding: 0 11px;
  border: 1px solid #52636e;
  border-radius: 10px;
  background: #102130;
  color: #e4eeee;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 3px 14px #0002;
}
.nearby-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #52636e;
  border-radius: 10px;
  background: #102130;
  color: #e4eeee;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 3px 14px #0002;
}
.nearby-trigger svg {
  width: 17px;
  height: 17px;
}
.nearby-trigger[aria-pressed="true"] {
  background: #b4eddf;
  color: #122d2a;
  border-color: #b4eddf;
}
.map-explore-bar {
  position: fixed;
  top: calc(var(--safe-top, 0px) + 12px);
  left: 16px;
  right: 140px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.map-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #5c707e;
  background: #102130;
  border-radius: 10px;
  box-shadow: 0 3px 14px #0002;
}
.map-search svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: #a8c2c9;
}
.map-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  color: white;
  font-size: 16px;
}
.map-search input::placeholder {
  color: #a7b4bf;
  font-size: 14px;
}
.map-search-results {
  background: #101e2b;
  color: #e4eeee;
  border: 1px solid #52636e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px #0005;
  max-height: 240px;
  overflow-y: auto;
}
.map-search-results[hidden],
.nearest-bar[hidden],
.hunt-cue-pill[hidden] {
  display: none !important;
}
.map-search-result {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: 10px 13px;
  border: 0;
  border-bottom: 1px solid #354957;
  background: none;
  color: #e4eeee;
  text-align: left;
  cursor: pointer;
}
.map-search-result:last-child {
  border-bottom: 0;
}
.map-search-result:hover {
  background: rgba(255, 255, 255, 0.05);
}
.msr-name {
  font-size: 14px;
  font-weight: 600;
}
.msr-meta,
.map-search-empty {
  font-size: 12px;
  color: #a7b8c3;
}
.map-search-empty {
  padding: 12px 13px;
}
.map-chip-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0;
}
.map-chip-strip::-webkit-scrollbar {
  display: none;
}
.map-chip-strip .es-chip {
  flex-shrink: 0;
}
.es-more-filters {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 8px;
  padding: 0 12px;
  border: 1px solid #3a4e5d;
  background: none;
  border-radius: 9px;
  color: #a4e6d9;
  font-size: 12px;
  cursor: pointer;
}
.stay-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a7b8c3;
  font-size: 12px;
}
.stay-row select {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #3a4e5d;
  border-radius: 9px;
  background: #182b39;
  color: #e0e9ee;
  font-size: 13px;
}
.nearest-bar {
  position: fixed;
  left: 16px;
  right: 90px;
  bottom: calc(84px + var(--safe-bottom, 0px));
  z-index: 60;
  padding: 10px 12px;
  border: 1px solid #52636e;
  border-radius: 14px;
  background: #101e2b;
  color: #e4eeee;
  box-shadow: 0 10px 30px #0005;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nearest-head {
  margin-bottom: 6px;
  color: #a6c9c4;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nearest-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid #354957;
}
.nearest-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border: 0;
  background: none;
  color: #e4eeee;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.nearest-dist {
  flex-shrink: 0;
  color: #a7b8c3;
  font-size: 12px;
}
.nearest-dir {
  flex-shrink: 0;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #3a4e5d;
  border-radius: 8px;
  background: none;
  color: #a4e6d9;
  font-size: 12px;
  cursor: pointer;
}
.hunt-cue-pill {
  position: fixed;
  left: 50%;
  bottom: calc(260px + var(--safe-bottom, 0px));
  z-index: 60;
  transform: translateX(-50%);
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #f5c542;
  border-radius: 999px;
  background: rgba(16, 30, 43, 0.92);
  color: #f5c542;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(245, 197, 66, 0.35);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.map-tour-bubble {
  position: fixed;
  z-index: 112;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: min(250px, calc(100vw - 32px));
  padding: 12px 14px;
  transform: translate(-50%, -100%);
  border: 1px solid #76d8ca;
  border-radius: 13px;
  background: #102130;
  color: #f0f5f5;
  text-align: left;
  box-shadow: 0 10px 30px #0008;
  cursor: pointer;
  animation: mapTourIn 0.24s ease-out both;
}
.map-tour-bubble strong {
  font-size: 13px;
}
.map-tour-bubble span {
  color: #b7c8ce;
  font-size: 11px;
  line-height: 1.4;
}
.map-tour-bubble i {
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 14px;
  height: 14px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 1px solid #76d8ca;
  border-bottom: 1px solid #76d8ca;
  background: #102130;
}
@keyframes mapTourIn {
  from {
    opacity: 0;
    translate: 0 5px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .map-tour-bubble {
    animation: none;
  }
}
.pulse-now-chip-marker {
  border: 0 !important;
  background: none !important;
  cursor: pointer;
}
.pulse-now-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 190px;
  overflow: hidden;
  padding: 7px 10px;
  border: 1px solid #f0c36d;
  border-radius: 999px;
  background: #172332;
  color: #fff1cb;
  box-shadow: 0 4px 16px #0008;
  font: 600 11px/1.2 var(--font-body);
  white-space: nowrap;
}
.pulse-now-chip b {
  flex: none;
  color: #172332;
  background: #f0c36d;
  border-radius: 999px;
  padding: 3px 5px;
  font-size: 8px;
  letter-spacing: 0.08em;
}
.pulse-now-chip small {
  flex: none;
  color: #b9c7d0;
  font: 500 10px/1 var(--font-body);
}
.pulse-now-live-chip-marker {
  border: 0 !important;
  background: none !important;
}
.pulse-now-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 210px;
  overflow: hidden;
  padding: 7px 10px;
  border: 1px solid #54d8c6;
  border-radius: 999px;
  background: #102a31;
  color: #eafffb;
  box-shadow: 0 4px 16px #0008;
  font: 600 11px/1.2 var(--font-body);
  white-space: nowrap;
}
.pulse-now-live-chip b {
  flex: none;
  color: #102a31;
  background: #7fe7dc;
  border-radius: 999px;
  padding: 3px 5px;
  font-size: 8px;
  letter-spacing: 0.08em;
}
.pulse-now-live-chip small {
  flex: none;
  color: #a9d6d0;
  font: 500 10px/1 var(--font-body);
}
.route-preview {
  position: fixed;
  left: 16px;
  right: 90px;
  bottom: calc(84px + var(--safe-bottom, 0px));
  z-index: 90;
  padding: 14px;
  border: 1px solid #52636e;
  border-radius: 14px;
  background: #101e2b;
  color: #e4eeee;
  box-shadow: 0 10px 30px #0006;
}
.route-preview[hidden] {
  display: none !important;
}
.route-preview-title {
  padding-right: 28px;
  font-size: 14px;
  font-weight: 700;
}
.route-preview-summary {
  margin-top: 6px;
  font-size: 13px;
}
.route-preview-note {
  margin-top: 5px;
  color: #a7b8c3;
  font-size: 11px;
  line-height: 1.4;
}
.route-close {
  position: absolute;
  top: 7px;
  right: 9px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #dce7eb;
  font-size: 23px;
  cursor: pointer;
}
.route-preview-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.route-preview-actions a {
  flex: 1;
  padding: 9px 10px;
  border: 1px solid #3a4e5d;
  border-radius: 8px;
  color: #a4e6d9;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.hunt-cue-marker {
  border: 0 !important;
  background: none !important;
}
.hunt-cue-marker span {
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid white;
  border-radius: 50%;
  background: #f5c542;
  box-shadow: 0 0 12px rgba(245, 197, 66, 0.8);
  animation: huntCuePulse 1.6s ease-in-out infinite;
}
@keyframes huntCuePulse {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(245, 197, 66, 0.6);
  }
  50% {
    box-shadow: 0 0 22px rgba(245, 197, 66, 1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hunt-cue-marker span {
    animation: none;
  }
}
.dest-primary-actions {
  margin: 12px 0 14px;
}
.dest-primary-actions .dest-exp-btn {
  width: 100%;
  min-width: 0;
}
.dest-primary-actions #deSaveBtn {
  margin: 0;
}
.dest-primary-actions #deSaveBtn.saved {
  border-color: rgba(20, 184, 166, 0.45);
  background: rgba(20, 184, 166, 0.16);
  color: #b4eddf;
}
.dest-primary-actions #deSaveBtn.saved svg {
  fill: currentColor;
}
.dest-exp-desc.collapsed {
  -webkit-line-clamp: 3;
}
.dest-exp-stats {
  margin-top: 12px;
}
.dest-secondary-actions {
  margin-top: 16px;
}
@media (max-width: 430px) {
  .map-explore-bar {
    right: 128px;
  }
  .nearest-bar {
    left: 10px;
    right: 78px;
  }
}

.partner-demo-feed-note {
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 211, 122, 0.28);
  border-radius: 10px;
  background: rgba(95, 65, 18, 0.18);
  color: #f5d89d;
  font: 500 12px/1.4 var(--font-body);
}

/* Unified map controls: one layers/legend menu, one clearly named nearby action. */
#mapLayerToggle {
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  right: 12px;
}
#mapLayerToggle .layers-trigger,
#locateMeBtn {
  min-height: 44px;
  border: 1px solid #5c707e;
  border-radius: 10px;
  background: #102130;
  color: #eef5f4;
  box-shadow: 0 3px 14px #0003;
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0;
  text-transform: none;
}
#mapLayerToggle .layers-trigger {
  padding: 0 12px;
}
#locateMeBtn {
  top: calc(env(safe-area-inset-top, 0px) + 64px);
  right: 12px;
  min-width: 122px;
  padding: 0 12px;
  justify-content: center;
  gap: 8px;
}
#locateMeBtn svg {
  width: 17px;
  height: 17px;
  flex: none;
}
#locateMeBtn[aria-pressed="true"] {
  border-color: #7fe7dc;
  background: #173e41;
  color: #eafffb;
}
#locateMeBtn:disabled {
  opacity: 0.75;
  cursor: progress;
}
#layersMenu {
  top: 52px;
  width: min(300px, calc(100vw - 24px));
  max-height: calc(100dvh - 180px);
}
#mapExploreBar {
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  left: 12px;
  right: 146px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  max-width: 620px;
}
#mapExploreBar .map-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}
#mapExploreBar .map-search {
  min-width: 0;
  height: 44px;
  border-radius: 10px;
}
#mapExploreBar .explore-reopen {
  position: static;
  inset: auto;
  z-index: auto;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #5c707e;
  border-radius: 10px;
  background: #173a3c;
  color: #effffc;
  box-shadow: 0 3px 14px #0003;
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-map-tools="on"] #mapExploreBar .explore-reopen {
  display: inline-flex;
}
body.explore-open #mapExploreBar .explore-reopen,
body.place-open #mapExploreBar .explore-reopen {
  display: none;
}
#mapExploreBar .explore-reopen:active {
  transform: scale(0.98);
}
#mapExploreBar .map-chip-strip {
  flex-wrap: wrap;
  overflow: visible;
  gap: 6px;
  max-height: 78px;
}
#mapExploreBar .stay-row {
  min-height: 40px;
}
#map .leaflet-top.leaflet-right {
  top: auto;
  right: 12px;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}
#map .leaflet-control-zoom a {
  width: 40px !important;
  height: 40px !important;
  line-height: 40px !important;
}
@media (max-width: 400px) {
  #mapExploreBar {
    right: 142px;
  }
  #mapExploreBar .map-search-row {
    grid-template-columns: minmax(0, 1fr);
  }
  body[data-map-tools="on"] #mapExploreBar .explore-reopen {
    width: 100%;
  }
}
@media (min-width: 768px) {
  #mapLayerToggle {
    top: 16px;
    right: 24px;
  }
  #locateMeBtn {
    top: 68px;
    right: 24px;
  }
  #mapExploreBar {
    top: 16px;
    left: 24px;
    right: auto;
    width: min(620px, calc(100vw - 300px));
  }
}

/* Keep the map header brand-only: no duplicate map search or Explore CTA here.
   Search remains available inside the Explore panel. Use one fixed wordmark size
   and position on phones, tablets and desktops so it cannot clip or collide. */
body[data-map-tools="on"] #heroOverlay {
  position: fixed !important;
  top: calc(env(safe-area-inset-top, 0px) + 10px) !important;
  left: 12px !important;
  right: auto !important;
  width: 128px !important;
  height: 48px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  z-index: 90 !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: none !important;
  text-align: left !important;
}
body[data-map-tools="on"] #heroOverlay > :not(#heroBrand),
body[data-map-tools="on"] #heroFade {
  display: none !important;
}
/* The Explore sheet's title starts at the top-left; hide the fixed brand while
   that sheet is open so its wordmark cannot overlap the heading. */
body[data-map-tools="on"].explore-open #heroOverlay {
  display: none !important;
}
body[data-map-tools="on"] #heroBrand {
  display: flex !important;
  width: 128px !important;
  max-width: 128px !important;
  height: 48px !important;
  margin: 0 !important;
  align-items: center;
  justify-content: flex-start;
  pointer-events: auto !important;
}
body[data-map-tools="on"] #heroBrand img {
  display: block;
  width: 124px;
  max-width: 124px;
  height: auto;
  margin: 0;
  filter: brightness(0) invert(1) drop-shadow(0 1px 5px rgba(94, 234, 212, 0.3));
  opacity: 1;
}
body[data-map-tools="on"] #mapExploreBar {
  display: none !important;
}
/* Tiny, fixed map credits sit just above the mobile footer's top-right edge.
   Fixed positioning prevents Leaflet's control stack from floating them over
   map content. The credit remains visible but never intercepts map gestures. */
body[data-map-tools="on"] .leaflet-control-attribution {
  position: fixed !important;
  z-index: 109 !important;
  top: auto !important;
  right: 4px !important;
  bottom: calc(85px + env(safe-area-inset-bottom, 0px) + 2px) !important;
  left: auto !important;
  width: auto !important;
  max-width: calc(100vw - 8px) !important;
  margin: 0 !important;
  padding: 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(226, 237, 240, 0.56) !important;
  box-shadow: none !important;
  font-size: clamp(4px, 1.2vw, 5px) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  text-align: right !important;
  opacity: 0.62;
  pointer-events: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body[data-map-tools="on"] .leaflet-control-attribution a {
  color: inherit !important;
  text-decoration: none !important;
}
@media (min-width: 1100px), (min-width: 900px) and (orientation: landscape) {
  body[data-map-tools="on"] .leaflet-control-attribution {
    bottom: 76px !important;
    right: 8px !important;
    font-size: 6px !important;
  }
}
body.explore-open #mapExploreBar {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.es-stay-row {
  margin-top: 8px;
}
