html, body {
  height: 100%;
  margin: 0;
  background: #eeeeee;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  box-sizing: border-box;
}
a.logo-link {
  position: relative;
  display: block;
  line-height: 0;
  will-change: transform;
}
a.logo-link svg {
  display: block;
  width: min(480px, 90vw);
  height: auto;
  max-height: 80vh;
}

a.logo-link canvas.logo-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
}
a.logo-link.gl-on canvas.logo-gl {
  display: block;
}
a.logo-link.gl-on svg {
  visibility: hidden;
}

.site-version {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  margin: 0;
  font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .02em;
  color: #b8b8b8;
  white-space: nowrap;
  cursor: help;
  user-select: none;
  outline: none;
  transition: color .18s;
}
.site-version:hover,
.site-version:focus-visible {
  color: #8c8c8c;
}
.site-version-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 4px);
  width: max-content;
  max-width: min(280px, 80vw);
  padding: 8px 12px;
  border-radius: 8px;
  background: #1c1c1c;
  color: #f2f2f2;
  font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0;
  white-space: normal;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
}
.site-version-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top-color: #1c1c1c;
}
.site-version:hover .site-version-tip,
.site-version:focus .site-version-tip {
  opacity: 1;
  transform: translate(-50%, 0);
}
.site-version-tip.bump {
  animation: tip-bump .28s ease;
}
@keyframes tip-bump {
  0% { transform: translate(-50%, 0) scale(1); }
  40% { transform: translate(-50%, -3px) scale(1.04); }
  100% { transform: translate(-50%, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .site-version,
  .site-version-tip {
    transition: none;
  }
  .site-version-tip.bump {
    animation: none;
  }
}
