body{margin:0;min-height:100vh;background:var(--bg);font-family:var(--font-sans);color:var(--foreground)}
.page{max-width:640px;margin:0 auto;padding:24px 20px 60px}

.hdr h1{font-size:18px;font-weight:800;margin:0 0 4px}
.hdr p{font-size:12px;color:var(--muted-fg);margin:0 0 20px}

/* Composer */
.composer{border:1px solid var(--border);border-radius:10px;background:var(--card);margin-bottom:20px;overflow:hidden}
.composer-box{width:100%;min-height:100px;padding:14px 16px;border:none;outline:none;font:inherit;font-size:13px;color:var(--foreground);background:transparent;resize:none;line-height:1.6;box-sizing:border-box}
.composer-box::placeholder{color:var(--muted-fg);opacity:.5}
.composer-foot{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-top:1px solid var(--border)}
.composer-foot .hint{font-size:10px;color:var(--muted-fg)}
.post-btn{padding:6px 16px;border:none;border-radius:6px;background:var(--foreground);color:var(--bg);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.post-btn:hover{opacity:.85}
.post-btn:disabled{opacity:.3;cursor:default}

/* Feed */
.feed{display:flex;flex-direction:column;gap:8px}
.memo{border:1px solid var(--border);border-radius:10px;background:var(--card);padding:14px 16px;transition:box-shadow .1s}
.memo:hover{box-shadow:0 1px 6px rgba(0,0,0,.04)}
.memo:hover .memo-act{opacity:1}
.memo-head{display:flex;align-items:center;gap:6px;margin-bottom:6px}
.memo-time{font-size:10px;color:var(--muted-fg)}
.memo-pin{font-size:9px;font-weight:700;padding:1px 5px;border-radius:4px;background:#fef3c7;color:#d97706}
.memo-title{font-size:13px;font-weight:700;margin-bottom:4px}
.memo-text{font-size:12.5px;line-height:1.65;white-space:pre-wrap;word-break:break-word;color:var(--muted-fg)}
.memo-act{opacity:0;display:flex;gap:4px;margin-top:8px;transition:opacity .12s}
.memo-act button{padding:3px 8px;border:1px solid var(--border);border-radius:5px;background:transparent;font:inherit;font-size:10px;color:var(--muted-fg);cursor:pointer}
.memo-act button:hover{border-color:var(--foreground);color:var(--foreground)}
.memo-act .del:hover{border-color:#dc2626;color:#dc2626}

.empty{text-align:center;padding:40px 0;color:var(--muted-fg);font-size:13px}