html.csl-lb-html,
body.csl-lb-page {
  overflow-x: hidden;
}

body.csl-lb-page {
  margin: 0;
}

.csl-lb-main {
  box-sizing: border-box;
  width: 100%;
  max-width: 920px;
  min-width: 0;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.csl-lb-hero {
  min-width: 0;
}

.csl-lb-hero .eyebrow,
.csl-lb-eyebrow {
  margin: 0 0 6px;
  font-family: var(--font-sans, "Hanken Grotesk", system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--csl-value-fair, #5B6675);
}

.csl-lb-hero h1,
.csl-lb-title {
  margin: 0 0 8px;
  font-family: var(--font-display, "Archivo", sans-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--csl-steel, #13181F);
}

.csl-lb-dek {
  margin: 0;
  font-family: var(--font-sans, "Hanken Grotesk", system-ui, sans-serif);
  font-size: 15px;
  line-height: 1.45;
  color: var(--csl-chrome, #3C4654);
}

.csl-lb-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 12px 12px 8px;
  border: 1px solid var(--csl-slate, #D6DCE6);
  border-radius: 14px;
  background: var(--csl-felt-light, #FFFFFF);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: min(70dvh, 36rem);
}

.csl-lb-head,
.csl-lb-row {
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 8px;
  box-sizing: border-box;
}

.csl-lb-head {
  padding: 0 0 10px;
  margin: 0 0 4px;
  border-bottom: 1px solid var(--csl-slate, #D6DCE6);
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--csl-value-fair, #5B6675);
}

.csl-lb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
}

.csl-lb-row {
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(19, 24, 31, 0.08);
}

.csl-lb-row:last-child {
  border-bottom: 0;
}

.csl-lb-rank {
  flex: 0 0 28px;
  width: 28px;
  min-width: 28px;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 13px;
  font-weight: 500;
  color: var(--csl-value-fair, #5B6675);
}

.csl-lb-player {
  flex: 1 1 auto;
  min-width: 0;
}

.csl-lb-head .csl-lb-player,
.csl-lb-head .csl-lb-net,
.csl-lb-head .csl-lb-rank {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.csl-lb-name {
  display: block;
  font-family: var(--font-sans, "Hanken Grotesk", system-ui, sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--csl-steel, #13181F);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.csl-lb-row-lead .csl-lb-name,
.csl-lb-row-lead .csl-lb-rank {
  font-weight: 700;
}

.csl-lb-plays {
  display: block;
  margin-top: 2px;
  font-family: var(--font-sans, "Hanken Grotesk", system-ui, sans-serif);
  font-size: 12px;
  font-weight: 400;
  color: var(--csl-value-fair, #5B6675);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.csl-lb-net {
  flex: 0 0 88px;
  width: 88px;
  min-width: 88px;
  max-width: 88px;
  box-sizing: border-box;
  text-align: right;
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: visible;
  color: var(--csl-steel, #13181F);
}

.csl-lb-net-up {
  color: var(--csl-value-strong, #0F9D63);
}

.csl-lb-net-down {
  color: var(--csl-value-fair, #5B6675);
}

.csl-lb-empty {
  margin: 8px 0 12px;
  font-family: var(--font-sans, "Hanken Grotesk", system-ui, sans-serif);
  font-size: 14px;
  line-height: 1.45;
  color: var(--csl-value-fair, #5B6675);
}

.csl-lb-updated,
.csl-lb-model {
  margin: 0;
  font-family: var(--font-sans, "Hanken Grotesk", system-ui, sans-serif);
  font-size: 12px;
  line-height: 1.45;
  color: var(--csl-value-fair, #5B6675);
}

.csl-lb-back {
  text-decoration: none;
  color: inherit;
}

.csl-lb-back-spacer {
  visibility: hidden;
  pointer-events: none;
}

body.play-lb-shell .topbar .csl-lb-eyebrow {
  margin: 0;
  text-align: center;
  white-space: nowrap;
}

body.play-lb-shell {
  overflow: hidden;
}

body.play-lb-shell .app {
  min-width: 0;
  overflow-x: hidden;
}

body.play-lb-shell .csl-lb-main {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

body.play-lb-shell .csl-lb-card {
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
}
