body {
  font: 13px/1.4 tahoma, arial, sans-serif;
  background: #dcfffb;
  color: #222c2b;
  margin: 0;
}

header {
  text-align: center;
  padding: 10px;
}

header h1 {
  margin: 0;
  color: #AF0A0F;
  letter-spacing: -1px;
  font-size: 20pt;
}

main {
  max-width: 700px;
  margin: 0 auto 2em;
  padding: 0 10px;
}

form {
  background: white;
  border: 1px solid #87ede1;
  border-radius: 3px;
  padding: 10px;
  margin-bottom: 1em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

input, textarea, button {
  font: inherit;
  padding: 6px;
  border: 1px solid #999;
  border-radius: 2px;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  min-height: 60px;
}

button {
  align-self: flex-start;
  background: #87ede1;
  border-color: #6cd9cb;
  cursor: pointer;
}

button:hover {
  background: #6cd9cb;
}

.post {
  background: white;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 8px;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  text-align: left;
}

.post img.avatar {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  background: #eee;
}

.post .body {
  min-width: 0;
}

.post .meta {
  font-weight: bold;
  color: #AF0A0F;
}

.post .meta .time {
  font-weight: normal;
  color: #666;
  font-size: 11px;
  margin-left: 6px;
}

.ban-link {
  font-weight: normal;
  font-size: 10px;
  color: #999;
  margin-left: 6px;
}

.post .message {
  white-space: pre-wrap;
  word-wrap: break-word;
  margin-top: 2px;
}

.thread-summary {
  cursor: pointer;
}

.reply-count {
  color: #666;
  font-size: 11px;
}

#back-btn {
  background: none;
  border: none;
  color: #34345C;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 0;
  margin-bottom: 10px;
}
