.percentile-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
}

.percentile-control > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.percentile-inputs {
  display: flex;
  align-items: end;
  gap: 10px;
}

.percentile-qualifier {
  display: grid;
  gap: 4px;
}

.percentile-qualifier span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.percentile-qualifier select {
  min-width: 92px;
  height: 34px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--purple2);
  font: 800 11px/1 Inter, ui-sans-serif, system-ui, sans-serif;
}

.percentile-notches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f4f1f8;
}

.percentile-notches button {
  min-width: 104px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: 800 11px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}

.percentile-notches button:hover { color: var(--purple2); }

.percentile-notches button.active {
  background: var(--purple2);
  color: #fff;
  box-shadow: 0 2px 7px rgba(37, 19, 73, .2);
}

.player-percentile-control {
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf8fd;
}

.mini-scores small {
  display: block;
  margin-top: 3px;
  color: #4f485e;
  font-size: 9px;
  font-weight: 800;
}

@media (max-width: 800px) {
  .percentile-control {
    align-items: stretch;
    flex-direction: column;
  }

  .percentile-notches { width: 100%; }
  .percentile-inputs { align-items: stretch; flex-direction: column; }
  .percentile-qualifier select { width: 100%; }
  .percentile-notches button {
    min-width: 0;
    padding-inline: 8px;
  }
}
