/* ══════════════════════════════════════════════════════════════════════════
   BROWSE.CSS — Pluviax Artist Directory
   Inherits: styles.css (tokens, navbar, buttons, footer, art-viewer)
   Aesthetic: glassmorphism, sky blue, "calm after rain"
   ════════════════════════════════════════════════════════════════════════ */

/* ── NAV ACTIVE STATE ──────────────────────────────────────────────────── */
.nav-active {
  color: var(--primary) !important;
}
.nav-active::after {
  width: 100% !important;
}

/* ══ BROWSE HERO ══════════════════════════════════════════════════════════ */
.browse-hero {
  position: relative;
  z-index: 2;
  padding: 130px 8% 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.browse-hero-content h1 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.1;
  color: var(--ink);
  text-shadow:
    0 2px 24px rgba(255, 255, 255, 0.9),
    0 6px 50px rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}

.browse-hero-content .hero-sub {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--ink-mid);
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 0;
}

/* Stats row */
.browse-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 14px 32px;
  box-shadow:
    0 8px 32px rgba(10, 40, 80, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.browse-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.browse-stat-num {
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  color: var(--primary);
  line-height: 1;
}
.browse-stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.browse-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(59, 158, 255, 0.18);
}

/* ══ BROWSE BODY ══════════════════════════════════════════════════════════ */
.browse-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 0 8% 80px;
  align-items: start;
}

/* ══ FILTER SIDEBAR ═══════════════════════════════════════════════════════ */
.browse-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-panel {
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow:
    0 4px 20px rgba(10, 40, 80, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.filter-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.filter-panel-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.filter-clear-btn {
  background: none;
  border: none;
  font-family: "Nunito", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.filter-clear-btn:hover {
  opacity: 1;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-chip {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(59, 158, 255, 0.2);
  background: rgba(255, 255, 255, 0.55);
  font-family: "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.18s ease;
  backdrop-filter: blur(6px);
}
.filter-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(59, 158, 255, 0.08);
}
.filter-chip.active {
  border-color: var(--primary);
  background: linear-gradient(
    135deg,
    rgba(59, 158, 255, 0.15),
    rgba(114, 192, 255, 0.1)
  );
  color: var(--primary);
  box-shadow: 0 0 0 1px rgba(59, 158, 255, 0.25);
}

.filter-reset-all {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1.5px dashed rgba(59, 158, 255, 0.3);
  background: transparent;
  font-family: "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-reset-all:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(59, 158, 255, 0.06);
}

/* ══ RESULTS AREA ═════════════════════════════════════════════════════════ */
.browse-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.results-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 2px 12px rgba(10, 40, 80, 0.06);
}
.results-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-mid);
}
.results-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sort-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
}
.sort-select {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1.5px solid rgba(59, 158, 255, 0.2);
  background: rgba(255, 255, 255, 0.7);
  font-family: "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.sort-select:focus {
  border-color: var(--primary);
}

/* ══ ARTIST CARDS GRID ════════════════════════════════════════════════════ */
.artist-browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

/* ── Artist card ── */
.artist-browse-card {
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    0 4px 20px rgba(10, 40, 80, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease;
  position: relative;
  animation: cardFadeIn 0.4s ease both;
}
.artist-browse-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 20px 50px rgba(10, 40, 80, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.5);
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animation per card */
.artist-browse-card:nth-child(1) {
  animation-delay: 0.04s;
}
.artist-browse-card:nth-child(2) {
  animation-delay: 0.08s;
}
.artist-browse-card:nth-child(3) {
  animation-delay: 0.12s;
}
.artist-browse-card:nth-child(4) {
  animation-delay: 0.16s;
}
.artist-browse-card:nth-child(5) {
  animation-delay: 0.2s;
}
.artist-browse-card:nth-child(6) {
  animation-delay: 0.24s;
}
.artist-browse-card:nth-child(7) {
  animation-delay: 0.28s;
}
.artist-browse-card:nth-child(8) {
  animation-delay: 0.32s;
}
.artist-browse-card:nth-child(9) {
  animation-delay: 0.36s;
}
.artist-browse-card:nth-child(10) {
  animation-delay: 0.4s;
}
.artist-browse-card:nth-child(11) {
  animation-delay: 0.44s;
}
.artist-browse-card:nth-child(12) {
  animation-delay: 0.48s;
}

/* Card shimmer on hover */
.artist-browse-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  z-index: 3;
  pointer-events: none;
  border-radius: 22px;
}
.artist-browse-card:hover::before {
  transform: translateX(100%);
}

/* Avatar area */
.abc-avatar-area {
  position: relative;
  height: 68px;
  background: linear-gradient(
    135deg,
    rgba(59, 158, 255, 0.12),
    rgba(114, 192, 255, 0.08)
  );
  overflow: visible;
  flex-shrink: 0;
}
.abc-cover {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}
.artist-browse-card:hover .abc-cover {
  opacity: 0.75;
}
.abc-cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(255, 255, 255, 0.58) 100%
  );
  pointer-events: none;
}
.abc-avatar {
  position: absolute;
  bottom: -18px;
  left: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.95);
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(10, 40, 80, 0.18);
  background: rgba(59, 158, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Serif Display", serif;
  font-size: 16px;
  color: var(--primary);
  flex-shrink: 0;
  overflow: hidden;
}
.abc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.abc-status-dot {
  position: absolute;
  bottom: -16px;
  left: 42px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid white;
  background: #34c98a;
  z-index: 2;
}
.abc-status-dot.closed {
  background: #aaa;
}

/* Card body */
.abc-body {
  padding: 24px 14px 12px;
}
.abc-name {
  font-family: "DM Serif Display", serif;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.abc-handle {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  opacity: 0.8;
}
.abc-medium {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  background: rgba(59, 158, 255, 0.1);
  border: 1px solid rgba(59, 158, 255, 0.22);
  color: var(--primary);
  border-radius: 999px;
  padding: 1px 8px;
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.abc-bio {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  min-height: 34px;
}

/* Card footer */
.abc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px 11px;
  border-top: 1px solid rgba(59, 158, 255, 0.08);
}
.abc-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  flex: 1;
}
.abc-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--ink-muted);
  letter-spacing: 0.03em;
}
.abc-commission-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.abc-commission-badge.open {
  background: rgba(52, 201, 138, 0.14);
  border: 1px solid rgba(52, 201, 138, 0.3);
  color: #1a7a52;
}
.abc-commission-badge.closed {
  background: rgba(170, 170, 170, 0.12);
  border: 1px solid rgba(170, 170, 170, 0.22);
  color: #888;
}

/* ── Skeleton loader ── */
.artist-browse-card.skeleton {
  pointer-events: none;
  height: 220px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.45) 25%,
    rgba(200, 225, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.45) 75%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.6s ease infinite;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
@keyframes skeletonShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ══ EMPTY STATE ══════════════════════════════════════════════════════════ */
.browse-empty {
  text-align: center;
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.browse-empty-icon {
  font-size: 52px;
  opacity: 0.5;
}
.browse-empty h3 {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  color: var(--ink);
}
.browse-empty p {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ══ PAGINATION ═══════════════════════════════════════════════════════════ */
.browse-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
}
.page-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(59, 158, 255, 0.22);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  font-family: "Nunito", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-mid);
  cursor: pointer;
  transition: all 0.2s;
}
.page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.85);
}
.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.page-nums {
  display: flex;
  gap: 4px;
}
.page-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(59, 158, 255, 0.18);
  background: rgba(255, 255, 255, 0.55);
  font-family: "Nunito", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
}
.page-num:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.page-num.active {
  background: linear-gradient(135deg, #3b9eff, #72c0ff);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 158, 255, 0.35);
}

/* ══ MOBILE ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .browse-body {
    grid-template-columns: 1fr;
    padding: 0 5% 60px;
  }
  .browse-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .filter-panel {
    flex: 1 1 200px;
  }
  .artist-browse-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
  .browse-hero {
    padding: 110px 5% 40px;
  }
  .browse-stats {
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 20px;
  }
}

@media (max-width: 600px) {
  .browse-stats {
    display: none;
  }
  .artist-browse-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .browse-hero-content h1 {
    font-size: 32px;
  }
  .results-topbar {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   BROWSE PAGE — MOBILE RESPONSIVE + ANIMATIONS
   ══════════════════════════════════════════════════════════════════════════════ */

/* Artist card hover */
.artist-browse-card {
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease,
    border-color 0.2s ease;
}
.artist-browse-card:not(.skeleton):hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(10, 40, 80, 0.14);
  border-color: rgba(59, 158, 255, 0.3);
}

/* Filter chip animation */
.filter-chip {
  transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.filter-chip.active {
  transform: scale(1.04);
}
.filter-chip:hover:not(.active) {
  transform: translateY(-1px);
}

/* Page button hover */
.page-btn {
  transition: all 0.18s ease;
}
.page-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 40, 80, 0.1);
}

@media (max-width: 900px) {
  .browse-body {
    flex-direction: column;
    padding: 0 16px 40px;
  }
  .browse-sidebar {
    width: 100%;
    position: static;
    top: auto;
  }
  .filter-panel {
    margin-bottom: 12px;
  }
  .filter-group {
    flex-wrap: wrap;
    gap: 6px;
  }
  .artist-browse-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }
  .browse-hero {
    padding: 80px 20px 28px;
  }
  .browse-hero h1 {
    font-size: clamp(28px, 6vw, 48px);
  }
}

@media (max-width: 600px) {
  .browse-sidebar {
    display: none; /* collapse sidebar into top filter row */
  }
  .browse-results {
    padding: 0;
  }
  .artist-browse-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .results-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .browse-hero-content h1 {
    font-size: 28px;
  }
  .browse-stats {
    gap: 12px;
  }
  .browse-stat-divider {
    display: none;
  }
}

@media (max-width: 380px) {
  .artist-browse-grid {
    grid-template-columns: 1fr;
  }
}

/* ── SUBCATEGORY CHIPS (second-tier filter) ──────────────────────────────── */
.subcat-chip {
  border-radius: 8px !important; /* square-ish vs rounded top-level */
  font-size: 11px !important;
  padding: 4px 10px !important;
  background: transparent !important;
  border: 1.5px solid rgba(59, 158, 255, 0.3) !important;
  color: var(--browse-text-muted, #5a7a96) !important;
  font-weight: 600 !important;
  transition: all 0.15s !important;
}
.subcat-chip:hover {
  border-color: var(--browse-accent, #3b9eff) !important;
  color: var(--browse-accent, #3b9eff) !important;
  background: rgba(59, 158, 255, 0.06) !important;
}
.subcat-chip.active {
  background: rgba(59, 158, 255, 0.12) !important;
  border-color: var(--browse-accent, #3b9eff) !important;
  color: var(--browse-accent, #3b9eff) !important;
}
/* ── BROWSE SEARCH INLINE DROPDOWN ──────────────────────────────────────────── */
.browse-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 158, 255, 0.18);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(10, 40, 80, 0.14);
  z-index: 999;
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
}
.bsd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.12s;
  border-bottom: 1px solid rgba(59, 158, 255, 0.06);
}
.bsd-item:last-child {
  border-bottom: none;
}
.bsd-item:hover {
  background: rgba(59, 158, 255, 0.06);
}
/* ── Vibe Line (presence · vibe tag · ritual) on artist cards ─── */
.abc-vibe-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-family: "Nunito", sans-serif;
  font-size: 11.5px;
  line-height: 1.4;
}
.abc-presence {
  font-family: "Nunito", sans-serif;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  color: #3a9eff;
  background: rgba(59, 158, 255, 0.1);
  border: 1px solid rgba(59, 158, 255, 0.2);
  border-radius: 20px;
  padding: 1px 8px;
  white-space: nowrap;
}
.abc-vibe {
  font-family: "Nunito", sans-serif;
  font-size: 11px;
  font-weight: 600;
  font-style: italic;
  color: rgba(11, 28, 46, 0.65);
  white-space: nowrap;
}
.abc-ritual {
  font-family: "Nunito", sans-serif;
  font-size: 11px;
  font-weight: 500;
  font-style: italic;
  color: rgba(11, 28, 46, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.abc-vibe-sep {
  font-family: "Nunito", sans-serif;
  font-size: 10px;
  color: rgba(11, 28, 46, 0.3);
  font-style: normal;
  user-select: none;
}
/* ══════════════════════════════════════════════════════════════════════════
   NIGHT / GOLDEN — BROWSE PAGE OVERRIDES
   ══════════════════════════════════════════════════════════════════════════ */

/* Night: search input inside browse hero */
[data-tod="night"] .browse-search-input {
  background: rgba(12, 20, 65, 0.8) !important;
  border-color: rgba(60, 90, 200, 0.45) !important;
  color: rgba(210, 225, 255, 0.95) !important;
}
[data-tod="night"] .browse-search-input::placeholder {
  color: rgba(110, 150, 220, 0.55) !important;
}
[data-tod="night"] .search-icon path {
  stroke: rgba(120, 160, 255, 0.65) !important;
}

/* Night: browse stats row */
[data-tod="night"] .browse-stats {
  background: rgba(10, 18, 55, 0.65) !important;
  border-color: rgba(60, 90, 200, 0.3) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 30, 0.35),
    inset 0 1px 0 rgba(100, 140, 255, 0.15) !important;
}
[data-tod="night"] .browse-stat {
  background: transparent !important;
  border: none !important;
}

/* Night: left sidebar filter panel full override */
[data-tod="night"] .filter-sidebar {
  background: rgba(8, 14, 48, 0.82) !important;
  border-color: rgba(50, 75, 180, 0.3) !important;
}
[data-tod="night"] .filter-section {
  border-color: rgba(40, 60, 150, 0.2) !important;
}
[data-tod="night"] .filter-section-title,
[data-tod="night"] .filter-section > span,
[data-tod="night"] .filter-label {
  color: rgba(140, 175, 235, 0.8) !important;
}
[data-tod="night"] .availability-badge,
[data-tod="night"] .location-chip {
  background: rgba(15, 25, 75, 0.65) !important;
  border-color: rgba(70, 100, 210, 0.35) !important;
  color: rgba(175, 205, 255, 0.88) !important;
}

/* Night: inline search dropdown */
[data-tod="night"] #browseSearchDropdown,
[data-tod="night"] #globalSearchDropdown {
  background: rgba(10, 18, 55, 0.96) !important;
  border-color: rgba(60, 90, 200, 0.35) !important;
}
[data-tod="night"] .bsd-item {
  border-color: rgba(40, 60, 150, 0.15) !important;
  color: rgba(210, 225, 255, 0.9) !important;
}
[data-tod="night"] .bsd-item:hover {
  background: rgba(30, 50, 140, 0.4) !important;
}
[data-tod="night"] .bsd-item-name {
  color: rgba(215, 230, 255, 0.95) !important;
}
[data-tod="night"] .bsd-item-meta {
  color: rgba(140, 175, 235, 0.7) !important;
}

/* Night: vibe line on cards */
[data-tod="night"] .abc-vibe-sep {
  color: rgba(80, 110, 200, 0.45) !important;
}
[data-tod="night"] .abc-ritual {
  color: rgba(140, 175, 235, 0.65) !important;
}
[data-tod="night"] .abc-presence {
  background: rgba(30, 50, 140, 0.45) !important;
  border-color: rgba(80, 120, 255, 0.3) !important;
  color: rgba(140, 185, 255, 0.9) !important;
}

/* Night: commission badge on cards */
[data-tod="night"] .abc-commission-badge.open {
  background: rgba(10, 50, 30, 0.7) !important;
  color: rgba(100, 220, 150, 0.95) !important;
}
[data-tod="night"] .abc-commission-badge.closed {
  background: rgba(30, 25, 50, 0.65) !important;
  color: rgba(160, 150, 200, 0.8) !important;
}

/* Night: Trusted badge */
[data-tod="night"] .trusted-badge {
  background: rgba(40, 30, 80, 0.7) !important;
  color: rgba(200, 180, 255, 0.9) !important;
}

/* ══════════════════════════════════════════════════════════════════════════════
   PERFORMANCE: will-change for browse page GPU-composited elements
   ══════════════════════════════════════════════════════════════════════════════ */

/* Artist cards — hover lift */
.artist-browse-card {
  will-change: transform;
}

/* Card images — scale on hover */
.artist-browse-card img,
.abc-cover img {
  will-change: transform;
}

/* Showcase items */
.showcase-item {
  will-change: transform;
}

/* Filter chips — hover transform */
.filter-chip {
  will-change: transform, background;
}

/* Skeleton shimmer */
.skeleton-card {
  will-change: opacity;
}
