:root {
  --bg: #0d1117;
  --card-bg: #161b22;
  --border: #30363d;
  --fg: #e6edf3;
  --fg-muted: #8b949e;
  --link: #58a6ff;
  --link-hover: #79c0ff;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans",
    Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px;
}

.site-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
}

.author-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.author-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.author-top {
  display: flex;
  gap: 16px;
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.author-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.author-name {
  font-size: 20px;
  font-weight: 600;
}

.author-main:hover .author-name {
  color: var(--link);
}

.author-bio,
.author-email {
  font-size: 13px;
  color: var(--fg-muted);
}

.contribution-graph {
  display: block;
  max-width: 100%;
  height: auto;
}

.last-updated {
  margin: 8px 0 0;
  color: var(--fg-muted);
  font-size: 12px;
}

.repo-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.repo-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color 0.15s ease;
}

.repo-card:hover {
  border-color: var(--fg-muted);
}

.repo-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--link);
}

.repo-card:hover .repo-name {
  color: var(--link-hover);
}

.repo-desc {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--fg-muted);
  min-height: 1.5em;
}

.repo-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--fg-muted);
}

.repo-meta .lang,
.repo-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.octicon {
  fill: currentColor;
}

.octicon-star {
  fill: #e3b341;
}

.lang-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.empty-state {
  padding: 48px 0;
  text-align: center;
  color: var(--fg-muted);
}
