:root {
  --bg: #0c0f14;
  --bg-soft: #141a23;
  --card: #1a212c;
  --line: #263042;
  --text: #e6edf6;
  --muted: #8a97aa;
  --accent: #00d27a;
  --accent-soft: rgba(0, 210, 122, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.hero {
  background: radial-gradient(1200px 400px at 50% -150px, #16324a 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--line);
  padding: 64px 20px 40px;
  text-align: center;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--accent);
}

.tagline {
  color: var(--muted);
  margin: 8px 0 20px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}

.status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}

.status.live .dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2s infinite;
}

.status.error .dot {
  background: #ff5c5c;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--accent-soft);
  }
  50% {
    box-shadow: 0 0 0 6px transparent;
  }
}

.feed {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.empty {
  text-align: center;
  color: var(--muted);
}

.patch {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  animation: rise 0.4s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.patch-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 12px;
}

.version {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

.version:empty {
  display: none;
}

.patch-head .title {
  margin: 0;
  font-size: 1.25rem;
  flex: 1 1 auto;
}

.patch-head .title:empty {
  display: none;
}

.date {
  color: var(--muted);
  font-size: 0.82rem;
}

.notes {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notes li {
  position: relative;
  padding-left: 22px;
}

.notes li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}

.byline {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  padding: 0 20px 40px;
}
