:root {
  --bg: #f4f4f5;
  --card: #ffffff;
  --text: #18181b;
  --muted: #71717a;
  --border: #e4e4e7;
  --accent: #2563eb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090b;
    --card: #18181b;
    --text: #fafafa;
    --muted: #a1a1aa;
    --border: #27272a;
    --accent: #60a5fa;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  padding: 4rem 1.25rem;
}
main { width: 100%; max-width: 26rem; }
header { text-align: center; margin-bottom: 2rem; }
.avatar {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
}
h1 { font-size: 1.35rem; margin: 0 0 0.25rem; }
header p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.links { display: flex; flex-direction: column; gap: 0.85rem; }
.links a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, transform 0.15s;
}
.links a:hover { border-color: var(--accent); transform: translateY(-1px); }
.links a svg {
  width: 1.4rem;
  height: 1.4rem;
  flex: none;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.links a div { min-width: 0; }
.links a strong { display: block; font-size: 1rem; }
.links a span { display: block; color: var(--muted); font-size: 0.85rem; }
footer { text-align: center; margin-top: 2.5rem; color: var(--muted); font-size: 0.8rem; }
.lang-switch {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s;
}
.lang-switch:hover { border-color: var(--accent); }
