.pr-board__title {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Saira Condensed", var(--font-ui, sans-serif);
  font-size: 14pt;
  font-weight: 400;
  color: #fff;
}

.pr-board__title em {
  font-style: normal;
  color: #EE2445;
}

.pr-board__ranked {
  margin-left: 10px;
  font-size: 9pt;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
}

.pr-board__note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5pt;
  color: #9ca3af;
}

.pr-board__note .material-symbols-outlined {
  font-size: 16px;
}

.pr-board__body {
  padding: 14px 16px 20px;
  background: #121617;
}

.pr-board__list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pr-board__head,
.pr-brow {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 70px 80px 60px 56px 80px 36px;
  align-items: center;
  gap: 12px;
}

.pr-board__head {
  padding: 0 14px 8px;
  font-size: 8.5pt;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
}

.pr-board__head .is-num {
  text-align: right;
}

.pr-brow {
  padding: 10px 14px;
  border: 1px solid #243533;
  border-radius: 12px;
  background: rgba(6, 5, 1, 0.3);
}

.pr-brow.is-me {
  border-color: rgba(238, 36, 69, 0.45);
  background: rgba(238, 36, 69, 0.08);
}

.pr-brow__rank {
  font-size: 12pt;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.pr-brow__rank.is-top3 {
  color: #facc15;
}

.pr-brow__player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pr-brow__avatar {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #243533;
  object-fit: cover;
}

.pr-brow__who {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.pr-page .pr-brow__name {
  overflow: hidden;
  font-size: 11pt;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pr-page a.pr-brow__name:hover {
  color: #EE2445;
}

.pr-brow__meta {
  font-size: 9pt;
  color: #9ca3af;
}

.pr-brow__points,
.pr-brow__winners,
.pr-brow__exact,
.pr-brow__acc {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.pr-brow__points {
  font-size: 13pt;
  font-weight: 700;
  color: #fff;
}

.pr-brow__winners {
  font-size: 10.5pt;
  font-weight: 700;
  color: #fff;
}

.pr-brow__exact {
  font-size: 10.5pt;
  font-weight: 700;
  color: #facc15;
}

.pr-brow__acc {
  font-size: 10.5pt;
  color: #9ca3af;
}

.pr-form {
  display: flex;
  gap: 3px;
}

.pr-form span {
  width: 8px;
  height: 14px;
  border: 1px solid;
  border-radius: 2px;
}

.pr-form .is-exact { border-color: rgba(253, 224, 71, 0.42); background: rgba(250, 204, 21, 0.92); }
.pr-form .is-winner { border-color: rgba(134, 239, 172, 0.42); background: rgba(34, 197, 94, 0.92); }
.pr-form .is-missed { border-color: rgba(252, 165, 165, 0.42); background: rgba(239, 68, 68, 0.92); }

.pr-board__divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  font-size: 8.5pt;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #EE2445;
}

.pr-board__divider::before,
.pr-board__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #243533;
}

.pr-board__more {
  width: 100%;
  height: 42px;
  margin-top: 10px;
  border: 1px solid #243533;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 10pt;
  font-weight: 700;
}

.pr-board__more:hover {
  border-color: rgba(238, 36, 69, 0.4);
}

.pr-board__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  font-size: 9pt;
  color: #9ca3af;
}

.pr-board__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pr-board__legend .pr-form span {
  display: inline-block;
}

.pr-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pr-modal[hidden] {
  display: none;
}

.pr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 1, 0.7);
  backdrop-filter: blur(6px);
}

.pr-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  max-height: min(760px, 88vh);
  overflow: hidden;
  border: 1px solid #243533;
  border-radius: 16px;
  background: #181F20;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  color: #e2e8f0;
}

.pr-modal__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #243533;
}

.pr-modal__avatar {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  object-fit: cover;
}

.pr-modal__avatar.is-me {
  border-color: rgba(238, 36, 69, 0.45);
}

.pr-modal__heading {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.pr-modal__eyebrow {
  font-size: 8.5pt;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
}

.pr-page .pr-modal__name {
  font-size: 13pt;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}

.pr-modal__sub {
  font-size: 9.5pt;
  color: #9ca3af;
}

.pr-modal__close {
  flex-basis: 40px;
  width: 40px;
  height: 40px;
}

.pr-modal__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #243533;
}

.pr-modal__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px;
}

.pr-modal__stat + .pr-modal__stat {
  border-left: 1px solid #243533;
}

.pr-modal__stat strong {
  font-size: 16pt;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.pr-modal__stat strong.is-exact {
  color: #facc15;
}

.pr-modal__stat span {
  font-size: 8.5pt;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
}

.pr-modal__chips {
  padding: 12px 16px;
  border-bottom: 1px solid #243533;
}

.pr-modal__body {
  display: grid;
  gap: 8px;
  padding: 12px 16px 16px;
  overflow-y: auto;
  background: #121617;
}

.pr-mpick {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid #243533;
  border-radius: 10px;
  background: rgba(6, 5, 1, 0.3);
}

.pr-mpick__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.pr-mpick__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.pr-page .pr-mpick__title {
  overflow: hidden;
  font-size: 11pt;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pr-mpick__when {
  font-size: 9pt;
  color: #9ca3af;
}

.pr-mpick__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 9.5pt;
  color: #9ca3af;
}

.pr-mpick__foot span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pr-mpick__foot strong {
  color: #fff;
}

.pr-mpick__foot .material-symbols-outlined {
  font-size: 16px;
}

body.pr-modal-open {
  overflow: hidden;
}

@media (max-width: 1099px) {
  .pr-board__head,
  .pr-brow {
    grid-template-columns: 28px minmax(0, 1fr) 54px 64px 36px;
  }

  .pr-board__head .is-wide,
  .pr-brow .is-wide {
    display: none;
  }
}

@media (max-width: 759px) {
  .pr-board__legend {
    display: none;
  }

  .pr-board__body {
    padding: 12px 10px 16px;
  }

  .pr-board__head,
  .pr-brow {
    grid-template-columns: 22px minmax(0, 1fr) 40px 44px 36px;
    gap: 8px;
  }

  .pr-board__head {
    padding: 0 10px 8px;
  }

  .pr-brow {
    padding: 8px 10px;
  }

  .pr-brow__meta {
    display: none;
  }

  .pr-modal {
    align-items: flex-end;
    padding: 0;
  }

  .pr-modal__panel {
    max-height: 88vh;
    border-radius: 16px 16px 0 0;
  }
}
