body {
  position: fixed;
  width: 100%;
}

.end-feed {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  padding-top: 30px;
  border: none !important;
}

.end-feed p {
  color: #474747;
  font-size: 14px;
  padding-top: 8px;
  border: none !important;
}

.act-big {
  padding: 8px;
  display: flex;
  gap: 12px;
}

.act-doble {
  display: flex;
}
.act-small {
  padding: 8px;
  height: 20vh;
  width: 50%;
  display: block;
}

.act-small .user-info {
  display: block;
}

.act-small:last-child{
  border-right: none;
}

.act-header {
  display: flex;
  align-items: center;
}

.img-profile img {
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background-size: cover;
  backdrop-filter: blur(8px);
}

.profile-photos {
  display: flex;
  z-index: 9 !important;
}
.pfps {
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background-size: cover;
}

.user-img1{
  left: 0;
  z-index: 2;
}

.image img{
  border: 4px solid var(--bg-primary);
  height: 53px;
  width: 53px;
}

.user-img2 {
  left: 28px;
  z-index: 1;
  margin-left: -20px;
  padding: 0px;
}

.act-header img {
  height: 53px;
  width: 53px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info {
  padding: 0px 8px;
  align-content: center;
  display: none;
}

.act-udisplay {
  font-weight: bold;
}

.act-username {
  font-size: 14px;
}

.act-content {
  padding: 4px;
  font-size: 17px;
  color: #cacaca;
  display: flex;
  align-items: center;
  align-self: center;
}


.act-content-small {
  font-size: 17px;
  color: #cacaca;
  display: block;
  align-items: center;
  align-self: center;
  padding: 8px;
}

.act-content span {
  font-weight: bold;
  color: #d8d8d8;
}

.act-content-small span {
  font-weight: bold;
  color: #d8d8d8;
}

.act-small {
  overflow: hidden;
}

.act-header {
  float: left;
  margin-right: 20px;
}

.act-content p {
  margin: 0;
  line-height: 1.4;
}

#searchResults {
  position: fixed;
  left: 0;
  width: 100vw;
  background: var(--bg-primary);
  backdrop-filter: blur(8px);
  border-radius:  0px 0px 12px 12px;
  translate: 0px -4px;
  list-style: none;
  padding: 0;
  height: 100vh;
  margin: 0;
  display: none;
  overflow-y: auto;
  z-index: 9999999;
  overflow-x: hidden;
  padding-bottom: 10rem;
}

#searchResults.visible {
  display: block;
}

#searchResults li {
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}


#searchResults::-webkit-scrollbar {
  display: none;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.2s;
}


.search-user-photo {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

.search-user-info {
  display: flex;
  flex-direction: column;
}

.search-user-name {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  text-transform: capitalize;
}

.search-user-username {
  font-size: 13px;
  color: #888;
}

.no-results {
  padding: 15px;
  text-align: center;
  color: #666;
}

.search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  color: #888;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid #333;
  border-top-color: #ddd;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.search-user-photo.lazy-load {
  transition: opacity 0.3s ease;
}

.search-user-photo.lazy-load.loaded {
  opacity: 1;
}



.activities {
  position: relative;
  overflow: auto;
  height: 100vh;
  width: 100%;
  overflow-x: hidden;
  padding: 0;
  padding-bottom: 200px;
  margin: 0;
  border: none;
  background-color: transparent;
}

.end-feed {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  padding-top: 30px;
  border: none !important;
}

.end-feed p {
  color: #474747;
  font-size: 14px;
  padding-top: 8px;
  border: none !important;
}

.search-area-mobile {
  padding: 12px;
  display: flex;
  height: 62px;
}

.search-box-mobile {
  border-radius: 0.875rem;
  height: 4.6vh;
  min-height: 38px;
  background-color: #2c2c2c;
  width: 100%;
  color: #cacaca !important;
  display: flex;
}

.search-box-mobile input {
  height: 100%;
  width: 100%;
  background-color: transparent;
  border: none;
  padding-left: 20px;
  font-size: 16px;
  color: #cacaca !important;
  transition: all 0.3s;
}

.search-box-mobile input::placeholder {
  color: #cacaca !important;
}

.search-box-mobile input:focus {
  outline: none;
}

.search-box-mobile button {
  display: none;
}

.cancel-search {
  width: 0;
  overflow: hidden;
  transition: width 0.3s ease
}

.cancel-search.active {
  width: 70px;
}

.cancel-search-btn {
  height: 100%;
  width: 100%;
  font-size: 14px;
  border: none;
  color: #ddd;
  font-weight: bold;
  background: transparent;
  padding-left: 12px;
}

.searchTitle {
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.act-big {
  padding: 12px 12px;
  display: flex;
}

.act-doble {
  display: flex;
}
.act-small {
  padding: 8px;
  height: 20vh;
  min-height: 180px;
  width: 50%;
  display: block;
}

.act-small .user-info {
  display: block;
}

.act-small:last-child{
  border-right: none;
}

.act-header {
  display: flex;
  align-items: center;
}

.img-profile img {
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background-size: cover;
  backdrop-filter: blur(8px);
}

.profile-photos {
  display: flex;
  z-index: 99 !important;
}
.pfps {
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background-size: cover;
}

.user-img1{
  left: 0;
  z-index: 2;
}

.image img{
  border: 4px solid var(--bg-primary);
  height: 53px;
  width: 53px;
}

.user-img2 {
  left: 28px; /* ajuste este valor para mais ou menos sobreposição */
  z-index: 1;
  margin-left: -20px;
  padding: 0px;
}



.act-header img {
  height: 53px;
  width: 53px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info {
  padding: 0px 8px;
  align-content: center;
  display: none;
}

.act-udisplay {
  font-weight: bold;
}

.act-username {
  font-size: 14px;
}

.act-content {
  padding: 4px;
  font-size: 17px;
  color: #cacaca;
  display: flex;
  align-items: center;
  align-self: center;
}


.act-content-small {
  font-size: 17px;
  color: #cacaca;
  display: block;
  align-items: center;
  align-self: center;
  padding: 8px;
}

.act-content span {
  font-weight: bold;
  color: #d8d8d8;
}

.act-content-small span {
  font-weight: bold;
  color: #d8d8d8;
}


.act-small {
  overflow: hidden;
}

.act-header {
  float: left;
  margin-right: 20px;
}

.act-content p {
  margin: 0;
  line-height: 1.4;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.search-user-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.search-user-info {
  display: flex;
  flex-direction: column;
}

.search-user-username {
  font-size: 13px;
  color: #888;
}

.no-results {
  padding: 15px;
  text-align: center;
  color: #666;
}

.search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  color: #888;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #333;
  border-top-color: #ddd;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.search-user-photo.lazy-load {
  transition: opacity 0.3s ease;
}

.search-user-photo.lazy-load.loaded {
  opacity: 1;
}

.header-page {
  width: 100%;
  font-size: 26px;
  font-weight: bold;
  padding: 4px 16px;
}


/* ── lista ───────────────────────────────────────────────────── */
.xact-list {
  display: flex;
  flex-direction: column;
}

.xact-empty {
  padding: 2rem 1rem;
  text-align: center;
  opacity: .45;
  font-size: .875rem;
}

/* ── loading bar ─────────────────────────────────────────────── */
.xact-loading {
  width: 30px;
  height: 30px;
  border: 2px solid #333;
  border-top-color: #ddd;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes xact-pulse {
  0%, 100% { opacity: .1; }
  50%       { opacity: .35; }
}

.loading-area {
  height: 50vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ── swipe wrapper ───────────────────────────────────────────── */
.act-swipe-wrapper {
  position: relative;
  overflow: hidden;           /* esconde o hint antes do swipe */
}

/* ── botão de apagar (fica atrás do card) ────────────────────── */
.act-delete-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;       /* invisível até o card abrir */
}
.act-swipe-wrapper.open .act-delete-hint {
  pointer-events: auto;
}

.act-delete-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: 20px 22px;
  border: none;
  height: 100%;
  background: #e53e3e;
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: .02em;
}

.act-delete-btn svg {
  width: 34px;
  height: 34px;
  stroke: #fff;
}

.act-delete-btn:active {
  opacity: .8;
}

/* ── card ────────────────────────────────────────────────────── */
.act-big {
  display: flex;
  align-items: center;
  padding: .85rem 1rem;
  background: var(--bg-primary);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
}

/* ── inner (avatars + texto lado a lado) ─────────────────────── */
.act-inner {
  display: flex;
  align-items: center;
  gap: .85rem;
  width: 100%;
}

/* ── avatars ─────────────────────────────────────────────────── */
.act-avatars {
  flex-shrink: 0;
  position: relative;
}

.act-avatars.single img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #272727;
}

.act-avatars.duo {
  width: 53px;
  height: 53px;
}

.act-avatars.duo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  border: 2px solid var(--bg-primary);
  background: #272727;
}

.act-avatars.duo img:first-child {
  top: -5; left: 0;
  z-index: 1;
}

.act-avatars.duo img:last-child {
  bottom: -5px; right: 0; left: 10px;
  z-index: 2;
}

/* ── texto ───────────────────────────────────────────────────── */
.act-text {
  flex: 1;
  min-width: 0;
}

.act-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #aaa;
  white-space: normal;
  overflow-wrap: break-word;
}

.act-link  { 
  font-weight: bold;
  color: #fff !important;
}
.act-acao  { 
  color: #ccc;
}
.act-tempo { 
  color: #666;
  font-size: 0.8rem;
  white-space: nowrap;
}

/* link de perfil dentro do texto */
.act-link {
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}

/* destaque (tempo, contagem, ação) */
.act-hl {
  opacity: .5;
  font-size: .98rem;
}

/* ── badge amigo ─────────────────────────────────────────────── */
.act-friend-badge {
  display: block;
  margin-top: .3rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .4;
  display: none;
}

.xact-empty {
  font-size: 17px;
  font-weight: bold;
  color: #fff;
}

.act-icon {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
}

.act-icon svg {
  height: 40px;
  width: 40px;
}

.act-filters {
  display: flex;
  gap: 8px;
  padding: 6px 12px;
  overflow-y: auto;
}

.act-filter {
  padding: 9px 19px;
  background-color: #222;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: bold;
  text-wrap: nowrap;
  white-space: nowrap;
  color: #fafafa;
  display: flex;
  justify-content: center;
  align-items: center;
}

.act-filter.active {
  color: var(--bg-primary);
  background-color: #fafafa;
}

.act-section-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fafafa;
  padding: 18px 12px 6px;
}