.account-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin: 2.5rem 0 1.5rem 0;
  letter-spacing: 0.03em;
  color: #fff;
  text-align: center;
  align-self: center;
  background: linear-gradient(90deg, #43b7ce 0%, #0e7c73 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 16px rgba(23, 150, 189, 0.13));
}
.account-main-center {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.account-outer-container {
  margin-top: 6em;
  width: 90vw;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: visible;
}
.account-left-half, .account-right-half {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 100%;
}
#account-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.account-info-card {
  border: #43b7ce 2px solid;
  border-radius: 1.5em;
  box-shadow: 0 2px 16px 0 #43b7ce22;
  padding: 2.2em 2.2em 2em 2.2em;
  min-width: 350px;
  max-width: 450px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: visible;
  z-index: 2000;
}
.account-info-card.has-banner {
  padding-top: 0;
}
.account-banner {
  width: 100%;
  height: 90px;
  background-size: cover;
  background-position: center;
  border-radius: 1.5em 1.5em 0 0;
  margin-bottom: -40px;
}
.account-avatar-wrap {
  z-index: 2;
  margin-bottom: 1.2em;
}
.account-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid #43b7ce;
  background: #18191c;
  box-shadow: 0 2px 12px 0 #43b7ce33;
}
.account-username-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.1em;
  position: relative;
}
.account-username {
  font-size: 2.1em;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
  margin-bottom: 0.2em;
}
.account-id {
  font-size: 1.1em;
  color: #43b7ce;
  font-weight: 600;
  background: #18191c;
  border-radius: 0.5em;
  padding: 0.2em 0.7em;
  margin-top: 0.2em;
  cursor: pointer;
  outline: none;
  border: none;
  user-select: all;
  position: relative;
}
.account-id-hover.custom-hover {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #23252b;
  color: #43b7ce;
  font-size: 0.98em;
  font-weight: 700;
  padding: 0.3em 1em;
  border-radius: 0.7em;
  box-shadow: 0 2px 8px 0 #43b7ce22;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
  white-space: nowrap;
}
.account-created-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.1em;
  position: relative;
}
.created-at-label {
  font-size: 1em;
  color: #b6eae6;
  font-weight: 600;
  margin-bottom: 0.1em;
}
.account-created {
  font-size: 1.1em;
  color: #fff;
  font-weight: 600;
  background: #18191c;
  border-radius: 0.5em;
  padding: 0.2em 0.7em;
  margin-top: 0.2em;
  cursor: pointer;
  outline: none;
  border: none;
  user-select: all;
  position: relative;
}
.created-at-hover.custom-hover {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #23252b;
  color: #43b7ce;
  font-size: 0.98em;
  font-weight: 700;
  padding: 0.3em 1em;
  border-radius: 0.7em;
  box-shadow: 0 2px 8px 0 #43b7ce22;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
  white-space: nowrap;
}
.account-email-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5em;
}
.account-email-label {
  font-size: 1em;
  color: #b6eae6;
  font-weight: 600;
  margin-bottom: 0.1em;
}
.account-email {
  font-size: 1.1em;
  color: #fff;
  font-weight: 600;
  background: #18191c;
  border-radius: 0.5em;
  padding: 0.2em 0.7em;
  margin-top: 0.2em;
  user-select: all;
}
.servers-modern-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.servers-modern-list {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 50%;
  padding: 2.5em 0 2.5em 2.5em;
  display: grid;
  /* Calculate columns to make grid as square as possible */
  grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
  grid-auto-rows: 56px;
  gap: 1.2em;
  align-content: start;
  justify-items: center;
  background: none;
  box-shadow: none;
  border-radius: 1.5em;
  height: auto;
  overflow: visible;
  position: relative;
  z-index: 1;
  isolation: isolate;
}
@media (min-width: 900px) {
  .servers-modern-list {
    grid-template-columns: repeat(5, 56px);
  }
}
@media (min-width: 1200px) {
  .servers-modern-list {
    grid-template-columns: repeat(7, 56px);
  }
}
@media (min-width: 1500px) {
  .servers-modern-list {
    grid-template-columns: repeat(10, 56px);
  }
}
.server-card {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  width: 56px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.33,1,0.68,1);
  z-index: 100;
  transform: scale(1);
}
.server-card .server-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #43b7ce;
  background: #23252b;
  transition: box-shadow 0.18s, border 0.18s;
}
.server-card:hover .server-avatar {
  border: 2.5px solid #43b7ce;
  box-shadow: 0 2px 12px 0 #43b7ce55;
}
.server-card .server-name {
  display: none;
  position: absolute;
  left: 50%;
  top: 110%;
  transform: translateX(-50%);
  background: #23252b;
  color: #43b7ce;
  font-size: 1em;
  font-weight: 700;
  padding: 0.4em 1.2em;
  border-radius: 0.7em;
  white-space: nowrap;
  box-shadow: 0 2px 8px 0 #43b7ce22;
  z-index: 2147483647;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.18s, top 0.18s;
}
.server-card:hover .server-name {
  display: block;
  opacity: 1;
  top: 120%;
}
.server-card-animate {
  opacity: 0;
  transform: scale(0.85);
  animation: serverCardFadeIn 0.44s cubic-bezier(0.33,1,0.68,1) forwards;
}
@keyframes serverCardFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  80% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 1100px) {
  .account-outer-container {
    flex-direction: column;
    gap: 2.2rem;
    align-items: stretch;
    width: 98vw;
    max-width: 98vw;
  }
  .servers-modern-list, .account-info-card {
    max-width: 98vw;
    width: 98vw;
    padding: 2em 0 2em 0;
  }
  .servers-modern-list {
    grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
    grid-auto-rows: 44px;
    padding: 2em 0 2em 0;
  }
  .server-card {
    width: 44px;
    height: 44px;
  }
  .server-card .server-avatar {
    width: 38px;
    height: 38px;
  }
  .account-info-card {
    min-width: 0;
    max-width: 100vw;
    width: 100vw;
    margin-bottom: 0;
  }
}
#server-tooltip {
  background: #23252b;
  color: #43b7ce;
  font-size: 1em;
  font-weight: 700;
  padding: 0.4em 1.2em;
  border-radius: 0.7em;
  white-space: nowrap;
  box-shadow: 0 2px 8px 0 #43b7ce22;
  z-index: 2147483647;
  opacity: 0.98;
  pointer-events: none;
  transition: opacity 0.18s;
  display: none;
}
