.ReactionSelector {
  position: relative;
  top: -0.5rem;
  right: 0;

  min-width: 3rem;
  max-width: fit-content;

  &__bubble-big,
  &__bubble-small,
  &__items-wrapper {
    background: var(--color-background);
    box-shadow: 0 0.25rem 0.125rem var(--color-default-shadow);

    body:not(.no-menu-blur) & {
      background: var(--color-background-compact-menu);
      backdrop-filter: blur(25px);
    }
  }

  &__bubble-big {
    content: "";

    position: absolute;
    z-index: -1;
    right: 1.125rem;
    bottom: -0.5rem;

    display: block;

    width: 1rem;
    height: 0.5rem;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0 0 1rem 1rem;

    &--isRtl {
      right: auto;
      left: 1.5rem;
    }

    @media (max-width: 600px) {
      display: none;
    }
  }

  &__bubble-small {
    content: "";

    position: absolute;
    right: 1.125rem;
    bottom: -1.25rem;

    display: block;

    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;

    &--isRtl {
      right: auto;
      left: 2.125rem;
    }

    @media (max-width: 600px) {
      display: none;
    }
  }

  &__items-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 1.25rem;

    @media (max-width: 600px) {
      width: fit-content;
    }
  }

  &__items {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  &__hint {
    padding: 0.25rem 0.5rem;

    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-align: center;
    text-wrap: balance;
  }

  &__reactions {
    cursor: var(--custom-cursor, pointer);

    display: flex;
    align-items: center;

    height: 2.5rem;
    padding: 0 0.5rem;
  }

  &__show-more {
    width: 2rem;
    height: 2rem;
    margin-inline-start: 0.25rem;
    margin-inline-end: -0.125rem;
    padding: 0;
    border-radius: 50%;

    font-size: 1.5rem;
  }

  @media (max-width: 600px) {
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
  }
}
