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

:root {
  --color-bg: #0f1117;
  --color-surface: #1a1d27;
  --color-border: #2a2d3a;
  --color-text: #e1e4eb;
  --color-text-muted: #8b8fa3;
  --color-accent: #6e8efb;
  --color-accent-hover: #8ba4fc;
  --color-success: #4ade80;
  --radius: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

header {
  margin-bottom: 2.5rem;
}

header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.subtitle {
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.card h2 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.link-list {
  list-style: none;
}

.link-list li + li {
  margin-top: 0.5rem;
}

.link-list a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.15s;
}

.link-list a:hover {
  color: var(--color-accent-hover);
}

.status-box {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  background: var(--color-bg);
  border-radius: 4px;
  color: var(--color-text-muted);
}

.status-box.ok {
  color: var(--color-success);
}

.status-box.error {
  color: #f87171;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

#user-alias {
  color: var(--color-text);
  font-weight: 500;
}
