.preview-mini-progress-track,
.preview-mini-progress-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 6px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.preview-mini-progress-track {
  width: 100%;
  background: rgba(255,255,255,0.12);
}

.preview-mini-progress-fill {
  width: 0%;
  background: linear-gradient(90deg, rgba(132, 170, 251, 0.95) 0%, rgba(215, 218, 139, 0.95) 100%);
}

.preview-mini-progress-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #f3f3f3;
  box-shadow: 0 0 0 2px rgba(132, 170, 251, 0.35);
  transform: translate(-50%, -50%);
}

.preview-mini-time {
  min-width: 54px;
  text-align: right;
  font-size: 13px;
  line-height: 1;
  color: #f3f3f3;
  font-variant-numeric: tabular-nums;
}

.preview-cover-lightbox {
  position: fixed;
  inset: 0;
  z-index: 25050;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.preview-cover-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.preview-cover-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 14, 0.78);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.preview-cover-lightbox-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 120px;
  height: 120px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  transform-origin: center center;
  transition: left 0.32s cubic-bezier(0.22, 1, 0.36, 1), top 0.32s cubic-bezier(0.22, 1, 0.36, 1), width 0.32s cubic-bezier(0.22, 1, 0.36, 1), height 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-radius 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
}

.preview-cover-lightbox-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-cover-lightbox.is-open .preview-cover-lightbox-stage {
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
}

@media (max-width: 760px) {
  .preview-mini-player {
    width: calc(100vw - 16px);
    bottom: 8px;
  }

  .preview-mini-shell {
    padding: 10px;
  }

  .preview-mini-top {
    gap: 10px;
    padding-right: 36px;
  }

  .preview-mini-cover {
    width: 74px;
    min-width: 74px;
    border-radius: 10px;
  }

  .preview-mini-main {
    gap: 8px;
  }

  .preview-mini-controls-row {
    gap: 8px;
  }

  .preview-mini-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .preview-mini-btn.play-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .preview-mini-progress {
    min-width: 64px;
  }

  .preview-mini-volume {
    min-width: 84px;
    flex-basis: 84px;
    gap: 6px;
  }

  .preview-mini-time {
    min-width: 46px;
    font-size: 12px;
  }

  .preview-mini-jump-wrap {
    right: 42px;
  }

  .preview-mini-player.has-jump-target .preview-mini-meta {
    padding-right: 72px;
  }
}


.custom-select.catalog-ui-select {
  background: transparent;
  background-image: none;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}

.custom-select.catalog-ui-select:hover,
.custom-select.catalog-ui-select.open,
.custom-select.catalog-ui-select.floating-open {
  border-color: transparent;
}

.custom-select.catalog-ui-select .selected {
  width: 100%;
  height: 42px;
  min-height: 42px;
  padding: 0 34px 0 10px;
  border: 1px solid rgba(132, 170, 251, 0.5);
  border-radius: 8px;
  background: rgba(53, 53, 60, 0.55);
  background-image: var(--grain-bg);
  background-size: 160px 160px;
  background-blend-mode: overlay;
  box-sizing: border-box;
  color: #f3f3f3;
  display: flex;
  align-items: center;
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.custom-select.catalog-ui-select:hover .selected,
.custom-select.catalog-ui-select.open .selected,
.custom-select.catalog-ui-select.floating-open .selected {
  border-color: rgba(132, 170, 251, 1);
  background-color: rgba(53, 53, 60, 0.55);
}

.custom-select.catalog-ui-select .selected::after {
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.custom-select.catalog-ui-select.open .selected::after,
.custom-select.catalog-ui-select.floating-open .selected::after {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select.catalog-ui-select .options-container,
.custom-select-floating {
  border: 1px solid rgba(132, 170, 251, 1);
  border-radius: 8px;
  padding: 6px;
}

.custom-select.catalog-ui-select .option,
.custom-select-floating .option {
  padding: 9px 10px;
  border-radius: 8px;
}

.custom-select.catalog-ui-select .option:hover,
.custom-select-floating .option:hover {
  background: rgba(132, 170, 251, 0.10);
}

.custom-select.catalog-sort-dir-select,
.custom-select.catalog-ui-select.catalog-ui-select--dir {
  width: fit-content;
  min-width: 0;
  height: 42px;
  min-height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  vertical-align: middle;
}

.custom-select.catalog-sort-dir-select .selected,
.custom-select.catalog-ui-select.catalog-ui-select--dir .selected {
  width: auto;
  min-width: 0;
  height: 42px;
  min-height: 42px;
  padding: 0 34px 0 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.custom-select.catalog-sort-dir-select .options-container,
.custom-select.catalog-ui-select.catalog-ui-select--dir .options-container {
  width: max-content;
  min-width: 100%;
  left: auto;
  right: 0;
}

.playlist-catalog-panel .playlist-genre-select,
.curators-catalog-panel .curators-genre-select,
.events-controls .custom-select.catalog-ui-select,
.events-controls .custom-select.catalog-ui-select .selected,
.events-type-trigger,
.artist-search-track-toolbar .custom-select.catalog-ui-select,
.artist-search-track-toolbar .custom-select.catalog-ui-select .selected {
  height: 42px;
  min-height: 42px;
  box-sizing: border-box;
}

.playlist-catalog-panel .playlist-genre-trigger,
.curators-catalog-panel .curators-genre-trigger {
  height: 40px;
  min-height: 40px;
  box-sizing: border-box;
}

.playlist-catalog-panel .playlist-genre-select,
.curators-catalog-panel .curators-genre-select,
.playlist-catalog-panel .playlist-filter-trigger,
.curators-catalog-panel .playlist-filter-trigger,
.events-type-trigger {
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.playlist-catalog-panel .playlist-genre-select:hover,
.playlist-catalog-panel .playlist-genre-select.is-open,
.curators-catalog-panel .curators-genre-select:hover,
.curators-catalog-panel .curators-genre-select.is-open,
.playlist-catalog-panel .playlist-filter-trigger:hover,
.playlist-catalog-panel .playlist-filter-select.is-open .playlist-filter-trigger,
.curators-catalog-panel .playlist-filter-trigger:hover,
.curators-catalog-panel .playlist-filter-select.is-open .playlist-filter-trigger,
.events-type-filter-select:hover .events-type-trigger,
.events-type-filter-select.is-open .events-type-trigger {
  border-color: rgba(132, 170, 251, 1);
}

.artist-search-track-toolbar .custom-select.catalog-ui-select.artist-search-track-sort-dir,
.artist-search-track-toolbar .custom-select.catalog-ui-select.catalog-ui-select--dir.artist-search-track-sort-dir {
  align-self: stretch;
}

.charts-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 2px;
}

.charts-main-title {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
}

.charts-title-wrap {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.placement-info-open-btn {
  height: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(132, 170, 251, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(132, 170, 251, 0.14) 0%, rgba(53, 53, 60, 0.58) 100%);
  background-color: rgba(53, 53, 60, 0.72);
  background-image: var(--grain-bg), linear-gradient(180deg, rgba(132, 170, 251, 0.14) 0%, rgba(53, 53, 60, 0.58) 100%);
  background-size: 20px 20px, 100% 100%;
  background-blend-mode: overlay, normal;
  color: #f3f3f3;
  font-family: var(--app-font-family);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 8px 22px rgba(0,0,0,0.16);
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

