/* Minimal, clean "Facebook-like" styling (no external libs) */
:root {
  --bg: #0f1114;
  --card: #1c1f24;
  --text: #e6e7e9;
  --muted: #a9adb4;
  --accent: #2374e1;
  --border: #2a2f36;
}

* { box-sizing: border-box; }
html, body { height: 100%; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
body { margin: 0; display: flex; flex-direction: column; min-height: 100vh; }

.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15,17,20,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); background: #fff; }
.brand-name { font-size: 18px; margin: 0; }
.brand-sub { color: var(--muted); font-size: 12px; }

.primary {
  background: var(--accent);
  color: #fff; border: 0; border-radius: 999px;
  padding: 10px 14px; font-weight: 600; cursor: pointer;
}
.primary:hover { filter: brightness(1.07); }

.feed {
  width: min(820px, 100%);
  margin: 16px auto;
  padding: 0 12px;
  display: grid; gap: 16px;
  flex: 1;
}
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: transform .08s ease, border-color .08s ease;
  cursor: pointer;
}
.card:focus, .card:hover { outline: none; transform: translateY(-1px); border-color: #3a3f46; }
.card-header { display: flex; gap: 10px; padding: 12px; align-items: center; }
.card-header img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); background: #fff; }
.card-hgroup { display: grid; }
.card-title { margin: 0; font-size: 14px; font-weight: 700; }
.card-meta { color: var(--muted); font-size: 12px; }
.card-body { padding: 0 12px 12px; font-size: 15px; line-height: 1.4; }
.card-media { display: block; width: 100%; max-height: 70vh; object-fit: cover; background: #000; }
.card-actions { display: flex; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.footer { text-align: center; color: var(--muted); font-size: 12px; padding: 16px; border-top: 1px solid var(--border); }

.empty {
  opacity: .8; text-align: center; padding: 48px 16px;
}
