.public-profile
{
  max-width: 820px;
  margin: 0 auto;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgb(230, 214, 197);
}

.profile-header .avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgb(215, 195, 175);
  background: rgb(255, 255, 255);
}

.profile-meta h1 {
  margin: 0 0 6px;
  font-size: 1.8em;
  font-family: "Libre Baskerville", Georgia, serif;
}

.profile-meta p {
  margin: 4px 0;
  color: rgb(122, 90, 68);
}

.profile-meta .muted {
  font-size: 0.85em;
  color: rgb(138, 106, 84);
}

.profile-tabs {
  display: flex;
  gap: 26px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgb(230, 214, 197);
  padding-bottom: 10px;
}

.profile-tabs a {
  position: relative;
  text-decoration: none;
  color: rgb(122, 90, 68);
  font-size: 0.95em;
  padding-bottom: 6px;
}

.profile-tabs a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 0;
  height: 2px;
  background: rgb(168, 122, 79);
  transition: width 0.25s ease;
}

.profile-tabs a:hover::after,
.profile-tabs a.active::after {
  width: 100%;
}

.profile-tabs a.active {
  font-weight: 600;
  color: rgb(74, 52, 40);
}

.empty {
  text-align: center;
  color: rgb(138, 106, 84);
  font-size: 0.95em;
  margin-top: 40px;
}

.post-card {
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.post-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(168, 122, 79, 0.15);
}


.badge {
  display: inline-block;
  font-size: 0.7em;
  padding: 4px 8px;
  border-radius: 12px;
  margin-bottom: 8px;
  margin-right: 8px;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.badge.post {
  background: rgba(168, 122, 79, 0.15);
  color: rgb(122, 90, 68);
}

.badge.comment {
  background: rgba(198, 156, 109, 0.2);
  color: rgb(140, 94, 60);
}


.post-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.post-card a {
  font-size: 1.05em;
  font-weight: 600;
  color: rgb(74, 52, 40);
  text-decoration: none;
}

.post-card a:hover {
  text-decoration: underline;
}


.post-card p {
  margin-top: 6px;
  font-size: 0.95em;
  color: rgb(90, 68, 52);
}


.post-card .post-meta {
  font-size: 0.8em;
  color: rgb(138, 106, 84);
  margin-top: 6px;
}

.txt-user{
white-space: pre-line;
}


@media (max-width: 700px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .profile-tabs {
    justify-content: center;
    gap: 18px;
  }
}

.profile-about {
  padding-bottom: 28px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgb(230, 214, 197);
}