.EmojiPicker {
  height: 100%;

  &-main {
    height: calc(100% - 3rem);
    overflow-y: auto;
    padding: 0.5rem;

    @media (max-width: 600px) {
      padding: 0.5rem 0.25rem;
    }

    .symbol-set-container {
      display: flex;
      flex-wrap: wrap;
    }
  }

  &-header {
    height: 3rem;
    border-bottom: 1px solid var(--color-borders);
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 0 2px var(--color-default-shadow);

    @media (max-width: 600px) {
      overflow-x: auto;
      overflow-y: hidden;
      display: block;
      white-space: nowrap;
      padding: 0.4375rem 0;

      scrollbar-width: none;
      scrollbar-color: rgba(0, 0, 0, 0);

      &::-webkit-scrollbar {
        height: 0;
      }

      &::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0);
      }

      .symbol-set-button {
        display: inline-flex;
        vertical-align: middle;
      }

      // Spacer to counter last button margin not being accounted in scroll width
      &::after {
        content: "";
        display: block;
        flex-shrink: 0;
        width: 0.1px;
        height: 1rem;
      }
    }
  }
}
