.preview-panel {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 7%, rgba(215, 255, 67, 0.3), transparent 21%),
    #e7e3d7;
}

.preview-heading {
  align-items: center;
}

.live-chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 9px;
  color: var(--good);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.live-chip i {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  animation: pulse 1.8s ease infinite;
}

.preview-stack {
  display: grid;
  gap: 28px;
}

.proof {
  min-width: 0;
}

.proof-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 9px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(23, 23, 20, 0.23);
}

.proof-label span {
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-label small {
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
}

.google-card {
  padding: 22px 24px 25px;
  background: white;
  border: 1px solid #d9d9d9;
  box-shadow: 0 9px 24px rgba(30, 29, 25, 0.07);
}

.google-source {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 11px;
}

.google-source > span:last-child {
  min-width: 0;
}

.source-icon {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font: 600 15px/1 var(--display);
}

.google-source b,
.google-source small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.google-source b {
  color: #202124;
  font-size: 12px;
  font-weight: 400;
}

.google-source small {
  max-width: 440px;
  margin-top: 2px;
  color: #4d5156;
  font-size: 10px;
}

.google-card h3 {
  margin: 0 0 7px;
  overflow: hidden;
  color: #1a0dab;
  font-family: var(--body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.google-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #4d5156;
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.social-proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.social-card {
  overflow: hidden;
  background: white;
  border: 1px solid #c9c9c9;
}

.x-card {
  border-radius: 12px;
}

.card-image {
  position: relative;
  aspect-ratio: 1.91 / 1;
  overflow: hidden;
  background: #dcd8ca;
  border-bottom: 1px solid #c9c9c9;
}

.preview-image img {
  position: relative;
  z-index: 1;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-image.has-image img {
  display: block;
  animation: image-in 240ms ease;
}

.image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  background:
    linear-gradient(135deg, transparent 48.5%, rgba(23, 23, 20, 0.16) 49%, rgba(23, 23, 20, 0.16) 51%, transparent 51.5%),
    linear-gradient(45deg, transparent 48.5%, rgba(23, 23, 20, 0.16) 49%, rgba(23, 23, 20, 0.16) 51%, transparent 51.5%),
    var(--acid);
}

.image-placeholder span {
  font: 700 clamp(30px, 4vw, 52px)/1 var(--display);
  letter-spacing: -0.06em;
}

.image-placeholder small {
  font: 500 8px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-copy {
  padding: 12px 14px 14px;
}

.card-copy small {
  display: block;
  overflow: hidden;
  color: #536471;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-copy h3 {
  display: -webkit-box;
  margin: 5px 0;
  overflow: hidden;
  color: #0f1419;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #536471;
  font-size: 10px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.linkedin-card .card-copy {
  min-height: 76px;
  background: #eef3f8;
}

.linkedin-card .card-copy h3 {
  margin-top: 0;
  font-size: 14px;
}

.slack-card {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) 138px;
  gap: 15px;
  min-height: 142px;
  padding: 13px 13px 13px 0;
  overflow: hidden;
  background: white;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
}

.slack-accent {
  background: var(--blue);
  border-radius: 4px;
}

.slack-copy {
  align-self: center;
  min-width: 0;
}

.slack-copy small {
  display: block;
  margin-bottom: 5px;
  color: #616061;
  font-size: 10px;
}

.slack-copy h3 {
  margin: 0 0 6px;
  color: #1264a3;
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.3;
}

.slack-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #1d1c1d;
  font-size: 11px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.slack-image {
  position: relative;
  align-self: center;
  width: 138px;
  aspect-ratio: 1.3;
  overflow: hidden;
  border-radius: 4px;
}

.slack-image .image-placeholder {
  background: var(--acid);
}

.slack-image .image-placeholder span {
  font-size: 30px;
}

@keyframes pulse {
  50% { opacity: 0.35; }
}

@keyframes image-in {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 680px) {
  .social-proof-grid {
    grid-template-columns: 1fr;
  }

  .slack-card {
    grid-template-columns: 4px minmax(0, 1fr);
  }

  .slack-image {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-chip i,
  .preview-image.has-image img {
    animation: none;
  }
}
