#adminScores .admin-scores-page {
  display: grid;
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
}

#adminScores .admin-scores-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(120, 166, 226, .16);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 90% 8%, rgba(54, 154, 181, .2), transparent 38%),
    linear-gradient(130deg, rgba(22, 51, 68, .94), rgba(13, 20, 37, .98) 68%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .2);
}

#adminScores .admin-scores-kicker {
  color: #91dfd0;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .13em;
}

#adminScores .admin-scores-hero h2 {
  margin: 9px 0 0;
  color: #f7f9ff;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

#adminScores .admin-scores-hero p {
  max-width: 670px;
  margin: 10px 0 0;
  color: rgba(224, 231, 249, .7);
  font-size: .94rem;
  line-height: 1.55;
}

#adminScores .admin-scores-hero__mark {
  display: grid;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(132, 223, 208, .24);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(63, 180, 157, .2), rgba(37, 76, 99, .38));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 12px 30px rgba(0, 0, 0, .2);
  font-size: 2rem;
  transform: rotate(4deg);
}

#adminScores .admin-scores-panel {
  min-width: 0;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(149, 174, 224, .12);
  border-radius: 23px;
  background: linear-gradient(155deg, rgba(23, 30, 53, .97), rgba(13, 19, 35, .98));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .17);
}

#adminScores .admin-scores-panel-head h3 {
  margin: 6px 0 0;
  color: #f6f8ff;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  letter-spacing: -.025em;
}

#adminScores .admin-scores-panel-head p {
  margin: 7px 0 0;
  color: rgba(221, 229, 247, .63);
  font-size: .88rem;
  line-height: 1.5;
}

#adminScores .admin-scores-filters {
  align-items: flex-end;
  gap: 12px;
  margin: 17px 0 18px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, .065);
  border-bottom: 1px solid rgba(255, 255, 255, .065);
}

#adminScores .admin-scores-search {
  flex: 1 1 300px;
  min-width: min(100%, 250px);
  margin: 0;
}

#adminScores .admin-scores-search .field__label {
  color: rgba(235, 240, 252, .82);
  font-size: .79rem;
  font-weight: 700;
}

#adminScores .admin-scores-search input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(165, 184, 223, .15);
  border-radius: 13px;
  outline: none;
  color: #f5f7ff;
  background: rgba(4, 10, 23, .42);
  font: inherit;
  font-size: .92rem;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

#adminScores .admin-scores-search input::placeholder {
  color: rgba(215, 224, 244, .4);
}

#adminScores .admin-scores-search input:focus {
  border-color: rgba(116, 206, 192, .65);
  background: rgba(8, 16, 34, .75);
  box-shadow: 0 0 0 3px rgba(75, 185, 164, .13);
}

#adminScores .admin-scores-filter-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}

#adminScores .admin-scores-filter-actions .btn {
  min-height: 44px;
  border-radius: 12px;
  font-weight: 750;
}

#adminScores .admin-scores-export {
  border: 1px solid rgba(118, 213, 183, .2);
  color: #a8ebd0;
  background: rgba(65, 164, 130, .08);
}

#adminScores .admin-scores-export:hover {
  border-color: rgba(118, 213, 183, .38);
  background: rgba(65, 164, 130, .15);
}

#adminScores .admin-scores-table-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 11px;
}

#adminScores .admin-scores-table-heading strong,
#adminScores .admin-scores-table-heading span {
  display: block;
}

#adminScores .admin-scores-table-heading strong {
  color: #f3f6ff;
  font-size: .97rem;
}

#adminScores .admin-scores-table-heading span {
  margin-top: 4px;
  color: rgba(221, 229, 247, .58);
  font-size: .8rem;
  line-height: 1.45;
}

#adminScores .admin-scores-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: auto;
  touch-action: pan-x pan-y;
  border: 1px solid rgba(153, 175, 219, .1);
  border-radius: 16px;
  scrollbar-color: rgba(127, 157, 213, .35) transparent;
}

#adminScores .admin-scores-table-wrap:focus-visible {
  outline: 2px solid rgba(116, 206, 192, .75);
  outline-offset: 3px;
}

#adminScores #as_table {
  display: table;
  width: 100%;
  min-width: 850px;
  margin: 0;
  overflow: visible;
  border-collapse: separate;
  border-spacing: 0;
}

#adminScores #as_table thead th {
  padding: 13px 14px;
  color: rgba(210, 224, 252, .78);
  background: rgba(76, 103, 163, .12);
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
}

#adminScores #as_table thead .th-sort {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

#adminScores #as_table tbody td {
  padding: 13px 14px;
  border-top: 1px solid rgba(255, 255, 255, .055);
  color: rgba(240, 244, 255, .82);
  font-size: .85rem;
  white-space: nowrap;
}

#adminScores #as_table tbody td:first-child strong {
  color: #f5f7ff;
  font-weight: 750;
}

#adminScores #as_table tbody tr:hover td {
  background: rgba(99, 139, 220, .055);
}

#adminScores #as_table .th-sort {
  min-height: 32px;
  padding: 3px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#adminScores #as_table .th-sort:hover {
  color: #b9d7ff;
}

#adminScores #as_table .th-sort[data-dir] {
  color: #a9dacf;
}

#adminScores #as_table tbody td:last-child {
  text-align: center;
}

#adminScores #as_table tbody td:last-child .btn {
  min-height: 35px;
  padding: 7px 13px;
  border: 1px solid rgba(118, 213, 183, .22);
  border-radius: 11px;
  color: #a8ebd0;
  background: rgba(65, 164, 130, .1);
  font-size: .8rem;
  font-weight: 800;
}

#adminScores #as_table tbody td:last-child .btn:hover {
  border-color: rgba(118, 213, 183, .42);
  background: rgba(65, 164, 130, .19);
}

#adminScores .admin-scores-pager {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, .065);
}

#adminScores .admin-scores-pager .btn {
  min-height: 40px;
  border-radius: 12px;
}

#adminScores #as_info {
  min-width: 150px;
  color: rgba(224, 231, 249, .76);
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  #adminScores .admin-scores-page {
    gap: 13px;
  }

  #adminScores .admin-scores-hero {
    border-radius: 21px;
  }

  #adminScores .admin-scores-hero__mark {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    font-size: 1.6rem;
  }

  #adminScores .admin-scores-filters {
    align-items: stretch;
  }

  #adminScores .admin-scores-search {
    flex: 0 1 auto;
    width: 100%;
    min-width: 0;
  }

  #adminScores .admin-scores-filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #adminScores .admin-scores-filter-actions .btn {
    width: 100%;
  }

  #adminScores .admin-scores-export {
    grid-column: 1 / -1;
  }

  #adminScores .admin-scores-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  #adminScores #as_info {
    grid-column: 1 / -1;
    grid-row: 1;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  #adminScores .admin-scores-hero {
    align-items: flex-start;
    gap: 12px;
  }

  #adminScores .admin-scores-hero__mark {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    font-size: 1.35rem;
  }

  #adminScores .admin-scores-filter-actions {
    grid-template-columns: 1fr;
  }

  #adminScores .admin-scores-export {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  #adminScores .admin-scores-search input {
    transition: none;
  }
}
