* { box-sizing: border-box; }
:root {
  --bg: #0b0f10;
  --card: #11181c;
  --text: #e8f1f2;
  --muted: #8aa0a6;
  --brand: #34d399;
  --accent: #22d3ee;
  --border: #1b2630;
}
html, body { margin:0; padding:0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.container { width: min(1100px, 92%); margin: 0 auto; }
header { display:flex; align-items:center; justify-content: space-between; gap:16px; padding: 24px 0; }
.brand h1 { margin:0; font-size: 24px; }
.brand p { margin:4px 0 0; color: var(--muted); }
.controls { display:flex; gap:10px; flex-wrap: wrap; }
.input { background:#0d1317; color:var(--text); border:1px solid var(--border); padding:10px 12px; border-radius:10px; outline:none; width: 220px; }
.input:focus { border-color: var(--accent); }
.btn { background:linear-gradient(90deg, var(--brand), var(--accent)); color:#041014; border:none; padding:10px 14px; border-radius: 10px; font-weight:600; cursor:pointer; }
.btn-small { padding:6px 10px; font-size: 13px; border-radius: 8px; }
.grid { display:grid; grid-template-columns: 3fr 1.2fr; gap:16px; }
.card { background: var(--card); border:1px solid var(--border); border-radius:16px; padding:16px; }
.span-2 { grid-column: span 2; }
.row { display:flex; align-items:center; justify-content: space-between; gap:12px; margin-top: 10px; }
h2, h3 { margin: 4px 0 12px; }
.muted { color: var(--muted); }
.thread { border-top:1px solid var(--border); padding:16px 0; }
.thread:first-child { border-top:none; }
.thread-head { display:flex; align-items:center; justify-content: space-between; gap:12px; }
.thread-title { margin:0; font-size: 18px; }
.thread-meta { font-size: 12px; }
.thread-body { white-space: pre-wrap; margin: 8px 0 8px; }
.replies summary { cursor: pointer; }
.reply { border-left:2px solid var(--border); padding:8px 12px; margin: 8px 0; }
.reply .meta { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
footer { padding: 20px 0 40px; }
