.bombo-fanpost-gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 1.35rem;
}

.bombo-fanpost-card {
  width: min(100%, 340px);
  flex: 1 1 340px;
  max-width: 340px;
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
  border: 1px solid rgba(224, 177, 128, 0.28);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(39, 52, 79, 0.12);
  overflow: hidden;
}

.bombo-fanpost-card__media {
  background: #f6efe4;
  aspect-ratio: 1 / 1;
}

.bombo-fanpost-card__media-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.bombo-fanpost-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bombo-fanpost-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #886652;
  font-weight: 800;
}

.bombo-fanpost-card__body {
  display: grid;
  gap: 0.72rem;
  padding: 1rem 1rem 1.1rem;
}

.bombo-fanpost-card__meta,
.bombo-fanpost-card__message,
.bombo-fanpost-card__bubble p,
.bombo-fanpost-gallery__empty p {
  margin: 0;
}

.bombo-fanpost-card__meta {
  color: #5d6f82;
  font-size: 0.94rem;
  font-weight: 700;
}

.bombo-fanpost-card__message {
  color: #30475c;
  line-height: 1.65;
}

.bombo-fanpost-card__bubble {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.2rem 0 0;
}

.bombo-fanpost-card__bubble-icon {
  display: inline-block;
  width: 5rem;
  height: 5rem;
  align-self: end;
  object-fit: cover;
  filter: drop-shadow(0 10px 18px rgba(28, 39, 51, 0.16));
  border-radius:100%;
}

.bombo-fanpost-card__bubble p {
  position: relative;
  align-self: center;
  background: linear-gradient(180deg, #fff7e4 0%, #fff2cf 100%);
  border: 1px solid rgba(240, 179, 72, 0.35);
  border-radius: 22px;
  color: #30475c;
  line-height: 1.55;
  padding: 1rem 1rem 1rem 1.1rem;
  transform: translateY(-10px);
}

.bombo-fanpost-card__bubble p::before {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 16px;
  width: 18px;
  height: 18px;
  background: #fff4d7;
  border-left: 1px solid rgba(240, 179, 72, 0.35);
  border-bottom: 1px solid rgba(240, 179, 72, 0.35);
  transform: rotate(45deg);
}

.bombo-fanpost-gallery__empty {
  padding: 1.3rem 1.4rem;
  border: 1px dashed rgba(83, 104, 130, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
  color: #415569;
}

@media (max-width: 680px) {
  .bombo-fanpost-card {
    width: 100%;
    flex-basis: 100%;
    max-width: 100%;
  }
}
