* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #0a0a0f; color: #e0e0e0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar { width: 220px; background: #12121a; border-right: 1px solid #2a2a3a; padding: 20px 0; display: flex; flex-direction: column; position: fixed; height: 100vh; }
.logo { padding: 0 20px; font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.accent { color: #7c5cfc; }
.nav-subtitle { padding: 0 20px; font-size: 12px; color: #555; margin-bottom: 24px; }
.nav-item { display: block; padding: 10px 20px; color: #888; text-decoration: none; font-size: 14px; transition: all 0.2s; }
.nav-item:hover { color: #e0e0e0; background: #1a1a2a; }
.nav-item.active { color: #7c5cfc; background: #7c5cfc10; border-right: 2px solid #7c5cfc; }
.nav-divider { height: 1px; background: #2a2a3a; margin: 16px 20px; }
.nav-spacer { flex: 1; }
.nav-logout { color: #666; }

/* Content */
.content { margin-left: 220px; flex: 1; padding: 24px 32px; }

/* Header */
.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.header h1 { font-size: 24px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.subtitle { color: #666; font-size: 13px; }

/* Buttons */
.btn { padding: 8px 16px; border-radius: 8px; border: 1px solid #2a2a3a; background: transparent; color: #e0e0e0; cursor: pointer; font-size: 13px; }
.btn:hover { background: #1a1a2a; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-primary { background: #7c5cfc; border-color: #7c5cfc; color: white; }
.btn-primary:hover { opacity: 0.9; }

/* KPI Grid */
.kpi-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi-card { background: #12121a; border: 1px solid #2a2a3a; border-radius: 12px; padding: 20px; }
.kpi-label { font-size: 12px; color: #666; margin-bottom: 8px; }
.kpi-value { font-size: 28px; font-weight: 700; color: #fff; }
.kpi-detail { font-size: 11px; color: #555; margin-top: 4px; }

/* Cards */
.card { background: #12121a; border: 1px solid #2a2a3a; border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card-header h3 { font-size: 16px; }

/* Badges */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }

/* Posts */
.post-list { display: flex; flex-direction: column; gap: 12px; }
.post-row { display: flex; gap: 12px; padding: 12px; border: 1px solid #1a1a2a; border-radius: 8px; transition: background 0.2s; }
.post-row:hover { background: #1a1a2a; }
.post-thumb { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.post-thumb-empty { width: 56px; height: 56px; border-radius: 8px; background: #1a1a2a; flex-shrink: 0; }
.post-info { flex: 1; min-width: 0; }
.post-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 13px; }
.post-text { font-size: 13px; color: #999; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Next Post */
.next-post-content { font-size: 14px; }

/* Utility */
.muted { color: #555; font-size: 13px; }

/* Responsive */
@media (max-width: 1200px) { .kpi-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } .sidebar { display: none; } .content { margin-left: 0; } }
