.nearby-pet-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(45, 34, 85, 0.4);
  border: 1px solid rgba(216, 180, 255, 0.06);
  transition: background 200ms, border-color 200ms;
}

.nearby-pet-card--active {
  background: rgba(216, 180, 255, 0.12);
  border-color: $accent;
}

.nearby-pet-card__photo {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
}

.photo-gold {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 217, 168, 0.5) 0%, transparent 50%),
    linear-gradient(160deg, #6b4f9a 0%, #2a1f4a 100%);
}

.photo-green {
  background:
    radial-gradient(circle at 50% 30%, rgba(143, 229, 181, 0.5) 0%, transparent 50%),
    linear-gradient(160deg, #4a7a6a 0%, #1a3a2a 100%);
}

.photo-pink {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 179, 200, 0.5) 0%, transparent 50%),
    linear-gradient(160deg, #7a4a6a 0%, #3a1a2a 100%);
}

.photo-blue {
  background:
    radial-gradient(circle at 50% 30%, rgba(216, 180, 255, 0.5) 0%, transparent 50%),
    linear-gradient(160deg, #4a4a8a 0%, #1a1a3a 100%);
}

.nearby-pet-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 35%, rgba(255, 255, 255, 0.18) 0%, transparent 60%);
}

.nearby-pet-card__distance {
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 2;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: $fg;
  font: 600 9px / 1.2 $font-body;
}

.nearby-pet-card__info {
  flex: 1;
  min-width: 0;
}

.nearby-pet-card__title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nearby-pet-card__name {
  font: 700 14px / 1.2 $font-body;
}

.nearby-pet-card__online {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: $success;
  box-shadow: 0 0 4px $success;
}

.nearby-pet-card__meta,
.nearby-pet-card__mood {
  display: block;
  margin-top: 4px;
  color: $fg-2;
  font: 400 11px / 1.3 $font-body;
}

.nearby-pet-card__tags {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.nearby-pet-card__tag {
  padding: 2px 8px;
  border-radius: $radius-pill;
  background: rgba(255, 217, 168, 0.14);
  color: $primary;
  font: 500 9px / 1.4 $font-body;
  border: 1px solid rgba(255, 217, 168, 0.18);
}

.nearby-pet-card__actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nearby-pet-card__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(20, 16, 43, 0.5);
  border: 1px solid rgba(216, 180, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: $fg-2;
}

.nearby-pet-card__btn--like {
  background: linear-gradient(135deg, $accent-2 0%, #ff8aab 100%);
  border: 0;
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 138, 171, 0.35);
}

