* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  background: #ddddd4; color: #333; font-size: 14px;
}
.site-header { background: #00732e; color: #fff; padding: 16px; text-align: center; }
.site-header h1 { font-size: 1.3rem; }
.site-header h1 a { color: inherit; text-decoration: none; }
.site-header p { font-size: 0.85rem; opacity: 0.8; margin-top: 4px; }
.container { max-width: 800px; margin: 0 auto; padding: 12px; }
.updated { font-size: 0.76rem; color: #aaa; text-align: right; padding: 4px 0 6px; }
.thread-list { list-style: none; }
.thread-item { background: #fff; border: 1px solid #b0b0a0; margin-bottom: 4px; }
.thread-item > a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; text-decoration: none; color: #333;
}
.thread-item a:hover { background: #f0fff5; }
.thread-title { flex: 1; font-size: 0.93rem; }
.thread-date { color: #888; font-size: 0.78rem; margin-left: 12px; white-space: nowrap; }
.no-articles { padding: 24px; text-align: center; color: #888; }
.pagination {
  display: flex; justify-content: space-between; align-items: stretch;
  padding: 16px 0; margin-top: 12px; gap: 10px;
}
.page-card {
  display: flex; flex-direction: column; justify-content: center;
  flex: 1; padding: 10px 16px; border: 1px solid #ccc;
  border-radius: 6px; background: #fff; text-decoration: none; color: #333;
}
.page-card:hover { background: #f5f5f5; }
.page-empty { flex: 1; }
.page-direction { font-size: 0.85rem; font-weight: bold; }
.page-label { font-size: 0.72rem; color: #999; margin-top: 3px; }
.page-next { text-align: right; }
.page-info { flex: 0 0 auto; align-self: center; color: #888; font-size: 0.82rem; white-space: nowrap; }
.site-footer { text-align: center; padding: 20px; color: #888; font-size: 0.78rem; }
