/* The rankings page's own sheet: the table and the board's states. The frame
   it stands in (document, column, title) is publicpage.css and the theme's
   constants and face are tokens.css — this sheet owns nothing they already
   say, because it is a separate document, not a pane of the app shell. */

.publicPage .ranksTotal {
  margin: 0 0 1rem;
  font-size: var(--text-4);
  text-transform: uppercase;
  color: var(--mainColor-lighter);
  text-align: center;
  user-select: none;
}

/* The status lines (loading, refusal, empty) are the shared PanelStatus
   component; the total and the table below are this page's own. */

.publicPage .ranksTable {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-4);
}

.publicPage .ranksTable th {
  padding: 0.3rem 0.5rem;
  font-size: var(--text-2);
  text-transform: uppercase;
  color: var(--mainColor-lighter);
  text-align: left;
  user-select: none;
}

.publicPage .ranksTable td {
  padding: 0.35rem 0.5rem;
  border-top: 1px solid var(--mainColor-dark);
  white-space: nowrap;
}

.publicPage .ranksTable .ranksAt {
  width: 2.5rem;
  color: var(--mainColor-lighter);
}

.publicPage .ranksTable .ranksName {
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* The badge is caller-sized (RankBadge.vue): one line of text height. */
.publicPage .ranksTable .image {
  height: 1.1em;
  width: auto;
  vertical-align: middle;
}
