body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont;
  background: var(--bg);
  color: var(--text);
}
.profile-header {
  max-width: 720px;
  margin: 30px auto;
  padding: 20px;
  background: white;
  border-radius: 18px;
  border: 1px solid #eee;
}

.profile-header img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid #f7931a;
}

.profile-name {
  font-size: 20px;
  font-weight: 700;
}

.profile-username {
  color: #777;
}

.profile-bio {
  margin-top: 10px;
  line-height: 1.6;
}

.stats {
  display: flex;
  gap: 20px;
  margin-top: 14px;
}

.follow-btn {
  margin-top: 14px;
  padding: 10px 20px;
  background: #f7931a;
  color: white;
  border-radius: 12px;
  border: none;
}

/* ================= POST CARD ================= */
.post-card {
    margin: 30px auto;
  background: white;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 14px;
  max-width: 760px; 
  width: 100%;
  box-sizing: border-box;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.post-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.post-card .post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  flex-wrap: wrap; 
}

.post-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
  flex-shrink: 0;
}

.post-card .post-body {
  margin-top: 8px;
}

.post-card .post-content {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6; 
  -webkit-box-orient: vertical;
}

.post-card .post-actions {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}

.post-card .action {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.2s;
}

.post-card .action:hover {
  color: var(--primary);
}

.post-card .action svg {
  width: 18px;
  height: 18px;
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .post-card {
    padding: 14px;
  }

  .post-card .post-header {
    font-size: 13px;
    gap: 8px;
  }

  .post-card .post-content {
    font-size: 14px;
    -webkit-line-clamp: 5; 
  }

  .post-card .action {
    font-size: 13px;
  }
}

