:root {
  --bg: #0b0c10;
  --panel: #14161d;
  --line: #232733;
  --text: #e7e9ee;
  --muted: #8a90a2;
  --accent: #6ee7b7;
  --accent-ink: #052e22;
  --radius: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -10%, #11131b 0%, var(--bg) 60%);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

.shell {
  max-width: 560px;
  margin: 0 auto;
  padding: 14vh 24px 6vh;
}

.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

h1 {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0;
}

.badge {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}

.lede {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 22px 0 26px;
}

code {
  font-family: var(--mono);
  font-size: 0.85em;
  color: var(--accent);
  background: #0f1620;
  padding: 1px 6px;
  border-radius: 6px;
}

.composer {
  display: flex;
  gap: 10px;
}

#input {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.15s ease;
}

#input:focus {
  border-color: var(--accent);
}

button {
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 0.9rem;
  padding: 0 20px;
  cursor: pointer;
  transition: transform 0.08s ease, opacity 0.15s ease;
}

button:hover {
  opacity: 0.92;
}

button:active {
  transform: translateY(1px);
}

.count {
  text-align: right;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 8px;
  transition: color 0.15s ease;
}

.count.low {
  color: #f6a96b;
}

.feed {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feed li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: rise 0.22s ease both;
}

.feed li .meta {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-family: var(--mono);
  margin-top: 6px;
}

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

.empty {
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
  margin: 28px 0;
}

.foot {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

.sep {
  opacity: 0.5;
}
