.uma-page .uma-intro { text-align: center; }
.uma-page .uma-intro .eyebrow { justify-content: center; }
.uma-page .uma-intro h1 {
  width: min(1000px, 100%);
  margin: 16px auto;
}
.uma-page .uma-intro p { margin-inline: auto; }

.uma-library-controls { margin: 14px 0 12px; }

.uma-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.uma-search svg {
  width: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: #59635d;
  stroke-width: 1.8;
}

.uma-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 500 12px DM Sans;
}

.uma-search input::placeholder { color: #89918c; }

.uma-filter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 18px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
}

.uma-filter-meta button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #765eb9;
  font: 700 9px DM Sans;
  cursor: pointer;
}

.uma-page .rank-image[hidden],
.uma-page .uma-filter-empty[hidden] { display: none !important; }

.uma-filter-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  color: #9ca29e;
  pointer-events: none;
}

.uma-filter-empty span { font-size: 23px; }
.uma-filter-empty p { margin: 5px 0; font-size: 10px; }

.uma-page .unranked-zone {
  height: 360px;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.uma-page .unranked-zone .rank-image {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
}

.uma-page .unranked-zone::-webkit-scrollbar { width: 8px; }
.uma-page .unranked-zone::-webkit-scrollbar-track { background: #f6f2f7; }
.uma-page .unranked-zone::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 10px;
  background: #c9c2d2;
  background-clip: padding-box;
}

@media (max-width: 620px) {
  .uma-filter-meta { font-size: 8px; }
  .uma-page .unranked-zone { height: 310px; }
  .uma-page .unranked-zone .rank-image {
    flex-basis: 57px;
    width: 57px;
    height: 57px;
  }
}
