:root {
  color: #22201d;
  background: #f6f3ee;
  font-family: "Hiragino Sans", "Yu Gothic", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  --ink: #22201d;
  --muted: #6f6a63;
  --line: #d9d3ca;
  --accent: #7a4b8f;
  --accent-soft: #ece4f1;
  --paper: #fffdf9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: var(--accent);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.site-header .brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.site-header .sign-in,
.button {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1rem;
}

.lede,
.meta,
.count,
.empty,
.crumbs {
  color: var(--muted);
  font-size: 0.9rem;
}

.board-list ul,
.thread-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.board-item,
.thread-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.post {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.post header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.85rem;
  color: var(--muted);
}

.post .pseudonym {
  color: var(--ink);
  font-weight: 600;
}

.post .body {
  white-space: pre-wrap;
  margin: 0.4rem 0 0;
}

.badge {
  display: inline-block;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
}

.composer {
  display: grid;
  gap: 0.75rem;
}

.composer input,
.composer textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.composer textarea {
  min-height: 10rem;
}

.notice {
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  background: var(--accent-soft);
}
