:root {
  --bg: #080d1a;
  --surface: #0d1424;
  --surface-2: #131c31;
  --line: #1d2942;
  --line-strong: #2e3f61;
  --text: #e8edf8;
  --muted: #8695b5;
  --faint: #566382;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-transform: lowercase;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 1px solid var(--text); outline-offset: 2px; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

.topbar {
  background: #060a14;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
}

.brand {
  font-family: "Prompt", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  letter-spacing: .2px;
}

.brand:hover { text-decoration: none; }

.topbar-links { display: flex; gap: 22px; }

.topbar-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color .15s ease;
}

.topbar-links a:hover { color: var(--text); text-decoration: none; }

.hero { padding: 44px 0 20px; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.count-row { animation: fade-up .45s ease both; }
.hero-claim { animation: fade-up .45s ease .08s both; }
.cols { animation: fade-up .5s ease .16s both; }
footer { animation: fade-up .5s ease .24s both; }

.count-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
}

.count {
  font-family: "Prompt", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.count-badge {
  width: clamp(18px, 2.4vw, 22px);
  height: clamp(18px, 2.4vw, 22px);
}

.hero-claim {
  font-family: "Prompt", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--muted);
}

.cols {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
  padding-top: 28px;
  padding-bottom: 12px;
}

#search {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  text-transform: lowercase;
  margin-bottom: 14px;
  transition: border-color .15s ease;
}

#search:focus { border-color: var(--line-strong); }
#search::placeholder { color: var(--faint); }

.user-table { width: 100%; border-collapse: collapse; }

.user-table td {
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.user-table tr:last-child td { border-bottom: 0; }
.user-table tbody tr { cursor: pointer; animation: row-in .22s ease both; transition: background .15s ease; }
.user-table tbody tr:hover { background: var(--surface-2); }

@keyframes row-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

.user-cell { display: flex; align-items: center; gap: 11px; transition: transform .15s ease; }

.user-table tbody tr:hover .user-cell { transform: translateX(3px); }

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: block;
  flex-shrink: 0;
}

.user-names { min-width: 0; display: flex; align-items: center; gap: 8px; }

.user-display {
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.name-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.verified-badge { width: 15px; height: 15px; flex-shrink: 0; }

.user-handle {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.added-cell {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: var(--faint);
  font-size: 11.5px;
  white-space: nowrap;
  text-align: right;
}

.empty {
  color: var(--muted);
  padding: 24px 0;
  font-size: 14px;
}

.more {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 0;
  cursor: pointer;
  text-align: left;
  text-transform: lowercase;
  transition: color .15s ease;
}

.more:hover { color: var(--text); }

.rail { display: flex; flex-direction: column; gap: 26px; }

.panel h2 {
  font-family: "Prompt", sans-serif;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 10px;
}

.panel p { color: var(--muted); font-size: 13px; }
.panel p + p { margin-top: 8px; }

.feed-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  animation: row-in .25s ease both;
  transition: opacity .15s ease;
}

.feed-row:last-child { border-bottom: 0; }
.feed-row:hover { text-decoration: none; }

.feed-row:hover .verified-badge { animation: badge-spin .45s ease; }

@keyframes badge-spin {
  to { transform: rotate(360deg); }
}

.feed-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.feed-info { min-width: 0; }

.feed-user {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 12.5px;
  min-width: 0;
}

.feed-user span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-user .verified-badge { width: 12px; height: 12px; }

.feed-what {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: var(--faint);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding: 22px 0 30px;
  text-align: center;
  color: var(--faint);
  font-size: 12.5px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

@media (max-width: 820px) {
  .cols { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 32px; }
  .added-cell { display: none; }
}
