@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800;900&display=swap");

:root {
  color-scheme: light dark;
  --bg: #fafafa;
  --fg: #18181b;
  --muted: #71717a;
  --muted-soft: #a1a1aa;
  --panel: #ffffff;
  --panel-soft: #f4f4f5;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --accent: #18181b;
  --accent-strong: #000000;
  --accent-soft: #eeeeef;
  --on-accent: #ffffff;
  --danger: #b42318;
  --danger-soft: #fef2f2;
  --success: #147d47;
  --focus: #52525b;
  --shadow: 0 10px 26px rgb(0 0 0 / 6%);
  --radius: 8px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --fg: #fafafa;
    --muted: #a1a1aa;
    --muted-soft: #71717a;
    --panel: #18181b;
    --panel-soft: #27272a;
    --border: #3f3f46;
    --border-strong: #52525b;
    --accent: #fafafa;
    --accent-strong: #ffffff;
    --accent-soft: #27272a;
    --on-accent: #18181b;
    --danger: #f97066;
    --danger-soft: #3b1617;
    --success: #3ccb7f;
    --focus: #d4d4d8;
    --shadow: 0 16px 34px rgb(0 0 0 / 32%);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Geist, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

.site-footer {
  max-width: 1180px;
  margin: 20px auto 28px;
  padding: 0 20px;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.site-footer a {
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 40%, transparent);
  outline-offset: 2px;
}

::selection {
  background: color-mix(in srgb, var(--accent) 24%, transparent);
  color: var(--fg);
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.tabs a,
.button {
  text-decoration: none;
}

.container {
  padding: 36px 0 64px;
}

.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.page-brand {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--fg);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
}

h1,
h2 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: 38px;
  font-weight: 850;
}

h2 {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 780;
}

.tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 22px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 6px 16px rgb(0 0 0 / 4%);
}

.tabs a,
.button,
button {
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--fg);
  cursor: pointer;
  font-weight: 720;
  padding: 9px 14px;
}

.button.compact {
  min-height: 32px;
  padding: 5px 10px;
  font-size: 13px;
}

.tabs a {
  border-color: transparent;
  color: var(--muted);
}

.tabs a.active {
  background: var(--accent);
  color: var(--on-accent);
}

.button,
button[type="submit"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.button:hover,
button[type="submit"]:hover,
.tabs a.active:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--on-accent);
}

.button.secondary,
.tabs a:hover {
  background: var(--panel-soft);
  color: var(--fg);
}

.button.secondary {
  border-color: var(--border);
}

.panel,
.vote-card button {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel {
  overflow-x: auto;
  padding: 22px;
  margin-bottom: 20px;
}

.panel.narrow {
  max-width: 580px;
}

.vote-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.vote-card {
  display: flex;
  margin: 0;
}

.vote-card button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  min-height: 248px;
  padding: 30px;
  color: var(--fg);
  text-align: left;
}

.logo-tile {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--accent-strong);
  font-weight: 850;
}

.logo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-tile.large {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  font-size: 20px;
}

.logo-tile.small {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.vote-card button:hover {
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgb(0 0 0 / 10%);
  transform: translateY(-2px);
}

.vote-card span {
  display: block;
  overflow-wrap: anywhere;
  font-size: 36px;
  font-weight: 850;
  line-height: 1.08;
}

.vote-card small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.skip-form {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.leaderboard-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  margin: 18px 0 22px;
}

.leaderboard-summary-card {
  --summary-accent: var(--border-strong);
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--summary-accent) 42%, var(--border));
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--fg);
}

.leaderboard-summary-card.summary-danger {
  --summary-accent: var(--danger);
}

.leaderboard-summary-card.summary-success {
  --summary-accent: var(--success);
}

.leaderboard-summary-card h2 {
  min-height: 48px;
  margin: 0;
  padding: 13px 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--summary-accent) 42%, var(--border));
  background: var(--panel);
  color: var(--summary-accent);
  font-size: 15px;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.leaderboard-table {
  table-layout: fixed;
}

.leaderboard-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.leaderboard-summary-card .compact-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 0;
  table-layout: fixed;
}

.leaderboard-summary-card .compact-table th,
.leaderboard-summary-card .compact-table td {
  height: 48px;
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
  background: var(--panel);
  color: var(--fg);
  vertical-align: middle;
}

.leaderboard-summary-card .compact-table th {
  color: var(--muted);
}

.leaderboard-summary-card .compact-table td.number {
  color: var(--summary-accent);
  font-weight: 800;
}

.leaderboard-summary-card .compact-table tbody tr:last-child td {
  border-bottom: 0;
}

.leaderboard-summary-card .compact-table th:first-child,
.leaderboard-summary-card .compact-table td:first-child {
  width: auto;
}

.leaderboard-summary-card .compact-table th:last-child,
.leaderboard-summary-card .compact-table td:last-child {
  width: 82px;
}

.leaderboard-summary-card .leaderboard-name {
  max-width: 100%;
}

.leaderboard-summary-card .leaderboard-name span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

th,
td {
  border-bottom: 1px solid var(--border);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

tbody tr:hover {
  background: var(--panel-soft);
}

th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.number {
  text-align: right;
}

.rank-column {
  width: 38px;
}

.name-column {
  width: 168px;
}

.leaderboard-table th:nth-child(3),
.leaderboard-table th:nth-child(4),
.leaderboard-table th:nth-child(5),
.leaderboard-table th:nth-child(6) {
  width: 92px;
}

.leaderboard-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.leaderboard-table .leaderboard-name {
  max-width: 100%;
}

.leaderboard-table .leaderboard-name span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-name strong,
.leaderboard-name small {
  display: block;
}

.leaderboard-name small {
  max-width: 420px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.leaderboard-description {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.admin-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.admin-summary-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-summary-heading h2 {
  margin-bottom: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.section-stats {
  grid-template-columns: repeat(5, minmax(88px, 1fr));
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 68px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.stat-label,
.stat-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.15;
}

.stat-value {
  display: block;
  margin-top: 4px;
  color: var(--fg);
  font-size: 24px;
  line-height: 1;
}

.dashboard-kpis {
  padding: 18px;
}

.chart-panel {
  min-height: 320px;
}

.chart-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.chart-controls form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chart-controls label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.chart-controls select {
  min-height: 34px;
  padding: 7px 30px 7px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  background: var(--panel);
  color: var(--fg);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.chart-legend span {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.line-chart {
  min-height: 206px;
  min-height: 206px;
  padding: 10px 10px 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(to top, var(--border) 1px, transparent 1px) 0 33% / 100% 33%,
    var(--panel-soft);
  border-top: 1px solid var(--border);
}

.line-chart svg {
  display: block;
  width: 100%;
  min-height: 206px;
}

.grid-line {
  stroke: color-mix(in srgb, var(--border) 72%, transparent);
  stroke-width: 1;
}

.line-series {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.line-series.sessions {
  stroke: #737373;
}

.line-series.votes,
.line-series.product_activity,
.line-series.product_votes {
  stroke: var(--accent);
}

.line-series.skips,
.line-series.job_activity,
.line-series.product_skips {
  stroke: var(--muted-soft);
}

.axis-label {
  fill: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-anchor: middle;
}

.compact-table {
  min-width: 920px;
}

.compact-table th,
.compact-table td {
  padding: 10px 12px;
  vertical-align: middle;
}

.compact-table .cell-text {
  max-width: 340px;
}

.management-action {
  width: 92px;
  text-align: right;
  white-space: nowrap;
}

.line-chart.framed,
.chart-empty-state.framed {
  margin-top: 14px;
}

.chart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 206px;
  padding: 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--panel-soft);
  text-align: center;
}

.chart-empty-state strong {
  color: var(--fg);
  font-size: 16px;
}

.chart-empty-state span {
  max-width: 320px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.chart-legend .session {
  background: #737373;
}

.chart-legend .vote,
.chart-legend .product {
  background: var(--accent);
}

.chart-legend .skip,
.chart-legend .job {
  background: var(--muted-soft);
}

.chart-empty {
  margin-top: 12px;
}

.admin-table td {
  vertical-align: middle;
}

.admin-table-panel {
  padding: 0;
}

.search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 620px;
  margin-bottom: 14px;
}

.search-row input[name="q"] {
  max-width: 420px;
  background: var(--panel);
}

.table-search-row {
  padding: 14px 12px 0;
  margin-bottom: 10px;
}

.admin-table.dense {
  min-width: 1120px;
  table-layout: fixed;
}

.admin-table.dense th,
.admin-table.dense td {
  padding: 12px 12px;
}

.admin-table.dense th:nth-child(1) {
  width: 220px;
}

.admin-table.dense th:nth-child(2) {
  width: 230px;
}

.admin-table.dense .number {
  font-variant-numeric: tabular-nums;
}

.sort-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.sort-link span {
  color: inherit;
}

.sort-link.active {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 620px;
  padding: 14px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.pagination-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-page {
  color: var(--fg);
  white-space: nowrap;
}

.button.disabled {
  cursor: default;
  opacity: 0.45;
  pointer-events: none;
}

.admin-table summary {
  color: var(--fg);
  cursor: pointer;
  font-weight: 750;
  white-space: nowrap;
}

.cell-text {
  display: block;
  overflow: hidden;
  max-width: 100%;
  color: var(--fg);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border));
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 760;
}

.status-pill.muted {
  background: var(--panel-soft);
  color: var(--muted);
}

.actions-header {
  text-align: center;
  width: 68px;
  padding-right: 8px;
  padding-left: 8px;
}

.admin-actions-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-right: 8px !important;
  padding-left: 8px !important;
  text-align: center;
  width: 68px;
}

.inline-name-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.inline-name-field .product-logo,
.inline-name-field .logo-fallback {
  flex: 0 0 auto;
}

.inline-checkbox {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--fg);
  font-size: 13px;
  font-weight: 720;
  white-space: nowrap;
}

.inline-checkbox input {
  width: auto;
}

.icon-button,
.danger-icon {
  display: inline-flex;
  width: 28px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--panel-soft);
  cursor: pointer;
}

.icon-button {
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted);
}

.icon-button:hover {
  border-color: var(--border-strong);
  color: var(--fg);
}

.icon-button svg,
.danger-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.danger-icon {
  border: 1px solid color-mix(in srgb, var(--danger) 22%, var(--border));
  border-radius: 7px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 760;
  list-style: none;
}

.danger-icon:hover {
  background: var(--danger);
  color: #ffffff;
}

.empty,
.meta {
  color: var(--muted);
}

.empty {
  margin: 0;
}

.meta {
  margin: 8px 0 0;
  font-size: 14px;
}

.success,
.error {
  border-radius: var(--radius);
  font-weight: 700;
  margin: 0 0 16px;
  padding: 12px 14px;
}

.success {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.error {
  background: var(--danger-soft);
  color: var(--danger);
}

.danger {
  color: var(--danger);
}

.stacked-form,
.admin-row,
.delete-row,
.actions {
  display: flex;
  gap: 10px;
}

.stacked-form {
  flex-direction: column;
  gap: 16px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.checkbox,
.delete-row label {
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-soft);
  color: var(--fg);
  padding: 10px 12px;
}

.admin-table input {
  min-height: 34px;
  padding: 7px 9px;
  font-size: 13px;
}

.admin-table .inline-edit {
  overflow: hidden;
  min-height: 28px;
  padding: 3px 0;
  border-color: transparent;
  background: transparent;
  color: var(--fg);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table textarea.inline-edit {
  resize: none;
}

.admin-table .inline-edit-description {
  display: block;
  min-height: 42px;
  max-height: 58px;
  line-height: 1.35;
  text-overflow: clip;
  white-space: normal;
}

.admin-table .inline-edit-description:focus {
  min-height: 92px;
  max-height: none;
  overflow: auto;
}

.admin-table .inline-edit::placeholder {
  color: var(--muted);
}

.admin-table .inline-edit-name {
  font-weight: 800;
}

.admin-table .inline-edit:hover {
  background: color-mix(in srgb, var(--panel-soft) 70%, transparent);
}

.admin-table .inline-edit:focus {
  padding: 7px 9px;
  border-color: var(--focus);
  background: var(--panel-soft);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 18%, transparent);
}

.admin-table .autosave-saved {
  animation: autosave-saved 900ms ease-out;
}

.admin-table .autosave-error {
  animation: autosave-error 900ms ease-out;
}

@keyframes autosave-saved {
  0% {
    background: color-mix(in srgb, #16a34a 28%, var(--panel-soft));
    box-shadow: 0 0 0 3px color-mix(in srgb, #16a34a 22%, transparent);
  }
  100% {
    background: transparent;
    box-shadow: none;
  }
}

@keyframes autosave-error {
  0% {
    background: color-mix(in srgb, var(--danger) 20%, var(--panel-soft));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 18%, transparent);
  }
  100% {
    background: transparent;
    box-shadow: none;
  }
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--border-strong);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 18%, transparent);
  outline: none;
}

.admin-row {
  align-items: center;
}

.admin-row select {
  max-width: 130px;
}

.admin-row button,
.delete-row button {
  white-space: nowrap;
}

.delete-row {
  align-items: center;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid color-mix(in srgb, var(--danger) 22%, var(--border));
  border-radius: var(--radius);
  background: var(--danger-soft);
}

.icon-delete-row {
  display: inline-flex;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.delete-row button {
  background: transparent;
  border-color: var(--danger);
  color: var(--danger);
}

.delete-row button:hover {
  background: var(--danger);
  color: #ffffff;
}

.secondary-row {
  margin-top: 10px;
}

@media (max-width: 760px) {
  .page-heading,
  .admin-row,
  .delete-row,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .container {
    width: min(100% - 24px, 1160px);
  }

  .container {
    padding-top: 24px;
  }

  h1 {
    font-size: 30px;
  }

  .vote-grid {
    grid-template-columns: 1fr;
  }

  .vote-card button {
    min-height: 170px;
    padding: 24px;
  }

  .vote-card span {
    font-size: 28px;
  }

  .tabs {
    flex-wrap: wrap;
  }

  .admin-overview-grid,
  .admin-chart-grid,
  .leaderboard-summary-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-summary-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .pagination {
    align-items: stretch;
    flex-direction: column;
    min-width: 0;
  }

  .search-row {
    align-items: stretch;
    flex-direction: column;
    min-width: 0;
  }

  .search-row input[name="q"] {
    max-width: none;
  }

  .pagination-actions {
    justify-content: space-between;
  }

  .section-stats {
    grid-template-columns: 1fr;
  }

  .tabs {
    display: flex;
  }

  .tabs a,
  .tabs a.active {
    flex: 1 1 auto;
    text-align: center;
  }

  .leaderboard-table {
    min-width: 700px;
  }

  .leaderboard-table th:first-child,
  .leaderboard-table td:first-child,
  .leaderboard-table th:nth-child(2),
  .leaderboard-table td:nth-child(2) {
    background: var(--panel);
    position: sticky;
  }

  .leaderboard-table th:first-child,
  .leaderboard-table td:first-child {
    left: 0;
    z-index: 3;
  }

  .leaderboard-table th:nth-child(2),
  .leaderboard-table td:nth-child(2) {
    left: 38px;
    z-index: 3;
  }

  .leaderboard-table th:first-child,
  .leaderboard-table th:nth-child(2) {
    z-index: 4;
  }

  .leaderboard-table tbody tr:hover td {
    background: var(--panel-soft);
  }

  .leaderboard-table .leaderboard-name {
    gap: 8px;
  }

  .leaderboard-table .logo-tile.small {
    height: 28px;
    width: 28px;
  }
}
