html {
  background: #0c0e11;
  color: #d8dade;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.profile {
  display: flex;
  flex-direction: column;
  width: min(100%, 38rem);
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
}

h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  color: #eee;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

.avatar {
  display: block;
  flex: none;
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 50%;
}

.about,
.link-card {
  border: 1px solid #2d323a;
  border-radius: 4px;
  background: #111419;
}

.about {
  padding: 1.5rem;
}

.about h2 {
  margin: 0 0 0.75rem;
  color: #eee;
  font-size: 1.1rem;
  font-weight: 600;
}

.about p {
  margin: 0;
  color: #aeb3bc;
}

.about p + p {
  margin-top: 0.5rem;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  color: #eee;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.link-icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
}

.link-card span {
  overflow-wrap: anywhere;
}

.link-card:hover {
  border-color: #656d78;
}

.link-card:focus-visible {
  outline: 2px solid #b9cce8;
  outline-offset: 3px;
}

.link-card:disabled {
  cursor: wait;
}

[hidden] {
  display: none !important;
}

noscript p {
  margin-top: 1rem;
  color: #aeb3bc;
  font-size: 0.875rem;
}

.crowd {
  display: none;
}

@media (max-width: 440px) {
  .profile {
    padding: 2rem 1rem 0;
  }

  .about {
    padding: 1.25rem;
  }
}

@media (min-width: 769px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .crowd {
    display: block;
    flex: none;
    width: min(100%, 100rem);
    aspect-ratio: 1280 / 101;
    margin: auto auto 0;
    background: url("crowd.webp") center bottom / 100% auto no-repeat;
    pointer-events: none;
  }
}
