body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9fafb;
  color: #222;
}

header {
  background: #3a3a3a;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  position: sticky;
  top: 0;
}

header h1 {
  font-size: 1.4rem;
  margin: 0;
}

main {
  max-width: 600px;
  margin: 30px auto;
  padding: 0 15px;
}

#composer {
  margin-bottom: 24px;
}

#composer textarea {
  width: 100%;
  resize: vertical;
}

#postError {
  color: red;
  margin-top: 6px;
}

#feed {
  margin-top: 30px;
}

#feed ul {
  list-style: none;
  padding: 0;
}

#feed li {
  background: white;
  margin-bottom: 10px;
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: left;
}

#userSearch {
  margin: 20px 0;
  padding: 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

#userSearchForm {
  display: flex;
  gap: 10px;
}

#userSearchInput {
  flex: 1;
}

.hidden {
  display: none;
}

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