#feed-wrap {
  @media (min-width: 2100px) {
    width: calc(100% - 450px - 520px);
    margin: 0 520px 0 450px;
  }
  @media (min-width: 1920px) and (max-width: 2099px) {
    width: calc(100% - 410px - 410px);
    margin: 0 410px 0 410px;
  }
  @media (min-width: 1600px) and (max-width: 1919px) {
    width: calc(100% - 340px - 280px);
    margin: 0 280px 0 340px;
  }
  @media (min-width: 1440px) and (max-width: 1599px) {
    width: calc(100% - 340px - 240px);
    margin: 0 240px 0 340px;
  }
  @media (min-width: 1280px) and (max-width: 1439px) {
    width: calc(100% - 270px - 240px);
    margin: 0 240px 0 270px;
  }
  @media (min-width: 1100px) and (max-width: 1279px) {
    width: calc(100% - 240px - 200px);
    margin: 0 200px 0 240px;
  }
  @media (max-width: 1099px) {
    width: 100%;
  }

  @media (min-width: 1100px) {
    padding: 0 24px;
  }
  @media (max-width: 1099px) {
    order: 3;
  }
}

#feed-wrap[type="no-recs"] {
  @media (min-width: 2100px) {
    width: calc(100% - 651px);
    margin: 0 0 0 651px;
  }
  @media (min-width: 1920px) and (max-width: 2099px) {
    width: calc(100% - 564px);
    margin: 0 0 0 564px;
  }
  @media (min-width: 1440px) and (max-width: 1919px) {
    width: calc(100% - 448px);
    margin: 0 0 0 448px;
  }
  @media (min-width: 1280px) and (max-width: 1439px) {
    width: calc(100% - 355px);
    margin: 0 0 0 355px;
  }
  @media (min-width: 1100px) and (max-width: 1279px) {
    width: calc(100% - 317px);
    margin: 0 0 0 317px;
  }

  @media (min-width: 1100px) {
    padding: 0 0 0 24px;
  }
}

#feed[type="profile"] {
  width: 100%;
}

#profile, #channel {
  @media (min-width: 2100px) {
    width: 450px;
  }
  @media (min-width: 1920px) and (max-width: 2099px) {
    width: 410px;
  }
  @media (min-width: 1440px) and (max-width: 1919px) {
    width: 340px;
  }
  @media (min-width: 1280px) and (max-width: 1439px) {
    width: 270px;
  }
  @media (min-width: 1100px) and (max-width: 1279px) {
    width: 240px;
  }
  @media (max-width: 1099px) {
    width: 100%;
  }

  @media (min-width: 1100px) {
    position: fixed;
    z-index: 5;
  }
  @media (max-width: 1099px) {
    order: 1;
  }
}

#channel[type="no-recs"] {
  @media (min-width: 2100px) {
    width: 651px;
  }
  @media (min-width: 1920px) and (max-width: 2099px) {
    width: 564px;
  }
  @media (min-width: 1440px) and (max-width: 1919px) {
    width: 448px;
  }
  @media (min-width: 1280px) and (max-width: 1439px) {
    width: 355px;
  }
  @media (min-width: 1100px) and (max-width: 1279px) {
    width: 317px;
  }
}

#stats {
  @media (min-width: 2100px) {
    width: 520px;
  }
  @media (min-width: 1920px) and (max-width: 2099px) {
    width: 410px;
  }
  @media (min-width: 1600px) and (max-width: 1919px) {
    width: 280px;
  }
  @media (min-width: 1280px) and (max-width: 1599px) {
    width: 240px;
  }
  @media (min-width: 1100px) and (max-width: 1279px) {
    width: 200px;
  }
  @media (max-width: 1099px) {
    width: 100%;
  }

  @media (min-width: 1100px) {
    position: fixed;
    right: 24px;
  }
  @media (max-width: 1099px) {
    order: 2;
  }
}

#recommendations[type="profile"] {
  width: 100%;
}

/* typography */

.linksAndSecondaryText {
  @media (min-width: 430px) {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
  }
  @media (max-width: 429px) {
    font-size: 10px;
    font-weight: 700;
    line-height: 20px;
  }
}

.mainText {
  @media (min-width: 430px) {
    font-size: 14px;
    font-weight: 450;
    line-height: 21px;
  }
  @media (max-width: 429px) {
    font-size: 12px;
    font-weight: 450;
    line-height: 18px;
  }
}

.date {
  @media (min-width: 430px) {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
  }
  @media (max-width: 429px) {
    font-size: 8px;
    font-weight: 600;
    line-height: 10px;
  }
}

/* end */

.profile {
  display: flex;
  width: 100%;
  gap: 24px;
  color: #000000;
}

.profile-card {
  background-color: #FFFFFF;
  border-radius: 24px;
  width: 100%;
}

.profile__user-info {
  display: flex;
  flex-direction: column;
  width: 100%;

  @media (min-width: 1100px) {
    gap: 24px;
  }
  @media (min-width: 960px) and (max-width: 1099px) {
    gap: 16px;
  }
  @media (min-width: 320px) and (max-width: 959px) {
    gap: 12px;
  }
  @media (max-width: 319px) {
    gap: 8px;
  }
}

.profile-card__heading {
  position: relative;
  height: 152px;

  @media (min-width: 1919px) {
    height: 138px;
  }
  @media (min-width: 1440px) and (max-width: 1919px) {
    height: 114px;
  }
  @media (min-width: 1100px) and (max-width: 1439px) {
    height: 90px;
  }
  @media (min-width: 960px) and (max-width: 1099px) {
    height: 160px;
  }
  @media (min-width: 430px) and (max-width: 959px) {
    height: 120px;
  }
  @media (min-width: 320px) and (max-width: 429px) {
    height: 100px;
  }
  @media (max-width: 319px) {
    height: 80px;
  }
}

.profile-card__cover {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
}

.profile-card__cover.clickable {
  cursor: pointer;
}

.profile-card__cover-default {
  width: 100%;
  height: 152px;
  border-radius: 24px 24px 0 0;
  background: var(--general-second-green);
}

.profile-card__author__wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;

  @media (min-width: 430px) {
    padding: 12px 0;
  }
  @media (max-width: 429px) {
    padding: 8px 0;
  }
}

.profile-card__author {
  word-break: normal;
  overflow-wrap: anywhere;
  white-space: normal;
  
  @media (min-width: 2100px) {
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
  }
  @media (min-width: 430px) and (max-width: 2099px) {
    font-size: 20px;
    font-weight: 700;
    line-height: 27px;
  }
  @media (max-width: 429px) {
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
  }
}

.profile-card__username {
  color: var(--interface-colors-icons-color);

  @media (min-width: 2100px) {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
  }
  @media (min-width: 430px) and (max-width: 2099px) {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
  }
  @media (max-width: 429px) {
    font-size: 10px;
    font-weight: 700;
    line-height: 20px;
  }
}

.profile-card__username::before {
  content: '@';
}

.profile-card__about {
  color: var(--brand-colors-dark-green);
  font-weight: 400;
  text-align: justify;
  word-break: normal;
  overflow-wrap: anywhere;
  white-space: normal;

  @media (min-width: 430px) {
    font-size: 12px;
    line-height: 18px;
  }
  @media (max-width: 429px) {
    font-size: 9px;
    line-height: 14px;
  }
}

.profile-card__info {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  @media (min-width: 2100px) {
    padding: 48px 24px 24px 24px;
  }
  @media (min-width: 1920px) and (max-width: 2099px) {
    padding: 48px 24px 24px 24px;
  }
  @media (min-width: 1600px) and (max-width: 1919px) {
    padding: 60px 24px 24px 24px;
  }
  @media (min-width: 1440px) and (max-width: 1599px) {
    padding: 48px 24px 24px 24px;
  }
  @media (min-width: 1280px) and (max-width: 1439px) {
    padding: 44px 16px 16px 16px;
  }
  @media (min-width: 1100px) and (max-width: 1279px) {
    padding: 44px 16px 16px 16px;
  }
  @media (min-width: 960px) and (max-width: 1099px) {
    padding: 48px 24px 24px 24px;
  }
  @media (min-width: 320px) and (max-width: 959px) {
    padding: 44px 12px 12px 12px;
  }
  @media (max-width: 319px) {
    padding: 36px 8px 8px 8px;
  }
}

.profile-card__avatar-container {
  display: flex;
  position: relative;
  cursor: pointer;

  @media (min-width: 1600px) {
    width: 100px;
    height: 100px;
  }
  @media (min-width: 1440px) and (max-width: 1599px) {
    width: 88px;
    height: 88px;
  }
  @media (min-width: 1100px) and (max-width: 1439px) {
    width: 76px;
    height: 76px;
  }
  @media (min-width: 960px) and (max-width: 1099px) {
    width: 110px;
    height: 110px;
  }
  @media (min-width: 320px) and (max-width: 959px) {
    width: 76px;
    height: 76px;
  }
  @media (max-width: 319px) {
    width: 68px;
    height: 68px;
  }
}

.profile-card__avatar {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  border-radius: 100% 100% 0 100%;
  pointer-events: none;
  object-fit: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FFFFFF;
  font-size: 32px;
  border: 1px solid var(--interface-colors-border-gray);
}

.profile-card__avatar-wrap {
  position: absolute;

  @media (min-width: 1920px) {
    top: -52px;
  }
  @media (min-width: 1440px) and (max-width: 1919px){
   top: -40px;
  }
  @media (min-width: 1100px) and (max-width: 1439px) {
    top: -32px;
  }
  @media (min-width: 960px) and (max-width: 1099px) {
    top: -62px;
  }
  @media (max-width: 959px) {
    top: -32px;
  }
}

.profile-card__stats__wrap {
  width: 100%;
}

.profile-card__author__content {
  width: 100%;
  display: flex;
  flex-direction: column;

  @media (min-width: 1100px) {
    gap: 16px;
  }
  @media (min-width: 320px) and (max-width: 1099px) {
    gap: 12px;
  }
  @media (max-width: 319px) {
    gap: 8px;
  }
}

.profile-card__stats {
  display: flex;

  @media (min-width: 2100px) {
    gap: 24px;
  }
  @media (min-width: 1920px) and (max-width: 2099px){
    gap: 36px;
  }
  @media (min-width: 1440px) and (max-width: 1919px) {
    gap: 16px;
  }
  @media (min-width: 1280px) and (max-width: 1439px) {
    gap: 8px;
  }
  @media (min-width: 1100px) and (max-width: 1279px) {
    gap: 4px;
  }
  @media (min-width: 430px) and (max-width: 1099px) {
    gap: 36px;
  }
  @media (min-width: 320px) and (max-width: 429px) {
    gap: 24px;
  }
  @media (max-width: 319px) {
    gap: 16px;
  }
}

.profile-card__stat {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.profile-card__stat-value {
  @media (min-width: 2100px) {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
  }
  @media (min-width: 1920px) and (max-width: 2099px) {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
  }
  @media (min-width: 320px) and (max-width: 1919px){
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
  }
  @media (max-width: 319px) {
    font-size: 10px;
    font-weight: 700;
    line-height: 20px;
  }
}

.profile-card__stat-label {
  color: var(--interface-colors-icons-color);
  text-transform: capitalize;

  @media (min-width: 2100px) {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
  }
  @media (min-width: 1440px) and (max-width: 2099px){
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
  }
  @media (min-width: 320px) and (max-width: 1439px) {
    font-size: 10px;
    font-weight: 600;
    line-height: 14px;
  }
  @media (max-width: 319px) {
    font-size: 8px;
    font-weight: 600;
    line-height: 10px;
  }
}

.profile-card__author__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  @media (min-width: 430px) {
    gap: 12px;
  }
  @media (max-width: 429px) {
    gap: 4px;
  }
}

.profile-card__hashtags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.profile-card__hashtags-categories {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.profile-card__category {
  background: var(--interface-colors-gray-tag-bg);
  border-radius: 4px;
  color: var(--interface-colors-icons-color);

  @media (min-width: 2100px) {
    padding: 2px 8px;
  }
  @media (max-width: 2099px) {
    padding: 2px 4px;
  }

  @media (min-width: 2100px) {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
  }
  @media (min-width: 430px) and (max-width: 2099px) {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
  }
  @media (max-width: 429px) {
    font-size: 8px;
    font-weight: 600;
    line-height: 10px;
  }
}

.trashcan::before {
  color: var(--brand-colors-dark-green);
}

.profile__cover__modal__content {
  @media (min-width: 430px) {
    padding: 0 24px;
  }
  @media (max-width: 429px) {
    padding: 0;
  }
}

.profile-card__action-corner {
  position: absolute;
  top: 0;
  right: 0;
}

.profile-card__action-absolute {
  position: absolute;

  @media (min-width: 1440px) {
    top: 24px;
    right: 24px;
  }
  @media (min-width: 1100px) and (max-width: 1439px){
    top: 16px;
    right: 16px;
  }
  @media (min-width: 430px) and (max-width: 1099px){
    top: 24px;
    right: 24px;
  }
  @media (min-width: 320px) and (max-width: 429px){
    top: 12px;
    right: 12px;
  }
  @media (max-width: 319px) {
    top: 8px;
    right: 8px;
  }
}

.delete-cover-action {
  position: absolute;

  @media (min-width: 430px) {
    top: 14px;
    right: 14px;
  }
  @media (min-width: 320px) and (max-width: 429px) {
    right: 12px;
    bottom: calc(100% + 12px);
  }
  @media (max-width: 319px) {
    right: 8px;
    bottom: calc(100% + 8px);
  }
}

.profile-card__copy {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-card__copy > i {
  cursor: pointer;
}

.profile-cart__copy-success,
.profile-stats__referral-link-success {
  position: absolute;
  top: calc(100% + 4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--interface-colors-dark-tag);
  border-radius: 10px;
  background: var(--interface-colors-light-tag-bg);
  width: max-content;
}

.profile-stats__referral-link-success {
  right: 0;
}

#copy-success,
#copy-ref-success {
  display: none;
}

#copy-success.active,
#copy-ref-success.active {
  display: flex;
}

.profile-cart__copy-success > span,
.profile-stats__referral-link-success > span {
  color: var(--brand-colors-dark-green);

  @media (min-width: 2100px) {
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
  }
  @media (max-width: 2099px){
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
  }
}

.profile-cart__copy-success > i:before,
.profile-stats__referral-link-success > i:before {
  color: var(--interface-colors-tags-light-green);
}

.profile-card__links {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.profile-card__link {
  color: var(--interface-colors-icons-color);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  transition: color .3s;
}

.profile-card__link:is(:hover, :active, :focus) {
  color: var(--hover-link)
}

.profile-card__additional-links-count {
  color: var(--interface-colors-icons-color);
  cursor: pointer;
}

.profile-card__additional-links-count::before {
  content: '+';
}

.subscription-stats {
  background: #FFFFFF;
  border-radius: 24px;

  @media (min-width: 430px) {
    padding: 24px;
  }
  @media (max-width: 429px) {
    padding: 12px;
  }
}

.subscription-stats__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subscription-stats__header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.subscription-stats__main {
  margin-top: 12px;
}

.subscription-stats__row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.subscription-stats__row:not(:last-child) {
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--interface-colors-border-gray);
}

.subscription-stats__subs-count {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 50px;
}

.subscription-stats__subs-period {
  width: 80px;
}

.subscription-stats__amount {
  display: flex;
  align-items: center;
  gap: 8px;
}

.subscription-stats__amount span:first-child {
  color: var(--interface-colors-icons-color);
}

.subscription-stats__amount span:last-child {
  color: var(--brand-colors-dark-green);
}

.setup__subscription {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #FFFFFF;
  border-radius: 24px;

  @media (min-width: 430px) {
    padding: 24px;
  }
  @media (max-width: 429px) {
    padding: 12px;
  }
}

.setup__subscription-description {
  display: flex;
  gap: 12px;
}

.setup__subscription-description > span {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.sponsorship__actions {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--interface-colors-border-gray);

  @media (min-width: 430px) and (max-width: 1100px) {
    justify-content: center;
  }

  @media (min-width: 430px) {
    padding-top: 20px;
    margin-top: 16px;
  }
  @media (max-width: 429px) {
    padding-top: 8px;
    margin-top: 8px;
  }
}

.profile-card__actions {
  display: flex;
  align-items: center;

  @media (min-width: 430px) {
    gap: 8px;
  }
  @media (max-width: 429px) {
    gap: 4px
  }
}

.profile-card__actions .follow-status-btn {
  @media (max-width: 1440px) {
    width: auto;
  }
  @media (min-width: 1100px) and (max-width: 1439px) {
    width: 36px;
  }
  @media (max-width: 1099px) {
    width: auto;
  }
}

.profile-card__actions .follow-status-btn span {
  @media (max-width: 1440px) {
    display: block;
  }
  @media (min-width: 1100px) and (max-width: 1439px) {
    display: none;
  }
  @media (max-width: 1099px) {
    display: block;
  }
}


:is(.profile-card__actions, .profile-contacts-modal__user, .user-list__container) :is(.add-friend-btn, .requested-btn, .friend-btn, .follow-status-btn) {
  display: none;
}

:is(.profile-card__actions, .profile-contacts-modal__user, .user-list__container) :is(.add-friend-btn, .requested-btn, .friend-btn, .follow-status-btn).--active {
  display: flex;
}

.sponsorship__actions-donate-arrow {
  width: 16px;
  height: 16px;
}

.get__acquainted {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #FFFFFF;
  font-family: 'Open Sans', sans-serif;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;

  @media (min-width: 320px) and (max-width: 589px) {
    padding: 12px;
    gap: 12px;
  }

  @media (min-width: 590px) and (max-width: 1099px) {
    padding: 16px 24px;
  }

  @media (min-width: 1100px) and (max-width: 1919px) {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-radius: 24px;
  }

  @media (min-width: 1920px) {
    padding: 24px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}

.get__acquainted > span {
  color: #000000;
  font-weight: 700;
  font-size: 11px;
  line-height: 15px;

  @media (min-width: 320px) and (max-width: 429px) {
    font-size: 14px;
    line-height: 19px;
  }

  @media (min-width: 430px) and (max-width: 589px) {
    font-size: 16px;
    line-height: 22px;
  }

  @media (min-width: 590px) and (max-width: 959px) {
    font-size: 18px;
    line-height: 24px;
  }

  @media (min-width: 960px) and (max-width: 1099px) {
    font-size: 20px;
    line-height: 27px;
  }

  @media (min-width: 1100px) and (max-width: 1279px) {
    font-size: 18px;
    line-height: 24px;
  }

  @media (min-width: 1280px) and (max-width: 2099px) {
    font-size: 20px;
    line-height: 27px;
  }

  @media (min-width: 2100px) {
    font-size: 22px;
    line-height: 30px;
  }
}

.icon__fire__red > svg > path {
  fill: #FF003D;
}

.image__modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.image__modal__content.spacing {
  @media (min-width: 430px) {
    padding: 0 71px;
  }
}

.image__modal__cover {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  aspect-ratio: 3 / 1;
}

.image__modal__cover.spacing-bottom {
  @media (min-width: 590px) and (max-width: 959px){
    margin-bottom: 8px;
  }
  @media (min-width: 430px) and (max-width: 589px) {
    margin-bottom: 4px;
  }
}

.image__modal__cover > img {
  object-fit: cover;
  width: 100%;
  height: 100%;

  @media (min-width: 960px) {
    border-radius: 20px;
  }
  @media (min-width: 430px) and (max-width: 959px) {
    border-radius: 12px;
  }

  @media (max-width: 959px) {
    height: auto;
    aspect-ratio: 3 / 1;
  }

  @media (min-width: 430px) {
    border: 2px solid var(--interface-colors-border-gray);
  }
}

.image__modal__avatar {
  position: relative;
  aspect-ratio: 1;

  @media (min-width: 430px) {
    width: 300px;
    height: 300px;
  }
  @media (max-width: 429px) {
    width: 240px;
    height: 240px;
  }
}

.image__modal__avatar.spacing-bottom {
  @media (min-width: 430px) {
    margin-bottom: 16px;
  }
}

.image__modal__avatar > img {
  object-fit: cover;
  border: 2px solid var(--interface-colors-border-gray);
  border-radius: 100% 100% 0 100%;
  width: 100%;
  height: 100%;
}

.image__modal__avatar.channel__modal__avatar > img {
  border-radius: 40px;
}

.image__modal__label {
  text-align: center;
  color: var(--interface-colors-icons-color);
  margin: auto;

  @media (min-width: 430px) {
    font-size: 14px;
    font-weight: 450;
    line-height: 21px;
  }
  @media (min-width: 320px) and (max-width: 429px) {
    font-size: 12px;
    font-weight: 450;
    line-height: 18px;
  }
  @media (max-width: 319px) {
    font-size: 10px;
    font-weight: 450;
    line-height: 15px;
  }

  @media (min-width: 430px) and (max-width: 959px) {
    max-width: 240px;
  }
  @media (min-width: 320px) and (max-width: 429px) {
    max-width: 220px;
  }
  @media (max-width: 319px) {
    max-width: 185px;
  }
}

.image__modal__label.hidden {
  display: none;
}

.image__modal__label-error {
  color: var(--error);
}

.profile-contacts-modal__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--brand-colors-dark-green);
  height: 100%;

  @media (min-width: 1280px) {
    gap: 16px;
  }
  @media (min-width: 960px) and (max-width: 1279px) {
    gap: 12px;
  }
  @media (min-width: 590px) and (max-width: 959px) {
    gap: 24px;
  }
  @media (min-width: 430px) and (max-width: 589px) {
    gap: 12px;
  }
  @media (max-width: 429px) {
    gap: 8px;
  }
}

.contacts__modal__content {
  height: 100%;
}

.profile-contacts-modal__users {
  overflow-y: auto;
  height: fit-content;
  scrollbar-width: auto;
  scrollbar-color: rgba(0, 0, 0, 10%) #ffffff;

  @media (min-width: 1920px) {
    height: 376px;
  }
  @media (min-width: 1440px) and (max-width: 1919px) {
    height: 334px;
  }
  @media (min-width: 1280px) and (max-width: 1439px) {
    height: 274px;
  }
  @media (min-width: 960px) and (max-width: 1279px) {
    height: 356px;
  }
  @media (min-width: 430px) and (max-width: 959px) {
    padding-bottom: 24px;
    height: calc(100vh - 276px);
  }
  @media (min-width: 430px) and (max-width: 589px) {
    padding-bottom: 16px;
    height: calc(100vh - 236px);
  }
  @media (min-width: 320px) and (max-width: 429px) {
    padding-bottom: 12px;
    height: calc(100vh - 190px);
  }
  @media (max-width: 319px) {
    padding-bottom: 8px;
    height: calc(100vh - 174px);
  }
}

.profile-contacts-modal__users::-webkit-scrollbar {
  width: 4px;
}

.profile-contacts-modal__users::-webkit-scrollbar-track {
  background: #ffffff;
}

.profile-contacts-modal__users::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 10%);
  border-radius: 8px;
  border: 3px none #ffffff;
}

.profile-contacts-modal__container {
  width: 100%;

  @media (min-width: 2100px) {
    max-width: 700px;
  }
  @media (min-width: 960px) and (max-width: 2099px){
    max-width: 600px;
  }

  @media (min-width: 960px) {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  @media (min-width: 589px) and (max-width: 959px) {
    padding-top: 24px;
  }
  @media (min-width: 430px) and (max-width: 589px) {
    padding-top: 20px;
  }
  @media (min-width: 320px) and (max-width: 429px) {
    padding-top: 16px;
  }
  @media (max-width: 319px) {
    padding-top: 12px;
  }
}

.profile-contacts-modal__count {
  color: var(--brand-colors-dark-green);
  display: none;
  text-transform: capitalize;

  @media (min-width: 2100px) {
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
  }
  @media (min-width: 430px) and (max-width: 2099px) {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
  }
  @media (min-width: 320px) and (max-width: 429px) {
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
  }
  @media (max-width: 319px) {
    font-size: 10px;
    font-weight: 600;
    line-height: 20px;
  }
}

.profile-contacts-modal__search {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid var(--interface-colors-border-gray);

  @media (min-width: 429px) {
    padding: 8px 12px;
  }
  @media (max-width: 429px) {
    padding: 8px;
  }
}

.profile-contacts-modal__search > input {
  border: none;
  flex-grow: 1;
  color: var(--interface-colors-icons-color);

  @media (min-width: 2100px) {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
  }
  @media (min-width: 430px) and (max-width: 2099px) {
    font-size: 14px;
    font-weight: 450;
    line-height: 21px;
  }
  @media (max-width: 429px) {
    font-size: 12px;
    font-weight: 450;
    line-height: 18px;
  }
}

.profile-contacts-modal__search > input::placeholder {
  color: var(--interface-colors-icons-color);
}

.profile-contacts-modal__count.active {
  display: initial;
}

.profile-contacts-modal__content-tab {
  display: none;
}

.profile-contacts-modal__content-tab.active {
  display: initial;
}

.profile-contacts-modal__controls {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--interface-colors-border-gray);

  @media (min-width: 590px) {
    gap: 16px;
  }
  @media (min-width: 430px) and (max-width: 598px) {
    gap: 8px;
  }
  @media (max-width: 429px) {
    gap: 6px;
  }
}

.profile-contacts-modal__control.active {
  background: var(--interface-colors-dark-tag);
  border-color: transparent;
}

.contacts__modal__content-spacing {
  @media (min-width: 590px) {
    margin-right: 24px;
    margin-left: 24px;
  }
  @media (min-width: 430px) and (max-width: 589px) {
    margin-right: 16px;
    margin-left: 16px;
  }
  @media (min-width: 320px) and (max-width: 429px) {
    margin-right: 12px;
    margin-left: 12px;
  }
  @media (max-width: 319px) {
    margin-right: 8px;
    margin-left: 8px;
  }
}

.contacts__modal__content-users-spacing {
  @media (min-width: 590px) {
    padding-left: 24px;
    padding-right: 16px;
    margin-right: 8px;
  }
  @media (min-width: 430px) and (max-width: 589px) {
    padding-left: 16px;
    padding-right: 12px;
    margin-right: 4px;
  }
  @media (min-width: 320px) and (max-width: 429px) {
    padding-left: 12px;
    padding-right: 8px;
    margin-right: 4px;
  }
  @media (max-width: 319px) {
    padding-left: 8px;
    padding-right: 6px;
    margin-right: 2px;
  }
}

.profile-contacts-modal__control {
  padding: 8px 16px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--interface-colors-border-gray);
  cursor: pointer;
  text-transform: capitalize;

  @media (min-width: 430px) {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    padding: 10px 12px;
    gap: 16px;
  }
  @media (min-width: 320px) and (max-width: 429px) {
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    padding: 6px 8px;
    gap: 6px;
  }
  @media (max-width: 319px) {
    font-size: 10px;
    font-weight: 600;
    line-height: 20px;
    padding: 6px;
    gap: 4px;
  }
}

.profile-contacts-modal__control.active {
  background: var(--interface-colors-dark-tag);
  border-color: transparent;
}

.profile-contacts-modal__users {
  display: flex;
  flex-direction: column;

  @media (min-width: 430px) {
    gap: 16px;
  }
  @media (min-width: 320px) and (max-width: 429px) {
    gap: 12px;
  }
  @media (max-width: 319px) {
    gap: 10px;
  }
}

.profile-contacts-modal__user {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.profile-contacts-modal__user.hidden {
  display: none;
}

.profile-contacts-modal__user .follow-status-btn span {
  font-weight: 600;
}

.profile-contacts-modal__info {
  margin-right: auto;
}

.profile-contacts-modal__avatar {
  position: relative;
  border-radius: 50% 50% 0 50%;

  @media (min-width: 320px) {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  @media (max-width: 319px) {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
}

.profile-contacts-modal__avatar > img {
  width: 100%;
  height: 100%;
  border: 1px solid var(--interface-colors-border-gray);
  border-radius: 100% 100% 0 100%;
  object-fit: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--interface-colors-white);
}

.profile-contacts-modal__avatar.online::after {
  /* content: ''; */
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: var(--interface-colors-tags-light-green);
  border-radius: 50%;
}

.profile-contacts-modal__name {
  color: var(--brand-colors-dark-green);

  @media (min-width: 2100px) {
    font-size: 20px;
    font-weight: 700;
    line-height: 27px;
  }
  @media (min-width: 590px) and (max-width: 2099px) {
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
  }
  @media (min-width: 430px) and (max-width: 590px) {
    font-size: 14px;
    font-weight: 700;
    line-height: 19px;
  }
  @media (min-width: 320px) and (max-width: 429px) {
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
  }
  @media (max-width: 319px) {
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
  }
}

.profile-contacts-modal__username {
  color: var(--interface-colors-icons-color);
}

.profile-contacts-modal__no-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: auto;
}

.profile-contacts-modal__no-items > svg {
  width: 136px;
  height: 32px;
}

.profile-contacts-modal__no-items > span {
  font-size: 20px;
  font-weight: 700;
  line-height: 27px;
  text-align: center;
}

/* Action */

.action {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--interface-colors-grey-icons-color-deep-grey);
  border-radius: 8px;
  background: var(--interface-colors-white);
  cursor: pointer;
  color: var(--brand-colors-dark-green);

  @media (min-width: 430px) {
    width: 32px;
    height: 32px;
  }
  @media (max-width: 429px) {
    width: 28px;
    height: 28px;
  }
}

.action > i {
  @media (min-width: 430px) {
    font-size: 20px;
  }
  @media (max-width: 429px) {
    font-size: 16px;
  }
}

.message-action {
  @media (min-width: 430px) {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
  @media (max-width: 429px) {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
}

.profile-action {
  @media (min-width: 1099px) and (max-width: 1439px) {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
}

.profile-action > span {
  @media (min-width: 1099px) and (max-width: 1439px) {
    display: none;
  }
}

/* Profile stats */

.profile-stats {
  height: fit-content;
  border-radius: 24px;

  @media (min-width: 1280px) {
    padding: 24px;
  }
  @media (min-width: 1100px) and (max-width: 1279px) {
    padding: 16px;
  }

  @media (min-width: 1100px) {
    background: #FFFFFF;
  }
  @media (max-width: 1099px) {
    display: flex;
    align-items: center;
  }
  @media (max-width: 959px) {
    flex-direction: column;
  }

  @media (min-width: 960px) and (max-width: 1099px) {
    gap: 8px;
  }
  @media (max-width: 959px) {
    gap: 12px;
  }
}

.profile-stats__referrals {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #FFFFFF;

  @media (min-width: 430px) and (max-width: 1099px) {
    flex-direction: row;
    align-items: center;
  }
  @media (min-width: 960px) and (max-width: 1099px) {
    width: fit-content;
  }
  @media (max-width: 959px) {
    width: 100%;
  }

  @media (min-width: 590px) {
    border-radius: 24px;
  }
  @media (min-width: 430px) and (max-width: 589px) {
    border-radius: 16px;
  }
  @media (max-width: 429px) {
    border-radius: 12px;
  }

  @media (min-width: 960px) and (max-width: 1099px) {
    padding: 12px 24px;
  }
  @media (min-width: 590px) and (max-width: 959px) {
    padding: 16px 24px;
  }
  @media (min-width: 430px) and (max-width: 589px) {
    padding: 12px 16px;
  }
  @media (min-width: 320px) and (max-width: 429px) {
    padding: 12px;
  }
  @media (max-width: 319px) {
    padding: 8px;
  }
}

.profile-stats__referrals-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-stats__referrals-label > span {
  color: var(--brand-colors-dark-green);

  @media (min-width: 2100px) {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
  }
  @media (min-width: 1280px) and (max-width: 2099px) {
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
  }
  @media (min-width: 320px) and (max-width: 1279px) {
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
  }
  @media (max-width: 319px) {
    font-size: 11px;
    font-weight: 600;
    line-height: 15px;
  }
}

.profile-stats__referrals-label > span:first-child {
  background: var(--general-second-green);
  padding: 4px 8px;
  border-radius: 30px;
}

.profile-stats__referral-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 8px;
  background: #FFFFFF;

  @media (max-width: 959px) {
    flex-grow: 1;
  }
}

.profile-stats__referral-link-value {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--interface-colors-border-gray);
  background: var(--brand-colors-grayish-lime-green);
  color: var(--interface-colors-icons-color);
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  text-wrap: nowrap;

  @media (min-width: 2100px) {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
  }
  @media (min-width: 430px) and (max-width: 2099px) {
    font-size: 14px;
    font-weight: 450;
    line-height: 21px;
  }
  @media (max-width: 429px) {
    font-size: 12px;
    font-weight: 450;
    line-height: 18px;
  }

  @media (min-width: 960px) and (max-width: 1099px) {
    max-width: 148px;
  }
  @media (min-width: 430px) and (max-width: 589px) {
    max-width: 166px;
  }
}

.share-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--brand-colors-dark-green);
  border-radius: 10px;
  cursor: pointer;

  @media (min-width: 429px) {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  @media (max-width: 429px) {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
}

.share-button > i:before {
  color: var(--general-second-green);
}

.profile-stats__links {
  display: flex;
  flex-direction: column;

  @media (min-width: 1100px) {
    margin-top: 16px;
  }
  @media (max-width: 1099px) {
    padding: 20px 24px;
    background: #FFFFFF;
    border-radius: 16px;
  }
  @media (min-width: 960px) and (max-width: 1099px) {
    flex-grow: 1;
  }
  @media (max-width: 959px) {
    width: 100%;
  }
}

.profile-stats__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: var(--brand-colors-dark-green);

  @media (min-width: 1100px) {
    border-top: 1px solid var(--interface-colors-border-gray);
    padding-top: 16px;
  }
}

.profile-stats__link-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-stats__link-left {
  @media (min-width: 2100px) {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
  }
  @media (max-width: 2099px) {
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
  }
}

.profile-stats__link i:before {
  color: var(--interface-colors-icons-color);
}

.links-modal__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.links-modal__link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.links-modal__link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--brand-colors-grayish-lime-green);
}

.links-modal__link-item {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--brand-colors-dark-green);
  transition: color 0.3s;
}

.links-modal__link-item:is(:hover, :active, :focus) {
  color: var(--interface-colors-tags-green);
}

.profile-actions {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;

  @media (min-width: 1440px) {
    top: 24px;
    right: 24px;
  }
  @media (min-width: 1100px) and (max-width: 1439px){
    top: 16px;
    right: 16px;
  }
  @media (min-width: 430px) and (max-width: 1099px){
    top: 24px;
    right: 24px;
  }
  @media (min-width: 320px) and (max-width: 429px){
    top: 12px;
    right: 12px;
  }
  @media (max-width: 319px) {
    top: 8px;
    right: 8px;
  }
}

.profile-actions > i {
  cursor: pointer;
}

.profile-actions__menu {
  position: absolute;

  display: none;
  flex-direction: column;
  border: 1px solid var(--interface-colors-border-gray);
  box-shadow: 0 4px 16px 0 #0000001F;
  border-radius: 12px;
  background: #FFFFFF;
  z-index: 1;

  @media (min-width: 1100px) {
    top: calc(100% + 4px);
    left: 0;
  }
  @media (max-width: 1099px) {
    top: calc(100% + 4px);
    right: 0;
  }
}

.profile-actions__menu.active {
  display: flex;
}

.profile-actions__menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
}

.profile-actions__menu-item:first-child {
  border-radius: 12px 12px 0 0;
}

.profile-actions__menu-item:last-child {
  border-radius: 0 0 12px 12px;
}

.profile-actions__menu-item:hover {
  background: var(--hover-grey-full-block-grey);
  transition: background 300ms ease;
}

.profile-actions__menu-item > span {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.profile-actions__menu-item > i {
  color: var(--interface-colors-icons-color);
}

.profile-actions__menu-btn {
  display: none;
}

.profile-actions__menu-btn.--active {
  display: flex;
}

.block-user-modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 412px;
  color: var(--brand-colors-dark-green);
  margin: 0 auto;
}

.block-user-modal__content > svg {
  width: 84px;
  height: 68px;
}

.block-user-modal__content-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
}

.block-user-modal__content-list {
  font-size: 14px;
  font-weight: 450;
  line-height: 21px;
  padding: 0 38px;
}

.block-user-modal__content-list > li {
  display: list-item;
  list-style: disc;
}

.block-user-modal__content-description {
  font-size: 14px;
  font-weight: 450;
  line-height: 21px;
  text-align: center;
}

.block-user-modal__content-options {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: max-content;
  margin: auto;
  gap: 4px;
}

.blocked {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  width: 100%;
  justify-content: center;
  align-items: center;

  @media (min-width: 960px) {
    padding: 60px;
    gap: 28px;
  }
  @media (min-width: 430px) and (max-width: 959px) {
    padding: 60px 40px;
    gap: 24px;
  }
  @media (min-width: 320px) and (max-width: 429px) {
    padding: 40px 16px;
    gap: 16px;
  }
  @media (max-width: 319px) {
    padding: 28px 12px;
    gap: 12px;
  }

  @media (min-width: 430px) {
    border-radius: 24px;
  }
  @media (min-width: 320px) and (max-width: 429px) {
    border-radius: 16px;
  }
  @media (max-width: 319px) {
    border-radius: 12px;
  }
}

.blocked__title {
  text-align: center;
  color: var(--brand-colors-dark-green);

  @media (min-width: 2100px) {
    font-size: 40px;
    font-weight: 700;
    line-height: 54px;
  }

  @media (min-width: 1920px) and (max-width: 2099px) {
    font-size: 36px;
    font-weight: 700;
    line-height: 49px;
  }

  @media (min-width: 1600px) and (max-width: 1919px) {
    font-size: 32px;
    font-weight: 700;
    line-height: 44px;
  }

  @media (min-width: 1440px) and (max-width: 1599px) {
    font-size: 40px;
    font-weight: 700;
    line-height: 54px;
  }

  @media (min-width: 1100px) and (max-width: 1439px) {
    font-size: 32px;
    font-weight: 700;
    line-height: 44px;
  }

  @media (min-width: 960px) and (max-width: 1099px) {
    font-size: 24px;
    font-weight: 700;
    line-height: 33px;
  }

  @media (max-width: 959px) {
    font-size: 18px;
    font-weight: 700;
    line-height: 25px;
  }
}

.blocked__subtitle {
  text-align: center;
  color: var(--brand-colors-dark-green);

  @media (min-width: 1440px) {
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
  }

  @media (min-width: 1100px) and (max-width: 1439px) {
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
  }

  @media (min-width: 960px) and (max-width: 1099px) {
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
  }

  @media (min-width: 430px) and (max-width: 959px) {
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
  }

  @media (min-width: 320px) and (max-width: 429px) {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
  }

  @media (max-width: 319px) {
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
  }
}

.blocked > svg {
  @media (min-width: 430px) {
    width: 195px;
    height: 44px;
  }

  @media (max-width: 429px) {
    width: 124px;
    height: 28px;
  }
}
