.post-card {
  margin: 0 16px 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(31, 23, 66, 0.78);
  border: 1px solid rgba(216, 180, 255, 0.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
  animation: softAppear 260ms ease-out both;
}

.post-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-card__meta {
  flex: 1;
  min-width: 0;
}

.post-card__more {
  flex-shrink: 0;
  align-self: flex-start;
  width: 32px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: $muted;
}

.post-card__more-dots {
  font: 700 16px / 1 $font-body;
  letter-spacing: 1px;
}

.post-card__more:active {
  background: rgba(216, 180, 255, 0.1);
}

.post-card__name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-card__name {
  font: 600 14px / 1.2 $font-body;
  color: $fg;
}

.post-card__pet {
  padding: 2px 6px;
  border-radius: 6px;
  font: 500 10px / 1 $font-body;
  color: $accent;
  background: rgba(216, 180, 255, 0.12);
}

.post-card__pet--green {
  color: $success;
  background: rgba(143, 229, 181, 0.12);
}

.post-card__pet--gold {
  color: $primary;
  background: rgba(255, 217, 168, 0.15);
}

.post-card__sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: $muted;
  font: 400 11px / 1 $font-body;
}

.post-card__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: $muted;
}

.post-card__body {
  display: block;
  margin-top: 12px;
  color: $fg;
  font: 400 14px / 1.55 $font-body;
}

.post-card__photos {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.post-card__photos--1 {
  grid-template-columns: 1fr;
}

.post-card__photos--2 {
  grid-template-columns: repeat(2, 1fr);
}

.post-card__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: rgba(45, 34, 85, 0.4);
}

.post-card__photos--1 .post-card__photo {
  aspect-ratio: 4 / 3;
}

.post-card__actions {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  color: $muted;
  font: 500 12px / 1 $font-body;
  transition: color 200ms;
}

.post-card__actions .icon--comment {
  margin-left: 15px;
}

.post-card__actions--liked .icon--heart,
.post-card__actions--liked .icon--heart + text {
  color: $accent-2;
}

.post-card__actions .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
}

.post-card__actions .icon--heart {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%238a7aab' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
}

.post-card__actions--liked .icon--heart {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23ffb3c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
}

.post-card__actions .icon--comment {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%238a7aab' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
}
