body.scroll-locked {
  overflow: hidden;
}

body {
  overflow: hidden;
}

.feed-page {
  position: fixed;
  height: 100%;
  width: 100%;
}

/* --------------------- Navbar superior ------------------*/
.logo-mobile {
  color: var(--text-caca);
  font-size: 28px;
  font-weight: 700;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-bg);
  z-index: 9999;
  padding: 0 4px;
}

.navbar-top svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.navbar-top.hidden {
  transform: translateY(-100%);
}

.top-btn {
  background: transparent;
  border: none;
  height: 100%;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.navbar-top svg {
  fill: var(--text-caca);
  width: 24px;
  height: 24px;
}

.top-btn2{
  position: relative;
  background: transparent;
  border: none;
  height: 100%;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------------------- formatação de texto --------------------*/

.hashtag {
  color: var(--primary-color);
}

.mention {
  color: var(--primary-color);
  text-decoration: none;
}

/* ------------------- greeting box + page----------------------------*/

.welcome-container {
  padding-top: 64px;
  padding-bottom: 120px;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100vh;
  overscroll-behavior-y: contain;
}

.welcome-box {
  width: 100%;
  padding: 4px 12px 8px;
}

.user-welcome {
  background-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

.greetingPfp {
  width: 72px;
  height: 72px ;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  -webkit-user-drag: none;
  background: #272727;
}

.user-welcome h1 {
  font-size: 19px;
  height: 22px;
  word-wrap: break-word;
  display: flex;
  align-self: center;
  overflow-wrap: break-word;
  gap: 4px;
  width: 100%;
  font-weight: bold;
}

.user-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.greetingText {
  color: var(--text-eee);
  height: 22px;
  white-space: nowrap;
}

.greetingUsername {
  color: var(--text-aaa);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize; 
}

.np-btn {
  background-color: #202020;
  border: none;
  border-radius: 14px;
  padding: 10px 14px;
  color: var(--text-aaa);
  font-size: 0.88rem;
  text-align: left;
  width: 100%;
}


/*------------- message Server -------------*/

.serverMessageArea {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-height: 500px;
  opacity: 1;
  overflow: hidden;
  transition: all 0.6s;
  background: var(--bg-primary);
}

.serverMessageArea.hidden {
  max-height: 0;
  opacity: 0;
}

.closeMessage {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-fff);
  background: transparent;
  font-size: 18px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.messageIconArea {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 140px;
}

.messageIconArea img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.textMessageArea {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px;
}

.messageTitle {
  width: 100%;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--text-fff);
  text-align: center;
}

.messageBody {
  width: 100%;
  font-size: 1rem;
  color: var(--text-999);
  text-align: center;
}

.messageAction {
  width: 100%;
  padding: 0 32px 32px;
}

.messageBtn {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  border: none;
  background: var(--primary-color);
  color: var(--text-fff);
  font-weight: bold;
  font-size: 1rem;
}

.left-box-area {
  display: none;
}

.main-content {
  background: var(--bg-primary);
}



/*
@media (min-width: 800px) {
  
  .welcome-container {
      padding: 30px 0 0 40px;
      width: 100%;
      max-width: 700px;
  }

  .create-new-post {
    max-width: 370px;
  }

  .post-bottom {
    max-width: 400px;
  }

  .feed-page {
    width: 100%;
    overflow: hidden;
  }

  .feedRow {
    width: 100%;
  }

  .main-content {
    width: 100%;
  }

  .img-card {
      border-radius: var(--radius-min);
      width: 100%;
      height: auto;
      max-width: 300px;
      max-height: 350px;
  }

  .img-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: var(--radius-min);
      display: block;
      max-height: 350px !important;
  }

  .carrossel-track {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x proximity !important;
  }

  .carrossel-track .carrossel-slide {
      flex: 0 0 100%;
      scroll-snap-align: none;
  }

  .left-box-area {
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    min-width: 240px;
    max-width: 400px;
    padding: 80px 20px 20px;
  }

  .left-box {
    width: 100%;
    height: 100%;
    background: #272727;
    border-radius: 10px;
  }

  .left-box-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .left-box-title {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #cacaca;
  }
  

} */



.user-item {
  display: flex;
  gap: 10px;
  width: 100%;
  height: 50px;
  text-decoration: none;
}

.user-item-pfp-area {
  height: 100%;
  aspect-ratio: 1/1;
}

.user-item-pfp-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
}

.user-item-infos {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  justify-content: center;
}

.user-item-name {
  font-weight: bold;
  color: var(--text-fff);
  font-size: 15px;
}

.user-item-username {
  font-size: 14px;
  color: var(--text-999);
}



#scroll_page {
  position: relative;
  z-index: 1;
  background: transparent;
  overscroll-behavior-y: contain;
  will-change: transform;
}

#ptrHook {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-999);
  font-size: 15px;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

#ptrHook .ptr-conteudo {
  display: flex;
  align-items: center;
  gap: 10px;
}

#ptrHook .ptr-seta {
  transition: transform .2s ease;
  transform: scale(0.9);
  display: none;
}

#ptrHook[data-estado="preaction"] .ptr-seta {
  transform: rotate(180deg);
}

#ptrHook .ptr-gif {
  display: none;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

#ptrHook[data-estado="action"] .ptr-seta { display: none; }
#ptrHook[data-estado="action"] .ptr-gif { display: block; }



.top-btn2::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  background: red;
  opacity: 0;pointer-events: none;
  transition: all 0.3s;
}

html.has-unread-notif .top-btn2::after {
  opacity: 1;
}