.standAlone {
  color: #fff;
  position: absolute;
  right: 0;
  left: 0;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 2;
}

.position-top {
  top: 0;
}

.position-bottom {
  bottom: 0;
}

.standAlone > * {
  pointer-events: auto;
}

.button {
  border: 0;
  padding: 0;
  background-color: transparent;
  width: 44px;
  height: 40px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  cursor: pointer;
  position: relative;
  outline-offset: -5px;
}

.button,
.tooltip {
  transition: opacity .2s, visibility .2s;
}

.fadedOut .button {
  opacity: 0.6;
}

.wrapper:hover .button,
.wrapper:active .button,
.wrapper:focus .button {
  opacity: 1;
}

.button svg {
  width: 23px;
  height: 23px;
}

.standAlone .button svg {
  filter: drop-shadow(0 1px 4px #000);
}

.tooltip {
  font-size: 13.5555px;
  font-family: sans-serif;
  line-height: 1.4;
  position: absolute;
  right: 5px;
  background-color: rgba(17, 17, 17, 0.9);
  border-radius: 3px;
  color: #fff;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  text-align: right;
  margin-left: 10px;
  box-sizing: border-box;
  max-width: 95%;
  z-index: 1;
}

.position-bottom .tooltip {
  bottom: 38px;
}

.position-top .tooltip {
  top: 38px;
}

.tooltip::after {
  content: "";
  display: block;
  border: solid 5px transparent;
  position: absolute;
  right: 11px;
}

.position-bottom .tooltip::after {
  border-top-color: rgba(17, 17, 17, 0.9);
  top: 100%;
}

.position-top .tooltip::after {
  border-bottom-color: rgba(17, 17, 17, 0.9);
  bottom: 100%;
}

.tooltip a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

.tooltip li {
  white-space: nowrap;
}

.tooltip span {
  color: rgba(255, 255, 255, 0.7);
}

.wrapper:hover .tooltip,
.wrapper:focus-within .tooltip {
  visibility: visible;
  opacity: 1;
}

.scroller {
  overflow: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.scroller::-webkit-scrollbar {
  height: 12px;
}

.scroller::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  border: 3px solid rgba(17, 17, 17, 0.9);
}
