/* 다른 화면에는 표시하지 않아 공통 레이아웃에 영향을 주지 않습니다. */
.friend-follow {
  display: none;
}

.main-album-body .friend-follow {
  position: absolute;
  top: calc(85px + var(--main-album-mobile-top-offset, 0px));
  right: 22px;
  z-index: 16;
  display: block;
}

.friend-follow__trigger {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 4px;
  border: 0;
  background: transparent;
  color: #a600d1;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  border-radius: 999px;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.friend-follow__trigger:hover,
.friend-follow__trigger:focus-visible {
  color: #a600d1;
  background: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px) scale(1.04);
}

.friend-follow__trigger:active {
  color: #a600d1;
}

.friend-follow__trigger:focus-visible {
  outline: 2px solid rgba(166, 0, 209, 0.45);
  outline-offset: 2px;
}

.friend-follow__links[hidden] {
  display: none;
}

.friend-follow__links {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  display: flex;
  min-width: 174px;
  padding: 5px;
  border: 1px solid rgba(92, 55, 104, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 16px rgba(68, 34, 78, 0.18);
}

.friend-follow__channel {
  flex: 1;
  padding: 6px 7px;
  border: 0;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.friend-follow__channel + .friend-follow__channel {
  margin-left: 4px;
}

.friend-follow__channel--kakao {
  background: #fee500;
  color: #191919;
}

.friend-follow__channel--line {
  background: #06c755;
  color: #fff;
}

.friend-follow__channel--facebook {
  background: #1877f2;
  color: #fff;
}

.friend-follow__channel:hover,
.friend-follow__channel:focus-visible {
  filter: brightness(0.96);
  transform: translateY(-1px);
}
