/* Main Layout */
main {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 1rem;
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Howl post */
.howl-post {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px gray;
}

.howl-post textarea {
  width: 100%;
  min-height: 100px;
  border: none;
  outline: none;
  resize: none;
  font-size: 15px;
  color: #212529;
  font-family: inherit;
}

.howl-post textarea::placeholder {
  color: #adb5bd;
}

.post-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
  border-top: 1px solid #f0f2f5;
  padding-top: 0.75rem;
}

.btn-howl {
  background: #CC0000;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.4rem 1.25rem;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-howl:hover {
  background: #aa0000;
}

/* Howls */
#howls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 1.5rem;
}

/* Howl Card */
.howl-card {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px gray;
}

.howl-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.howl-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.howl-username {
  font-size: 14px;
  font-weight: 600;
  color: #212529;
}

.howl-timestamp {
  margin-left: auto;
  font-size: 12px;
  color: #adb5bd;
  white-space: nowrap;
}

.howl-text {
  font-size: 14px;
  color: #343a40;
  line-height: 1.5;
}

.howls-empty {
  text-align: center;
  color: #adb5bd;
  font-size: 14px;
  padding: 2rem 0;
}