/* === Bubble button placed next to each thumb's vote count === */

.rate-widget .rcl-tip-btn {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;

  align-items: center;
  justify-content: center;

  margin-left: 6px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid currentColor;

  font-size: 12px;
  line-height: 1;
  background: transparent;
  cursor: pointer;
  padding: 0; /* avoid weird mobile button padding */
}

/* Keep the number + bubble on one line */
.rate-widget .rating-option-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* === Popover with the list of voters === */

.rcl-pop {
  position: absolute;
  z-index: 1000;
  max-width: 260px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
}

/* Optional directional hook (up/down) if you ever want different colors */
.rcl-pop[data-dir="up"] { /* background: #0a5720; */ }
.rcl-pop[data-dir="down"] { /* background: #6b1111; */ }

/* Small caret pointing at the button */
.rcl-pop::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 12px;
  border: 6px solid transparent;
  border-bottom-color: #111;
}

/* Hide the bubble on devices with a fine pointer (mouse/trackpad) */
@media (pointer: fine) {
  .rate-widget .rcl-tip-btn {
    display: none !important;
  }
}
