*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Arial,sans-serif;line-height:1.5;background:#fafafa;color:#111}
a{color:#0b5dd7;text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:980px;margin:0 auto;padding:16px}
.site-header{background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:10}
.site-header .container{display:flex;align-items:center;justify-content:space-between}
.brand{font-weight:700;font-size:20px;padding:10px 0;display:inline-block}
.site-header nav a{margin-left:12px}
.new-post{padding:6px 10px;border:1px solid #e5e7eb;border-radius:999px}
.site-footer{border-top:1px solid #e5e7eb;background:#fff;margin-top:32px}
h1,h2,h3{line-height:1.2}
.muted{color:#666;font-size:14px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin:16px 0}
.card{border:1px solid #e5e7eb;border-radius:16px;background:#fff;overflow:hidden;display:flex;flex-direction:column}
.thumb{display:block;width:100%;height:180px;background:#f3f4f6}
.thumb img{width:100%;height:100%;object-fit:cover;display:block}
.thumb-empty{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f3f4f6,#e5e7eb);font-weight:700;font-size:28px;border-bottom:1px solid #e5e7eb}
.card-body{padding:12px 14px;display:flex;gap:8px;flex-direction:column}
.card-title{margin:0}
.excerpt{margin:8px 0 0 0}
.pager{display:flex;align-items:center;justify-content:space-between;margin:24px 0}
.chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid #e5e7eb;border-radius:999px;background:#fff}
.chip.primary{background:#0b5dd7;color:#fff;border-color:#0b5dd7}
.chip.danger{background:#e11d48;color:#fff;border-color:#e11d48}
.chip.disabled{opacity:.45;pointer-events:none}
.table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}
.table th,.table td{padding:10px;border-bottom:1px solid #e5e7eb;text-align:left}
.table .actions{display:flex;gap:8px}
.form{display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:16px}
.form input[type=text], .form textarea{width:100%;padding:10px;border:1px solid #d1d5db;border-radius:10px;font-size:16px}
.form-actions{display:flex;gap:10px;align-items:center}
.post .content{margin:12px 0;border-left:3px solid #e5e7eb;padding-left:12px;white-space:pre-wrap}
.media-list{display:flex;flex-direction:column;gap:12px}
.media-block img, .media-block video{max-width:100%;border:1px solid #e5e7eb;border-radius:12px}
.media-block audio{width:100%}
.media-block iframe{width:100%;height:360px;border:1px solid #e5e7eb;border-radius:12px}
.aspect-video{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}
.aspect-video iframe{position:absolute;top:0;left:0;width:100%;height:100%}
.post-actions{display:flex;gap:10px;align-items:center;margin:16px 0}
