.topscores-page .table-wrap {
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.section-head h1 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0.25rem 0 0;
}

.mods-row {
  margin-bottom: 0.75rem;
}

.topscores-table {
  table-layout: fixed;
  width: 100%;
}

.topscores-table th,
.topscores-table td {
  vertical-align: middle;
}

.col-rank {
  width: 2.5rem;
}

.col-player {
  width: 8.5rem;
}

.col-map {
  width: auto;
}

.col-pp {
  width: 4.5rem;
  text-align: right;
}

.col-acc {
  width: 5rem;
  text-align: right;
}

.col-combo {
  width: 5rem;
  text-align: right;
}

.col-mods {
  width: 5.5rem;
}

.col-replay {
  width: 5.5rem;
  text-align: right;
}

.topscores-table .col-pp,
.topscores-table .col-acc,
.topscores-table .col-combo {
  text-align: right;
}

.player-link {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-cell a {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.map-title {
  display: block;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-meta-desk,
.map-meta-mob {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-meta-mob {
  display: none;
}

.topscores-table .col-map,
.topscores-table .col-player {
  white-space: normal;
}

.empty {
  padding: 1.5rem 0.25rem;
}

[v-cloak] { display: none; }

@media (max-width: 920px) {
  .col-combo,
  .col-replay {
    display: none;
  }

  .col-player {
    width: 7rem;
  }

  .col-pp {
    width: 3.6rem;
  }

  .col-acc {
    width: 4.4rem;
  }

  .col-mods {
    width: 4.5rem;
  }
}

@media (max-width: 720px) {
  .panel-pad {
    padding: 0.85rem;
  }

  .section-head h1 {
    font-size: 1.15rem;
  }

  .topscores-table th,
  .topscores-table td {
    padding: 0.55rem 0.35rem;
  }

  .col-acc,
  .col-mods {
    display: none;
  }

  .col-rank {
    width: 1.75rem;
  }

  .col-player {
    width: 5.5rem;
  }

  .col-pp {
    width: 3.2rem;
    font-size: 12px;
  }

  .map-meta-desk {
    display: none;
  }

  .map-meta-mob {
    display: block;
    font-size: 11px;
  }

  .map-title {
    font-size: 13px;
  }

  .player-link {
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .col-player {
    width: 4.6rem;
  }

  .col-pp {
    width: 2.9rem;
  }
}
