/**
 * Culture Congo MP3 — UI plateforme (mobile-first, dark premium).
 */

:root {
  --mp3-dark: #0a0e14;
  --mp3-dark-soft: #121820;
  --mp3-dark-card: #171f2a;
  --mp3-gold: #d4a017;
  --mp3-gold-light: #f0c14d;
  --mp3-congo-red: #c41e3a;
  --mp3-congo-red-soft: #e63950;
  --mp3-bottom-nav-h: 62px;
  --mp3-sidebar-w: 272px;
  --mp3-sidebar-w-collapsed: 70px;
  --mp3-player-h: 76px;
  --mp3-player-seek-h: 4px;
  --mp3-player-shell-h: calc(var(--mp3-player-h) + 12px);
}

body.mp3-modern {
  padding-bottom: calc(var(--mp3-bottom-nav-h) + env(safe-area-inset-bottom, 0px));
}

body.mp3-modern.mp3-has-player {
  padding-bottom: calc(var(--mp3-bottom-nav-h) + var(--mp3-player-shell-h) + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 992px) {
  body.mp3-modern,
  body.mp3-modern.mp3-has-player {
    padding-bottom: calc(var(--mp3-player-shell-h) + 16px);
  }

  .mp3-bottom-nav {
    display: none;
  }
}

/* ── Hero premium ── */
.mp3-hero--premium {
  position: relative;
  overflow: hidden;
  border-radius: var(--mp3-radius);
  min-height: 360px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--mp3-dark) 0%, #1a1220 45%, #2a1018 100%);
  color: #fff;
  box-shadow: var(--mp3-shadow);
}

.mp3-hero--premium .mp3-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: blur(2px) saturate(1.2);
  transform: scale(1.08);
}

.mp3-hero--premium .mp3-hero__content {
  position: relative;
  z-index: 2;
  padding: 36px 28px 32px;
  max-width: 780px;
}

.mp3-hero--premium h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 14px;
}

.mp3-hero--premium h1 em {
  font-style: normal;
  color: var(--mp3-gold-light);
}

.mp3-hero--premium p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.mp3-hero--premium .mp3-hero__lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 12px;
}

.mp3-hero--premium .mp3-hero__creator {
  padding: 12px 14px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.98rem;
}

.mp3-hero--premium .mp3-hero__creator strong {
  color: var(--mp3-gold-light);
  font-weight: 600;
}

.mp3-hero--premium .mp3-hero__meta {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.mp3-hero--premium .mp3-hero__meta a {
  color: var(--mp3-gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mp3-hero--premium .mp3-hero__meta a:hover {
  color: #fff;
}

.mp3-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.18);
  color: var(--mp3-gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.mp3-btn--gold {
  background: linear-gradient(135deg, var(--mp3-gold) 0%, #b8860b 100%);
  color: #1a1200 !important;
  border: none;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.35);
}

.mp3-btn--gold:hover {
  filter: brightness(1.06);
  color: #1a1200 !important;
}

.mp3-btn--ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.mp3-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
}

.mp3-home {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Rails / carrousels ── */
.mp3-rail {
  margin-bottom: 28px;
  padding: 20px 0 8px;
}

.mp3-rail--dark {
  margin-left: -12px;
  margin-right: -12px;
  padding: 24px 12px 16px;
  background: linear-gradient(180deg, var(--mp3-dark) 0%, var(--mp3-dark-soft) 100%);
  border-radius: var(--mp3-radius);
  color: #eef2f6;
}

.mp3-rail--dark .mp3-rail__title,
.mp3-rail--dark .mp3-rail__lead {
  color: #eef2f6;
}

.mp3-rail--dark .mp3-rail__lead {
  color: rgba(238, 242, 246, 0.72);
}

.mp3-rail--dark .mp3-rail__more {
  color: var(--mp3-gold-light);
}

.mp3-rail__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 0 4px;
}

.mp3-rail__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.mp3-rail__lead {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: var(--mp3-text-muted);
}

.mp3-rail__more {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mp3-primary);
  white-space: nowrap;
}

.mp3-rail__scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 12px;
  scrollbar-width: none;
}

.mp3-rail__scroll::-webkit-scrollbar {
  display: none;
}

.mp3-rail__scroll.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.mp3-rail__scroll--artists .mp3-artist-card {
  flex: 0 0 150px;
  scroll-snap-align: start;
}

/* ── Tuiles morceaux ── */
.mp3-tile {
  flex: 0 0 148px;
  scroll-snap-align: start;
}

.mp3-tile__cover-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--mp3-dark-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mp3-tile:hover .mp3-tile__cover-wrap {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.mp3-tile__cover {
  display: block;
  width: 100%;
  height: 100%;
}

.mp3-tile__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp3-tile__rank {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 8px;
  background: rgba(196, 30, 58, 0.92);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp3-tile__play-btn,
.mp3-tile__fav-btn {
  position: absolute;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.mp3-tile__play-btn {
  right: 10px;
  bottom: 10px;
  width: 42px;
  height: 42px;
  background: var(--mp3-gold);
  color: #1a1200;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: scale(0.9);
}

.mp3-tile:hover .mp3-tile__play-btn,
.mp3-tile__play-btn:focus {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 991px) {
  .mp3-tile__play-btn {
    opacity: 1;
    transform: scale(1);
  }
}

.mp3-tile__fav-btn {
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.85rem;
  opacity: 0;
}

.mp3-tile:hover .mp3-tile__fav-btn,
.mp3-tile__fav-btn.is-active {
  opacity: 1;
}

.mp3-tile__fav-btn.is-active {
  background: var(--mp3-congo-red);
}

.mp3-tile__body {
  padding: 10px 2px 0;
}

.mp3-tile__title {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp3-rail:not(.mp3-rail--dark) .mp3-tile__title {
  color: var(--mp3-text);
}

.mp3-tile__artist {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp3-rail:not(.mp3-rail--dark) .mp3-tile__artist {
  color: var(--mp3-text-muted);
}

.mp3-tile__verified {
  color: var(--mp3-gold);
}

/* ── Lignes classement ── */
.mp3-rail__list,
.mp3-rail__list--page {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mp3-track-row {
  display: grid;
  grid-template-columns: 32px 36px 48px 1fr auto 36px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.2s;
}

.mp3-track-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mp3-rail:not(.mp3-rail--dark) .mp3-track-row:hover {
  background: var(--mp3-surface-muted);
}

.mp3-track-row__rank {
  font-weight: 700;
  color: var(--mp3-gold);
  text-align: center;
}

.mp3-track-row__play {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--mp3-primary);
  color: #fff;
  cursor: pointer;
}

.mp3-track-row__cover img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.mp3-track-row__title {
  display: block;
  font-weight: 600;
  color: inherit;
}

.mp3-track-row__artist {
  display: block;
  font-size: 0.82rem;
  color: var(--mp3-text-muted);
}

.mp3-rail--dark .mp3-track-row__artist {
  color: rgba(255, 255, 255, 0.6);
}

.mp3-track-row__stat {
  font-size: 0.82rem;
  color: var(--mp3-text-muted);
  min-width: 48px;
  text-align: right;
}

.mp3-track-row__fav {
  border: none;
  background: transparent;
  color: var(--mp3-text-muted);
  cursor: pointer;
}

.mp3-track-row__fav.is-active {
  color: var(--mp3-congo-red);
}

.mp3-track-row-group {
  display: flex;
  flex-direction: column;
}

.mp3-track-row__lyrics-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.08);
  color: var(--mp3-gold, #d4a017);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mp3-track-row__lyrics-btn:hover,
.mp3-track-row__lyrics-btn.is-open {
  background: rgba(212, 160, 23, 0.16);
  border-color: rgba(212, 160, 23, 0.55);
  color: var(--mp3-gold-light, #e8c04a);
}

.mp3-track-row__lyrics-panel {
  margin: 0 12px 12px 98px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--mp3-surface, #fff);
  border: 1px solid var(--mp3-border, rgba(0, 0, 0, 0.08));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.mp3-rail--dark .mp3-track-row__lyrics-panel {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.mp3-track-row__lyrics-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.mp3-track-row__lyrics-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mp3-primary, #ce1126);
  text-decoration: none;
}

.mp3-track-row__lyrics-link:hover {
  text-decoration: underline;
}

.mp3-track-detail__lyrics--compact {
  margin-top: 0;
}

.mp3-track-detail__lyrics--compact .mp3-track-detail__lyrics-title {
  margin: 0;
  font-size: 1rem;
}

.mp3-track-detail__lyrics--compact .mp3-lyrics-original {
  margin-bottom: 14px;
  padding: 16px 18px;
}

.mp3-track-detail__lyrics--compact .mp3-lyrics-original__body {
  font-size: 1rem;
  line-height: 1.75;
}

@media (max-width: 575px) {
  .mp3-track-row__lyrics-panel {
    margin-left: 12px;
  }
}

/* ── Page hero / tabs ── */
.mp3-page-hero {
  margin-bottom: 20px;
}

.mp3-page-hero h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.mp3-page-hero p {
  color: var(--mp3-text-muted);
  margin: 0;
}

.mp3-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 20px;
  padding-bottom: 4px;
}

.mp3-tabs__item {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--mp3-surface-muted);
  color: var(--mp3-text);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s, color 0.2s;
}

.mp3-tabs__item.is-active {
  background: linear-gradient(135deg, var(--mp3-congo-red) 0%, #8b1530 100%);
  color: #fff;
}

/* ── Player global ── */
.mp3-player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--mp3-bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  z-index: 1100;
  background: rgba(10, 14, 20, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(212, 160, 23, 0.22);
  color: #fff;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.mp3-player[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  .mp3-player {
    left: var(--mp3-sidebar-w);
    right: 0;
    width: auto;
    max-width: none;
    margin: 0;
  }

  body.mp3-modern:has(#nav.nav-xs) .mp3-player {
    left: var(--mp3-sidebar-w-collapsed);
  }
}

@media (min-width: 992px) {
  .mp3-player {
    bottom: 0;
  }
}

.mp3-player__seek {
  padding: 10px 14px 0;
  cursor: pointer;
  touch-action: none;
}

.mp3-player__seek-track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: visible;
}

.mp3-player__seek-track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 22px;
  cursor: pointer;
}

@media (pointer: coarse) {
  .mp3-player__seek {
    padding-top: 12px;
  }

  .mp3-player__seek-track {
    height: 8px;
  }
}

.mp3-player__seek-buffer,
.mp3-player__seek-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
}

.mp3-player__seek-buffer {
  background: rgba(255, 255, 255, 0.22);
}

.mp3-player__seek-fill {
  background: linear-gradient(90deg, var(--mp3-gold) 0%, var(--mp3-gold-light) 100%);
}

.mp3-player__seek-shimmer {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: mp3-seek-shimmer 2s linear infinite;
}

@keyframes mp3-seek-shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.mp3-player__seek-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  margin-left: -6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(212, 160, 23, 0.45);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.mp3-player:hover .mp3-player__seek-thumb,
.mp3-player.is-seeking .mp3-player__seek-thumb,
.mp3-player.is-playing .mp3-player__seek-thumb {
  opacity: 1;
}

.mp3-player__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 14px 12px;
  min-height: var(--mp3-player-h);
}

@media (min-width: 768px) {
  .mp3-player__inner {
    grid-template-columns: auto minmax(120px, 1fr) auto minmax(180px, 2fr) auto;
    grid-template-rows: 1fr;
    padding-inline: 18px;
  }
}

.mp3-player__meta {
  min-width: 0;
}

.mp3-player__times {
  display: none;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .mp3-player__times {
    display: flex;
    justify-content: center;
  }
}

.mp3-player__volume-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mp3-player__art {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
}

.mp3-player__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp3-player.is-playing .mp3-player__pulse {
  position: absolute;
  inset: -4px;
  border: 2px solid var(--mp3-gold);
  border-radius: 12px;
  animation: mp3-pulse 1.4s ease infinite;
}

@keyframes mp3-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.mp3-player__title {
  display: block;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp3-player__artist {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.mp3-player__controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mp3-player__btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.mp3-player__btn--main {
  width: 42px;
  height: 42px;
  background: var(--mp3-gold);
  color: #1a1200;
}

.mp3-player__progress-wrap {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .mp3-player__progress-wrap {
    grid-column: auto;
  }
}

.mp3-player__progress,
.mp3-player__volume {
  flex: 1;
  accent-color: var(--mp3-gold);
}

.mp3-player__time {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  min-width: 36px;
}

.mp3-player__extras {
  display: none;
}

@media (min-width: 768px) {
  .mp3-player__extras {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mp3-player__volume {
    width: 80px;
    flex: none;
  }
}

/* ── Bottom navigation ── */
.mp3-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  min-height: var(--mp3-bottom-nav-h);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(10, 14, 20, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}

.mp3-bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.mp3-bottom-nav__item i {
  font-size: 1.15rem;
}

.mp3-bottom-nav__item.is-active {
  color: var(--mp3-gold-light);
}

/* ── Toast ── */
.mp3-toast-stack {
  position: fixed;
  top: calc(var(--mp3-header-h) + 12px);
  right: 12px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.mp3-toast {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--mp3-dark);
  color: #fff;
  font-size: 0.88rem;
  box-shadow: var(--mp3-shadow);
  animation: mp3-toast-in 0.3s ease;
}

.mp3-toast.is-out {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.3s;
}

@keyframes mp3-toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Search sheet ── */
.mp3-search-sheet[hidden] {
  display: none !important;
}

.mp3-search-sheet {
  position: fixed;
  inset: 0;
  z-index: 3000;
}

.mp3-search-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.mp3-search-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  padding: calc(var(--mp3-header-h) + 8px) 12px 16px;
  background: var(--mp3-dark);
  border-radius: 0 0 20px 20px;
  box-shadow: var(--mp3-shadow);
}

.mp3-search-sheet__form {
  display: flex;
  gap: 8px;
}

.mp3-search-sheet__form input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--mp3-dark-soft);
  color: #fff;
}

.mp3-search-sheet__form button {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: var(--mp3-gold);
  color: #1a1200;
}

.mp3-search-sheet__results {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  max-height: 50vh;
  overflow-y: auto;
}

.mp3-search-sheet__results a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mp3-search-sheet__results img {
  border-radius: 8px;
  object-fit: cover;
}

.mp3-search-sheet__results strong {
  display: block;
  font-size: 0.92rem;
}

.mp3-search-sheet__results small {
  color: rgba(255, 255, 255, 0.6);
}

.mp3-panel--categories {
  margin-top: 12px;
}

[data-mp3-fav].is-active,
.mp3-player__btn.is-active {
  color: var(--mp3-congo-red) !important;
}

@media (max-width: 575px) {
  .mp3-track-row {
    grid-template-columns: 28px 34px 44px 1fr 32px;
  }

  .mp3-track-row__stat {
    display: none;
  }
}

/* Remplace animate.css (menu déroulant, sidebar) — ~17 Ko économisés */
@keyframes mp3-fade-in-right {
  from {
    opacity: 0;
    transform: translate3d(16px, 0, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.animated.fadeInRight {
  animation: mp3-fade-in-right 0.35s ease both;
}

/* Boutique payante — extraits (mbongosbou) */
.mp3-shop-preview {
  margin: 10px 0 8px;
  width: 100%;
}

.mp3-shop-preview__player {
  width: 100%;
  max-width: 100%;
  min-height: 36px;
}

.mp3-shop-preview__hint {
  margin: 6px 0 0;
}

.mp3-shop-guest__item--preview .mp3-shop-guest__link,
.mp3-shop-guest__item--client .mp3-shop-guest__link {
  display: block;
}

.mp3-shop-guest__buy {
  margin-top: 8px;
}
