.post-share-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  color: var(--text-normal, #d1d5db);
  background: rgba(17, 24, 39, 0.26);
  backdrop-filter: blur(12px) saturate(1.18);
  -webkit-backdrop-filter: blur(12px) saturate(1.18);
}

.post-share-content {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

.post-share-kicker {
  flex: 0 0 auto;
  color: var(--text-accent, #38d1c8);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
}

.post-share-title {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  color: var(--text-dim, #9ca3af);
  font-size: 0.82rem;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-share-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.post-share-action {
  min-height: 1.9rem;
  padding: 0 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 7px;
  color: var(--text-bright, #fff);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.post-share-action:hover {
  border-color: rgba(125, 211, 252, 0.36);
  background: rgba(255, 255, 255, 0.11);
}

.post-share-action[hidden],
.post-share-qr[hidden] {
  display: none;
}

.post-share-qr {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.post-share-qr img {
  width: 5.6rem;
  height: 5.6rem;
  padding: 0.35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
}

.post-share-qr p {
  max-width: 12rem;
  margin: 0;
  color: var(--text-dim, #9ca3af);
  font-size: 0.76rem;
  line-height: 1.55;
}

.post-share-toast {
  position: absolute;
  right: 0.85rem;
  bottom: -2.25rem;
  min-width: 7rem;
  padding: 0.4rem 0.65rem;
  border-radius: 7px;
  color: #fff;
  background: rgba(15, 23, 42, 0.88);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  font-size: 0.76rem;
  text-align: center;
}

.post-share-toast[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .post-share-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .post-share-title {
    white-space: normal;
  }

  .post-share-actions {
    width: 100%;
  }
}
