* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0d0d0d;
  color: #e0e0e0;
  line-height: 1.5;
}

a { color: #6cb4ee; text-decoration: none; }
a:hover { text-decoration: underline; }

header {
  padding: 12px 20px;
  border-bottom: 1px solid #222;
}

.logo {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

main { max-width: 960px; margin: 0 auto; padding: 20px; }

h1 { font-size: 20px; margin-bottom: 16px; }

.dim { color: #888; font-size: 13px; }
.center { text-align: center; }
.empty { color: #666; font-style: italic; }

/* Thread list */
.thread-list { width: 100%; border-collapse: collapse; }
.thread-list th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  color: #666;
  padding: 8px 12px;
  border-bottom: 1px solid #222;
}
.thread-list td {
  padding: 10px 12px;
  border-bottom: 1px solid #1a1a1a;
  font-size: 14px;
}
.thread-list tr:hover { background: #151515; }

/* Thread detail */
.thread-header { margin-bottom: 24px; }

.post {
  background: #141414;
  border: 1px solid #222;
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 12px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1e1e1e;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #888;
}

.post-content {
  font-size: 14px;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.post-content img { max-width: 100%; height: auto; }
.post-content blockquote {
  border-left: 3px solid #333;
  padding-left: 12px;
  margin: 8px 0;
  color: #aaa;
}

.post-likes {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #1e1e1e;
  font-size: 13px;
  color: #888;
}

.like-icon {
  color: #e25555;
  margin-right: 4px;
}

/* Notify button */
.notify-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #444;
  background: #222;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 1000;
}

.notify-btn:hover {
  border-color: #666;
}

.notify-btn.active {
  background: #2d7a2d;
  border-color: #4a4;
  box-shadow: 0 0 10px rgba(68, 170, 68, 0.4);
}
