.panel {
  background: #12121280;
  border-radius: 1rem;
  padding: 1rem;
}

.online-indicator,
.indicator {
  display: block;
  background: #999;
  border-radius: 100vw;
  min-width: .4rem;
  min-height: .4rem;
  max-width: .4rem;
  max-height: .4rem;
}

.indicator {
  display: inline-block;
  background: dodgerblue;
  box-shadow: 0 0 1rem dodgerblue;
  margin: 0 .5rem;
}

.ragdoll-list-item > .ragdoll-avatar {
  display: flex;
  flex-direction: column;
  min-width: 3rem;
  min-height: 3rem;
  max-width: 3rem;
  max-height: 3rem;
  filter: grayscale(1);
  background: linear-gradient(to top right, violet, coral);
  border-radius: 100vw;
}

.ragdoll-avatar > img {
  flex: 1;
  border-radius: inherit;
  border: 1px solid white;
  object-fit: cover;
  max-height: inherit;
  height: 3rem;
}

.ragdoll-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  overflow-y: auto;
}

.ragdoll-list-item {
  display: flex;
  gap: .5rem;
  padding: .5rem 1rem;
  align-items: center;
  cursor: pointer;
  opacity: .5;
}

.ragdoll-list-item > h2 {
  font-size: 1em;
  font-weight: 400;
  font-style: italic;
}

.ragdoll-list-item.selected {
  opacity: 1;
}

.ragdoll-list-item.selected > .online-indicator {
  background: #07f007;
  box-shadow: 0 0 1rem #07f007;
}

.ragdoll-list-item.selected > .ragdoll-avatar {
  filter: grayscale(0);
}

.ragdoll-list-item.selected > h2 {
  font-style: normal;
  opacity: 1;
}

.ragdoll-list-item > span {
  display: block;
}

#nav {
  max-width: 20vw;
}

@media (max-width: 900px) {
  .ragdoll-list-item {
    padding: 0;
    border-radius: 100vw;
    margin: 0;
  }

  .ragdoll-list-item > span,
  .ragdoll-list-item > h2 {
    display: none;
  }

  .ragdoll-list-item > .ragdoll-avatar {
    display: block;
  }
}
