:root {
  --bg: #0f1419;
  --card: #1a222c;
  --text: #e8eef5;
  --muted: #9aa8b6;
  --accent: #3dd68c;
  --line: #2a3542;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 90% -10%, #1a2433, var(--bg));
  color: var(--text);
  min-height: 100vh;
}
.top, main { max-width: 1100px; margin: 0 auto; padding: 1.25rem; }
.top { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
h1, h2 { margin: 0 0 .4rem; }
.sub, .muted { color: var(--muted); }
.card {
  background: color-mix(in srgb, var(--card) 92%, black);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}
.hidden { display: none !important; }
.auth-box { display: flex; gap: .5rem; align-items: center; }
button, .button {
  border: 0;
  border-radius: 10px;
  padding: .55rem .9rem;
  background: var(--accent);
  color: #062416;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .7rem;
  margin-top: .8rem;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .8rem;
  background: #121920;
}
.stat strong { display: block; font-size: 1.4rem; margin-bottom: .2rem; }
.stat span { color: var(--muted); font-size: .85rem; }
.table-wrap { overflow-x: auto; margin-top: .7rem; }
table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left;
  padding: .55rem .4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { color: var(--muted); font-weight: 600; font-size: .85rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
@media (max-width: 640px) {
  .top { flex-direction: column; }
}
