:root{font-family:system-ui,"Microsoft YaHei",sans-serif;color:#243d39;background:#f3f7f5}*{box-sizing:border-box}body{margin:0}main{max-width:760px;margin:auto;padding:0 20px 40px}header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0}a{color:#12805c;text-decoration:none}button,.upload{border:0;background:#e9f4ee;color:#146d51;border-radius:12px;padding:10px 16px;cursor:pointer;font:inherit}button:disabled{opacity:.5;cursor:wait}.cover{background:linear-gradient(120deg,#174e45,#28866b);border-radius:24px;padding:38px 30px;color:#fff}.cover small{color:#b9dfce}h1{font-size:32px;letter-spacing:1px}h2{font-size:18px;margin:0 0 14px}form#composer,article{padding:24px;background:white;border:1px solid #e4ebe7;border-radius:20px;margin-top:20px}textarea,input{font:inherit;border:1px solid #d5e2db;border-radius:10px;padding:12px;width:100%;background:#fafcfb}textarea{resize:vertical;min-height:100px}.tools{display:flex;gap:8px;align-items:center;margin:12px 0}.upload input{display:none}#publish{margin-left:auto;background:#15845e;color:white}small,time,.foot{font-size:12px;color:#789087}#preview,.post-image{max-width:100%;max-height:420px;object-fit:contain;border-radius:12px;margin:12px 0}article .author{display:flex;align-items:center;gap:12px}.avatar{display:grid;place-items:center;width:44px;height:44px;background:#e1f1e9;color:#187953;border-radius:14px;font-weight:bold}.body,.comment{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.actions{display:flex;gap:8px;margin-top:14px}.comments{background:#f5f8f6;border-radius:12px;margin-top:12px;padding:8px 12px}.comment{margin:8px 0;font-size:14px}.reply{display:flex;gap:8px;margin-top:12px}.reply input{min-width:0}.foot{text-align:center;padding:20px}#status{color:#97552a}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #73b89e;outline-offset:3px}[hidden]{display:none!important}@media(max-width:480px){main{padding:0 12px 24px}header{font-size:13px}.cover{padding:25px 20px}h1{font-size:26px}form#composer,article{padding:18px}.tools{flex-wrap:wrap}}
/* Visibility choices are normal checkboxes, not full-width text fields. */
#composer details input[type=checkbox]{width:auto;margin-right:8px;accent-color:#15845e}#composer details>div{max-height:220px;overflow:auto}#composer details{margin:12px 0}
