.nearby-sheet {
  position: fixed;
  left: 0;
  right: 0;
  /* Rest above the 88px bottom tab bar so the drag handle is never covered
     by the nav and can always be pulled back up. */
  bottom: 88px;
  z-index: 50;
  background: rgba(31, 23, 66, 0.9);
  border-radius: 24px 24px 0 0;
  border-top: 1px solid rgba(216, 180, 255, 0.1);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.3);
  transition: height 280ms cubic-bezier(0.2, 0, 0, 1);
  overflow: hidden;
  box-sizing: border-box;
}

.nearby-sheet--dragging {
  transition: none;
}

.nearby-sheet__handle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0 10px;
}

.nearby-sheet__bar {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(216, 180, 255, 0.3);
  transition: background 200ms, width 200ms;
}

.nearby-sheet--min .nearby-sheet__bar {
  width: 48px;
  height: 5px;
  background: rgba(216, 180, 255, 0.5);
}

.nearby-sheet--min .nearby-sheet__header,
.nearby-sheet--min .nearby-sheet__chips,
.nearby-sheet--min .nearby-sheet__list {
  display: none;
}

.nearby-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 12px;
}

.nearby-sheet__title,
.nearby-sheet__count {
  display: block;
}

.nearby-sheet__title {
  color: $fg;
  font: 700 20px / 1.2 $font-display;
}

.nearby-sheet__count {
  margin-top: 2px;
  color: $muted;
  font: 500 12px / 1.4 $font-body;
}

.nearby-sheet__chips {
  display: flex;
  gap: 8px;
  padding: 0 20px 12px;
  overflow-x: auto;
}

.nearby-sheet__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px 28px;
}

.nearby-sheet__empty {
  padding: 32px 24px;
  text-align: center;
  color: $muted;
  font: 500 13px / 1.6 $font-body;
}

