.community-post--dismissed {
  opacity: 0;
  transform: translateY(-8px) scale(.985);
  max-height: 0;
  margin-block: 0;
  padding-block: 0;
  overflow: hidden;
  transition: opacity .16s ease, transform .16s ease, max-height .18s ease, margin .18s ease, padding .18s ease;
}

.community-toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.community-toast__copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.community-toast__action {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.community-toast__action:hover { background: rgba(255, 255, 255, .2); }
.community-toast__action:disabled { opacity: .55; cursor: wait; }

@media (max-width: 520px) {
  .community-toast { width: calc(100vw - 28px); }
}

@media (prefers-reduced-motion: reduce) {
  .community-post--dismissed { transition: none; }
}
