body {
  overflow-y: auto;
}

.pageMain--search {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  overflow: visible;
}

.panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  overflow: visible;
}

.panelHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.panelHead h2 {
  margin: 0;
  font-size: 18px;
}

.panelSub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.panelBody {
  padding: 18px;
}

.advancedSearchForm {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: flex-end;
}

.searchField {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 0 0 auto;
}

.searchField--wide {
  min-width: 260px;
  flex: 1 1 280px;
}

.searchField label {
  font-size: 14px;
  opacity: 0.75;
  color: var(--muted);
  font-weight: 600;
}

.searchWrap--field {
  width: 100%;
}

.searchWrap--field input[type="search"] {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: none;
  font-size: 14px;
}

.searchField input[type="search"],
.searchField select {
  width: auto;
  min-width: 130px;
  max-width: 220px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
}

.searchField--wide input,
.searchField--wide .searchWrap--field {
  width: 100%;
  max-width: none;
}

.searchField select,
.searchField select option {
  background-color: #111827;
  color: #e5e7eb;
}

.searchField input:focus,
.searchField select:focus,
.searchWrap--field:focus-within {
  outline: none;
  border-color: rgba(96, 165, 250, 0.75);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.16);
}

.searchActions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  margin-left: auto;
}

#resetBtn {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid var(--stroke);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

#resetBtn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.summaryBadges--filters {
  justify-content: flex-end;
}

.summaryBadges--filters .pill {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
}

.panelBody--results {
  padding-top: 12px;
  min-height: 0;
  overflow: visible;
}

.tableWrap {
  width: 100%;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.memberTuneTable {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
  background: rgba(255, 255, 255, 0.025);
}

.memberTuneTable th,
.memberTuneTable td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  vertical-align: middle;
  text-align: left;
  font-size: 13px;
}

.memberTuneTable th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(15, 23, 32, 0.98);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.memberTuneTable tbody tr:hover {
  background: rgba(96, 165, 250, 0.08);
}

.colTune {
  min-width: 300px;
}

.colActions {
  min-width: 150px;
}

.tuneCell {
  min-width: 300px;
}

.tuneNameLine {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.tuneMainLink {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.35;
}

.tuneMainLink:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.tuneSubLine {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.matrixHead,
.matrixCell {
  text-align: center !important;
}

.matrixDot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}

.matrixDot.is-on {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.36);
  color: #bbf7d0;
}

.matrixLink {
  text-decoration: none;
}

.matrixLink:hover .matrixDot.is-on {
  background: rgba(96, 165, 250, 0.2);
  border-color: rgba(96, 165, 250, 0.42);
  color: #bfdbfe;
}

.albumBadge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.28);
  color: #fde68a;
  font-size: 12px;
  font-weight: 800;
}

.actionLinks {
  display: table-cell;
  white-space: nowrap;
}

.actionLinks a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-right: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #93c5fd;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.actionLinks a:hover {
  background: rgba(96, 165, 250, 0.14);
  border-color: rgba(96, 165, 250, 0.28);
  color: var(--text);
}

.emptyState,
.errorState,
.loadingState {
  padding: 10px 0;
  color: var(--muted);
  font-size: 14px;
}

.errorState {
  color: #fca5a5;
}

.trackOverviewLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.trackOverviewDot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fde68a, #f59e0b);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.5), 0 0 6px rgba(245, 158, 11, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.trackOverviewLink:hover .trackOverviewDot {
  transform: scale(1.15);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.7), 0 0 10px rgba(245, 158, 11, 0.9);
}

@media (max-width: 900px) {
  .advancedSearchForm {
    align-items: stretch;
  }

  .searchField,
  .searchField--wide {
    flex: 1 1 calc(50% - 12px);
    min-width: 180px;
  }

  .searchActions {
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .panelHead {
    flex-direction: column;
  }

  .summaryBadges--filters {
    justify-content: flex-start;
  }

  .panelBody,
  .panelHead {
    padding-left: 14px;
    padding-right: 14px;
  }

  .searchField,
  .searchField--wide {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .searchField select {
    width: 100%;
    max-width: none;
  }

  .searchActions {
    flex: 1 1 100%;
  }

  .memberTuneTable {
    min-width: 860px;
  }
}

.starRating {
  display: inline-flex;
  gap: 1px;
  white-space: nowrap;
}

.star {
  font-size: 14px;
  line-height: 1;
}

.star.is-filled {
  color: #facc15;
  text-shadow: 0 0 6px rgba(250, 204, 21, 0.35);
}

.star.is-empty {
  color: rgba(148, 163, 184, 0.35);
}

.sortableTh {
  cursor: pointer;
  user-select: none;
}

.sortableTh::after {
  content: "↕";
  margin-left: 6px;
  opacity: 0.35;
  font-size: 11px;
}

.sortableTh.is-asc::after {
  content: "↑";
  opacity: 0.9;
  color: #93c5fd;
}

.sortableTh.is-desc::after {
  content: "↓";
  opacity: 0.9;
  color: #93c5fd;
}

.sessionLogoAction {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  margin-right: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #93c5fd;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.sessionLogoAction img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.sessionLogoAction:hover {
  background: rgba(96, 165, 250, 0.14);
  border-color: rgba(96, 165, 250, 0.28);
  color: var(--text);
}

.typePill,
.modePill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  white-space: nowrap;
}

.typePill {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.28);
  color: #fde68a;
}

.modePill {
  background: rgba(167, 139, 250, 0.14);
  border-color: rgba(167, 139, 250, 0.28);
  color: #ddd6fe;
}