/* Common imports for all CSS modules */
/*
 * This source is generated by bin/gen/licon.py. Run licon.py after changing public/font/lichess.sfd
 *
 * Constant names and values are pulled from private use characters defined in the sfd file.
 *
 * Character names can be edited in fontforge's "glyph info" dialog, or by editing the StartChar: line that
 * begins each character chunk in lichess.sfd
 *
 * To make these characters visible in your editor, install the lichess.ttf font (which is also generated by
 * licon.py) and then add it to your editor's font list.
 */
/* Uniboard: keep the same page layout across pages */
/* text printed directly on the page background deserves special treatment (transp theme) */
.community__leaders .leaderboards h2 {
  white-space: nowrap;
  overflow: hidden;
}

.community .user-top .user-link {
  overflow: hidden;
  text-overflow: ellipsis;
}

.community__leaders .leaderboards h2 {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

.community__leaders .leaderboards {
  border-radius: 7px;
}

/* helps with clipping background into border-radius */
.community {
  display: grid;
  gap: 2rem;
  grid-template-areas: "online" "leaders";
}
@media (min-width: 499.3px) {
  .community {
    grid-template-columns: min-content 1fr;
    grid-template-rows: min-content;
    grid-template-areas: "online leaders" "online .";
  }
}
.community h2 {
  font-size: 1.7em;
  margin-bottom: 2rem;
}
.community .user-top li {
  width: 100%;
  display: flex;
  justify-content: space-between;
  white-space: nowrap;
}
.community .user-top a:not(.user-link) {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9em;
  gap: 0.5ch;
}
.community__online {
  grid-area: online;
}
.community__online li {
  padding: 0.6rem 0;
}
.community__online .user-link {
  margin-inline-end: 1em;
}
.community__leaders {
  grid-area: leaders;
}
.community__leaders .leaderboards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30ch, 1fr));
}
.community__leaders .leaderboards .user-top {
  border: 1px solid var(--m-brag--fade-50);
}
.community__leaders .leaderboards h2 {
  font-size: 1.45em;
  line-height: 2.5em;
  letter-spacing: 1px;
  padding-inline-start: 0.8rem;
  font-weight: 600;
  margin: 0;
  background: var(--c-brag);
}
.community__leaders .leaderboards h2,
.community__leaders .leaderboards h2 a {
  color: #fff;
}
html.light .community__leaders .leaderboards h2 {
  background: var(--c-mistake);
}
.community__leaders .leaderboards li {
  padding-inline-start: 0.5rem;
  padding-inline-end: 1.2rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.community__leaders .leaderboards li:nth-child(even) {
  background: var(--c-bg-zebra);
}

/*# sourceMappingURL=user.list.css.map */
