:root { --bg:#f5f5f4; --card:#fff; --text:#1c1917; --muted:#78716c; --line:#e7e5e4; --accent:#1c1917; --danger:#b91c1c; --like:#e11d48; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--text); font:16px/1.5 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color:inherit; }
.wrap { max-width:640px; margin:0 auto; padding:0 16px; }
.topbar { background:var(--card); border-bottom:1px solid var(--line); margin-bottom:24px; }
.topbar-inner { display:flex; align-items:center; justify-content:space-between; height:56px; }
.brand { font-weight:700; font-size:18px; text-decoration:none; }
nav { display:flex; gap:16px; align-items:center; font-size:15px; }
nav a { text-decoration:none; }
.card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:16px 20px; margin-bottom:16px; }
h1 { font-size:22px; margin:0 0 12px; } h2 { font-size:18px; margin:24px 0 12px; } .card h2 { margin-top:0; }
.btn { display:inline-block; background:var(--accent); color:#fff; border:0; border-radius:8px; padding:9px 16px; font:inherit; font-weight:600; cursor:pointer; text-decoration:none; }
.btn:disabled { opacity:.4; cursor:not-allowed; }
.btn-small { padding:5px 12px; font-size:14px; }
button.link { background:none; border:0; padding:0; font:inherit; color:inherit; cursor:pointer; text-decoration:underline; }
.inline { display:inline; }
.muted { color:var(--muted); font-size:14px; text-decoration:none; }
.center { text-align:center; }
.danger { color:var(--danger) !important; }
.liked { color:var(--like); text-decoration:none !important; }
.post-actions button.link { text-decoration:none; color:var(--muted); font-size:14px; }
.post-actions button.liked { color:var(--like); }
.notice { padding:10px 14px; border-radius:8px; margin-bottom:16px; font-size:15px; }
.notice-success { background:#dcfce7; } .notice-error { background:#fee2e2; } .notice-info { background:#e0f2fe; } .notice-warn { background:#fef3c7; }
.form { display:flex; flex-direction:column; gap:14px; max-width:440px; margin-left:auto; margin-right:auto; }
.form label { display:flex; flex-direction:column; gap:4px; font-weight:600; font-size:14px; }
.form label.check { flex-direction:row; align-items:center; gap:8px; font-weight:400; font-size:15px; }
input[type=email], input[type=text], input[type=password], textarea { font:inherit; font-weight:400; padding:9px 11px; border:1px solid #d6d3d1; border-radius:8px; width:100%; background:#fff; }
textarea { resize:vertical; }
.composer textarea { border:0; padding:4px 0; outline:none; }
section .composer textarea { border:1px solid #d6d3d1; padding:9px 11px; }
.composer-actions { display:flex; justify-content:flex-end; margin-top:8px; }
.post-meta { display:flex; gap:10px; align-items:baseline; margin-bottom:6px; }
.author { font-weight:600; text-decoration:none; }
.post-body { white-space:pre-wrap; overflow-wrap:anywhere; }
.post-actions { display:flex; gap:18px; align-items:center; margin-top:10px; }
.push-right { margin-left:auto; }
.comment { border-top:1px solid var(--line); padding:12px 0; }
.hero { text-align:center; padding:32px 20px; }
.footer { color:var(--muted); font-size:13px; padding:32px 16px; text-align:center; }
