@import url('./variables.css');

/* Reset simples */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a, button, div, span {
     -webkit-tap-highlight-color: transparent;
}


/* banner de login!! Caso o usario nÃƒÂ£o esteja logado */
.login-banner {

  color: #fff;
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.login-banner p {
  margin: 0;
  flex: 1;
}

.btn-login-banner {
  background: #05fcff;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s;
}

.btn-login-banner:hover {
  background: #00e2e2;
}





/* Remove a scrollbar de todos os elementos, EXCETO textarea */
*:not(textarea)::-webkit-scrollbar {
  display: none !important;
}

*:not(textarea) {
  scrollbar-width: none !important;         /* Firefox */
  -ms-overflow-style: none !important;      /* IE 10+ */
}



/* Corpo do app */
body {
  font-family: var(--fonte-principal);
  background: var(--cor-fundo);
  color: var(--cor-texto);
  font-size: var(--fonte-md);

}





/* Wrapper que cobre toda a altura da tela e estrutura geral do app */
.app-wrapper {
  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
  justify-content: space-between;
}






textarea::-webkit-scrollbar {
  width: 2px; /* largura da barra */
}

textarea::-webkit-scrollbar-track {
  background: #1b1b1b; /* cor do trilho da barra */
  border-radius: 4px;
}

textarea::-webkit-scrollbar-thumb {
  background-color: #5ac38c; /* cor da barra de rolagem */
  border-radius: 4px;
  border: 2px solid #1b1b1b; /* espaÃƒÂ§o ao redor da barra */
}

textarea::-webkit-scrollbar-thumb:hover {
  background-color: #3fa975; /* cor ao passar o mouse */
}

/* Firefox */
textarea {
  resize: none;
  overflow-y: auto;
}

/*
textarea {
  resize: none;         //impede redimensionamento manual 
  overflow: hidden;     // esconde a barra de rolagem 
  scrollbar-width: none; // Firefox 
}

textarea::-webkit-scrollbar {
  display: none;        //Chrome, Safari e Edge 
}

 */





/* ======================================================
   TOPO DO HEADER â€” ALINHAMENTO CORRETO
====================================================== */
.page-has-fixed-header {
  padding-top: 85px;
}

/* ======================================================
   HEADER RETRÁTIL — ESTRUTURA FINAL (CORRIGIDA)
   - Movimento separado de visual
   - Fade inferior (Rectangle 78)
   - Conteúdo sempre acima do efeito
====================================================== */

/* 🔹 Container interno (conteúdo do header) */
.header-container,
.tabs-wrapper-pro {
  position: relative;
  z-index: 2; /* Conteúdo acima do fade */
}

/* 🔹 Container do header */
.header-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 12px 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  background: #0b0e14;

  transform: translateY(0);
  will-change: transform;

  transition:
    transform 0.2s ease,
    background-color 0.25s ease;
}

.main-header.hide-header {
  transform: translateY(-110%);
}

.main-header.show-header {
  transform: translateY(0);
}

.main-header.is-sticky {
  background-color: #0b0e14;
}



/* =====================
   LOGO CENTRAL REAL
===================== */

.header-container .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  margin: 0;
  line-height: 1;

  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.header-container .logo a {
  text-decoration: none;
  color: var(--cor-logo-default);
  font-size: 1.29rem;
}

/* =====================
   TOGGLE
===================== */

.menu-toggle {
  width: 24px;
  height: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--cor-icons-default);
}




/* MENU TOGGLE FULLSCREEN */

/* ========= MENU DOAÃ‡ÃƒO (Drawer Lateral) ========= */

.side-menu-doacao {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: #111;
  z-index: 9999;
  padding: 20px;
  overflow-y: auto;
  color: #fff;


  /* ðŸš€ Arranque imediato */
  transition: right 0.12s cubic-bezier(0.15, 1, 0.3, 1);

  will-change: right;
}


/* âœ… Classe que ativa */
.side-menu-doacao.open {
  right: 0;
}

/* ðŸ”³ Overlay escuro por trÃ¡s do menu */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #111;
  z-index: 9998;
  display: none;
}

/* âœ… Ativa o overlay */
.menu-overlay.active {
  display: block;
}

/* âŒ BotÃ£o de fechar */
.close-btn-header-toggle {
  font-size: 32px;
  color: #fff;
  background: none;
  border: none;
  float: right;
  margin-bottom: 10px;
  cursor: pointer;
}

/* Avatar do usuÃ¡rio */
.avatar-usuario-menu {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 999px;
  margin: 0 auto;
  display: block;
}

/* Nome e saudaÃ§Ã£o */
.menu-username {
  text-align: center;
  font-size: 18px;
  margin-top: 10px;
}

.username-destaque {
  color: #03fefe;
}

/* Links do menu */
.menu-links {
  margin: 20px 0;
  text-align: center;
}

.menu-links a {
  display: block;
  color: #ccc;
  margin: 8px 0;
  text-decoration: none;
  font-size: 15px;
}

/* Legenda explicativa */
.menu-legenda-doacao {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  margin-top: 10px;
}

/* BotÃ£o doar */
.btn-doar {
  background: linear-gradient(133.15deg, #03FEFE 24.07%, #D33686 81.54%);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  margin: 20px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75%;
  gap: 8px;
  cursor: pointer;
}

.icon-doar {
  width: 20px;
  height: 20px;
}

/* QR Pix */
.qr-pix {
  width: 160px;
  height: 160px;
  display: block;
  margin: 20px auto 8px;
}

.chave-pix {
  text-align: center;
  color: #00ccff;
  font-size: 14px;
}

/* Sair do app */
.menu-sair-texto {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  margin-top: 30px;
}

.btn-sair {
  background: linear-gradient(133.15deg, #03FEFE 24.07%, #D33686 81.54%);
  color: white;
  padding: 10px 30px;
  border: none;
  border-radius: 30px;
  font-size: 14px;
  margin: 10px auto 0;
  display: block;
}




/* 

*
*
*
*
*
*
*
*

*
*

*/


/* Container centralizado com largura mÃƒÂ¡xima */
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1rem 3rem 1rem;
  width: 100%;
}





.fake-textarea {
  color: var(--cor-texto-forms);
  flex: 1;
  padding: 0.2rem 0;
}


/* ÃƒÂcone da direita no estilo pill verde 
.post-input-container::after {
  content: "";
  display: block;
  width: 55px;
  height: 40px;
  background-color: #07F28B;
  -webkit-border-radius: 50px;
  -webkit-border-top-left-radius: 0;
  -moz-border-radius: 50px;
  -moz-border-radius-topleft: 0;
  border-radius: 50px;
  border-top-left-radius: 0;
  background-image: url('/static/img/audio_icon.svg'); 
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px;
}

*/


/* =========================================================
   TABS DO FEED â€” CAROUSEL + UNDERLINE (INSTAGRAM-LIKE)
========================================================= */
.tabs-wrapper-pro {
  position: relative; /* ou static */
  z-index: 20;
  display: flex;
  justify-content: center;
  background: transparent;
}

/* fundo full width real */
.tabs-full-bg {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: 6px;
}



/* container central */
.tab-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0rem 1rem 0rem;
}

/* =========================================================
   CAROUSEL
========================================================= */

.tab-buttons {
  position: relative;
  display: flex;
  align-items: center;

  /* 🔑 base segura */
  justify-content: flex-start;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;

  /* 🔥 padding mínimo evita corte visual */
  padding-inline: 0px;
  contain: layout paint;
}

.tab-buttons::-webkit-scrollbar {
  display: none;
}

.tab-buttons.tabs-fit {
  justify-content: center;
  overflow-x: hidden;
  padding-inline: 0;
}

/* =========================================================
   BOTÃ•ES
========================================================= */

.tab-link {
  flex: 0 0 auto;
  scroll-snap-align: center;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #7B7B7B;
  cursor: pointer;
  padding: 6px 0;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease;
}

.tab-link.active {
  color: var(--cor-tab-link-active);
}

/* =========================================================
   UNDERLINE (controlado 100% por JS)
========================================================= */

.tab-underline {
  position: absolute;
  bottom: 0;
  left: 0;

  height: 3px;
  width: 100%;

  background: #EA646C;
  border-radius: 5px;

  transform-origin: left center;
  transform: translateX(0) scaleX(0);

  will-change: transform;

  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);

  pointer-events: none;
  z-index: 2;
}

@media only screen and (min-width: 414px) {
  .tab-buttons {
    justify-content: center;
    overflow-x: hidden;
    padding-inline: 0;
  }
}


/* 
  .tabs .dot-separator {
    color: #fdfdfd47;
    font-size: 0.9rem;
    margin: 0 0.2rem;
    pointer-events: none;
    user-select: none;
  }
    
  */


/* post FEED POST CARD  */
#feed-content {
  opacity: 0;
  transition: opacity 0.4s ease;
}


.post-feed {
  margin-top: 0;
  margin-bottom: 3rem;
}

.post {
  position: relative;
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1.2rem;
  color: var(--cor-texto);
  background: var(--bg-fundo-post);

  min-width: 0; /* ✅ permite filhos flex encolherem */
}

.reaction-container,
.reaction-form {
  min-width: 0; /* ✅ impede vazamento horizontal */
}


.post-detalhe {
  margin-top: 3rem;
}


/* CabeÃƒÂ§alho do post */


.post-header {
  display: flex;
  align-items: flex-start; /* Topo do avatar */
  gap: 0.75rem;
}

.post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.post-user-info-cards {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.user-link {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
}

.full-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cor-full-name);
  line-height: 1.2;
}

.username {
  font-size: 0.85rem;
  color: var(--cor-username);
  font-weight: 500;
  text-transform: lowercase;
}

.post-options {
  margin-top: 0.15rem; /* <- isso coloca o botÃƒÂ£o no topo da linha do nome */
}

.user-name-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.user-name-row img {
  width: 20px !important;
  height: 20px !important;
  vertical-align: middle;

}

.badge-premium-link {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.badge-premium-icon {
  width: 20px;
  height: 20px;
  margin-left: 0px;
  vertical-align: middle;

  /* 🎨 Filtro dourado premium */
  /* filter: invert(76%) sepia(53%) saturate(487%) hue-rotate(358deg)
          brightness(101%) contrast(103%); */
  opacity: 0.95;
}







/* =====================================================
   SUPER USUÁRIO — NOME
===================================================== */
.superuser-name {
  color: #ffcc33;          /* amarelo / dourado */
  font-weight: 800;
}

/* =====================================================
   SUPER USUÁRIO — BADGE (SEM FUNDO)
===================================================== */
.badge-superuser {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =====================================================
   SUPER USUÁRIO — ÍCONE (MESMA COR DO NOME)
===================================================== */
.icon-superuser {
  width: 14px;             /* maior que o normal */
  height: 14px;
  display: block;
  filter: invert(94%) sepia(38%) saturate(4048%) hue-rotate(324deg) brightness(98%) contrast(104%);
  display: none;
}



.options-menu {
  display: none;
  position: absolute;
  top: 2.5rem;
  right: 0;
  background-color: #1c1c1c;
  border: 1px solid #333;
  padding: 0.5rem 1rem;
  border-radius: var(--borda-media);
  z-index: 10;
}

.options-menu .delete-btn {
  background: none;
  border: none;
  color: #f55;
  font-size: var(--fonte-sm);
  cursor: pointer;
}


/* Texto do post */
.post-texto {
  display: -webkit-box;
  text-overflow: ellipsis;
  line-height: 1.3;
  font-size: var(--fonte-md);
  margin: 0.5rem 0 0.75rem;
  position: relative;
  white-space: normal;
  word-break: break-word;     /* quebra palavras grandes */
}


.texto-clamp {
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.ler-mais-post {
  text-decoration: none;
  color: var(--cor-head-more);
  font-size: var(--fonte-md);
  font-weight: 600;
  
}

.post-caption-hastag a {
  font-size: var(--fonte-md);
  text-decoration: none;
  font-weight: 600;
  margin-left: 2px;
  background-clip: text;
  -webkit-background-clip: text;  /* Safari e Chrome */
  color: #ea646c;
}




/* Player do Spotify */
.spotify-player {
  overflow: hidden;
  border-radius: var(--borda-media);
  margin-top: 1.5rem;
}


.reaction-container {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Ã¢â€ Â ESSENCIAL para centralizar verticalmente */
  margin-top: 1rem;
}

.reaction-form {
  display: flex;
  gap: 1rem;
}


.reaction-btn {
  background: none;
  border: none;
  color: var(--cor-reaction-btn);
  font-weight: 500;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  padding: 0;
}

.reaction-btn i {
  width: 18px;
  height: 18px;
}

.reaction-form a{
  text-decoration: none;
}


.post-time {
  font-size: var(--fonte-sm);
  color: var(--cor-data-post);
  white-space: nowrap;
  line-height: 1; /* evita desalinhamento vertical */
  font-weight: 500;
}

.user-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.post-time {
  white-space: nowrap;
}

/* ======================================================
   🔹 TAMANHO FIXO DOS ÍCONES
====================================================== */
.icon-heart img,
.icon-comment img,
.icon-share img {
  width: 24px !important;
  height: 24px !important;
  display: block;
}

/* ======================================================
   ❤️ CORAÇÃO — ESTADOS
====================================================== */

/* 🤍 CORAÇÃO NÃO CURTIDO — cinza/branco via filter */
.icon-heart img[src*="heart-regular"] {
filter: invert(100%) sepia(0%) saturate(2336%) hue-rotate(51deg) brightness(107%) contrast(60%);
}

/* ❤️ CORAÇÃO CURTIDO (ANTIGO — vermelho sólido)
   ⚠️ Mantido por compatibilidade, mas NÃO afeta o gradiente */
.icon-heart img[src*="heart-solid"] {
filter: invert(53%) sepia(84%) saturate(1910%) hue-rotate(316deg) brightness(94%) contrast(96%);
}

/* 🌈 CORAÇÃO CURTIDO — GRADIENTE (NOVO)
   👉 SVG já vem com gradiente embutido */
.icon-heart img[src*="heart-gradient"] {
  filter: none; /* NÃO aplicar filter em SVG com gradiente */
}

/* ======================================================
   💬 COMENTÁRIO — branco/cinza
====================================================== */
.icon-comment img {
filter: invert(100%) sepia(0%) saturate(2336%) hue-rotate(51deg) brightness(107%) contrast(60%);
}

/* 🔁 COMPARTILHAR — branco/cinza
====================================================== */
.icon-share img {
filter: invert(100%) sepia(0%) saturate(2336%) hue-rotate(51deg) brightness(107%) contrast(60%);
}

/* ======================================================
   💓 ANIMAÇÕES — CURTIR
   (GPU-safe / WebView-friendly)
====================================================== */

@keyframes pulse-heart-post {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.25);
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}



/* ======================================================
   🎯 CLASSES DE DISPARO (JS)
====================================================== */
.pulse-heart-post {
  animation: pulse-heart-post 0.28s ease-out;
  will-change: transform;
}

.pulse-contador-post {
  animation: pulse-contador-post 0.28s ease-out;
  will-change: transform;
}





/*#########################################*/

/* Container flexÃƒÂ­vel para input + botÃƒÂµes */
.spotify-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  margin-top: 1rem;
}

/* Input ocupando mais espaÃƒÂ§o */
.spotify-input-container {
  display: flex;
  flex-direction: column; /* Ã°Å¸â€Â¥ forÃƒÂ§a coluna */
  gap: 0.4rem;
  flex: 2;

}

  /*
.spotify-input-container input {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
 background: #121212; 
  caret-color: var(--cor-primaria);
  border: none;
  color: var(--cor-texto);
  border-radius: var(--borda-media);
  font-family: var(--fonte-principal);
  font-size: var(--fonte-md);
  line-height: 1.5;
  background: rgb(31 31 31 / 0%);
   border-bottom: 2px solid rgba(255, 255, 255, 0.06);
}

*/


.spotify-input-container input {
  width: 100%;
  padding: 1rem 1rem;
  color: #999;
  background-color: transparent;
  outline: none;
  transition: border-color 0.2s ease;
  resize: none;
  /* background: #121212; */
  caret-color: var(--cor-primaria);
  border: none;
  color: var(--cor-texto);
  border-radius: var(--borda-media);
  font-family: var(--fonte-principal);
  font-size: var(--fonte-md);
  line-height: 1.5;
  background: rgb(31 31 31 / 0%);
  border-bottom: 2px solid #fdfdfd70
}



.spotify-input-container input::placeholder {
  font-size: var(--fonte-md);
  color: #999;
  
}

.spotify-input-container input:focus {
  border-bottom: 2px solid var(--cor-primaria);
}

/* BotÃƒÂ£o "Postar" */
.btn-submit-post {
  flex: 1;
  padding: 0.65rem 1rem;
  background: var(--gradiente-borda-buttons);
 border: none;
  border-radius: 12px;
  color: var(--cor-texto);
  font-weight: 600;
  font-size: var(--fonte-md);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;

}

.btn-submit-post:hover {
  background-color: #159b42;
}

/* BotÃƒÂ£o "Alterar mÃƒÂºsica" */
.btn-change-link {
  flex: 1;
  padding: 0.63rem 1rem;
  background-color: transparent;
  border: 2px solid #ffffff6b;
  border-radius: 12px;
  color: var(--cor-texto);
  font-weight: 600;
  font-size: var(--fonte-md);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  width: 100%;
}

.btn-change-link:hover {
  background-color: #03fefe;
  color: white;
}

/* Responsivo: empilha tudo em telas pequenas */
@media (max-width: 600px) {
  .spotify-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-submit-post,
  .btn-change-link {
    width: 100%;
  }
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeSlideIn 0.3s ease forwards;
}

/*#########################################*/



.feed-main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-bottom: 2rem;
  /* margin: 0.5rem 0; */
}



/*CSS do Profile (Pagina de perfil do usuario)*/
.profile-main {
  padding: 0rem 0 1.5rem 0;
  color: var(--cor-texto);
}

/* Linha superior: avatar + nomes */
.profile-top {
  position: relative; /* necessÃƒÂ¡rio para o posicionamento absoluto funcionar */
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

/* ÃƒÂcone no topo direito */
.profile-icon-top-right {
  position: absolute;
  top: 0.2rem;
  right: 0;
  cursor: pointer;
  color: var(--cor-secundaria);
  transition: color 0.3s ease;
}

.profile-icon-top-right:hover {
  color: #fff;
}


.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  padding: 3px; /* espessura da borda */
  background: linear-gradient(180deg, #EA646C 5.2%, #2226DF 100%);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.profile-info h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: var(--cor-texto);
  align-items: center;
}

.profile-info h3 {
  font-size: 1rem;
  margin-top: 0.1rem;
  color: var(--cor-secundaria);
  font-weight: 600;
}

.profile-info-superuser h2{
  color: #ffcc33;
}

.profile-fullname {
  display: inline-flex;
  align-items: center; /* 🔥 ESSENCIAL */
  gap: 6px;
}

.badge-equipe {
  align-items: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 16px;
  padding: 0 7px;
  margin-left: 3px;
  font-size: 11px;
  font-weight: 600;
  text-transform: lowercase;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

/* EQUIPE */
.badge-equipe.badge-equipe {
  background: linear-gradient(135deg, #ffb400, #ff7a00);
  color: #000;
  /* box-shadow: 0 0 6px rgba(255, 180, 0, 0.45); */
}


/* Seguidores e seguindo */
.profile-stats {
  display: flex;
  gap: 2rem;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.profile-stats a {
  color: #f5f5f585;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  font-size: var(--fonte-sm);
}

.profile-stats a:hover {
  color: var(--cor-destaque);
}

.profile-stats .count-sg {
  color: var(--cor-texto);
  font-weight: 700;
  font-size: var(--fonte-md);
}


.profile-actions > * {
  flex: 1;
}


.public-profile-actions,
.profile-actions {
  display: flex;
  gap: 0.75rem;
  /* margin-top: 1rem; */
  flex-wrap: wrap;
}


.form-seguir-container {
  flex: 1; /* botÃƒÂ£o de seguir ocupa espaÃƒÂ§o restante */
}





.form-seguir-container form {
  width: 100%;
}

.btn-seguir-profile,
.btn-seguindo-profile {
  width: 100%;
}






/* BotÃƒÂ£o de compartilhar ocupa sÃƒÂ³ o necessÃƒÂ¡rio */
.share-public-profile {
  flex: 0 0 auto;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  border: none;
  background-color: #FFF;
  color: var(--cor-primaria);
  display: flex;
  align-items: center;
  justify-content: center;
}




/* Botão Enviar Mensagem */
.btn-enviar-mensagem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  border-radius: 12px;

  background: rgb(34 38 223 / 28%);
  border: none;
  color: rgb(255 255 255 / 70%); 

  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-enviar-mensagem:hover {
  background: rgb(43 50 144 / 37%);
}

.btn-enviar-mensagem:active {
  background: rgba(139, 140, 246, 0.22);
}


/* BotÃƒÂµes com largura total */
.btn-seguir-profile,
.btn-seguindo-profile,
.btn-edit-profile {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem;
  border-radius: 5px; /* Ajuste aqui */
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 0.4rem; /* espaÃƒÂ§o entre ÃƒÂ­cone e texto */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}


/* BotÃƒÂ£o "Seguir" (verde / cor primÃƒÂ¡ria) */
.btn-seguir-profile {
  background: var(--bg-fllow-button);
  color: var(--cor-text-button-fllow);
  border-radius: 12px;
  border-radius: 12px;
  /* border: 2px solid transparent; */
}




/* ðŸ”¥ Container com 2 colunas iguais */
.profile-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* duas colunas */
    gap: 12px;
    margin-top: 18px;
}



.btn-seguir-profile:hover {
    background-color: var(--bg-button-primary-hover);
}

/* BotÃƒÂ£o "Seguindo" (vermelho) */
.btn-seguindo-profile {
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
}

.btn-seguindo-profile:hover {
  background-color: rgb(30 33 38 / 85%);
}

/* BotÃƒÂ£o "Editar perfil" */
.btn-edit-profile {
  background: var(--bg-button-primary);
  color: var(--cor-text-button-primary);
}

.btn-edit-profile:hover {
  background-color: var(--cor-botao-hover, #2226df);
}


.profile-bio {
  margin: 1rem 0;
  color: var(--cor-texto);
  font-size: var(--fonte-md);
  line-height: 1.5;
}

.bio-hashtags {
  margin-top: 4px;
  margin: 0.9rem 0;
  display: flex;
  flex-wrap: nowrap;     /* ✅ precisa ser nowrap */
  gap: 6px;
  overflow-x: auto;      /* ✅ carrossel */
  overflow-y: hidden;
  text-transform: lowercase;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch; /* Safari / iOS */
  scrollbar-width: none;    /* Firefox */
  -ms-overflow-style: none; /* Edge antigo */
  -webkit-overflow-scrolling: touch; /* mobile */
}

.bio-hashtags::-webkit-scrollbar {
  display: none;
}

.bio-hashtags a {
  flex: 0 0 auto; /* equivalente ao flex-shrink:0, mais explícito */
}


.bio-hashtags a {
  color: #FFF;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
   background: rgb(34 38 223 / 21%);
  border: 1px solid rgb(34 38 223 / 45%);

  color: rgba(255,255,255,0.88);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s;
  margin: 0 2px 0 0;
}

.bio-hashtags a:hover {
  text-decoration: underline;
   background: rgb(34 38 223 / 37%);
}








/*BUTTONS EM VER LISTA SEM ICONE*/

/* Container geral da lista */
.lista-container {
  max-width: 600px;
  margin: 3rem auto;
  /* padding: 0 1rem; */
}


.lista-titulo {
  font-size: var( --fonte-lg-small);
  color: var(--cor-texto);
  margin: 0 0 1rem 0;
}


/* TÃƒÂ­tulo */
.titulo-hashtag-post {
  font-size: var(--fonte-lg);
  color: var(--cor-texto);
  margin: 0 0 4rem 0;
}

/* Lista sem marcadores */
.lista-usuarios {
  list-style: none;
  padding: 0;
  margin: 0;
}

.usuario-link {
  display: flex; 
  align-items: center; 
  text-decoration: none;
  color: inherit
}

/* Cada item da lista */
.usuario-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #151922;
  border-radius: 10px;
  padding: 0.75rem 0.75rem;
  margin-bottom: 10px;
  transition: background 0.3s;
  /* border: 1px solid #7878782e; */
}

/* Avatar do usuÃƒÂ¡rio */
.usuario-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.8rem;
}

/* Nome e arroba */
.usuario-nome {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  color: var(--cor-texto);
  font-size: 0.95rem;
}

.usuario-nome small {
  font-weight: normal;
  font-size: 0.95rem;
  color: var(--cor-secundaria);
  margin-top: 0.1rem;
  text-transform: lowercase;
}

/* Quando nÃƒÂ£o hÃƒÂ¡ usuÃƒÂ¡rios */
.lista-vazio {
  color: #888;
  text-align: center;
  margin-top: 2rem;
}

/* BotÃƒÂ£o padrÃƒÂ£o que serÃƒÂ¡ substituÃƒÂ­do dinamicamente */
.btn-sem-icone,
.btn-sem-icone {
  font-size: 0.90rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.4rem 1.2rem;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  width: 91px;
  border: none;
}

/* BotÃƒÂ£o SEGUIR com gradiente */
.btn-sem-icone {
  background: var(--bg-fllow-button);
  color: var(--cor-texo-btn-seguir);
  border: none;
}

/* BotÃƒÂ£o SEGUINDO com borda neon */
.btn-seguindo-profile.btn-sem-icone {
  background: var(--bg-unfollow-button);
  color: var(--cor-text-button-unfollow);


}

/* Sem ÃƒÂ­cone (caso usado com sem_icone=True) */
.btn-seguir-profile.btn-sem-icone i,
.btn-seguindo-profile.btn-sem-icone i {
  display: none;
}

/* Efeito hover opcional */
.btn-sem-icone:hover {
  background-color: #3a3a3a70;
}


/* Hashtags clicÃƒÂ¡veis na bio e nos posts */
.profile-bio a{
  color: #FFF;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  background: linear-gradient(to right, #05fcff, #da3695);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s;
  margin: 0 2px 0 0;
}




.player-musica-favorita {
  padding: 0;
  margin-top: 10px;
}




.name-title-musc-fav {
  font-size: var(--fonte-md);
  color: var(--cor-destaque);
  font-weight: 600;
}




/* =====================================================
   🎵 CARD — MINHA MÚSICA FAVORITA
   ===================================================== */

/* Container geral */
.profile-music-fav {
  /* width: 100%; */
  margin-top: 1.5rem;
  border-radius: 16px;
  background-color: transparent;
}




/* Título */
.name-title-musc-fav {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cor-texto);
}

/* Card principal */
.music-fav-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(
    135deg,
    #1b2540 0%,
    #151c32 100%
  );
  padding: 16px;
  border-radius:16px;
}

/* Capa */
.music-fav-cover {
  flex-shrink: 0;
  width: 75px;
  height: 75px;
  border-radius: 5px;
  overflow: hidden;
}

.music-fav-cover img,
.cover-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder se não houver capa */
.cover-placeholder {
  background: #2a2f45;
}

/* Conteúdo central */
.music-fav-content {
  display: flex;
  flex-direction: column;
  gap: 6px;

  flex: 1;
  min-width: 0;
}

/* Link texto */
.music-fav-info {
  display: flex;
  flex-direction: column;
  gap: 2px;

  text-decoration: none;
}

/* Nome da música */
.music-fav-track {
  font-size: 15px;
  font-weight: 600;
  color: var(--cor-texto);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Artista */
.music-fav-artist {
  font-size: 13px;
  font-weight: 400;
  color: #cfd3ff;
  opacity: 0.85;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CTA pill */
.music-fav-cta {
  width: fit-content;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  background-color: #EA646C;
  border-radius: 3px;
}

/* Ícone Spotify */
.music-fav-spotify-icon {
  flex-shrink: 0;
  /* width: 45px; */
  /* height: 45px; */
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 50%;
  text-decoration: none;
}


/* SVG do Spotify */
.music-fav-spotify-icon .icon-spotify {
  width: 35px;
  height: 35px;
  fill: #ffffff;
}

.music-fav-empty {
  background: linear-gradient(
    135deg,
    #1b2540 0%,
    #151c32 100%
  );
  padding: 16px;
  border-radius:16px;
  display: flex;
  align-items: center;      /* vertical */
  justify-content: center;  /* horizontal */
  text-align: center;
  width: 100%;
  /*min-height: 89px;  ajuste conforme o layout */
  color: var(--cor-texto);
}



/* Hover sutil (desktop) */
@media (hover: hover) {

  .music-fav-spotify-icon:hover {
    background: #1db954;
  }

  .music-fav-spotify-icon:hover .icon-spotify {
    fill: #ffffff;
  }
}

/* Responsivo */
@media (max-width: 480px) {
  .music-fav-card {
    padding: 12px;
    gap: 12px;
  }

  .music-fav-cover {
    width: 65px;
    height: 65px;
  }

  .music-fav-track {
    font-size: 15px;
  }

  .music-fav-artist {
    font-size: 12px;
  }
}







.title-publicacoes-profile {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: var(--fonte-md);
  margin: 1rem 0 1rem;
  color: gray;
}













/************************

Pagina de Buscar

*******************************/


/* EstilizaÃƒÂ§ÃƒÂ£o geral */
.pagina-busca {
  max-width: 600px;
  margin-bottom: 5rem;
  /* margin: 50px auto; */
  padding-top: 2rem;
  color: #fff;
  font-family: 'Inter', sans-serif;
}





/* ===================================================== */
/* ðŸ‘» SEARCH EMPTY STATE (CORRIGIDO)                     */
/* ===================================================== */
.search-empty {
  position: relative; /* ðŸ”¥ ESSENCIAL */
  width: 100%;

  padding: 2.5rem 1.25rem 4.5rem;

  transform: translateY(6px);
  opacity: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  text-align: center;
}


/* Estado normal (descoberta visÃ­vel) */
#search-discovery {
  opacity: 1;
  transform: translateX(0);
  max-height: 2000px; /* OBRIGATÃ“RIO */
  overflow: hidden;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    max-height 0.3s ease;
}

/* Modo busca ativo */
body.search-mode #search-discovery {
  opacity: 0;
  transform: translateX(8px);
  max-height: 0;
  pointer-events: none;
}

/* visÃ­vel somente no modo busca */
body.search-mode .search-empty {
  transform: translateY(8px);
  opacity: 1;

  transition:
    opacity 160ms cubic-bezier(0.2, 0.0, 0.0, 1),
    transform 160ms cubic-bezier(0.2, 0.0, 0.0, 1);
}
/* ----------------------------------------------------- */
/* ðŸ‘» Fantasma                                           */
/* ----------------------------------------------------- */

.search-empty-ghost {
  margin-bottom: 1.5rem;
}

.search-empty-ghost img {
  width: 100px;
  height: auto;
  opacity: 0.9;
  user-select: none;
}

/* ----------------------------------------------------- */
/* ðŸ§¾ Textos                                             */
/* ----------------------------------------------------- */

.search-empty-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.25;
  color: rgba(248, 248, 248, 0.91);
  margin-bottom: 0.75rem;
}

.search-empty-description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #d4d2d2;
  max-width: 600px;
  margin: 0.75rem auto;
}


/* ----------------------------------------------------- */
/* ðŸ”Ž SugestÃµes                                          */
/* ----------------------------------------------------- */

.search-empty-hint-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: rgba(248, 248, 248, 0.9);
  margin-bottom: 0.75rem;
}

.search-empty-hints {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.search-empty-hints li {
  list-style: none;
  background: #1b1b1b;
  border-radius: 14px;
  padding: 0.85rem 1rem;

  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: #e2e2e2;
}


/* ----------------------------------------------------- */
/* ðŸ”˜ BotÃ£o                                              */
/* ----------------------------------------------------- */

.search-empty-btn {
  width: 100%;
  max-width: 360px;
  height: 52px;

  border: none;
  border-radius: 14px;

  background: linear-gradient(90deg, #00d5ff 30%, #d33686 100%);
  color: #ffffff;

  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;

  cursor: pointer;

  transition:
    transform 120ms cubic-bezier(0.2, 0.0, 0.0, 1),
    opacity 120ms cubic-bezier(0.2, 0.0, 0.0, 1);
}

.search-empty-btn:active {
  transform: scale(0.97);
  opacity: 0.9;
}




#search-discovery {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;

  transition:
    opacity 220ms cubic-bezier(0.2, 0.0, 0.0, 1) 120ms,
    transform 220ms cubic-bezier(0.2, 0.0, 0.0, 1) 120ms,
    visibility 0ms linear 0ms;
}

body.search-mode #search-discovery {
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 140ms cubic-bezier(0.2, 0.0, 0.0, 1),
    transform 140ms cubic-bezier(0.2, 0.0, 0.0, 1),
    visibility 0ms linear 140ms;
}






.search-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: 70px;
  background: var(--cor-fundo);
  /* border-bottom: 2px solid #272727; */
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}


.search-back-btn {
  background: none;
  border: none;
  padding: 0;

  width: 24px;
  height: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--cor-icon-input);
  cursor: pointer;
}


.search-input-wrapper {
  flex: 1;
  height: 44.6px;
  background: var(--bg-input);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}


.search-icon {
  width: 20.5px;
  height: 20.5px;

  color: var(--cor-icon-input); /* mesma cor do placeholder */
  flex-shrink: 0;
}


#campo-busca {
  flex: 1;

  background: transparent;
  border: none;
  outline: none;

  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 18px;

  color: var(--cor-text-input);

}


#campo-busca::placeholder {
  color: var(--cor-placeholder-input);
  font-weight: 500;
}



.search-input-wrapper:focus-within .search-icon {
  color: #EAEAEA;
}



/* ----------------------------------------------------- */
/* âŒ Limpar busca                                       */
/* ----------------------------------------------------- */
.search-clear-btn {
  background: none;
  border: none;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #6A6A6A;
  cursor: pointer;
}

.search-clear-btn:hover {
  color: #FFFFFF;
}



/* TÃƒÂ­tulos */
.content-buscas-populares h2, h3 {
  font-weight: 600;
  margin: 1rem 0;
  color: #f9f9f9;
}

/* Tags de busca popular */
.buscas-populares .tag {
  /* Fundo do botÃ£o */
  background:
    linear-gradient(#0F1010, #0F1010) padding-box,
    linear-gradient(90deg, #00d5ff00 29.8%, #D33686 100%) border-box;

  border: 2px solid transparent;
  border-radius: 999px;

  color: #fff;
  padding: 0.3rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;

  transition: transform 0.2s;
}


.buscas-populares .tag:hover {
  transform: scale(1.05);
}



/* =====================================================
   👤 USER CARD – SUGESTÕES / BUSCA (ISOLADO)
===================================================== */

.sugestoes-amigos {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sugestoes-amigos h3 {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  margin-bottom: 6px;
}

/* CARD */
.user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.75rem;
  border-radius: 14px;
  background: #151922;

}

/* LINK */
.user-card-link {
  display: flex;
  align-items: center;
  gap: 10px;

  text-decoration: none;
  flex: 1;
  min-width: 0;
}

/* AVATAR */
.user-card-link img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

/* INFO */
.user-card-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.user-card-info strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cor-full-name);
}

.user-card-info span {
  font-size: 0.85rem;
  color: var(--cor-username);
  margin-top: 2px;
}

/* BOTÃO */
.user-card-action {
  margin-left: 12px;
}

/* EMPTY */
.empty-suggestion {
  color: #aaa;
  font-size: 13px;
  padding: 8px 0;
}





/* Nome + badge alinhados */
.user-card-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Badge premium sempre vence qualquer regra genérica */
.user-card-name .badge-premium-icon {
  width: 20px;
  height: 20px;
  margin-left: 0;
  vertical-align: middle;
  opacity: 0.95;
}



/* SugestÃƒÂ£o de amigos */
.sugestoes-amigos .user-suggestion {
  background-color: #1a1a1a;
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  border: 1px solid #2a2a2a;
}

/* Avatar */
.user-suggestion img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

/* Nome e @ */
.user-suggestion strong {
  font-size: 1rem;
  color: #fff;
}

.user-suggestion span {
  font-size: 0.85rem;
  color: #aaa;
}

/* BotÃƒÂ£o seguir/seguindo */
.btn-seguir-sg {
  background: linear-gradient(to right, #05fcff, #da3695);
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: filter 0.2s ease;
  min-width: 90px;
}

.btn-seguir-sg:hover {
  filter: brightness(1.1);
}

/* Quando jÃƒÂ¡ estÃƒÂ¡ seguindo (classe opcional que pode ser adicionada via JS) */
.btn-seguir-sg.seguindo {
  background: transparent;
  border: 2px solid #05fcff;
  color: #05fcff;
}


/* ===================================================
   ðŸ” SEARCH â€” USER SUGGESTION
   =================================================== */

.user-suggestion {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 0.75rem;
  border-radius: 12px;
      background: #151922;
  margin-bottom: 10px;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s ease;
}


.user-suggestion img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

/* ðŸ”¥ ISSO Ã‰ O PONTO-CHAVE */
.user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.user-info strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cor-full-name);
}

.user-info span {
  font-size: 0.85rem;
  color: var(--cor-username);
  margin-top: 2px;
}


/* ===================================================== */
/* ðŸ” SEARCH â€” SUGESTÃ•ES DE FRASES                        */
/* ===================================================== */

#sugestoes-frases {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.frase-sugestao {
  background-color: rgb(18 23 33 / 59%);
  border-radius: 10px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.frase-sugestao:hover {
  background-color: #1a1a1a;
  transform: translateX(2px);
}

.frase-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: rgb(255 255 255 / 88%);
  font-size: 0.95rem;
}

.frase-icon {
  width: 18px;
  height: 18px;
  color: #aaa;
  flex-shrink: 0;
}

.frase-sugestao:hover .frase-icon {
  color: #05fcff; /* cor Ghostune */
}



/* ===================================================== */
/* ðŸ” button loade de carregar mais do search            */
/* ===================================================== */

.btn-load-more {
  width: 100%;
  padding: 0.75rem;
  background: #1e1e1e;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.btn-load-more.loading {
  opacity: 0.6;
  pointer-events: none;
}


.search-empty {
  /* margin-top: 1.5rem; */
  text-align: center;
  color: #999;
  font-size: 0.95rem;
}

.btn-load-more {
  width: 100%;
  padding: 0.75rem;
  border-radius: 12px;
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #333;
  cursor: pointer;
}

.btn-load-more.loading {
  opacity: 0.6;
  cursor: not-allowed;
}


.btn-load-more {
  position: relative;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  height: 46px;
  background: var(--bg-button-primary);
  color: var(--cor-text-button-primary);
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-load-more.loading {
  pointer-events: none;
  opacity: 0.85;
}

.btn-loader {
  display: inline-flex;
  gap: 4px;
}

.btn-loader span {
  width: 6px;
  height: 6px;
  background: #05fcff;
  border-radius: 50%;
  animation: dotPulse 1.4s infinite ease-in-out both;
}

.btn-loader span:nth-child(1) { animation-delay: 0s; }
.btn-loader span:nth-child(2) { animation-delay: 0.2s; }
.btn-loader span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.3; }
  40% { opacity: 1; }
}

.hidden {
  display: none;
}



/* ===================================================== */
/* ðŸ” SEARCH â€” LOADER                                    */
/* ===================================================== */

.search-loader {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-loader.hidden {
  display: none;
}

/* Loader circular exclusivo do search */
.spinner-search {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #05fcff;
  animation: spinnerSearch 0.8s linear infinite;
}

@keyframes spinnerSearch {
  to {
    transform: rotate(360deg);
  }
}




/*******************************************************/

.menu-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  padding: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
  /* border-top: 1px solid #2a2a2a; */
  background: var(--bg-nav-menu);

  border-radius: 0px;
}

.menu-item {
  width: 48px;
  height: 48px;

  color: #ffffff7d;
  font-size: 1.5rem;
  text-decoration: none;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.2s ease, color 0.2s ease;
}


/* botão plus com cor sólida */
.menu-item.plus-button {
  color: #ffffff;            /* remove transparência */
}

/* garante que o SVG do lucide também fique sólido */
.menu-item.plus-button svg {
  width: 40px;
  height: 40px;

  color: #ffffff;
  stroke: #ffffff;
  opacity: 1 !important;
  stroke-width: 2.5;
}


/* wrapper do anel */
.menu-avatar-ring {
  display: inline-flex;
  padding: 2px;
  border-radius: 50%;
}

/* estado ativo (perfil atual) */
.menu-item.ativo .menu-avatar-ring {
  background: linear-gradient(180deg, #EA646C 5.2%, #2226DF 100%);
}

/* imagem do avatar */
.menu-avatar-img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: var(--bg-nav-menu); /* 👈 ESSENCIAL */
}



.menu-item svg {
  stroke: #ffffff7d;
  transition: stroke 0.3s ease;
}
.menu-item.ativo svg {
  stroke: #ffffff;
}


.menu-item:hover {
  opacity: 0.7;
}

.home-item {
  padding: 0.9rem;
  border-radius: 50%;
  transform: translateY(-15%);
  font-size: 1.6rem;
  background-color: var(--cor-primaria);

  border: 1px solid rgba(255, 255, 255, 0.06);
}



.plus-button {
  background: var(--bg-plus-button);
  border-radius: 50%;
  padding: 0.8rem;
  transform: translateY(-20%);

}

.plus-button i {
  color: white !important;

}





/*

.spotify-wrapper {
  position: relative;
  width: 100%;
  height: 80px;
  margin-bottom: 1rem;
}

.spotify-touch {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: transparent;
}
*/





/* Ã°Å¸â€Â¹ ÃƒÂrea onde o formulÃƒÂ¡rio de resposta serÃƒÂ¡ injetado */
.area-de-resposta {
  
  margin-top: 4px;
}


/* Ã°Å¸â€Â¹ FormulÃƒÂ¡rio de resposta */
.form-resposta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.form-resposta textarea {
  resize: none;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--cor-borda-forms, #444);
  background-color: var(--cor-fundo-input, #111);
  color: white;
  font-size: 14px;
}

.form-resposta .btn-enviar {
  align-self: flex-end;
  background: var(--cor-primaria, #03fefe);
  color: black;
  padding: 6px 10px;
  font-weight: bold;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}






.carregando-texto {
  font-weight: 500;
  color: #999;
  font-size: 14px;
  text-align: center;
  margin: 10px 0;
  letter-spacing: 1px;
}

.carregando-texto .ponto {
  animation: blink 1.4s infinite;
  opacity: 0;
}

.carregando-texto .ponto:nth-child(2) { animation-delay: 0.2s; }
.carregando-texto .ponto:nth-child(3) { animation-delay: 0.4s; }
.carregando-texto .ponto:nth-child(4) { animation-delay: 0.6s; }

@keyframes blink {
  0%, 100% { opacity: 0; }
  20% { opacity: 1; }
}




.carregando-texto .ponto {
  animation: pulsar 1s infinite;
  font-size: 24px;
  margin-left: 4px;
}

.carregando-texto .ponto:nth-child(2) { animation-delay: 0.2s; }
.carregando-texto .ponto:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulsar {
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
}







/* === Recuo das respostas aninhadas (estilo TikTok: sÃƒÂ³ 1 nÃƒÂ­vel) === */
.area-de-resposta {
  /* margin-top: 5px; */
  padding: 6px 0;
}


.ver-mais-respostas {
  background-color: transparent;
  border: none;
  color: var(--cor-secundaria, #7B7B7B); /* Usa a variÃƒÂ¡vel CSS ou fallback para #7B7B7B */
  font-size: var(--fonte-sm, 0.875rem); /* Tamanho pequeno de fonte */
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s;
  display: inline-block;
  font-weight: 600;
}

.ocultar-respostas {
  background-color: transparent;
  border: none;
  color: var(--cor-secundaria, #7B7B7B); /* Usa a variÃƒÂ¡vel CSS ou fallback para #7B7B7B */
  font-size: var(--fonte-sm, 0.875rem); /* Tamanho pequeno de fonte */
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s;
  display: inline-block;
  font-weight: 600;
}





/*achar*/

/* === FormulÃƒÂ¡rio de resposta === */
.form-resposta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.form-resposta textarea {
  resize: none;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--cor-borda-forms, #444);
  background-color: var(--cor-fundo-input, #111);
  color: white;
  font-size: 14px;
}

.form-resposta .btn-enviar {
  align-self: flex-end;
  background: var(--cor-primaria, #03fefe);
  color: black;
  padding: 6px 10px;
  font-weight: bold;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}









/* === CONTAINER com scroll === */
.modal-box {
  background: #111;
  width: 100%;
  height: calc(95vh - 55px - 60px); /* header + form fixo */
  max-height: calc(100vh - 55px - 60px);
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  /* Ã°Å¸â€Â¥ Removido: transform desnecessÃƒÂ¡rio */
  transition: opacity 150ms ease-out;
  padding: 16px;
}




/* Loader animado */
.loader-animado {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  border-top-color: #3498db;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Mensagens de erro */
.erro-carregamento {
  padding: 10px;
  text-align: center;
  color: #e74c3c;
}

.botao-tentar-novamente {
  background: #3498db;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 5px;
}




.dots-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 30px;
}

.bouncing-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

.dot-1 {
  background-color: #D33686;
}

.dot-2 {
  background-color: #FFFFFF;
  animation-delay: 0.2s;
}

.dot-3 {
  background-color: #03FEFE;
  animation-delay: 0.4s;
}

@keyframes bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-15px);
  }
}





/*MODAL RESPONDER*/
/* Ã°Å¸â€â€™ Bloqueia scroll da pÃƒÂ¡gina quando o modal estiver aberto */
body.modal-resposta-aberta {
  overflow: hidden;
  touch-action: none;
}

/* Ã°Å¸â€Â² Modal principal fixo */
#modal-responder.modal-responder-fixo {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: all;
}


.modal-responder-fixo .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.8);

  z-index: 1;
}

/* Ã°Å¸â€œÂ¦ Caixa principal flutuante */
.modal-responder-fixo .modal-caixa-resposta {
  position: relative;
  z-index: 2;
  background-color: #111;
  color: #fff;
  padding: 16px;
  border-radius: 16px 16px 0 0;
  max-width: 600px;
  width: 100%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: fixed;

}

/* Ã°Å¸â€˜Â¤ CabeÃƒÂ§alho: avatar + resposta a */
.cabecalho-resposta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.avatar-resposta {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
}

.responde-a {
  font-size: 14px;
  color: #ccc;
  flex-grow: 1;
}

#cancelar-resposta.btn-cancelar-resposta {
  background: transparent;
  color: #ccc;
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s;
}

#cancelar-resposta:hover {
  color: #fff;
}

/* Ã¢Å“ÂÃ¯Â¸Â FormulÃƒÂ¡rio de resposta */
#form-resposta {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

#textarea-resposta {
  flex-grow: 1;
  background: #1a1a1a;
  border: none;
  border-radius: 12px;
  padding: 12px;
  color: #fff;
  font-size: 14px;
  min-height: 80px;
  resize: vertical;
}

#textarea-resposta::placeholder {
  color: #666;
}

/* Ã°Å¸Å¡â‚¬ BotÃƒÂ£o de enviar */
.btn-enviar-resposta {
  background: linear-gradient(133.15deg, #03FEFE 24.07%, #D33686 81.54%);
  border: none;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.2s;
}

.btn-enviar-resposta:hover {
  filter: brightness(1.1);
}

.btn-enviar-resposta img {
  display: block;
}


/* ================================
   SEÃ‡ÃƒO: SKELETON LOADERS FEED
   ================================ */


#feed-loading {
  display: flex;
  flex-direction: column;
  /* padding: 1rem; */
}


/* ===============================
   GHOSTUNE â€” SKELETON FEED (estilo GPT)
   CompatÃ­vel com o HTML atual
   (.skeleton-card, .skeleton-avatar, .skeleton-line, .skeleton-reaction)
================================= */

/* Paleta estilo GPT */
:root {
  --sk-bg: #151515;     /* fundo do card */
  --sk-dark: #202020;   /* base */
  --sk-mid: #2c2c2c;    /* highlight suave */
  --sk-light: #3a3a3a;  /* highlight mais claro */
}

/* CARD CONTAINER */
.skeleton-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1rem;
  border-radius: 14px;
  background-color: var(--skeleton-card);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.1rem;
  /* â­ MantÃ©m o tamanho consistente com o card real */
}

/* ===================================================== */
/* 🦴 SKELETON — UMA COR + SHIMMER PROFISSIONAL          */
/* ===================================================== */

.skeleton-avatar,
.skeleton-line,
.skeleton-reaction {
  background-color: var(--skeleton-line-avatar);

  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.00) 0%,
    rgba(255, 255, 255, 0.08) 40%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.08) 60%,
    rgba(255, 255, 255, 0.00) 100%
  );

  background-size: 200% 100%;
  background-position: 200% 0;

  animation: skeleton-shimmer-reverse 2.5s linear infinite;
  will-change: background-position;
}

@keyframes skeleton-shimmer-reverse {
  from {
    background-position: 200% 0;  /* entra pela direita */
  }
  to {
    background-position: -200% 0; /* sai pela esquerda */
  }
}




/* AVATAR */
.skeleton-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* COLUNA DE LINHAS */
.skeleton-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* LINHAS DE TEXTO */
.skeleton-line {
  height: 12px;
  border-radius: 6px;
  width: 100%;
}

.skeleton-line.short {
  width: 38%;
}

/* REAÃ‡Ã•ES / AÃ‡Ã•ES */
.skeleton-reactions-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.skeleton-reaction {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}





body.no-scroll {
  overflow: hidden;
  height: 100vh; /* evita scroll lateral em alguns casos */
}



.skeleton-conteudo {
  flex: 1;
}

.skeleton-linha {
  height: 10px;
  background: #333;
  margin-bottom: 8px;
  border-radius: 4px;
}

.skeleton-linha.linha1 {
  width: 60%;
}

.skeleton-linha.linha2 {
  width: 90%;
}

.shimmer {
  background: linear-gradient(to right, #2a2a2a 0%, #444 50%, #2a2a2a 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.modal-box.scroll-bloqueado {
  overflow-y: hidden !important;
  max-height: 100vh;
  position: relative;
}



@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}








/*

banner anuncio teste

*/


/* Banner Google Ads - 300x250 pixels */
.google-banner {
  width: 300px;
  height: 250px;
  background: linear-gradient(135deg, #03fefe 0%, #cf3a89 100%);
  font-family: 'Inter', sans-serif;
  color: white;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s;
  margin: 40px auto; /* Centraliza horizontalmente */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centraliza verticalmente o conteÃºdo */
}

/* Efeito hover */
.google-banner:hover {
  transform: scale(1.02);
}

/* Estilo do selo "AnÃºncio" */
.banner-logo {
  position: absolute;
  top: 10px;
  right: 10px;
  font-weight: bold;
  font-size: 12px;
  background: rgba(255,255,255,0.2);
  padding: 2px 6px;
  border-radius: 3px;
}

/* Container do conteÃºdo principal */
.banner-content {
  padding: 25px;
  text-align: center; /* Centraliza texto */
  z-index: 2;
}

/* TÃ­tulo principal */
.banner-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Texto descritivo */
.banner-text {
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.4;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* BotÃ£o de aÃ§Ã£o */
.banner-cta {
  display: inline-block;
  background: white;
  color: #4285F4;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.banner-cta:hover {
  background: #f1f1f1;
  transform: translateY(-1px);
}

/* Elementos decorativos */
.banner-decoration {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.decoration-1 {
  width: 100px;
  height: 100px;
  top: -30px;
  left: -30px;
}

.decoration-2 {
  width: 120px;
  height: 120px;
  bottom: -40px;
  right: -40px;
}

/* Ãcone do Google */
.google-icon {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #4285F4;
  font-size: 18px;

}

/* Responsividade - ajustes para telas pequenas */
@media (max-width: 350px) {
  .google-banner {
    width: 100%;
    max-width: 300px;
  }
  
  .banner-title {
    font-size: 20px;
  }
  
  .banner-text {
    font-size: 13px;
  }
}





/* ==== WRAPPER ================================================== */
.spotify-wrapper {
    position: relative;
    width: 100%;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: #0f0f0f;
    margin-top: 10px;
}


/* ==== SKELETON LAYOUT ========================================= */
.spotify-skeleton {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 12px;
    background: #0f0f0f;
    z-index: 10;
}

/* Capa */
.skel-cover {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #222;
}

/* Ãrea de texto */
.skel-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 3px;
}

.skel-title {
    width: 70%;
    height: 12px;
    border-radius: 4px;
    background: #222;
}

.skel-artist {
    width: 50%;
    height: 10px;
    border-radius: 4px;
    background: #222;
}

.skel-prev {
    width: 25%;
    height: 10px;
    border-radius: 4px;
    background: #222;
}

/* Play button */
.skel-play {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #222;
    margin-left: auto;
    margin-top: 25px;
}


/* ==== ANIMAÃ‡ÃƒO SHIMMER ======================================== */
.skel-anim {
    background: linear-gradient(
        90deg,
        #1c1c1c 0%,
        #2d2d2d 50%,
        #1c1c1c 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.25s infinite linear;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}


/* ==== PLAYER REAL ============================================= */
.spotify-iframe {
    position: relative;
    opacity: 0;
    transition: opacity .25s ease;
    border-radius: 12px;
}



/* ==========================================
   HEADER GLOBAL (fixo no topo)
========================================== */
.gt-header-global {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    padding: 0 1rem;
    margin-bottom: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cor-fundo);
    /* border-bottom: 1px solid #1f1f1f; */
    z-index: 999; /* fica acima de tudo */
}

/* BotÃ£o voltar */
.gt-header-back {
    position: absolute;
    left: 12px;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--cor-icons-default);
    width: 44px;
    height: 44px;
}

.gt-back-icon {
    width: 24px;
    height: 24px;
}

/* TÃ­tulo central */
.gt-header-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cor-title-header);
    text-align: center;
    pointer-events: none; /* garante centralizaÃ§Ã£o real */
}


.page-content {
    padding-top: 54px; /* mesma altura do header */
}








/* ============================================================
   ðŸ‘¥ GHOSTUNE â€” SKELETON FOLLOW (SEGUIDORES / SEGUINDO)
   âœ” Classes exclusivas (follow-*)
   âœ” NÃ£o conflita com chat / feed / comentÃ¡rios
   âœ” Pronto para scroll infinito
   ============================================================ */

/* Containers */
.follow-skeleton-initial,
.follow-skeleton-scroll {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 0;
}

/* Item individual */
.follow-skeleton-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

/* Avatar */
.follow-skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #2a2a2a;
  position: relative;
  overflow: hidden;
}

/* Texto */
.follow-skeleton-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Linhas */
.follow-skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: #2a2a2a;
  position: relative;
  overflow: hidden;
}

.follow-skeleton-name {
  width: 160px;
  height: 14px;
}

.follow-skeleton-username {
  width: 120px;
  height: 11px;
  opacity: 0.7;
}

/* BotÃ£o fake */
.follow-skeleton-button {
  width: 86px;
  height: 32px;
  border-radius: 16px;
  background: #2a2a2a;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

/* ============================================================
   âœ¨ SHIMMER ANIMATION
   ============================================================ */

.follow-skeleton-avatar::after,
.follow-skeleton-line::after,
.follow-skeleton-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  animation: follow-skeleton-shimmer 1.4s infinite;
}

@keyframes follow-skeleton-shimmer {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}

/* ============================================================
   ðŸ“± RESPONSIVO
   ============================================================ */

@media (max-width: 480px) {
  .follow-skeleton-name {
    width: 120px;
  }

  .follow-skeleton-username {
    width: 90px;
  }

  .follow-skeleton-button {
    width: 72px;
    height: 28px;
  }
}







/* ===================================================== */
/* ðŸ” SEARCH â€” FOLLOW LIST (INPUT)                      */
/* ===================================================== */

.follow-search-wrapper {
  padding-bottom: 1rem;
}

.follow-search-input {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

/* Ãcone lupa */
.follow-search-icon {
  position: absolute;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cor-icon-input);
  pointer-events: none;
}

.follow-search-icon svg {
  width: 18px;
  height: 18px;
}

/* Input */
#follow-search-input {
  width: 100%;
  height: 46px;
  padding: 0 42px 0 44px;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0%);
  
  background: var(--bg-input);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #f1f1f1;

  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

#follow-search-input::placeholder {
  color: var(--cor-placeholder-input);
}

/* Focus */
#follow-search-input:focus {
  border-color: #2226df;
  background: rgba(255, 255, 255, 0.06);
}

/* BotÃ£o limpar (X) */
.follow-search-clear {
  position: absolute;
  right: 10px;
  width: 26px;
  height: 26px;

  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);

  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background 0.15s ease, transform 0.15s ease;
}

.follow-search-clear:hover {
  background: rgba(255, 255, 255, 0.18);
}

.follow-search-clear:active {
  transform: scale(0.92);
}

/* ===================================================== */
/* ðŸ‘» EMPTY STATE â€” SEARCH (CORREÃ‡ÃƒO CRÃTICA)           */
/* ===================================================== */

.follow-search-empty {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 260px); /* header + search + subtitulo */
  display: none; /* JS controla */
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.follow-search-empty-content {
  max-width: 420px;
  width: 100%;
  text-align: center;
}

/* Ãcone */
.follow-search-empty-icon {
  width: 155px;
  max-width: 70%;
  margin: 0 auto 26px;
  opacity: 0.9;
  user-select: none;
}

/* TÃ­tulo */
.follow-search-empty-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
  color: rgba(248, 248, 248, 0.92);
  margin-bottom: 12px;
}

/* Texto */
.follow-search-empty-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;
  color: #d4d2d2;
  margin-bottom: 28px;
}

/* BotÃ£o */
.follow-search-empty-btn {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 15px;

  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;

  cursor: pointer;
  background: linear-gradient(
    90deg,
    #00d5ff 29.8%,
    #d33686 100%
  );

  transition: transform 0.15s ease, opacity 0.15s ease;
}

.follow-search-empty-btn:hover {
  opacity: 0.95;
}

.follow-search-empty-btn:active {
  transform: scale(0.97);
}









/* ===================================================== */
/* ðŸ”„ SEARCH LOADER (abaixo do input)                   */
/* ===================================================== */

.follow-search-loader {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.follow-search-loader.hidden {
  display: none;
}

/* Spinner base */
.spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #00d5ff;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* ===================================================== */
/* ðŸ‘» EMPTY STATE â€” ajuste fino                          */
/* ===================================================== */

.follow-search-empty {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.follow-search-empty-content {
  max-width: 420px;
  text-align: center;
}

/* (demais estilos do empty vocÃª jÃ¡ tem) */



/* ===================================================== */
/* ðŸ“± MOBILE AJUSTES FINOS                              */
/* ===================================================== */

@media (max-width: 480px) {
  .follow-search-empty-title {
    font-size: 22px;
  }

  .follow-search-empty-text {
    font-size: 14px;
  }
}



/* =======================================================
   🎵 BLOCO DE MÚSICA — MARQUEE UNIVERSAL
   Compatível com 100% dos dispositivos atuais
   ======================================================= */

/* -------------------------------------------------------
   CONTAINER PRINCIPAL
   ------------------------------------------------------- */


/* =========================================
   AUDIO WAVES — EFEITO SONORO ORGÂNICO (LENTO / BRANCO)
========================================= */

.audio-waves {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

/* Base das barras */
.audio-waves i {
  display: block;
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
}

/* Cada barra tem animação DIFERENTE (mais lenta) */
.audio-waves i:nth-child(1) {
  animation: waveA 2.6s infinite ease-in-out;
}
.audio-waves i:nth-child(2) {
  animation: waveB 3.1s infinite ease-in-out;
}
.audio-waves i:nth-child(3) {
  animation: waveC 2.3s infinite ease-in-out;
}
.audio-waves i:nth-child(4) {
  animation: waveB 2.9s infinite ease-in-out reverse;
}
.audio-waves i:nth-child(5) {
  animation: waveA 3.4s infinite ease-in-out;
}

/* 🔀 Keyframes ORIGINAIS (inalterados) */
@keyframes waveA {
  0%   { height: 5px; opacity: 0.5; }
  25%  { height: 14px; }
  50%  { height: 8px; }
  75%  { height: 18px; }
  100% { height: 6px; opacity: 0.7; }
}

@keyframes waveB {
  0%   { height: 7px; }
  20%  { height: 18px; }
  40%  { height: 6px; }
  60%  { height: 15px; }
  80%  { height: 9px; }
  100% { height: 7px; }
}

@keyframes waveC {
  0%   { height: 6px; opacity: 0.6; }
  30%  { height: 10px; }
  50%  { height: 18px; opacity: 1; }
  70%  { height: 7px; }
  100% { height: 6px; opacity: 0.6; }
}



.reaction-music{
  display: flex;
  align-items: center;
  gap: 8px;

  width: auto;          /* 🔥 não força 100% */
  max-width: 100%;
  min-width: 0;         /* 🔥 ESSENCIAL em layouts flex */

  font-size: 13px;
  color: #e6e9ff;
}

/* -------------------------------------------------------
   ÍCONE
   ------------------------------------------------------- */

.music-icon{
  width: 24px;
  height: 24px;
  flex: 0 0 24px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.music-icon img{
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: .9;
  pointer-events: none;
  user-select: none;
}

/* -------------------------------------------------------
   VIEWPORT DO MARQUEE (LIMITADO E RESPONSIVO)
   ------------------------------------------------------- */

.music-marquee{
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding-left: 5px;
  white-space: nowrap;

}
/* -------------------------------------------------------
   TEXTO (ITEM QUE SE MOVE)
   ------------------------------------------------------- */

.music-marquee__inner{
  display: inline-block;
  white-space: nowrap;
  padding-right: 32px;

  color: #e6e9ff;
  text-decoration: none;
  font-weight: 500;

  transform: translateX(0);
  will-change: transform;
}

/* -------------------------------------------------------
   🚀 MARQUEE (SÓ QUANDO ESTOURAR)
   Ativado via JS com data-run="1"
   ------------------------------------------------------- */

.music-marquee[data-run="1"] .music-marquee__inner{
  animation: ghostuneMarquee linear infinite;
  animation-duration: var(--dur, 7s);
}

/* -------------------------------------------------------
   ANIMAÇÃO
   ------------------------------------------------------- */

@keyframes ghostuneMarquee{
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(calc(-1 * var(--dist)));
  }
}

/* -------------------------------------------------------
   ACESSIBILIDADE
   ------------------------------------------------------- */

@media (prefers-reduced-motion: reduce){
  .music-marquee[data-run="1"] .music-marquee__inner{
    animation: none;
  }
}


.mention {
  color: #EA646C;
  font-weight: 500;
  text-decoration: none;
  font-weight: 600;
}


.plus-button i {
  width: 34px;
  height: 34px;

  opacity: 1 !important;
  stroke-width: 2.5; /* deixa o + mais forte */
  color: #ffffff;
}











/* =====================================================
   ⋮ POST OPTIONS — MODAL BOTTOM SHEET
   Ghostune • WebView Safe • GPU Optimized
   ===================================================== */

/* =====================================================
   WRAPPER GERAL
   ===================================================== */
.post-options-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  /* 🔒 estado fechado real */
  pointer-events: none;
  opacity: 0;

  transition: opacity 0.22s ease;
}

/* Modal ativo */
.post-options-modal.active {
  pointer-events: auto;
  opacity: 1;
}

/* =====================================================
   OVERLAY (FUNDO ESCURO)
   ===================================================== */
.post-options-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  opacity: 0;
  transition: opacity 0.22s ease;

  will-change: opacity;
}

/* Overlay visível */
.post-options-modal.active .post-options-overlay {
  opacity: 1;
}

/* =====================================================
   BOTTOM SHEET
   ===================================================== */
.post-options-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  background: #0e121a;
  border-radius: 18px 18px 0 0;

  padding: 10px 0 18px;

  /* 🔥 animação GPU (WebView friendly) */
  transform: translate3d(0, 10%, 0);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  will-change: transform;
}

/* Sheet ativo */
.post-options-modal.active .post-options-sheet {
  transform: translate3d(0, 0, 0);
}

/* =====================================================
   ITENS DO MENU
   ===================================================== */
.post-options-item {
  width: 100%;
  background: none;
  border: none;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 14px 20px;

  font-size: 15px;
  font-weight: 500;
  color: #e8eaed;

  cursor: pointer;
  text-decoration: none;

  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s ease;
}

/* Feedback de toque */
.post-options-item:active {
  background: rgba(255, 255, 255, 0.08);
}

/* =====================================================
   ÍCONES DOS ITENS
   ===================================================== */
.post-options-item .option-icon {
  width: 20px;
  height: 20px;

  display: block;
  flex-shrink: 0;

  color: #9aa0a6;
}

/* =====================================================
   VARIAÇÕES
   ===================================================== */

/* Danger / Excluir */
.post-options-item.danger {
  color: #ff5c5c;
}

.post-options-item.danger .option-icon {
  color: #ff5c5c;
}

/* Cancelar */
.post-options-item.cancel {
  justify-content: center;
  font-weight: 600;
  color: #9aa0a6;
}

/* =====================================================
   ACESSIBILIDADE / PERFORMANCE
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  .post-options-modal,
  .post-options-overlay,
  .post-options-sheet {
    transition: none;
  }
}


/* =====================================================
   ⋮ POST OPTIONS — BOTÃO GATILHO (ELLIPSIS)
   ===================================================== */

/* Container do gatilho */
.post-options {
  margin-left: auto;          /* 🔥 empurra para a direita */
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Botão clicável */
.options-btn {
  width: 40px;                /* tamanho real do toque */
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  margin-right: -15px;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* SVG ⋮ */
.options-btn .icon-more {
  width: 25px;                /* 🔥 CONTROLE REAL DO TAMANHO */
  height: 23px;
  display: block;
  color: rgba(255, 255, 255, 0.63);
  fill: currentColor;
  transition: color 0.15s ease;
}

/* Feedback */
.options-btn:active .icon-more {
  color: #ffffff;
}





/* ============================================================
   CONTROLE DE VISIBILIDADE DAS ABAS DO FEED

   Esta regra Ã© ESSENCIAL para o funcionamento do feed.
   O JavaScript controla qual aba estÃ¡ ativa adicionando/removendo
   a classe `.hidden`.

   Sem esta regra, todas as abas permanecem visÃ­veis,
   causando sobreposiÃ§Ã£o de conteÃºdo e bugs visuais.

   IMPORTANTE:
   - NÃ£o remover
   - NÃ£o sobrescrever
   - O feed depende disso para funcionar corretamente
   ============================================================ */

.fim-feed {
    display: none !important;
}

.feed-tab.hidden {
  display: none !important;
}


