* {
  box-sizing: border-box;
}
:root {
  --bg: #f0f0f0;
  --card: #ffffff;
  --text: #111;
  --muted: #9b9b9b;
  --border: #e9e9e9;
  --link: #0a84ff;
  --radius: 6px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 18px;
  --space-4: 24px;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.site-header {
  text-align: center;
  padding: var(--space-4) var(--space-2);
}
.site-header h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.feed {
  max-width: 720px;
  margin: 0 auto; /* centers the column */
  padding: 0 var(--space-2) var(--space-4);
}

.post {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: var(--space-3) 0;
}

.post__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px var(--space-2);
  background: #fafafa;
  border-bottom: 1px solid var(--border);
}
.post__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
.post__date {
  font-size: 12px;
  color: var(--muted);
}

.post__img {
  display: block;
  width: 100%;
  height: auto;
}

.post__footer {
  padding: 10px var(--space-2) var(--space-2);
}
.post__caption {
  margin: 0;
  font-size: 13px;
  color: #444;
}
.post__tag {
  color: var(--link);
  text-decoration: none;
}

.u-center {
  text-align: center;
}
.u-muted {
  color: var(--muted);
}
.u-inline {
  display: inline-block;
}
.u-mb-0 {
  margin-bottom: 0 !important;
}
.u-hide {
  display: none !important;
}

@media (max-width: 420px) {
  .feed {
    padding: 0 8px 36px;
  }
  .post__title {
    font-size: 13px;
  }
}

.feed {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.post__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
}

.post__caption {
  flex: 1;
}

.post__icons {
  white-space: nowrap;
  font-size: 18px;
  line-height: 1;
}
