:root {
  --background: oklch(16.376% 0.00002 271.152);
  --color: oklch(98.5% 0 0);
  --default-font-family: "Figtree Variable", sans-serif;
}

@font-face {
  font-family: "Figtree Variable";
  src: url("../fonts/Figtree-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--default-font-family);
}

body {
  background-color: var(--background);
  color: var(--color);
  font-family: var(--default-font-family);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  text-align: center;
  padding: 2rem;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--color);
  transition: opacity 0.2s;
}

.profile-link:hover {
  opacity: 0.8;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
}

.stats {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--color);
  font-family: Geist, sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.error {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--color);
  font-family: Geist, sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.error-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--color);
  font-family: Geist, sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.error-link:hover {
  opacity: 0.8;
}

p b {
  color: var(--color);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  position: relative;
  cursor: help;
}

b[data-title] {
  position: relative;
}

b[data-title]::after {
  content: attr(data-title);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: color-mix(in oklch, var(--background), transparent 20%);
  backdrop-filter: blur(8px);
  color: var(--color);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  z-index: 10;
}

b[data-title]::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.1) transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 10;
}

b[data-title]:hover::after,
b[data-title]:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}