.registry-shell {
  background: #000;
  min-height: 100vh;
}

.registry-topbar {
  z-index: 20;
  width: 100%;
  max-width: none;
  margin: -16px -22px 0;
  position: sticky;
  top: 0;
}

.registry-brand-lockup {
  color: inherit;
  grid-column: 2;
  text-decoration: none;
}

.registry-brand-lockup .brand-lockup {
  grid-column: auto;
}

.registry-topbar .topbar-actions {
  grid-column: 3;
  justify-self: end;
}

.registry-topbar .topbar-link, .registry-topbar .topbar-link.active {
  color: var(--text);
  border-color: #ffffff2b;
}

.topbar-link {
  transition: color .18s, border-color .18s, background-color .18s, box-shadow .18s;
}

.topbar .topbar-actions .topbar-link:hover, .topbar .topbar-actions .topbar-link.active:hover {
  text-shadow: 0 0 10px #31d69bd1;
  color: #63f2bd !important;
  background: #31d69b24 !important;
  border-color: #31d69beb !important;
  box-shadow: 0 0 0 1px #31d69b1a, 0 0 22px #31d69b61, inset 0 0 16px #31d69b1a !important;
}

.registry-page {
  width: min(1320px, 100% - 40px);
  margin: 0 auto;
  padding: 44px 0 96px;
}

.registry-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.registry-heading h1 {
  margin: 10px 0;
  font-size: clamp(44px, 6vw, 72px);
  line-height: .95;
}

.registry-heading > p:last-child {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}

.registry-hero {
  padding-bottom: 38px;
}

.registry-hero h2 {
  margin: 10px 0 6px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: .95;
}

.registry-copy {
  max-width: 680px;
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}

.registry-panel {
  background: #000;
  border: 1px solid #ffffff0e;
  border-radius: 8px;
  overflow: hidden;
}

.registry-panel-head {
  text-align: center;
  background: #000;
  border-bottom: 1px solid #ffffff0e;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 22px;
  padding: 30px 24px 26px;
  display: grid;
}

.registry-panel-head h2 {
  margin: 5px 0 0;
  font-size: 32px;
}

.registry-tools {
  gap: 11px;
  width: min(100%, 820px);
  min-width: 0;
  display: grid;
}

.registry-search {
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 8px;
  width: 100%;
  margin: 0;
  display: grid;
}

.registry-search input, .registry-search button {
  border: 1px solid var(--line);
  width: 100%;
  min-width: 0;
  height: 54px;
  color: var(--text);
  background: #020202;
  margin: 0;
  position: static;
}

.registry-search input {
  padding: 0 18px;
  font-size: 15px;
}

.registry-search button {
  font: inherit;
  letter-spacing: .03em;
  cursor: pointer;
  place-items: center;
  padding: 0 16px;
  font-weight: 800;
  display: grid;
}

.registry-search button:hover {
  border-color: var(--soft);
}

.registry-status, .registry-count {
  color: var(--muted);
  letter-spacing: .04em;
  justify-self: center;
  margin: 0;
  font-size: 12px;
}

.registry-table-wrap {
  overflow-x: auto;
}

.registry-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.registry-table th, .registry-table td {
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #ffffff0d;
  padding: 11px 20px;
}

.registry-table th {
  color: var(--muted);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 10px;
}

.registry-table tbody tr:last-child td {
  border-bottom: 0;
}

.registry-table tbody tr:hover {
  background: #31d69b06;
}

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

.registry-avatar {
  border: 1px solid var(--line);
  object-fit: cover;
  background: #080808;
  border-radius: 8px;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
}

.registry-player-copy {
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  display: flex;
}

.registry-player-name {
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
}

.registry-reason {
  color: var(--dire);
  letter-spacing: .02em;
  margin-top: 3px;
  font-size: 10px;
  display: block;
}

.registry-id {
  color: var(--text);
  font-family: Consolas, Courier New, monospace;
  font-size: 12px;
}

.registry-match {
  color: var(--text);
  text-underline-offset: 3px;
  font-family: Consolas, Courier New, monospace;
  font-size: 12px;
}

.registry-pagination {
  background: #000;
  border-top: 1px solid #ffffff0d;
  justify-content: center;
  gap: 7px;
  padding: 18px 20px;
  display: flex;
}

.registry-pagination[hidden] {
  display: none;
}

.registry-page-button {
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  background: #050505;
  border-radius: 8px;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  transition: border-color .16s, background .16s, color .16s;
  display: grid;
}

.registry-page-button:hover {
  border-color: var(--soft);
  color: var(--text);
}

.registry-page-button.active {
  color: #63f2bd;
  background: #31d69b1c;
  border-color: #31d69bb8;
  box-shadow: 0 0 14px #31d69b2e, inset 0 0 10px #31d69b0f;
}

.registry-empty {
  color: var(--muted);
  text-align: center;
  padding: 40px 24px;
}

@media (width <= 760px) {
  .registry-topbar {
    margin-inline: -12px;
    padding-inline: 16px;
  }

  .registry-page {
    width: min(100% - 24px, 1320px);
    padding-top: 42px;
  }

  .registry-panel-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .registry-tools {
    width: 100%;
  }

  .registry-count {
    justify-self: end;
  }

  .registry-table {
    min-width: 820px;
  }
}

@media (width <= 480px) {
  .registry-search {
    grid-template-columns: 1fr;
  }
}
