/* Map tab — Option A bubbles + sheet, Option C list as the full-height sheet. */
.map-screen {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 0 !important;
  overflow: hidden !important;
  background: #EEE9E0 !important;
}
.map-screen .gm-canvas {
  position: absolute;
  inset: 0;
}
.map-screen .gm-google-host {
  position: absolute;
  inset: 0;
}
.map-screen .gm-canvas .maplibregl-map {
  font-family: Outfit, system-ui, sans-serif;
}
.map-screen .maplibregl-ctrl-bottom-right,
.map-screen .maplibregl-ctrl-bottom-left {
  bottom: 224px;
}
.map-screen .maplibregl-ctrl-attrib {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.86);
}
.map-screen .gm-fade {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 96px;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(#EEE9E0 0%, rgba(238, 233, 224, 0.85) 35%, rgba(238, 233, 224, 0) 100%);
}
.map-screen .gm-seg {
  position: absolute;
  z-index: 20;
  left: 16px;
  top: 12px;
  display: flex;
  gap: 4px;
  background: #F7F1E6;
  border-radius: 18px;
  padding: 4px;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.12);
}
.map-screen .gm-seg .looking-for-chip {
  flex: 0 0 auto;
  font-size: 14px;
  padding: 9px 16px;
  line-height: 18px;
  border-radius: 14px;
}
.map-screen .gm-seg.full {
  position: relative;
  left: auto;
  top: auto;
  box-shadow: none;
  background: rgba(28, 25, 23, 0.045);
  margin: 0 0 8px;
}
.map-screen .gm-seg.full .looking-for-chip {
  flex: 1;
  text-align: center;
}
.map-screen .gm-pill {
  position: absolute !important;
  z-index: 20;
  top: 21px;
  right: 16px;
  left: auto;
  pointer-events: none;
}
.map-screen .gm-fab {
  position: absolute;
  z-index: 20;
  right: 16px;
  top: 64px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1C1917;
  cursor: pointer;
  padding: 0;
}
.map-screen .gm-fab svg { width: 20px; height: 20px; }
.map-screen .gm-legend {
  position: absolute;
  z-index: 20;
  left: 16px;
  bottom: 224px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.1);
  padding: 8px 10px;
}
.map-screen .gm-legend .gm-bub {
  position: relative;
  width: 28px;
  height: 28px;
  font-size: 11px;
}
.map-screen .gm-hit {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.map-screen .gm-bub {
  border-radius: 50%;
  background: #E23D2F;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 800;
  box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(28, 25, 23, 0.22);
  letter-spacing: -0.3px;
  line-height: 1;
  pointer-events: none;
}
.map-screen .gm-bub .z {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2px;
  opacity: 0.85;
  margin-top: 2px;
}
.map-screen .gm-bub.low {
  background: #FCE4E1;
  color: #C8321F;
  box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(28, 25, 23, 0.14);
  border: 1.5px dashed rgba(226, 61, 47, 0.6);
}
.map-screen .gm-hit.sel .gm-bub {
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #E23D2F, 0 8px 18px rgba(226, 61, 47, 0.35);
}
.map-screen .gm-zlab {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 2px);
  font-family: Outfit, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #6F685F;
  letter-spacing: 0.2px;
  white-space: nowrap;
  text-shadow: 0 0 3px #EEE9E0, 0 0 3px #EEE9E0;
  pointer-events: none;
}
.map-screen .gm-pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none;
  background: transparent;
  padding: 0 0 2px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}
.map-screen .gm-pin .c {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 2px #fff, 0 3px 8px rgba(28, 25, 23, 0.25);
  background: #E23D2F;
}
.map-screen .gm-pin .c img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.map-screen .gm-pin .t {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #E23D2F;
  margin-top: -1px;
  filter: drop-shadow(0 2px 1px rgba(28, 25, 23, 0.18));
}
.map-screen .gm-pin .sh {
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  width: 12px;
  height: 4px;
  border-radius: 50%;
  background: rgba(28, 25, 23, 0.18);
}
.map-screen .gm-pin.sel .c {
  width: 44px;
  height: 44px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(226, 61, 47, 0.25), 0 8px 18px rgba(226, 61, 47, 0.35);
}
.map-screen .gm-plab {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 2px);
  font-family: Outfit, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #1C1917;
  white-space: nowrap;
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff;
  pointer-events: none;
}
.map-screen .gm-pin.sel .gm-plab {
  background: #1C1917;
  color: #fff;
  text-shadow: none;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.2);
}
.map-screen .gm-you {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1C1917;
  box-shadow: 0 0 0 3px #fff, 0 0 0 12px rgba(28, 25, 23, 0.08), 0 2px 6px rgba(28, 25, 23, 0.3);
}
.map-screen .gm-sheet {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 83px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 28px rgba(28, 25, 23, 0.12);
  padding: 0 20px 16px;
  display: flex;
  flex-direction: column;
  max-height: calc(100% - 83px);
}
.map-screen .gm-sheet.full {
  top: 0;
  height: auto;
}
.map-screen .gm-sheet.peek {
  height: auto;
}
.map-screen .gm-sheet.peek .gm-body {
  flex: 0 0 auto;
  overflow: visible;
}
.map-screen .gm-grab {
  box-sizing: content-box;
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #DDD6CB;
  margin: 4px auto 4px;
  border: none;
  padding: 6px 40px 6px;
  background-clip: content-box;
  cursor: grab;
  touch-action: none;
  flex: 0 0 auto;
}
.map-screen .gm-body {
  overflow-y: auto;
  min-height: 0;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.map-screen .gm-row { display: flex; align-items: center; }
.map-screen .gm-sp { flex: 1; }
.map-screen .gm-title {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.4px;
  color: #1C1917;
  line-height: 1.1;
}
.map-screen .gm-sub {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #8A837A;
  line-height: 1.3;
  margin-top: 2px;
}
.map-screen .gm-big {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -1.2px;
  color: #E23D2F;
  line-height: 1;
}
.map-screen .gm-lbl {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A837A;
}
.map-screen .gm-bodytext {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1C1917;
  line-height: 1.2;
}
.map-screen .gm-note {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #8A837A;
  line-height: 1.35;
}
.map-screen .gm-x svg { width: 14px; height: 14px; }
.map-screen .gm-x {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F7F1E6;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6F685F;
  cursor: pointer;
  flex: 0 0 auto;
}
.map-screen .gm-split {
  height: 8px;
  border-radius: 4px;
  background: #E8B84A;
  overflow: hidden;
  display: flex;
  margin-top: 8px;
}
.map-screen .gm-split i {
  display: block;
  height: 100%;
  background: #E23D2F;
  border-right: 2px solid #fff;
}
.map-screen .gm-leg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1C1917;
}
.map-screen .gm-leg b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.map-screen .gm-leg span { color: #8A837A; font-weight: 500; }
.map-screen .gm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.map-screen .gm-chip {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  color: #1C1917;
  background: #F7F1E6;
  border-radius: 2px 8px 8px 2px;
  padding: 5px 9px;
  line-height: 16px;
  white-space: nowrap;
}
.map-screen .gm-cta {
  height: 52px;
  border-radius: 30px;
  border: none;
  background: #E23D2F;
  color: #fff;
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(226, 61, 47, 0.28);
  cursor: pointer;
  width: 100%;
}
.map-screen .gm-cta svg { width: 18px; height: 18px; }
.map-screen .gm-ghost {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(28, 25, 23, 0.12);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1C1917;
  flex: 0 0 auto;
  cursor: pointer;
}
.map-screen .gm-ghost svg { width: 20px; height: 20px; }
.map-screen .gm-ghost:disabled {
  opacity: 0.5;
  cursor: default;
}
.map-screen .gm-dist {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #1C1917;
  background: #F7F1E6;
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
}
.map-screen .gm-stat {
  background: #F7F1E6;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.map-screen .gm-stat img { width: 22px; height: 22px; display: block; }
.map-screen .gm-mini {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(28, 25, 23, 0.12);
  background: #fff;
  color: #1C1917;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  font-family: Outfit, system-ui, sans-serif;
  line-height: 18px;
  cursor: pointer;
}
.map-screen .gm-mini.on {
  background: #1F7A4D;
  border-color: #1F7A4D;
  color: #fff;
}
.map-screen .gm-li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 8px 12px;
  margin: 0 -12px;
  border: none;
  background: transparent;
  width: calc(100% + 24px);
  text-align: left;
  cursor: pointer;
  border-radius: 16px;
  font: inherit;
  color: inherit;
}
.map-screen .gm-li + .gm-li { border-top: 1px solid rgba(28, 25, 23, 0.06); border-radius: 0; }
.map-screen .gm-li.sel { background: #F7F1E6; border-radius: 16px; }
.map-screen .gm-bar {
  height: 8px;
  border-radius: 4px;
  background: #E23D2F;
}
.map-screen .gm-bar.low {
  background: repeating-linear-gradient(135deg, rgba(226, 61, 47, 0.45) 0 2px, transparent 2px 5px);
  border: 1px solid rgba(226, 61, 47, 0.35);
}
.map-screen .gm-n16 {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #1C1917;
  letter-spacing: -0.2px;
}
.map-screen .gm-suggest-sm {
  height: 32px;
  border-radius: 999px;
  padding: 0 14px;
  border: none;
  display: flex;
  align-items: center;
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #C8321F;
  background: #FCE8E5;
  white-space: nowrap;
  cursor: pointer;
}
.map-screen .gm-hours {
  color: #1F7A4D;
  font-weight: 700;
  font-size: 13px;
  font-family: Outfit, system-ui, sans-serif;
  white-space: nowrap;
}
.map-screen .gm-match {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
  padding: 12px 0;
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1C1917;
  cursor: pointer;
}
.map-screen .gm-err {
  color: #C8321F;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 0;
}
