/* Heart / Like widget for website result boxes */
.heart-container {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px 8px 12px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  overflow: visible;
}

.heart-container:hover {
  opacity: 0.85;
}

.heart-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.heart-container:hover .heart-icon {
  transform: scale(1.15);
}

.heart-container.liked .heart-icon {
  animation: heartPop 0.3s ease;
}

.heart-count {
  font-family: var(--font-family, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif);
  font-size: 13.5px;
  font-weight: bold;
  color: white;
  line-height: 1;
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* GLUED badge — green pill showing total glue count */
.glued-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  background: #4CAF50;
  border-radius: 999px;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
  cursor: default;
  flex-shrink: 0;
}

.glued-badge-label {
  font-size: 10px;
  font-weight: 800;
  color: white;
  letter-spacing: 0.5px;
  line-height: 1;
}

.glued-badge-count {
  font-size: 11px;
  font-weight: 700;
  color: white;
  line-height: 1;
}

/* Bottom widget bar containing heart + glued badge */
.widget-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  position: absolute;
  bottom: 8px;
  left: 12px;
  right: 12px;
}

/* Remove default heart padding when inside widget-bar (bar handles positioning) */
.widget-bar .heart-container,
.widget-bar .preview-heart-container {
  padding: 0;
  height: 22px;
}
