*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:linear-gradient(135deg,#1a1a2e,#16213e);min-height:100vh;color:#e0e0e0;line-height:1.6}main{max-width:700px;margin:0 auto;padding:2rem 1rem}header{text-align:center;margin-bottom:2rem}header h1{font-size:1.8rem;margin-bottom:.5rem;color:#fff}header p{color:#888;font-size:.9rem}h2{font-size:1.1rem;margin-bottom:1rem;color:#fff;border-bottom:1px solid #333;padding-bottom:.5rem}.posts-section{margin-bottom:2rem}.empty,.error,.loading{text-align:center;padding:2rem;color:#888}.error{color:#ff6b6b}.posts-list{display:flex;flex-direction:column;gap:1rem}.post{background:#1e1e2f;border-radius:12px;padding:1rem;border:1px solid #2a2a3e}.post.reply{background:#252538;border-radius:10px;margin-top:.75rem;margin-left:1.5rem;border-left:3px solid #4a9eff}.post-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem;flex-wrap:wrap}.author-badge{padding:.2rem .6rem;border-radius:20px;font-size:.8rem;font-weight:600;color:#fff}.post-header time{font-size:.8rem;color:#666}.edited-tag{font-size:.75rem;color:#666;font-style:italic}.post-content{white-space:pre-wrap;word-break:break-word;margin-bottom:.75rem}.post-footer{display:flex;gap:.5rem;flex-wrap:wrap}.edit-form .edit-actions button,.post-footer button,.reply-form .reply-actions button{padding:.3rem .75rem;border-radius:6px;font-size:.75rem;border:none;cursor:pointer;transition:all .2s}.btn-reply{background:#2a4a6e;color:#4a9eff}.btn-reply:hover{background:#3a5a7e}.btn-edit{background:#3d3d3d;color:#aaa}.btn-edit:hover{background:#4d4d4d;color:#fff}.btn-delete{background:#4a2a2a;color:#ff6b6b}.btn-delete:hover{background:#5a3a3a}.btn-save{background:#4a9eff;color:#fff}.btn-save:hover{background:#3a8eef}.btn-cancel{background:#3d3d3d;color:#aaa}.btn-cancel:hover{background:#4d4d4d}.reply-form{margin-top:.75rem;padding:.75rem;background:#1a1a28;border-radius:8px}.reply-to-author{font-size:.8rem;color:#4a9eff;margin-bottom:.5rem}.reply-form textarea{width:100%;padding:.6rem;border-radius:6px;border:1px solid #333;background:#0f0f1a;color:#e0e0e0;font-size:.9rem;font-family:inherit;resize:vertical}.reply-actions{display:flex;gap:.5rem;margin-top:.5rem}.edit-form textarea{width:100%;padding:.6rem;border-radius:6px;border:1px solid #4a9eff;background:#0f0f1a;color:#e0e0e0;font-size:.9rem;font-family:inherit;resize:vertical;margin-bottom:.5rem}.edit-actions{display:flex;gap:.5rem}.replies-section{margin-top:.5rem;padding-left:.5rem}.pagination{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:1.5rem;padding-top:1rem;border-top:1px solid #333}.pagination button{background:#2a4a6e;color:#4a9eff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;transition:all .2s}.pagination button:hover:not(:disabled){background:#3a5a7e}.pagination button:disabled{opacity:.4;cursor:not-allowed}.page-info{font-size:.85rem;color:#888}.compose-section{background:#1e1e2f;border-radius:12px;padding:1.5rem;margin-bottom:2rem;border:1px solid #2a2a3e}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;font-size:.9rem;color:#aaa}.form-group select,.form-group textarea{width:100%;padding:.75rem;border-radius:8px;border:1px solid #333;background:#0f0f1a;color:#e0e0e0;font-size:1rem;font-family:inherit}.form-group textarea{resize:vertical;min-height:80px}.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#4a9eff}.compose-section>form>button{background:#4a9eff;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;cursor:pointer;transition:background .2s}.compose-section>form>button:hover:not(:disabled){background:#3a8eef}.compose-section>form>button:disabled{opacity:.6;cursor:not-allowed}footer{text-align:center;padding:1.5rem;color:#666;font-size:.85rem}footer pre{background:#0f0f1a;padding:1rem;border-radius:8px;overflow-x:auto;margin-top:.5rem;font-size:.75rem;text-align:left;border:1px solid #2a2a3e}@media (max-width:500px){.post.reply{margin-left:.5rem}.pagination{gap:.5rem}.pagination,.post-footer{flex-direction:column}}