.forum-topbar{
  display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap;
  margin-bottom:18px;
}
.forum-topbar h2{ margin:0; font-size:2rem; font-weight:950; }
.forum-actions{ display:flex; gap:10px; flex-wrap:wrap; }

.fbtn{
  display:inline-flex; align-items:center; justify-content:center;
  height:44px; padding:0 16px; border-radius:999px;
  text-decoration:none; font-weight:900;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.fbtn:hover{ border-color: rgba(0,191,255,.35); }
.fbtn.primary{ background: color-mix(in srgb, var(--accent) 35%, rgba(255,255,255,.06));
  border-color: rgba(0,191,255,.35);
}

.flist{ display:grid; gap:14px; }
.frow{
  background: var(--bg-light);
  border:1px solid rgba(255,255,255,.08);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  border-radius: 16px;
  padding: 16px;
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}
.frow a{ color: var(--text); text-decoration:none; }
.frow a:hover{ color: var(--accent); }
.frow .title{ font-weight:950; font-size:1.1rem; }
.frow .desc{ color: var(--muted); margin-top:6px; }
.fmeta{
  display:flex; flex-direction:column; align-items:flex-end; justify-content:center;
  color: var(--muted); font-size:.9rem; gap:6px;
}
.badge{
  display:inline-flex; align-items:center; height:22px; padding:0 10px;
  border-radius:999px; font-weight:900; font-size:.78rem;
  background: rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.08);
}
.badge.accent{ background: rgba(0,191,255,.10); border-color: rgba(0,191,255,.25); color: var(--text); }

.thread-head{
  background: var(--bg-light);
  border:1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
}
.thread-head h2{ margin:0 0 6px; font-weight:950; }
.thread-head .muted{ color: var(--muted); }

.post{
  background: var(--bg-light);
  border:1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.post .pmeta{ color: var(--muted); font-size:.9rem; margin-bottom:8px; display:flex; gap:10px; flex-wrap:wrap;}
.post .pcontent{ white-space:pre-wrap; line-height:1.6; }

.form-card{ max-width:900px; margin:auto; }
textarea{ min-height: 180px; resize: vertical; }