/* ═══════════════════════════════════════════════════════
   explore.css — Musio Halaman Jelajahi
═══════════════════════════════════════════════════════ */

/* ── VIEW ── */
#v-explore {
  padding-top: 0;
}

/* ── STICKY SEARCH BAR ── */
.exp-search-wrap {
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 18px 14px;
  background: rgba(10, 10, 20, 1);
  margin: -16px -18px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.exp-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
}

.exp-search-bar i {
  color: rgba(0, 0, 0, 0.5);
  font-size: 15px;
  flex-shrink: 0;
}

.exp-search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #000;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.exp-search-bar input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.exp-search-clear {
  background: none;
  border: none;
  color: rgba(0, 0, 0, 0.4);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  display: none;
  flex-shrink: 0;
  min-width: 28px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.exp-search-clear.show {
  display: flex;
}

/* ── SECTION LABEL ── */
.exp-section-label {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.3px;
  margin: 20px 0 12px;
  color: #fff;
}

/* ═══════════════════════════════════════
   MOOD ROW
═══════════════════════════════════════ */
.exp-mood-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.exp-mood-row::-webkit-scrollbar { display: none; }

.exp-mood-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  border: none;
  color: #fff;
  transition: transform 0.15s ease, opacity 0.15s ease;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.exp-mood-chip:active {
  transform: scale(0.93);
  opacity: 0.85;
}
.exp-mood-chip .chip-icon {
  font-size: 16px;
  line-height: 1;
}

/* ═══════════════════════════════════════
   GENRE GRID (2-column cards)
═══════════════════════════════════════ */
.exp-genre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-bottom: 16px;
}

.exp-genre-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding: 16px 14px 14px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  user-select: none;
}
.exp-genre-card:active {
  transform: scale(0.95);
}

.exp-genre-card-emoji {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 38px;
  opacity: 0.35;
  line-height: 1;
  transform: rotate(12deg);
  pointer-events: none;
}

.exp-genre-card-name {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.exp-genre-card-count {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════
   SEARCH STATE: pills + song list
═══════════════════════════════════════ */
#exp-search-state {
  padding-top: 8px;
}

/* ── GENRE PILLS (search mode only) ── */
.pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pills::-webkit-scrollbar { display: none; }

.pill {
  flex-shrink: 0;
  padding: 7px 15px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid var(--border);
  color: var(--txt2);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.pill.active {
  background: rgba(124, 106, 255, 0.2);
  border-color: var(--accent);
  color: var(--accent2);
}
.pill:active {
  transform: scale(0.94);
  opacity: 0.8;
}

/* Search result count label */
.exp-result-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--txt3);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding: 0 2px;
}
