* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: transparent;
  color: #111827;
  -webkit-font-smoothing: antialiased;
}

header {
  display: none;
}

main {
  max-width: 768px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-item {
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.feed-item:hover {
  border-color: #d1d5db;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.feed-item h2 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-item p {
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #9ca3af;
}

.source-tag {
  display: inline-flex;
  align-items: center;
  background: #f3f4f6;
  border-radius: 9999px;
  padding: 2px 8px;
  font-weight: 500;
  font-size: 12px;
  color: #4b5563;
}

.empty-state {
  text-align: center;
  padding: 80px 16px;
  color: #9ca3af;
}

.empty-state p:first-child {
  font-size: 16px;
}

.empty-state p:last-child {
  font-size: 13px;
  margin-top: 4px;
}

.loading {
  text-align: center;
  padding: 60px 16px;
  color: #9ca3af;
  font-size: 14px;
}

footer {
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  padding: 24px 16px;
}

@media (min-width: 640px) {
  .feed-item h2 {
    font-size: 16px;
  }
  .feed-item p {
    font-size: 14px;
  }
}
