/* 自动深色/浅色 */
:root {
  --bg: #ffffff;
  --text: #111;
  --accent: #007bff;
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --text: #eee;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
}

main {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

#avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

h1 {
  font-size: 1.5rem;
  margin-bottom: .25rem;
}

p {
  opacity: .7;
  margin-bottom: 2rem;
}

nav {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

a.btn {
  background: var(--accent);
  color: #fff;
  padding: .9rem 1.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: opacity .2s;
}

a.btn:hover {
  opacity: .85;
}