/* Reaction picker: tap React for a quick love, hold it (or hover on desktop)
   for every reaction in a single floating row, like Facebook. */
.reactions-container {
  width: auto;
  padding: 4px;
  white-space: nowrap;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.reactions-container .reactions_item {
  position: relative;
  float: none;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 480px) {
  .reactions-container {
    width: auto;
    border-radius: 999px;
  }

  .reactions-container .reactions_item {
    width: 42px;
    height: 42px;
  }
}

/* Touch screens: no sticky hover lift or tooltip after a tap. */
@media (hover: none) {
  .reactions-container .reactions_item:hover {
    transform: none;
  }

  .reactions-container .reactions_item:hover:after {
    opacity: 0;
    visibility: hidden;
  }
}

/* Holding the button must not select text or open the iOS callout. */
.reactions-wrapper {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
