#publicProfile,
.public-profile-card,
.profile-hero-card,
.profile-metrics,
.profile-game-nick,
.profile-content-layout,
.profile-panels {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.public-profile-card {
  margin-right: auto !important;
  margin-left: auto !important;
}

.profile-person,
.profile-presence,
.profile-content-layout > * {
  min-width: 0;
}

.profile-content-layout {
  align-items: start;
}

.profile-side-nav {
  position: sticky;
  top: 104px;
  align-self: start;
  height: max-content;
  max-height: calc(100vh - 128px);
  overflow-y: auto;
}

.profile-contact {
  justify-content: flex-start !important;
  gap: 8px !important;
}

.profile-contact a {
  color: #8ce6ff;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

.profile-contact a:hover,
.profile-contact a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-shadow: 0 0 12px rgba(76, 201, 255, 0.42);
}

@media (max-width: 680px) {
  .users-page {
    overflow-x: hidden;
  }

  .users-main {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .public-profile-card,
  .profile-hero-card {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .profile-presence {
    width: 100%;
    max-width: 100%;
  }

  .profile-side-nav {
    position: static;
    top: auto;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .profile-person h1,
  .profile-person p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
