.curators-sort-dir-btn[data-value="asc"] .curators-sort-dir-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none"><path d="M12 20V6" stroke="%2384aafb" stroke-width="3.2" stroke-linecap="round"/><path d="M17.5 10.5 12 5 6.5 10.5" stroke="%2384aafb" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.curators-sort-dir-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(53, 53, 60, 0.98);
  background-image: var(--grain-bg);
  background-size: 20px 20px;
  background-blend-mode: overlay;
  color: #f3f3f3;
  font-size: 12px;
  line-height: 1.2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 30;
  white-space: nowrap;
}

.curators-sort-dir-tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  width: 10px;
  height: 10px;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(53, 53, 60, 0.98);
  background-image: var(--grain-bg);
  background-size: 20px 20px;
  background-blend-mode: overlay;
  transform: translateX(-50%) rotate(45deg);
}

.curators-sort-dir-btn:hover .curators-sort-dir-tooltip,
.curators-sort-dir-btn:focus-visible .curators-sort-dir-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.curators-range-value .range-value-edit,
.curators-range-value--max .range-value-edit {
  text-align: center;
}

.curators-genre-select {
  position: relative;
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(132, 170, 251, 0.5);
  border-radius: 8px;
  background-color: rgba(53, 53, 60, 0.55);
  background-image: var(--grain-bg);
  background-size: 160px 160px;
  background-blend-mode: overlay;
  user-select: none;
  transition: border-color 0.3s ease;
}

.curators-genre-select:hover,
.curators-genre-select.is-open {
  border-color: rgba(132, 170, 251, 1);
}

.curators-genre-trigger {
  position: relative;
  width: 100%;
  min-height: 42px;
  padding: 0 30px 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #f3f3f3;
  font-family: var(--app-font-family);
  font-size: 14px;
  font-weight: var(--app-font-weight);
  line-height: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  cursor: pointer;
  transition: background-color 0.18s ease;
}


.curators-genre-trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background: no-repeat center / contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24"><path d="M7 9l5 6 5-6" fill="none" stroke="%2384aafb" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  opacity: 0.95;
  transition: transform 0.18s ease;
}

.curators-genre-select.is-open .curators-genre-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

.curators-genre-trigger-values {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
}

.curators-genre-trigger-values::-webkit-scrollbar {
  display: none;
}

.curators-genre-trigger-tag,
.curators-genre-trigger-empty,
.curators-genre-trigger-text {
  flex: 0 0 auto;
}

.curators-genre-trigger-text,
.curators-genre-trigger-empty {
  color: #f3f3f3;
  font-size: 14px;
  line-height: 1.2;
}

.curators-genre-trigger-tag {
  display: none;
}

.curators-genre-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: max-content;
  min-width: 100%;
  max-width: min(calc(100vw - 24px), 980px);
  padding: 10px;
  border: 1px solid rgba(132, 170, 251, 1);
  border-radius: 8px;
  background-color: rgba(53, 53, 60, 0.55);
  background-image: var(--grain-bg);
  background-size: 20px 20px;
  background-blend-mode: overlay;
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
  display: none;
  z-index: 35;
}

.curators-genre-select.is-open .curators-genre-dropdown {
  display: block;
}

.curators-genre-filters {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  grid-auto-flow: row;
  gap: 8px 10px;
  max-height: min(320px, calc(100vh - 48px));
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2px 12px 4px 2px;
  min-width: 0;
  align-content: start;
  scrollbar-gutter: stable;
}

    .curators-genre-filters > * {
  min-width: 0;
}

@media (max-width: 1200px) {
  .curators-genre-filters {
    grid-template-columns: repeat(2, max-content);
  }
}

@media (max-width: 900px) {
  .curators-genre-filters {
    grid-template-columns: 1fr;
  }
}
    
.curators-genre-filters::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.curators-genre-filters::-webkit-scrollbar-track {
  background: #282626;
  border-radius: 999px;
}

.curators-genre-filters::-webkit-scrollbar-thumb {
  background: #383838;
  border-radius: 999px;
  border: 2px solid #282626;
}

.curators-genre-filters::-webkit-scrollbar-button {
  display: none;
}

.curator-genre-option {
  min-width: 0;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  color: #f3f3f3;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
  box-sizing: border-box;
}

.curator-genre-option:hover {
  border-color: rgba(132, 170, 251, 0.65);
}

.curator-genre-option.is-active {
  border-color: rgba(132, 170, 251, 0.95);
  background: rgba(132, 170, 251, 0.16);
}

.curator-genre-checkbox-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.curator-genre-checkbox {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(132, 170, 251, 0.55);
  background: #282626;
  box-sizing: border-box;
}

.curator-genre-option.is-active .curator-genre-checkbox {
  background: #282626;
  border-color: rgba(132, 170, 251, 0.95);
}

.curator-genre-option.is-active .curator-genre-checkbox::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #84aafb;
  transform: translate(-50%, -50%);
}

.curator-genre-option-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.2;
}

.curator-genre-option-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.curators-results-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  scrollbar-gutter: stable;
}

.curators-results-scroll::-webkit-scrollbar {
  width: 12px;
}

.curators-results-scroll::-webkit-scrollbar-track {
  background: #282626;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.curators-results-scroll::-webkit-scrollbar-thumb {
  background: #383838;
  border-top-left-radius: 0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 0;
  border: 2px solid #282626;
}

.curators-results-scroll::-webkit-scrollbar-button {
  display: none;
}

.curators-summary,
.curators-no-results {
  display: none;
  font-size: 14px;
  line-height: 1.45;
}

.curators-catalog-controls .curators-summary {
  margin: 0;
  flex: 1 1 auto;
}

.curators-results-scroll .curators-no-results {
  margin: 0 0 12px;
}

.curators-summary.show,
.curators-no-results.show {
  display: block;
}

.curators-summary {
  color: var(--muted);
}

.curators-no-results {
  color: var(--text);
}

.curators-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 1180px) {
  .curators-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .curators-sort-field,
  .curators-genres-field,
  .curators-followers-field,
  .curators-search-field {
    flex: 1 1 280px;
    min-width: 220px;
  }
  .curators-search-field { max-width: none; width: auto; margin-left: 0; }
}

@media (max-width: 980px) {
  .curators-sort-field,
  .curators-genres-field,
  .curators-followers-field,
  .curators-search-field {
    flex: 1 1 100%;
    min-width: 0;
  }
  .curators-search-field { max-width: none; width: auto; margin-left: 0; }

  .curators-genre-filters {
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-auto-columns: auto;
    max-height: 220px;
  }

  .curators-results-scroll {
    padding: 12px;
  }
}

.curator-catalog-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(53, 53, 60, 0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px;
  background-image: var(--grain-bg);
  background-size: 20px 20px;
  background-blend-mode: overlay;
  min-width: 0;
}

.curator-catalog-avatar-wrap {
  width: 74px;
  flex: 0 0 74px;
}

.curator-catalog-avatar-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.curator-catalog-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  overflow: hidden;
  background: #222;
}

