/* Forum: deliberately plain */
.forum { font-size: 0.98rem; }
.forum .page-head { padding-bottom: 20px; }
.forum .page-head .board-tagline { font-family: var(--font-mono); font-size: 0.95rem; color: var(--muted); }

.thread-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.thread-list li { border-bottom: 1px solid var(--line); padding: 14px 0; }
.thread-list a.subject { font-weight: 600; font-size: 1.05rem; color: var(--text); text-decoration: none; }
.thread-list a.subject:hover { color: var(--amber-hot); text-decoration: underline; }
.thread-list .excerpt { color: var(--muted); margin: 4px 0 6px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.meta { font-family: var(--font-mono); font-size: 0.76rem; color: var(--faint); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.meta .name { color: var(--amber); }
.meta .pid { color: var(--muted); }
.meta .no { color: var(--faint); text-decoration: none; }
.meta .no:hover { color: var(--amber-hot); }
.meta button.link {
  font: inherit; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
.meta button.link:hover { color: var(--amber-hot); }

details.compose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 28px; }
details.compose > summary { cursor: pointer; padding: 12px 16px; font-family: var(--font-mono); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber-hot); list-style: none; }
details.compose > summary::-webkit-details-marker { display: none; }
details.compose > summary::before { content: "+ "; }
details.compose[open] > summary::before { content: "\2212 "; }
details.compose form { padding: 4px 16px 16px; }

.op { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.op h1 { font-family: var(--font-body); font-size: 1.5rem; font-weight: 600; text-transform: none; line-height: 1.3; margin: 0 0 6px; overflow-wrap: anywhere; }

.post-body { white-space: pre-wrap; overflow-wrap: anywhere; margin: 10px 0 0; }
.post-body .quote { color: #b8c98a; }
.post-body a.ref { font-family: var(--font-mono); font-size: 0.9em; }
.post-body.deleted { color: var(--faint); font-style: italic; }

.replies, .replies ul { list-style: none; margin: 0; padding: 0; }
.replies ul { margin-left: 18px; padding-left: 14px; border-left: 1px solid var(--line-2); }
.replies ul.flat { margin-left: 0; padding-left: 0; border-left: 0; } /* depth cap */
.reply { padding: 12px 0 4px; }
.reply:target > .post, .reply.highlight > .post { background: rgba(255, 138, 43, 0.08); border-radius: 4px; }
.reply > .post { padding: 4px 8px; margin: -4px -8px; }
.reply-form { margin: 10px 0 6px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.reply-form textarea { min-height: 90px; }

.pager { display: flex; justify-content: space-between; margin-top: 22px; font-family: var(--font-mono); font-size: 0.85rem; }
.empty { color: var(--muted); padding: 24px 0; }
.rules { color: var(--faint); font-size: 0.85rem; font-family: var(--font-mono); margin-top: 8px; }
@media (max-width: 560px) { .replies ul { margin-left: 6px; padding-left: 10px; } }
