/* =========================================================================
   Swipemergent — Design System (noir / or / néon scène de concert)
   Inspiré de Spotify, TikTok, YouTube Music — touche manga
   ========================================================================= */

:root {
  --ep-black: #0a0a0b;
  --ep-black-soft: #131315;
  --ep-black-card: #17171a;
  --ep-white: #f7f6f2;
  --ep-white-dim: #cfcdc6;
  --ep-gold: #12d6ff;
  --ep-gold-bright: #8fedff;
  --ep-gold-dim: #0e93b3;
  --ep-red-accent: #ff2d55; /* touche manga / énergie */
  --ep-neon-purple: #b435ff;
  --ep-neon-purple-bright: #d896ff;
  --ep-neon-blue: #12d6ff;
  --ep-neon-blue-bright: #8fedff;
  --ep-radius: 14px;
  --ep-radius-sm: 8px;
  --ep-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
  --ep-font-display: "Cinzel", "Playfair Display", serif;
  --ep-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ep-max-width: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Filet de sécurité mobile : un élément trop large (bouton, badge, tableau…)
   ne doit jamais forcer un défilement horizontal de toute la page — il sera
   plutôt tronqué visuellement que de casser la mise en page sur un natel. */
html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--ep-black);
  color: var(--ep-white);
  font-family: var(--ep-font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Mode Swipe & mode Scroll : pages entièrement statiques, comme un écran
   d'appli — pas de défilement de la page elle-même (seul le fil du mode
   Scroll garde son propre défilement interne, vertical, carte par carte).
   Triple déclaration en repli progressif : 100vh pour les tout vieux
   navigateurs, 100dvh pour les navigateurs modernes, puis --ep-vh (calculée
   en JS, voir swipe.html) qui a le dernier mot et se remet à jour à chaud —
   nécessaire car cette page n'a jamais de scroll natif pour redéclencher
   100dvh quand la barre d'adresse mobile se rétracte/déploie. */
body[data-page="swipe"],
body[data-page="discover"] {
  height: 100vh;
  height: 100dvh;
  height: calc(var(--ep-vh, 1vh) * 100);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body[data-page="swipe"] #ep-header,
body[data-page="discover"] #ep-header {
  flex-shrink: 0;
}
body[data-page="swipe"] .ep-swipe-page-minimal,
body[data-page="discover"] .ep-feed-page-minimal {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: 6px !important;
}
body[data-page="discover"] #ep-feed {
  flex: 1;
  min-height: 0;
  height: auto;
  max-height: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 0%, rgba(18, 214, 255, 0.08), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(255, 45, 85, 0.06), transparent 40%),
    var(--ep-black);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--ep-font-display);
  letter-spacing: 0.02em;
  font-weight: 700;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ep-white-dim); }

.container {
  max-width: var(--ep-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-gold {
  background: linear-gradient(135deg, var(--ep-gold-bright), var(--ep-gold));
  color: #14110a;
}
.btn-gold:hover { box-shadow: 0 6px 24px rgba(18, 214, 255, 0.35); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: rgba(247, 246, 242, 0.3);
  color: var(--ep-white);
}
.btn-outline:hover { border-color: var(--ep-gold); color: var(--ep-gold); }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--ep-white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.btn-danger {
  background: rgba(255, 45, 85, 0.15);
  color: #ff6b7a;
  border-color: rgba(255, 45, 85, 0.4);
}
.btn-danger:hover { background: rgba(255, 45, 85, 0.25); }

.btn-slim { padding: 9px 20px; font-size: 0.86rem; }

.btn-amber {
  background: linear-gradient(135deg, #f0d48a, #e9c874);
  color: #241a06;
}
.btn-amber:hover { box-shadow: 0 6px 24px rgba(233, 200, 116, 0.4); transform: translateY(-1px); }

.btn-red {
  background: transparent;
  border: 1.5px solid #ff2d55;
  color: #ff6b7a;
}
.btn-red:hover { background: rgba(255, 45, 85, 0.12); border-color: #ff6b7a; }

.btn-purple {
  background: linear-gradient(135deg, var(--ep-neon-purple-bright), var(--ep-neon-purple));
  color: #1a0a24;
}
.btn-purple:hover { box-shadow: 0 6px 24px rgba(180, 53, 255, 0.4); transform: translateY(-1px); }

/* Connexion / Inscription : même style plein (pas d'outline discret), juste
   des couleurs différentes, pour que les deux options soient aussi visibles
   l'une que l'autre quand on n'est pas connecté. */
.btn-crimson {
  background: linear-gradient(135deg, #ff6b81, var(--ep-red-accent));
  color: #fff;
}
.btn-crimson:hover { box-shadow: 0 6px 24px rgba(255, 45, 85, 0.4); transform: translateY(-1px); }

.btn-install {
  background: linear-gradient(135deg, rgba(78, 229, 149, 0.18), rgba(34, 181, 115, 0.24));
  color: #7cf5b3;
  border: 1px solid rgba(78, 229, 149, 0.5);
  font-weight: 700;
  box-shadow: 0 0 20px rgba(78, 229, 149, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn-install:hover {
  background: linear-gradient(135deg, rgba(78, 229, 149, 0.28), rgba(34, 181, 115, 0.36));
  box-shadow: 0 0 30px rgba(78, 229, 149, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.ep-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 11, 0.6);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.ep-navbar-minimal .ep-navbar-inner { padding: 10px 14px; justify-content: space-between; }
@media (max-width: 480px) {
  .ep-navbar-minimal .ep-navbar-inner { padding: 8px 12px; gap: 4px; }
  .ep-navbar-minimal #ep-auth-actions .btn { padding: 6px 10px; font-size: 0.72rem; white-space: nowrap; }
}
.ep-logo-mini { gap: 0; }
.ep-navbar-scrolled {
  background: rgba(10, 10, 11, 0.92);
  border-bottom-color: rgba(18, 214, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.ep-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  width: 100%;
}
.ep-logo {
  font-family: var(--ep-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ep-white);
  display: flex;
  align-items: center;
  gap: 9px;
}
.ep-logo span { color: var(--ep-gold); }
.ep-logo-icon { width: 30px; height: 30px; flex-shrink: 0; display: block; }
.ep-footer .ep-logo-icon { width: 26px; height: 26px; }

/* Nom plus petit dans la barre de menu (le logo du footer garde sa taille) */
.ep-navbar .ep-logo { font-size: 0.8rem; gap: 7px; flex-shrink: 0; }
.ep-navbar .ep-logo-icon { width: 26px; height: 26px; }

.ep-nav-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
}
.ep-nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ep-white-dim);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

/* Pastille "Nouveau" — dorée, réservée aux mises en avant ponctuelles
   (nouvelle fonctionnalité), pour rester cohérente avec le bandeau du Gala. */
.ep-badge-new {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff3d1, #e9c874 60%, #c9a13f);
  color: #241a06;
  vertical-align: middle;
  line-height: 1.5;
}
.ep-nav-links a:hover, .ep-nav-links a.active {
  color: var(--ep-gold);
  border-color: var(--ep-gold);
}
.ep-nav-tiktok { display: flex; align-items: center; }

/* Déconnexion : rangée dans le menu (☰ sur mobile) plutôt qu'affichée en
   permanence sur la barre — même gabarit que les liens du menu, mais en
   rouge discret pour signaler une action de compte plutôt qu'une page. */
.ep-nav-logout {
  display: inline-flex;
  align-items: center;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ep-red-accent, #ff2d55);
  opacity: 0.75;
  padding: 6px 0;
}
.ep-nav-logout:hover { opacity: 1; }
@media (max-width: 900px) {
  .ep-nav-logout {
    width: 100%;
    justify-content: flex-start;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
}

.ep-nav-actions { display: flex; align-items: center; gap: 12px; }

/* Harmonisation menu : les actions de compte (Connexion/Inscription/Mon
   tableau de bord/Administration/Déconnexion) doivent avoir le même style
   fin, sans fond ni bordure, que les autres liens du menu (.ep-nav-links a),
   au lieu de boutons pleins qui détonnent visuellement. */
#ep-auth-actions .btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--ep-white-dim);
  padding: 6px 2px;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 0;
  border-bottom: 2px solid transparent;
}
#ep-auth-actions .btn:hover {
  color: var(--ep-gold);
  border-bottom-color: var(--ep-gold);
  background: transparent !important;
  transform: none;
}
#ep-auth-actions .ep-avatar { margin-left: 2px; }

/* Accès rapide dans le menu, visible sur toutes les pages (comme un icône de
   panier sur un site e-commerce) : Ma Playlist (cœur rouge) et le mode Swipe,
   sans avoir à ouvrir le menu burger. */
.ep-nav-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: auto;
  height: auto;
  padding: 3px 9px;
  border-radius: 10px;
  background: transparent;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s ease;
  /* Cette classe habille aussi bien des <a> (Accueil, Swipe…) que des
     <button> (Installer Android/iOS) : on annule le chrome natif des
     boutons pour qu'ils rendent à l'identique. */
  border: none;
  font: inherit;
  cursor: pointer;
}
.ep-nav-icon-btn:hover,
.ep-nav-icon-btn.active { background: rgba(255,255,255,0.08); }
.ep-nav-icon-glyph { font-size: 1.15rem; line-height: 1; }
.ep-nav-icon-label {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ep-white-dim);
  white-space: nowrap;
}
.ep-nav-icon-btn:hover .ep-nav-icon-label,
.ep-nav-icon-btn.active .ep-nav-icon-label { color: var(--ep-white); }
.ep-nav-playlist-btn.active .ep-nav-icon-label { color: var(--ep-red-accent, #ff2d55); }
.ep-nav-swipe-btn.active .ep-nav-icon-label { color: var(--ep-red-accent, #ff2d55); }

/* Discret : plus de pastille pleine ni de fond coloré (ça tirait trop
   l'œil dans le menu) — juste des lettres sobres, la langue active se
   distingue par un simple soulignement. */
.ep-lang-switch {
  display: flex;
  align-items: center;
  gap: 3px;
}
.ep-lang-switch button {
  border: none;
  background: transparent;
  color: var(--ep-white-dim);
  opacity: 0.6;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 5px;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.ep-lang-switch button:hover { opacity: 0.9; }
.ep-lang-switch button.active {
  background: transparent;
  color: var(--ep-white);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ep-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ep-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---- Barre de navigation mobile compacte : logo + burger sur la première
   ligne, puis les icônes (avec leur libellé, pas question de les perdre) et
   Connexion/Inscription qui passent à la ligne dès qu'elles ne tiennent
   plus toutes à côté du logo — plutôt que de les faire déborder hors de
   l'écran ou de leur retirer leur texte. À 6 icônes + connexion/inscription,
   ça ne tient plus jamais sur une seule ligne à partir d'un certain point ;
   mieux vaut une 2e ligne lisible qu'un menu tronqué ou muet. ---- */
@media (max-width: 900px) {
  .ep-nav-links { display: none; width: 100%; order: 3; flex-direction: column; gap: 4px; }
  .ep-nav-links.open { display: flex; padding-top: 14px; }
  .ep-navbar-inner { flex-wrap: wrap; gap: 8px; padding: 12px 14px; }
  .ep-nav-toggle { display: block; font-size: 1.2rem; padding: 0 0 0 2px; }
  .ep-nav-actions {
    /* width:auto (plutôt que 100%) : avec seulement 4 icônes, tout tient à
       nouveau à côté du logo sur une seule ligne, comme à l'origine. Le
       flex-wrap ci-dessous reste en filet de sécurité si jamais ça ne
       tenait plus (icônes en trop, très petit écran) — il ferait alors
       passer le surplus à la ligne plutôt que déborder. */
    width: auto;
    order: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 3px 4px;
  }
  .ep-logo { font-size: 0; gap: 0; }
  .ep-navbar .ep-logo-icon { width: 26px; height: 26px; }
  /* Le sélecteur de langues a été déplacé dans le menu ☰ (voir .ep-nav-links
     ep-lang-switch-inline) : la barre principale n'a donc plus que les 4
     icônes (avec libellé) + connexion/avatar + burger à faire tenir — assez
     serré pour rester à côté du logo sur une seule ligne. */
  .ep-nav-icon-btn { padding: 2px 3px; }
  .ep-nav-icon-glyph { font-size: 1rem; }
  .ep-nav-icon-label { font-size: 0.44rem; }
  #ep-auth-actions { flex-wrap: nowrap; gap: 4px; row-gap: 0; }
  #ep-auth-actions .btn { padding: 5px 7px; font-size: 0.64rem; white-space: nowrap; }
}
/* Le sélecteur de langues vit désormais dans le menu ☰ (à côté des liens),
   pas sur la barre principale — plus de place pour les icônes+texte. */
.ep-lang-switch-inline { margin-left: 4px; }
@media (max-width: 900px) {
  .ep-lang-switch-inline { margin: 10px 0 0; }
}
/* Masque uniquement le lien "Mon tableau de bord" une fois connecté, pour ne
   garder que l'avatar sur les tout petits écrans — ciblé par un identifiant
   dédié (.ep-nav-dashboard-link) plutôt que ":first-child" ou ".btn-ghost",
   qui visaient par erreur aussi "Connexion" pour un visiteur non connecté,
   et "Admin" pour un compte admin (même classe .btn-ghost que le lien
   tableau de bord) — les faisant disparaître du menu mobile. */
@media (max-width: 400px) {
  #ep-auth-actions a.ep-nav-dashboard-link { display: none; }
}

/* ---------- Footer ---------- */
.ep-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 80px;
  padding: 50px 0 30px;
  color: var(--ep-white-dim);
  font-size: 0.88rem;
}
.ep-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 26px;
  margin-bottom: 34px;
  background: rgba(18, 214, 255, 0.06);
  border: 1px solid rgba(18, 214, 255, 0.18);
  border-radius: var(--ep-radius);
}
.ep-newsletter strong { color: var(--ep-white); font-family: var(--ep-font-display); font-size: 1rem; }
.ep-newsletter form { flex-wrap: nowrap; }
.ep-newsletter input[type="email"] {
  background: var(--ep-black-card);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--ep-radius-sm);
  padding: 10px 14px;
  color: var(--ep-white);
  font-size: 0.88rem;
  font-family: var(--ep-font-body);
  min-width: 220px;
}
.ep-newsletter input[type="email"]:focus { outline: none; border-color: var(--ep-gold); }
@media (max-width: 560px) {
  .ep-newsletter { flex-direction: column; align-items: flex-start; }
  .ep-newsletter form { width: 100%; }
  .ep-newsletter input[type="email"] { flex: 1; min-width: 0; }
}

.ep-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.ep-footer h4 { color: var(--ep-white); font-family: var(--ep-font-body); font-size: 0.95rem; margin-bottom: 12px; }
.ep-footer a { display: block; color: var(--ep-white-dim); padding: 4px 0; }
.ep-footer a:hover { color: var(--ep-gold); }
.ep-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 700px) { .ep-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ep-footer-grid { grid-template-columns: 1fr; } .ep-logo { flex-wrap: wrap; } }

/* ---------- Hero ---------- */
.ep-hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}

/* Scène de concert en fond du héro : faisceaux de lumière néon + foule en
   silhouette, avec un voile sombre par-dessus pour garantir la lisibilité
   du texte quelle que soit la taille d'écran. */
.ep-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.ep-hero-bg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ep-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.6) 0%, rgba(10, 10, 11, 0.78) 45%, rgba(10, 10, 11, 0.94) 100%);
}
.ep-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: stretch;
}
@media (max-width: 900px) { .ep-hero-grid { grid-template-columns: 1fr; } }

/* ---- Boutons "Installer l'app" (Android/iOS) : pleine largeur, tout en bas
   du hero — troisième "rangée" de la grille (grid-column:1/-1 pour ignorer
   les deux colonnes du dessus), séparée par un léger filet lumineux pour ne
   pas se confondre avec le compte à rebours juste au-dessus. ---- */
.ep-install-hero-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ep-install-hero-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ep-white-dim);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .ep-install-hero-row { margin-top: 26px; padding-top: 18px; flex-direction: column; gap: 12px; }
  .ep-install-badges { width: 100%; justify-content: center; }
  .ep-install-badges .btn { flex: 1 1 auto; }
}

/* Visuel + corps du panneau "Tu es artiste ?" — réutilisés à l'intérieur du
   panneau violet de la bannière fusionnée (voir .ep-fusion-panel-purple). */
.ep-hero-artist-visual svg { display: block; width: 100%; height: 100%; }
.ep-hero-artist-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ep-hero-artist-points { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; }
.ep-hero-artist-points li { font-size: 0.86rem; color: var(--ep-white-dim); display: flex; align-items: flex-start; gap: 9px; line-height: 1.4; }

.ep-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 214, 255, 0.12);
  border: 1px solid rgba(18, 214, 255, 0.35);
  color: var(--ep-gold);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.ep-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ep-neon-blue-bright);
  box-shadow: 0 0 8px 2px rgba(18, 214, 255, 0.75);
  animation: ep-pulse 1.6s ease-in-out infinite;
}
@keyframes ep-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.35); }
}

.ep-hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.ep-hero-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.ep-hero-stat-panel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.ep-hero-stat-panel strong { font-family: var(--ep-font-display); font-variant-numeric: tabular-nums; }
.ep-hero-stat-panel.dark {
  background: rgba(120, 40, 200, 0.22);
  border: 1px solid rgba(180, 53, 255, 0.45);
  color: #d896ff;
}
.ep-hero-stat-panel.light {
  background: rgba(216, 150, 255, 0.14);
  border: 1px solid rgba(216, 150, 255, 0.4);
  color: #ecd2ff;
}

/* Plaque dorée premium générique — utilisée telle quelle sur la page
   artistes (bandeau final "Prêt à monter sur scène ?"), et comme base du
   panneau or de la bannière fusionnée de l'accueil (.ep-fusion-panel-gold). */
.ep-gala-banner {
  position: relative;
  padding: 64px 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(233, 200, 116, 0.16), transparent 60%),
    linear-gradient(135deg, #1a1608, #0a0a0b);
  overflow: hidden;
}
.ep-gala-banner::before,
.ep-gala-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 200, 116, 0.55) 20%, rgba(255, 243, 209, 0.85) 50%, rgba(233, 200, 116, 0.55) 80%, transparent);
}
.ep-gala-banner::before { top: 0; }
.ep-gala-banner::after { bottom: 0; }

/* ---------- Bannière fusionnée : panneau or (prix / Gala) + panneau violet
   ("Tu es artiste ?") côte à côte, dans un même bandeau. L'or reste le
   langage visuel de "prix à gagner", le violet celui de l'appel aux artistes
   — cohérent avec les couleurs déjà utilisées dans le hero. ---------- */
.ep-fusion-banner {
  position: relative;
  padding: 32px 0;
  overflow: hidden;
}
.ep-fusion-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .ep-fusion-grid { grid-template-columns: 1fr; }
}
.ep-fusion-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--ep-radius);
  padding: 18px 18px;
  overflow: hidden;
}

/* Panneau or — prix / Gala (même traitement "plaque dorée gravée" que
   l'ancien bandeau Gala plein-largeur). */
.ep-fusion-panel-gold {
  justify-content: center;
  background:
    radial-gradient(ellipse at 25% 20%, rgba(233, 200, 116, 0.18), transparent 60%),
    linear-gradient(135deg, #1a1608, #0a0a0b);
  border: 1px solid rgba(233, 200, 116, 0.4);
}
.ep-fusion-panel-gold::before,
.ep-fusion-panel-gold::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 200, 116, 0.55) 20%, rgba(255, 243, 209, 0.85) 50%, rgba(233, 200, 116, 0.55) 80%, transparent);
}
.ep-fusion-panel-gold::before { top: 0; }
.ep-fusion-panel-gold::after { bottom: 0; }
.ep-fusion-panel-gold .ep-gala-visual { margin-bottom: 8px; }
.ep-fusion-panel-gold .ep-gala-visual svg { width: 46px; height: 46px; }
.ep-fusion-panel-gold .ep-gala-badge { padding: 4px 12px; font-size: 0.64rem; margin-bottom: 8px; }
.ep-fusion-panel-gold .ep-gala-text h2 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: 8px; }
.ep-fusion-panel-gold .ep-gala-text p { font-size: 0.8rem; line-height: 1.45; margin-bottom: 12px; }
.ep-fusion-panel-gold .btn { align-self: flex-start; }

/* Panneau violet — "Tu es artiste ?" (même traitement que l'ancien bloc du
   hero, désormais à l'intérieur de la bannière fusionnée). */
.ep-fusion-panel-purple {
  background: linear-gradient(160deg, rgba(180, 53, 255, 0.18), rgba(10, 10, 11, 0.4) 65%);
  border: 1px solid rgba(180, 53, 255, 0.35);
}
.ep-fusion-panel-purple .ep-hero-artist-visual {
  width: 100%;
  aspect-ratio: 400 / 150;
  border-radius: var(--ep-radius-sm);
  overflow: hidden;
  margin-bottom: 10px;
}
.ep-fusion-panel-purple .ep-eyebrow { color: var(--ep-neon-purple-bright); margin-bottom: 6px; font-size: 0.7rem; }
.ep-fusion-panel-purple h3 { margin: 0 0 6px; font-size: 1rem; line-height: 1.25; }
.ep-fusion-panel-purple p { font-size: 0.76rem; color: var(--ep-white-dim); margin-bottom: 10px; line-height: 1.45; }
.ep-fusion-panel-purple .btn { width: 100%; text-align: center; margin-top: auto; }

.ep-gala-visual { flex-shrink: 0; display: flex; justify-content: center; }
.ep-gala-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(233, 200, 116, 0.14);
  border: 1px solid rgba(233, 200, 116, 0.45);
  color: #f0d48a;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ep-gala-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(100deg, #a9791f 0%, #fff3d1 22%, #e9c874 45%, #fff3d1 60%, #a9791f 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
  line-height: 1.1;
  animation: ep-gala-shine 6s ease-in-out infinite;
}
@keyframes ep-gala-shine {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}
.ep-gala-text p { color: var(--ep-white-dim); font-size: 1rem; line-height: 1.6; margin-bottom: 26px; }

.ep-gala-cta {
  background: linear-gradient(135deg, #fff3d1, #e9c874 55%, #c9a13f);
  color: #241a06;
  box-shadow: 0 4px 18px rgba(233, 200, 116, 0.25);
}
.ep-gala-cta:hover {
  box-shadow: 0 8px 28px rgba(233, 200, 116, 0.4);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .ep-gala-text h2 { animation: none; }
}
@media (max-width: 700px) {
  .ep-fusion-panel-gold { text-align: center; align-items: center; }
  .ep-gala-visual svg { width: 120px; height: 120px; }
}

/* ---------- Bannière Musique IA (promo) ---------- */
.ep-ia-banner {
  position: relative;
  padding: 60px 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(180, 53, 255, 0.2), transparent 55%),
    radial-gradient(ellipse at 20% 75%, rgba(233, 200, 116, 0.1), transparent 55%),
    linear-gradient(135deg, #180f21, #0a0a0b);
  border-top: 1px solid rgba(180, 53, 255, 0.3);
  border-bottom: 1px solid rgba(180, 53, 255, 0.3);
  overflow: hidden;
}
.ep-ia-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;
}
.ep-ia-visual { flex-shrink: 0; display: flex; justify-content: center; }
.ep-ia-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(180, 53, 255, 0.16);
  border: 1px solid rgba(180, 53, 255, 0.45);
  color: var(--ep-neon-purple-bright);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ep-ia-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, #e9c9ff, var(--ep-neon-purple) 55%, #7d1fc9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
  line-height: 1.1;
}
.ep-ia-text p { color: var(--ep-white-dim); font-size: 1rem; line-height: 1.6; margin-bottom: 26px; }
@media (max-width: 700px) {
  .ep-ia-inner { grid-template-columns: 1fr; text-align: center; }
  .ep-ia-visual svg { width: 140px; height: 140px; }
  .ep-ia-text p { margin-left: auto; margin-right: auto; }
}

.ep-badge-ia {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(180, 53, 255, 0.18);
  border: 1px solid rgba(180, 53, 255, 0.5);
  color: var(--ep-neon-purple-bright);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 8px;
  vertical-align: middle;
}

.ep-tab-ia.active {
  background: linear-gradient(135deg, var(--ep-neon-purple-bright), var(--ep-neon-purple));
  color: var(--ep-white);
  box-shadow: 0 6px 18px rgba(180, 53, 255, 0.4);
}

/* ---------- Bannière d'accueil (artistes en vedette, avantage Artist Pro) ---------- */
.ep-banner-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}
.ep-banner-card {
  position: relative;
  flex: 0 0 220px;
  aspect-ratio: 3 / 4;
  border-radius: var(--ep-radius);
  overflow: hidden;
  scroll-snap-align: start;
  text-decoration: none;
  display: block;
  background: var(--ep-black-card);
  box-shadow: var(--ep-shadow);
}
.ep-banner-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-banner-card-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ep-font-display); font-size: 3rem; color: var(--ep-white-dim);
}
.ep-banner-card-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0) 40%, rgba(10, 10, 11, 0.94) 100%);
}
.ep-banner-card-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; }
.ep-banner-card-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: linear-gradient(135deg, #f0d48a, #e9c874); color: #241a06;
  margin-bottom: 8px;
}
.ep-banner-card-name { font-family: var(--ep-font-display); font-size: 1.1rem; color: var(--ep-white); margin: 0; }
.ep-banner-card-meta { font-size: 0.78rem; color: var(--ep-white-dim); margin-top: 2px; }
@media (max-width: 700px) {
  .ep-banner-card { flex: 0 0 170px; }
}

/* ---------- Bandeau Mode swipe (promo, page d'accueil) ---------- */
.ep-swipe-promo-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;
}
.ep-swipe-promo-visual { flex-shrink: 0; display: flex; justify-content: center; }
.ep-swipe-promo-text .ep-badge-new { margin-bottom: 10px; }
.ep-swipe-promo-text .ep-eyebrow { margin-top: 2px; }
.ep-swipe-promo-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 12px; line-height: 1.15; }
.ep-swipe-promo-text p { color: var(--ep-white-dim); font-size: 1rem; line-height: 1.6; margin-bottom: 24px; }
@media (max-width: 700px) {
  .ep-swipe-promo-inner { grid-template-columns: 1fr; text-align: center; }
  .ep-swipe-promo-visual svg { width: 130px; height: 130px; }
  .ep-swipe-promo-text p { margin-left: auto; margin-right: auto; }
}

.ep-pack-standalone { margin: 48px auto 0; }

/* Carte tarifaire de l'abonnement Artiste Pro, en langage "or" (celui du
   Gala / du prix à gagner) pour marquer que c'est une offre premium. */
.ep-pro-card {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  background: var(--ep-black-card);
  border: 1px solid rgba(233, 200, 116, 0.32);
  border-radius: var(--ep-radius);
  overflow: hidden;
  box-shadow: var(--ep-shadow);
  text-align: left;
}
.ep-pro-card-top {
  position: relative;
  padding: 32px 24px 26px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 15%, rgba(255, 243, 209, 0.22), transparent 60%),
    linear-gradient(135deg, rgba(233, 200, 116, 0.32), rgba(169, 121, 31, 0.28));
  border-bottom: 1px solid rgba(233, 200, 116, 0.28);
}
.ep-pro-card-badge {
  position: absolute;
  top: 16px;
  right: -32px;
  transform: rotate(38deg);
  background: linear-gradient(135deg, #fff3d1, #e9c874);
  color: #241a06;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 38px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.ep-pro-card-icon {
  margin: 0 auto 12px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ep-pro-card-icon svg { width: 100%; height: 100%; }
.ep-pro-card-top h3 { margin: 0; font-size: 1.35rem; color: var(--ep-white); }
.ep-pro-card-body { padding: 26px 26px 28px; }
.ep-pro-card-desc { font-size: 0.9rem; margin-bottom: 20px; }
.ep-pro-card-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}
.ep-pro-card-price .amount {
  font-family: var(--ep-font-display);
  font-size: 2.3rem;
  color: #e9c874;
  font-weight: 700;
  line-height: 1;
}
.ep-pro-card-price .period { font-size: 0.85rem; color: var(--ep-white-dim); }
.ep-pro-card-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.ep-pro-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--ep-white-dim);
}
.ep-pro-card-features li svg { flex-shrink: 0; margin-top: 2px; }
.ep-pro-card-cta {
  width: 100%;
  padding: 14px;
  font-size: 0.98rem;
  background: linear-gradient(135deg, #fff3d1, #e9c874 55%, #c9a13f);
  color: #241a06;
  box-shadow: 0 4px 18px rgba(233, 200, 116, 0.25);
}
.ep-pro-card-cta:hover { box-shadow: 0 6px 24px rgba(233, 200, 116, 0.4); transform: translateY(-1px); }
.ep-pro-card-note { font-size: 0.74rem; margin: 14px 0 0; text-align: center; }
.ep-pro-card-body .ep-alert { margin-top: 4px; }
@media (max-width: 700px) {
  .ep-pro-card { max-width: 100%; }
}

/* Grille des 4 outils Artiste Pro (page artiste/outils.html) — carte simple
   avec icône, comme les autres ep-card mais sans média/photo. */
.ep-tool-card {
  background: var(--ep-black-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ep-radius);
  padding: 24px 22px;
  height: 100%;
}
.ep-tool-card-icon { font-size: 1.8rem; margin-bottom: 12px; line-height: 1; }
.ep-tool-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.ep-tool-card p { font-size: 0.88rem; margin-bottom: 0; }
.ep-tool-card-locked { opacity: 0.55; }

/* Pastille "il te reste X votes" affichée sur les pages de vote */
.ep-vote-balance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 214, 255, 0.12);
  border: 1px solid rgba(18, 214, 255, 0.35);
  color: var(--ep-neon-blue-bright);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------- Bonus quotidien ---------- */
.ep-daily-card {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  background: var(--ep-black-card);
  border: 1px solid rgba(18, 214, 255, 0.28);
  border-radius: var(--ep-radius);
  overflow: hidden;
  box-shadow: var(--ep-shadow);
  text-align: center;
}
.ep-daily-card-top {
  position: relative;
  padding: 32px 24px 22px;
  background:
    radial-gradient(circle at 30% 15%, rgba(143, 237, 255, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(18, 214, 255, 0.3), rgba(180, 53, 255, 0.25));
  border-bottom: 1px solid rgba(18, 214, 255, 0.22);
}
.ep-daily-card-icon {
  margin: 0 auto 10px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ep-daily-card-icon svg { width: 100%; height: 100%; }
.ep-daily-card-top .ep-badge-new { margin-bottom: 8px; }
.ep-daily-card-top h3 { margin: 4px 0 0; font-size: 1.3rem; color: var(--ep-white); }
.ep-daily-card-body { padding: 24px 26px 28px; }
.ep-daily-card-body p.ep-muted { font-size: 0.9rem; margin-bottom: 20px; }
.ep-daily-card-cta { width: 100%; padding: 14px; font-size: 0.98rem; }
.ep-daily-card-cta:disabled { opacity: 0.55; cursor: not-allowed; }
.ep-daily-card-status {
  margin: 14px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ep-white-dim);
  font-variant-numeric: tabular-nums;
}
.ep-daily-card-status-ready { color: var(--ep-neon-blue-bright); }
.ep-daily-card-note { font-size: 0.74rem; margin: 14px 0 0; }
@media (max-width: 700px) {
  .ep-daily-card { max-width: 100%; }
}

/* ---------- Comment ça marche : carrés façon "bonus quotidien" ---------- */
.ep-how-card {
  background: var(--ep-black-card);
  border: 1px solid rgba(18, 214, 255, 0.28);
  border-radius: var(--ep-radius);
  overflow: hidden;
  box-shadow: var(--ep-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ep-how-card-top {
  position: relative;
  padding: 24px 22px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  background:
    radial-gradient(circle at 30% 15%, rgba(143, 237, 255, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(18, 214, 255, 0.3), rgba(180, 53, 255, 0.25));
  border-bottom: 1px solid rgba(18, 214, 255, 0.22);
}
.ep-how-card-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.35);
}
.ep-how-card-top h3 { margin: 0; font-size: 1.05rem; color: var(--ep-white); line-height: 1.3; }
.ep-how-card-body { padding: 18px 22px 22px; flex: 1; }
.ep-how-card-body p { margin: 0; font-size: 0.88rem; color: var(--ep-white-dim); line-height: 1.55; }

/* Variante mini pour le résumé sur l'accueil : numéro au lieu d'emoji */
.ep-how-card-mini .ep-how-card-icon {
  font-family: var(--ep-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ep-neon-blue-bright);
}
.ep-how-card-mini .ep-how-card-top { padding: 20px 20px 14px; }
.ep-how-card-mini .ep-how-card-body { padding: 14px 20px 18px; }

/* Variante compacte du bonus quotidien, intégrée directement dans le hero
   (tout en haut de la page d'accueil) plutôt que dans une section dédiée. */
.ep-daily-hero-box .ep-daily-card {
  max-width: 400px;
  margin: 0;
  text-align: left;
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(6px);
}
.ep-daily-hero-box .ep-daily-card-top {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  column-gap: 14px;
  padding: 14px 18px;
}
.ep-daily-hero-box .ep-daily-card-icon {
  grid-row: 1 / 3;
  margin: 0;
  width: 40px;
  height: 40px;
}
.ep-daily-hero-box .ep-daily-card-top .ep-badge-new { margin: 0 0 4px; justify-self: start; }
.ep-daily-hero-box .ep-daily-card-top h3 { margin: 0; font-size: 1.02rem; }
.ep-daily-hero-box .ep-daily-card-body { padding: 14px 18px 18px; }
.ep-daily-hero-box .ep-daily-card-body p.ep-muted { font-size: 0.8rem; margin-bottom: 12px; line-height: 1.5; }
.ep-daily-hero-box .ep-daily-card-cta { padding: 10px; font-size: 0.85rem; }
.ep-daily-hero-box .ep-daily-card-status { margin-top: 10px; font-size: 0.76rem; }
@media (max-width: 700px) {
  .ep-daily-hero-box .ep-daily-card { max-width: 100%; }
}

/* ---------- Countdown ---------- */
.ep-countdown {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.ep-countdown-box {
  background: var(--ep-black-card);
  border: 1px solid rgba(233, 200, 116, 0.3);
  border-radius: var(--ep-radius-sm);
  padding: 16px 20px;
  min-width: 78px;
  text-align: center;
}
.ep-countdown-box .num {
  font-family: var(--ep-font-display);
  font-size: 2rem;
  color: #e9c874;
  font-weight: 700;
  line-height: 1;
}
.ep-countdown-box .label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ep-white-dim);
  margin-top: 6px;
}
/* Sur petit écran, les 4 cases (Jours/Heures/Min/Sec) restent sur une seule
   ligne au lieu de passer à la ligne (flex-wrap: wrap ci-dessus était pensé
   pour le desktop et cassait le compte à rebours sur mobile) : on force
   nowrap et on laisse les cases rétrécir au lieu de garder 78px minimum. */
@media (max-width: 640px) {
  .ep-countdown { flex-wrap: nowrap; gap: 6px; }
  .ep-countdown-box { min-width: 0; flex: 1 1 0; padding: 10px 4px; }
  .ep-countdown-box .num { font-size: 1.25rem; }
  .ep-countdown-box .label { font-size: 0.58rem; }
}

/* ---------- Cards ---------- */
.ep-card {
  background: var(--ep-black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--ep-radius);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ep-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 214, 255, 0.4);
  box-shadow: var(--ep-shadow);
}
.ep-card-media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #232326, #121214);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ep-gold-dim);
  font-size: 2.2rem;
  font-family: var(--ep-font-display);
  position: relative;
  flex-shrink: 0;
  /* Sans ceci, un flex-item avec aspect-ratio garde une taille minimale
     basée sur le contenu (min-height:auto par défaut) : une photo très
     haute (ex. capture d'écran de téléphone) fait alors grandir la carte
     au lieu de rester carrée et rognée par object-fit:cover. */
  overflow: hidden;
}
.ep-card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.ep-card-body h3 { margin-bottom: 4px; }
.ep-card-meta { font-size: 0.78rem; color: var(--ep-gold); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }

/* Regroupe lecteur / bouton vote en bas de carte, quel que soit le contenu au-dessus (bio vide, titres courts, etc.) */
.ep-card-footer { margin-top: auto; padding-top: 12px; }

.ep-rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--ep-gold);
  color: #14110a;
  font-family: var(--ep-font-display);
  font-weight: 700;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}

/* Grilles d'artistes (accueil + découvrir) : cartes plus petites dans leur ensemble */
#ep-top-artists.ep-grid,
#ep-artists-grid.ep-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

/* Tableau de bord artiste (profil + morceaux côte à côte) : passe en 1
   colonne sur mobile — utilisé à la place d'un style inline pour que cette
   règle responsive puisse s'appliquer (un style inline ne peut jamais être
   surchargé par une media query externe). */
.ep-artist-dash-grid { grid-template-columns: 1fr 1fr; align-items: flex-start; }
@media (max-width: 760px) {
  .ep-artist-dash-grid { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.ep-section { padding: 70px 0; }
.ep-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 34px;
  gap: 20px;
  flex-wrap: wrap;
}
.ep-eyebrow {
  color: var(--ep-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

/* ---------- Forms ---------- */
.ep-form { max-width: 460px; }
.ep-field { margin-bottom: 18px; }
.ep-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ep-white-dim);
}
.ep-field input,
.ep-field select,
.ep-field textarea {
  width: 100%;
  background: var(--ep-black-card);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--ep-radius-sm);
  padding: 12px 14px;
  color: var(--ep-white);
  font-size: 0.95rem;
  font-family: var(--ep-font-body);
}
.ep-field input:focus,
.ep-field select:focus,
.ep-field textarea:focus {
  outline: none;
  border-color: var(--ep-gold);
}
.ep-field textarea { resize: vertical; min-height: 110px; }
.ep-radio-group { display: flex; gap: 14px; }
.ep-radio-group label { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ep-white); }

.ep-alert {
  padding: 12px 16px;
  border-radius: var(--ep-radius-sm);
  font-size: 0.86rem;
  margin-bottom: 18px;
}
.ep-alert-error { background: rgba(255, 45, 85, 0.12); border: 1px solid rgba(255, 45, 85, 0.35); color: #ff8a95; }
.ep-alert-success { background: rgba(60, 200, 120, 0.12); border: 1px solid rgba(60, 200, 120, 0.35); color: #7fe3a8; }
.ep-alert-info { background: rgba(18, 214, 255, 0.1); border: 1px solid rgba(18, 214, 255, 0.3); color: var(--ep-gold-bright); }

/* ---------- Table (admin) ---------- */
.ep-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.ep-table th, .ep-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ep-table th { color: var(--ep-gold); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; }
.ep-table tr:hover td { background: rgba(255,255,255,0.03); }

/* Sous 700px, un tableau à colonnes multiples (classement, écoutes,
   favoris, artistes suivis...) est illisible et force un défilement
   horizontal pénible. On le transforme en liste de "cartes" empilées : une
   ligne = un bloc, chaque cellule affiche son intitulé de colonne au-dessus
   (via data-label, posé côté JS) plutôt qu'en en-tête de tableau. */
@media (max-width: 700px) {
  .ep-table thead { display: none; }
  .ep-table, .ep-table tbody, .ep-table tr { display: block; width: 100%; }
  .ep-table tr {
    background: var(--ep-black-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--ep-radius-sm);
    padding: 12px 14px;
    margin-bottom: 12px;
  }
  .ep-table tr:hover td { background: none; }
  .ep-table td {
    display: block;
    padding: 6px 0;
    border-bottom: none;
  }
  .ep-table td:empty { display: none; }
  /* Nom d'artiste / titre de morceau : toujours sur une seule ligne (tronqués
     avec "…" si trop longs) au lieu de passer à la ligne dans la carte —
     colonnes 2 et 3 = nom de scène puis titre du morceau (ou genre pour les
     tableaux sans titre, ex. "Artistes suivis"), sur classement, favoris et
     artistes suivis. */
  .ep-table td:nth-child(2),
  .ep-table td:nth-child(3) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .ep-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    color: var(--ep-gold);
    text-transform: uppercase;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    font-weight: 700;
    margin-bottom: 3px;
  }
}

/* ---- Mes favoris (grille pleine page + tableau de bord fan/artiste) et
   Artistes suivis (tableau de bord) sur mobile : une carte compacte par
   ligne (avatar + nom + titre + actions), façon classement, au lieu de la
   carte empilée générique ci-dessus où chaque colonne prenait sa propre
   ligne avec son intitulé — beaucoup plus long à parcourir. ---- */
@media (max-width: 700px) {
  #ep-favorites-grid table.ep-table tbody tr,
  #ep-dashboard-favorites table.ep-table tbody tr {
    display: grid !important;
    grid-template-columns: 40px 30px 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 2px;
    align-items: center;
    padding: 10px 12px !important;
  }
  #ep-favorites-grid table.ep-table tbody tr td,
  #ep-dashboard-favorites table.ep-table tbody tr td {
    display: block !important;
    padding: 0 !important;
    border: none !important;
  }
  #ep-favorites-grid table.ep-table tbody tr td::before,
  #ep-dashboard-favorites table.ep-table tbody tr td::before {
    content: none !important;
  }
  #ep-favorites-grid table.ep-table tbody tr td:nth-child(1),
  #ep-dashboard-favorites table.ep-table tbody tr td:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
  }
  #ep-favorites-grid table.ep-table tbody tr td:nth-child(1) span,
  #ep-dashboard-favorites table.ep-table tbody tr td:nth-child(1) span {
    width: 40px !important;
    height: 40px !important;
  }
  /* Lecteur (▶) : remis visible ici (il était masqué avec les autres
     colonnes secondaires, ce qui empêchait de lancer la lecture depuis Ma
     Playlist sur mobile) — recentré en petite pastille à côté de l'avatar. */
  #ep-favorites-grid table.ep-table tbody tr td:nth-child(6),
  #ep-dashboard-favorites table.ep-table tbody tr td:nth-child(6) {
    display: flex !important;
    grid-column: 2;
    grid-row: 1 / 3;
    align-items: center;
    justify-content: center;
    /* Ce <td> porte un style inline min-width:160px (réservé à la barre de
       lecture en version desktop) : sans ce reset, il refuse de rétrécir et
       déborde par-dessus le nom/titre au lieu de rester dans sa colonne. */
    min-width: 0 !important;
    width: 30px !important;
  }
  #ep-favorites-grid table.ep-table tbody tr td:nth-child(6) .ep-play-btn,
  #ep-dashboard-favorites table.ep-table tbody tr td:nth-child(6) .ep-play-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.62rem !important;
  }
  #ep-favorites-grid table.ep-table tbody tr td:nth-child(2),
  #ep-dashboard-favorites table.ep-table tbody tr td:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
    font-weight: 700;
    font-size: 0.88rem;
  }
  #ep-favorites-grid table.ep-table tbody tr td:nth-child(3),
  #ep-dashboard-favorites table.ep-table tbody tr td:nth-child(3) {
    grid-column: 3;
    grid-row: 2;
    font-size: 0.78rem;
    opacity: 0.72;
  }
  #ep-favorites-grid table.ep-table tbody tr td:nth-child(4),
  #ep-favorites-grid table.ep-table tbody tr td:nth-child(5),
  #ep-favorites-grid table.ep-table tbody tr td:nth-child(8),
  #ep-dashboard-favorites table.ep-table tbody tr td:nth-child(4),
  #ep-dashboard-favorites table.ep-table tbody tr td:nth-child(5),
  #ep-dashboard-favorites table.ep-table tbody tr td:nth-child(8) {
    display: none !important;
  }
  #ep-favorites-grid table.ep-table tbody tr td:nth-child(7),
  #ep-dashboard-favorites table.ep-table tbody tr td:nth-child(7) {
    grid-column: 4;
    grid-row: 1;
  }
  #ep-favorites-grid table.ep-table tbody tr td:nth-child(9),
  #ep-dashboard-favorites table.ep-table tbody tr td:nth-child(9) {
    grid-column: 4;
    grid-row: 2;
  }
  #ep-favorites-grid table.ep-table tbody tr td:nth-child(7) button,
  #ep-favorites-grid table.ep-table tbody tr td:nth-child(9) button,
  #ep-dashboard-favorites table.ep-table tbody tr td:nth-child(7) button,
  #ep-dashboard-favorites table.ep-table tbody tr td:nth-child(9) button {
    padding: 5px 10px !important;
    font-size: 0.7rem !important;
    white-space: nowrap;
  }

  #ep-dashboard-following table.ep-table tbody tr {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 12px !important;
  }
  #ep-dashboard-following table.ep-table tbody tr td {
    display: block !important;
    padding: 0 !important;
    border: none !important;
  }
  #ep-dashboard-following table.ep-table tbody tr td::before {
    content: none !important;
  }
  #ep-dashboard-following table.ep-table tbody tr td:nth-child(1) { flex: 0 0 auto; }
  #ep-dashboard-following table.ep-table tbody tr td:nth-child(1) a {
    width: 40px !important;
    height: 40px !important;
  }
  #ep-dashboard-following table.ep-table tbody tr td:nth-child(2) {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 700;
    font-size: 0.88rem;
  }
  #ep-dashboard-following table.ep-table tbody tr td:nth-child(3),
  #ep-dashboard-following table.ep-table tbody tr td:nth-child(4) {
    display: none !important;
  }
  #ep-dashboard-following table.ep-table tbody tr td:nth-child(5) {
    flex: 0 0 auto;
    font-size: 0.72rem;
    opacity: 0.7;
    white-space: nowrap;
  }
  #ep-dashboard-following table.ep-table tbody tr td:nth-child(6) { flex: 0 0 auto; }
  #ep-dashboard-following table.ep-table tbody tr td:nth-child(6) button {
    padding: 5px 10px !important;
    font-size: 0.7rem !important;
    white-space: nowrap;
  }
}

.ep-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.ep-tab {
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ep-white-dim);
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.ep-tab:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.22); color: var(--ep-white); }
.ep-tab.active {
  background: linear-gradient(135deg, var(--ep-gold-bright), var(--ep-gold));
  border-color: transparent;
  color: #14110a;
  box-shadow: 0 6px 18px rgba(18, 214, 255, 0.35);
  transform: translateY(-1px);
}

.ep-pill {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.ep-pill-pending { background: rgba(18,214,255,0.15); color: var(--ep-gold); }
.ep-pill-approved, .ep-pill-paid { background: rgba(60,200,120,0.15); color: #7fe3a8; }
.ep-pill-rejected, .ep-pill-cancelled { background: rgba(255,45,85,0.15); color: #ff8a95; }

/* ---------- Texte légal (CGU, etc.) ---------- */
.ep-legal-text h2 {
  font-size: 1.15rem;
  font-family: var(--ep-font-body);
  color: var(--ep-gold);
  margin-top: 34px;
  margin-bottom: 10px;
}
.ep-legal-text p { font-size: 0.92rem; line-height: 1.7; margin-bottom: 14px; }
.ep-legal-text strong { color: var(--ep-white); }

/* ---------- Utility ---------- */
.ep-center { text-align: center; }
.ep-muted { color: var(--ep-white-dim); }
.ep-gold-text { color: var(--ep-gold); }
.ep-flex { display: flex; align-items: center; }
.ep-gap-8 { gap: 8px; } .ep-gap-12 { gap: 12px; } .ep-gap-20 { gap: 20px; }
.ep-mt-40 { margin-top: 40px; }
.ep-hidden { display: none !important; }

.ep-install-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.ep-install-badges .btn svg { width: 15px; height: 15px; }

.ep-ios-guide-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.ep-ios-guide-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ep-ios-guide-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ee595, #22b573);
  color: #052c1b;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ep-ios-guide-step-title { font-weight: 600; color: var(--ep-white); font-size: 0.95rem; }
.ep-ios-guide-icon { margin-left: 2px; }
.ep-ios-guide-step-detail { font-size: 0.82rem; color: var(--ep-white-dim); margin-top: 2px; }
.ep-loader { color: var(--ep-gold); font-size: 0.85rem; }
.ep-empty { color: var(--ep-white-dim); font-style: italic; padding: 30px 0; text-align: center; }

.ep-play-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(18, 214, 255, 0.4);
  background: rgba(18, 214, 255, 0.1);
  color: var(--ep-gold);
  cursor: pointer;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease, opacity .18s ease;
}
.ep-play-btn:hover { background: rgba(18, 214, 255, 0.25); }
.ep-play-btn:active { transform: scale(0.94); }
.ep-play-btn[disabled] { opacity: 0.3; cursor: not-allowed; }
.ep-play-btn.playing { background: var(--ep-gold); color: #04181f; border-color: transparent; }

.ep-player { display: flex; }

/* Bouton play superposé sur une pochette (.ep-card-media) — façon Spotify :
   invisible par défaut, révélé au survol de la carte (ou en permanence sur
   écran tactile, qui n'a pas de survol). */
.ep-cover-play-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  font-size: 1rem;
  background: var(--ep-gold);
  color: #04181f;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(8px);
  z-index: 3;
}
.ep-card:hover .ep-cover-play-btn,
.ep-cover-play-btn.playing {
  opacity: 1;
  transform: translateY(0);
}
.ep-cover-play-btn:hover { background: var(--ep-gold-bright); }
@media (hover: none) {
  .ep-cover-play-btn { opacity: 1; transform: translateY(0); }
}

/* ---------- Barre de lecture globale (façon Spotify) ---------- */
.ep-global-player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 24px;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(18, 214, 255, 0.25);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.ep-global-player.active { transform: translateY(0); }
body.ep-player-active { padding-bottom: 76px; }

.ep-gp-track {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: 260px;
  flex-shrink: 0;
}
.ep-gp-cover {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(145deg, #232326, #121214);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ep-gold-dim);
}
.ep-gp-cover img { width: 100%; height: 100%; object-fit: cover; }
.ep-gp-meta { min-width: 0; }
.ep-gp-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ep-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-gp-artist {
  font-size: 0.76rem;
  color: var(--ep-white-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-gp-controls { flex: 1; display: flex; align-items: center; gap: 14px; min-width: 0; }
.ep-gp-play {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ep-gold);
  color: #04181f;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.ep-gp-play:hover { transform: scale(1.06); }
.ep-gp-progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
}
.ep-gp-progress:hover { height: 6px; }
.ep-gp-progress-fill { height: 100%; width: 0%; background: var(--ep-gold); border-radius: 999px; pointer-events: none; }
.ep-gp-time { font-size: 0.74rem; color: var(--ep-white-dim); flex-shrink: 0; min-width: 90px; text-align: right; }
.ep-gp-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--ep-white-dim);
  font-size: 1rem;
  cursor: pointer;
  padding: 6px;
}
.ep-gp-close:hover { color: var(--ep-white); }
@media (max-width: 700px) {
  .ep-gp-track { width: auto; flex: 1; }
  .ep-gp-time { display: none; }
  .ep-global-player { gap: 14px; padding: 8px 14px; }
  body.ep-player-active { padding-bottom: 68px; }
}

.ep-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ep-gold); color: #14110a;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--ep-font-display);
  text-decoration: none; cursor: pointer;
}

/* ---------- Fil des artistes (façon TikTok) ---------- */
.ep-feed-page { padding: 30px 0 60px; }
.ep-feed-page-minimal { padding: 12px 0 40px; }
.ep-feed-head-mini { display: flex; justify-content: center; }
.ep-feed-head-mini:empty { display: none; }
.ep-feed-head { text-align: center; margin-bottom: 18px; }
.ep-feed-head h1 { margin-bottom: 6px; }

.ep-feed {
  max-width: 460px;
  margin: 0 auto;
  height: calc(100vh - 260px);
  min-height: 480px;
  max-height: 780px;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  border-radius: var(--ep-radius);
  box-shadow: var(--ep-shadow);
  scrollbar-width: none;
}
.ep-feed::-webkit-scrollbar { display: none; }

.ep-feed-card {
  position: relative;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border-radius: var(--ep-radius);
  overflow: hidden;
  background: var(--ep-black-card);
}
.ep-feed-card + .ep-feed-card { margin-top: 16px; }

.ep-feed-media { position: absolute; inset: 0; }
.ep-feed-media img { width: 100%; height: 100%; object-fit: cover; }
.ep-feed-media-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ep-font-display); font-size: 5rem;
  color: var(--ep-gold-dim);
  background: radial-gradient(circle at 30% 20%, var(--ep-black-soft), var(--ep-black));
}

.ep-feed-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.1) 0%, rgba(10,10,11,.35) 55%, rgba(10,10,11,.94) 100%);
}

.ep-feed-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 20px 84px 22px 18px;
}
.ep-feed-artist {
  font-family: var(--ep-font-display);
  font-size: 1.15rem;
  color: var(--ep-white);
  cursor: pointer;
}
.ep-feed-song { color: var(--ep-gold-bright); font-size: 0.92rem; margin: 2px 0 6px; }
.ep-feed-genre { font-size: 0.76rem; color: var(--ep-white-dim); margin-bottom: 14px; }

.ep-feed-actions {
  position: absolute; right: 12px; bottom: 22px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.ep-feed-action-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(10,10,11,.55);
  border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--ep-white); cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.ep-feed-action-btn:hover { background: rgba(18, 214, 255, 0.25); }
.ep-feed-action-btn:active { transform: scale(0.92); }
.ep-feed-action-btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.ep-feed-action-count { font-size: 0.7rem; color: var(--ep-white-dim); margin-top: 4px; text-align: center; }

@media (max-width: 640px) {
  .ep-feed { max-width: 100%; height: calc(100vh - 240px); border-radius: 0; }
  .ep-feed-card { border-radius: 0; }
  .ep-feed-card + .ep-feed-card { margin-top: 10px; }
}

/* ---------- Mode swipe (découverte par glissement, votes illimités) ---------- */
.ep-swipe-page { padding: 24px 0 150px; }
.ep-swipe-page-minimal { padding: 14px 0 150px; }
.ep-swipe-head-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.ep-swipe-head-mini .ep-swipe-prize-badge,
.ep-swipe-head-mini .ep-swipe-unlimited-badge { margin-bottom: 0; }

.ep-swipe-filter, .ep-discover-filter { justify-content: center; margin-bottom: 10px; gap: 5px; }

/* ---- Tous/Artistes/IA en mode Swipe/Découvrir : icône + mini texte, façon
   barre de navigation TikTok, plus un bouton "+" mis en avant pour uploader
   directement sa musique (comme le bouton de création TikTok). Version
   compacte (mode Swipe uniquement) : boutons resserrés pour laisser un
   maximum de place à la carte, avec un effet plus marqué (lueur, léger
   agrandissement) sur l'onglet actif pour rester bien visible malgré la
   taille réduite. ---- */
.ep-swipe-filter .ep-tab,
.ep-discover-filter .ep-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 4px 10px;
  border-radius: 10px;
  background: transparent;
  border: none;
  font-size: 0.56rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ep-white-dim);
  text-decoration: none;
  box-shadow: none;
  transform: none;
  transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.ep-swipe-filter .ep-tab-icon,
.ep-discover-filter .ep-tab-icon {
  font-size: 0.98rem;
  line-height: 1;
}
.ep-swipe-filter .ep-tab:hover,
.ep-discover-filter .ep-tab:hover {
  color: var(--ep-white);
  background: rgba(255,255,255,0.06);
  border-color: transparent;
}
.ep-swipe-filter .ep-tab:active,
.ep-discover-filter .ep-tab:active { transform: scale(0.88); }
.ep-swipe-filter .ep-tab.active,
.ep-discover-filter .ep-tab.active {
  color: var(--ep-gold);
  background: rgba(18, 214, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(18, 214, 255, 0.4), 0 0 14px rgba(18, 214, 255, 0.45);
  transform: scale(1.06);
}
.ep-swipe-filter .ep-tab-ia.active,
.ep-discover-filter .ep-tab-ia.active {
  color: var(--ep-neon-purple-bright);
  background: rgba(180, 53, 255, 0.18);
  box-shadow: 0 0 0 1px rgba(180, 53, 255, 0.45), 0 0 14px rgba(180, 53, 255, 0.5);
}
.ep-swipe-filter .ep-tab-upload,
.ep-discover-filter .ep-tab-upload {
  color: #fff;
  background: linear-gradient(135deg, #ff6b81, var(--ep-red-accent, #ff2d55));
  box-shadow: 0 3px 12px rgba(255, 45, 85, 0.45);
}
.ep-swipe-filter .ep-tab-upload:hover,
.ep-discover-filter .ep-tab-upload:hover {
  filter: brightness(1.12);
  background: linear-gradient(135deg, #ff6b81, var(--ep-red-accent, #ff2d55));
}
.ep-swipe-filter .ep-tab-upload:active,
.ep-discover-filter .ep-tab-upload:active { transform: scale(0.9); }
.ep-swipe-filter .ep-tab-upload .ep-tab-icon,
.ep-discover-filter .ep-tab-upload .ep-tab-icon {
  font-size: 1.1rem;
}
.ep-swipe-counter-floating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  margin: 0 0 6px;
  min-height: 1.6em;
}

/* ---- Combo "🔥 en série" (mode Swipe) : pastille qui n'apparaît qu'à partir
   de 2 votes d'affilée, disparaît d'elle-même dès qu'on passe une carte
   (:empty { display:none } évite tout espace réservé quand il n'y a rien à
   montrer). Un petit "pop" la fait rebondir à chaque incrément, voir
   js/swipe.js (bumpCombo). ---- */
.ep-swipe-combo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffe1c2;
  background: linear-gradient(135deg, rgba(255,154,86,0.28), rgba(255,45,85,0.28));
  border: 1px solid rgba(255,138,66,0.55);
  box-shadow: 0 0 14px rgba(255,86,66,0.25);
  white-space: nowrap;
}
.ep-swipe-combo:empty { display: none; }
.ep-swipe-combo.ep-swipe-combo-pop { animation: ep-combo-pop 0.38s cubic-bezier(.34,1.56,.64,1); }
@keyframes ep-combo-pop {
  0% { transform: scale(0.55); }
  60% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* ---- Explosion plein écran aux paliers 5/10/20/30… (voir js/swipe.js,
   triggerComboBurst) : texte + particules 🔥 qui irradient depuis le centre,
   purement décoratif (aria-hidden, pointer-events:none). Ancrée en position
   fixed pour rester centrée quel que soit l'endroit du DOM où elle vit, et
   ne jamais gêner le swipe en dessous. ---- */
.ep-swipe-combo-burst {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 60;
  pointer-events: none;
  text-align: center;
}
.ep-swipe-combo-burst-text {
  font-family: var(--ep-font-display);
  font-size: clamp(1.3rem, 6vw, 2rem);
  font-weight: 700;
  color: var(--ep-white);
  text-shadow: 0 0 18px rgba(255,86,66,0.85), 0 0 40px rgba(180,53,255,0.5);
  white-space: nowrap;
  opacity: 0;
}
.ep-swipe-combo-burst-particles {
  position: absolute;
  inset: 0;
}
.ep-swipe-combo-burst-particle {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 1.4rem;
  opacity: 0;
}
.ep-swipe-combo-burst.show .ep-swipe-combo-burst-text {
  animation: ep-combo-burst-text 1.1s cubic-bezier(.2,.8,.2,1);
}
.ep-swipe-combo-burst.show .ep-swipe-combo-burst-particle {
  animation: ep-combo-burst-particle 0.95s ease-out;
  animation-delay: calc(var(--i) * 0.03s);
}
@keyframes ep-combo-burst-text {
  0% { opacity: 0; transform: scale(0.6); }
  25% { opacity: 1; transform: scale(1.15); }
  45% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}
@keyframes ep-combo-burst-particle {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateY(0) scale(0.6); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateY(-90px) scale(1); }
}

/* ---- Bouton "↩ Annuler" (mode Swipe) : filet de rattrapage 3s après chaque
   swipe pour un geste parti trop vite. Vit dans la barre de filtres, juste
   à droite de l'onglet IA — emplacement fixe, en rouge, qui ne bouge jamais
   (visibility/opacity plutôt que display, pour ne jamais décaler les autres
   onglets — Upload notamment — à son apparition/disparition). ---- */
.ep-swipe-filter .ep-swipe-undo {
  color: #ff8a95;
  background: rgba(255, 45, 85, 0.14);
  border: 1px solid rgba(255, 45, 85, 0.55);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, background 0.15s ease, transform 0.15s ease;
}
.ep-swipe-filter .ep-swipe-undo.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: ep-swipe-undo-pulse 1.1s ease-in-out infinite;
}
.ep-swipe-filter .ep-swipe-undo:hover { background: rgba(255, 45, 85, 0.24); }
.ep-swipe-filter .ep-swipe-undo:active { transform: scale(0.88); }
.ep-swipe-undo-icon { font-size: 0.92rem; }
@keyframes ep-swipe-undo-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 45, 85, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(255, 45, 85, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ep-swipe-filter .ep-swipe-undo.show { animation: none; }
}
.ep-swipe-share-btn {
  border: 1px solid rgba(233, 200, 116, 0.4);
  background: rgba(233, 200, 116, 0.1);
  color: #e9c874;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.ep-swipe-share-btn:hover { background: rgba(233, 200, 116, 0.18); }
.ep-swipe-head { text-align: center; margin-bottom: 14px; }
.ep-swipe-head h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 4px 0; }
.ep-swipe-head .ep-eyebrow { margin-bottom: 2px; }
.ep-swipe-head p.ep-muted { font-size: 0.86rem; margin-bottom: 4px !important; }
.ep-swipe-prize-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(233, 200, 116, 0.14);
  color: #f0d48a;
  border: 1px solid rgba(233, 200, 116, 0.4);
  margin-bottom: 6px;
}
.ep-swipe-prize-badge:hover { background: rgba(233, 200, 116, 0.22); }
.ep-swipe-badges {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap; margin-top: 8px;
}
.ep-swipe-unlimited-badge {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em;
  background: rgba(18, 214, 255, 0.14); color: var(--ep-gold-bright);
  border: 1px solid rgba(18, 214, 255, 0.35);
}
.ep-swipe-counter { font-size: 0.8rem; color: var(--ep-white-dim); }

.ep-swipe-stage {
  position: relative;
  width: 100%;
  max-width: 340px;
  height: min(54vh, 460px);
  height: min(calc(var(--ep-vh, 1vh) * 54), 460px);
  margin: 0 auto;
}

.ep-swipe-card {
  position: absolute;
  inset: 0;
  border-radius: var(--ep-radius);
  overflow: hidden;
  background: var(--ep-black-card);
  box-shadow: var(--ep-shadow);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: transform .32s cubic-bezier(.2,.8,.2,1), opacity .32s ease;
  will-change: transform;
}
.ep-swipe-card.ep-swipe-dragging { transition: none; cursor: grabbing; }
.ep-swipe-card.ep-swipe-stack-1 { transform: scale(0.95) translateY(14px); opacity: 0.75; pointer-events: none; }
.ep-swipe-card.ep-swipe-stack-2 { transform: scale(0.90) translateY(26px); opacity: 0.45; pointer-events: none; z-index: 0; }
.ep-swipe-card.ep-swipe-top { z-index: 3; }
.ep-swipe-card.ep-swipe-fly-right { transform: translate(160%, -30px) rotate(28deg) !important; opacity: 0; }
.ep-swipe-card.ep-swipe-fly-left { transform: translate(-160%, -30px) rotate(-28deg) !important; opacity: 0; }

.ep-swipe-card-media { position: absolute; inset: 0; aspect-ratio: auto; flex-shrink: 1; }
.ep-swipe-card-media img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ep-swipe-card-media-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ep-font-display); font-size: 5rem;
  color: var(--ep-gold-dim);
  background: radial-gradient(circle at 30% 20%, var(--ep-black-soft), var(--ep-black));
}
.ep-swipe-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.05) 0%, rgba(10,10,11,.3) 55%, rgba(10,10,11,.95) 100%);
  pointer-events: none;
}
.ep-swipe-card-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 20px 66px 22px 20px;
}
.ep-swipe-card-artist { font-family: var(--ep-font-display); font-size: 1.25rem; color: var(--ep-white); }
.ep-swipe-card-artist-link { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; width: fit-content; }
.ep-swipe-card-profile-hint { font-size: 0.8rem; color: var(--ep-gold); opacity: 0.75; }
.ep-swipe-card-song { color: var(--ep-gold-bright); font-size: 0.95rem; margin: 2px 0 6px; }
.ep-swipe-card-meta { font-size: 0.78rem; color: var(--ep-white-dim); }
.ep-swipe-card .ep-cover-play-btn { opacity: 1; transform: translateY(0); bottom: 20px; right: 16px; }
.ep-swipe-card-fav-slot {
  position: absolute; top: 10px; right: 14px; bottom: 70px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  overflow: hidden;
}
/* Chaque bouton (cœur, commentaires, vote ultime, partage) est suivi d'un
   petit libellé/compteur en dessous — même principe que les ❤️ 💬 de TikTok
   sur le fil "Découvrir" (.ep-feed-actions), repris ici pour le mode Swipe.
   Taille volontairement compacte (vs. .ep-feed-actions) : sur un navigateur
   mobile non installé (pas de PWA), la barre d'adresse réduit la hauteur
   visible réelle, donc celle de la carte (voir --ep-vh). Le "bottom: 70px"
   réserve la zone du bouton ▶ (bottom:20px + 44px de haut) en bas à droite :
   sans cette réserve, la colonne peut descendre jusqu'à cette zone et son
   dernier bouton (vote ultime 🎟️) se retrouve alors caché derrière le
   bouton ▶ (au-dessus, z-index plus élevé) — impossible à taper. TikTok +
   Instagram sont groupés côte à côte (voir .ep-swipe-card-social-row) pour
   gagner un cran de hauteur supplémentaire dans cette colonne. */
.ep-swipe-card-fav-slot > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ep-swipe-card-social-row { flex-direction: row !important; gap: 6px; }
.ep-swipe-card-fav-slot .ep-fav-btn,
.ep-swipe-card-fav-slot .ep-social-share-btn,
.ep-swipe-card-fav-slot .ep-feed-action-btn {
  width: 33px; height: 33px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 1rem;
  backdrop-filter: blur(4px);
  cursor: pointer;
  color: var(--ep-white);
}
.ep-swipe-card-fav-slot .ep-fav-btn.active { background: rgba(255, 45, 85, 0.3); border-color: rgba(255, 45, 85, 0.6); }
.ep-swipe-card-fav-slot .ep-feed-action-count {
  font-size: 0.58rem;
  margin-top: 2px;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.ep-swipe-card.ep-card:hover { transform: none; box-shadow: 0 8px 22px rgba(0,0,0,.4); border-color: rgba(255,255,255,0.06); }

/* Solde de votes affiche directement sur la carte (en haut a gauche, en
   miroir de la colonne d'icones en haut a droite) : reste visible en
   permanence pendant le swipe, sans avoir a lever les yeux vers le haut de
   la page. Voir js/swipe.js, cardHtml(). */
.ep-swipe-card-vote-badge { position: absolute; top: 12px; left: 14px; z-index: 2; }
.ep-swipe-card-vote-badge .ep-vote-balance {
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(4px);
  padding: 5px 11px;
  font-size: 0.68rem;
  white-space: nowrap;
}

.ep-swipe-stamp {
  position: absolute; top: 26px; z-index: 2;
  padding: 8px 16px;
  border-radius: 10px;
  font-family: var(--ep-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 3px solid;
  opacity: 0;
  pointer-events: none;
}
.ep-swipe-stamp-yes { right: 22px; color: #7fe3a8; border-color: #7fe3a8; transform: rotate(14deg); }
.ep-swipe-stamp-no { left: 22px; color: #ff8a95; border-color: #ff8a95; transform: rotate(-14deg); }

.ep-swipe-controls {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  margin-top: 16px;
}
.ep-swipe-btn {
  width: 54px; height: 54px; border-radius: 50%;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 22px rgba(0,0,0,.4);
  transition: transform .15s ease, background .15s ease;
}
.ep-swipe-btn:active { transform: scale(0.9); }
.ep-swipe-btn-no { background: var(--ep-black-card); border: 2px solid rgba(255,138,149,.5); color: #ff8a95; }
.ep-swipe-btn-no:hover { background: rgba(255,45,85,0.12); }
.ep-swipe-btn-yes { background: var(--ep-gold); color: #04181f; }
.ep-swipe-btn-yes:hover { background: var(--ep-gold-bright); }

.ep-swipe-hint { text-align: center; font-size: 0.76rem; margin-top: 10px; }

.ep-swipe-end {
  text-align: center; padding: 60px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.ep-swipe-end h2 { font-family: var(--ep-font-display); font-size: 1.4rem; }

@media (max-width: 480px) {
  .ep-swipe-stage { max-width: 100%; height: min(64vh, 530px); height: min(calc(var(--ep-vh, 1vh) * 64), 530px); }
  /* Sur mobile, l'en-tête (logo + accueil/playlist/scroll + connexion) est
     plus haut qu'avant : on resserre les marges autour de la carte pour que
     la carte ET les boutons ✕/♥ du bas restent visibles sans avoir à
     scroller, quelle que soit la hauteur de l'écran. Onglets Tous/Artistes/IA
     + Annuler/Upload resserrés au maximum (voir .ep-swipe-filter .ep-tab) :
     l'espace gagné revient à la carte. */
  .ep-swipe-page-minimal { padding-top: 4px; }
  .ep-swipe-filter { margin-bottom: 6px; }
  .ep-swipe-controls { margin-top: 8px; }
  .ep-swipe-hint { margin-top: 4px; }
}

/* ---------- Tiroir des commentaires ---------- */
.ep-comments-drawer {
  position: fixed; inset: 0; z-index: 260;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0,0,0,.62);
  padding: 0;
}
.ep-comments-panel {
  width: 100%; max-width: 480px; max-height: 72vh;
  background: var(--ep-black-card);
  border-radius: 18px 18px 0 0;
  box-shadow: var(--ep-shadow);
  padding: 18px;
  display: flex; flex-direction: column;
}
.ep-comments-list { flex: 1; overflow-y: auto; margin: 12px 0; }
.ep-comment-item { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.07); }
.ep-comment-item:first-child { border-top: none; }
.ep-comment-author { font-size: 0.82rem; font-weight: 600; color: var(--ep-gold-bright); }
.ep-comment-text { font-size: 0.88rem; color: var(--ep-white-dim); margin: 3px 0; word-break: break-word; }
.ep-comment-date { font-size: 0.7rem; color: var(--ep-white-dim); opacity: .65; }
.ep-comment-delete {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--ep-red-accent); font-size: 0.7rem; opacity: .85;
}
.ep-comment-delete:hover { opacity: 1; }
.ep-comment-report {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--ep-white-dim); font-size: 0.7rem; opacity: .7; text-decoration: underline; text-decoration-style: dotted;
}
.ep-comment-report:hover { opacity: 1; }
.ep-comment-report[disabled] { cursor: default; text-decoration: none; }
.ep-comment-form { display: flex; gap: 8px; }
.ep-comment-form input {
  flex: 1;
  background: var(--ep-black-soft);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--ep-radius-sm);
  padding: 10px 12px;
  color: var(--ep-white);
  font-size: 0.88rem;
  font-family: var(--ep-font-body);
}
.ep-comment-form input:focus { outline: none; border-color: var(--ep-gold); }

/* ---------- Favoris ---------- */
.ep-fav-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 45, 85, 0.35);
  background: rgba(255, 45, 85, 0.08);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.ep-fav-btn:hover { background: rgba(255, 45, 85, 0.18); }
.ep-fav-btn:active { transform: scale(0.92); }
.ep-fav-btn.active { border-color: rgba(255, 45, 85, 0.6); background: rgba(255, 45, 85, 0.16); }
.ep-fav-btn[disabled] { opacity: 0.3; cursor: not-allowed; }

.ep-feed-action-btn.ep-fav-btn { background: rgba(10,10,11,.55); border: 1px solid rgba(255,255,255,.14); }
.ep-feed-action-btn.ep-fav-btn.active { background: rgba(255, 45, 85, 0.3); border-color: rgba(255, 45, 85, 0.6); }
.ep-feed-actions .ep-social-share-btn { width: 46px; height: 46px; background: rgba(10,10,11,.55); }

/* Boutons de partage TikTok / Instagram — logos officiels, cliquables,
   affichés côte à côte à côté du bouton Voter sur chaque fiche musique. */
.ep-social-share-group { display: flex; gap: 8px; }
.ep-social-share-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ep-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.ep-social-share-btn:active { transform: scale(0.92); }
.ep-social-share-tiktok:hover { background: rgba(18, 214, 255, 0.16); border-color: rgba(18, 214, 255, 0.45); color: #12d6ff; }
.ep-social-share-instagram:hover { background: rgba(214, 44, 137, 0.16); border-color: rgba(214, 44, 137, 0.5); color: #e1306c; }

/* Zones tactiles un peu plus généreuses sur mobile pour les boutons ronds
   denses (favoris, partage) — 34px est sous la taille tactile recommandée.
   Placé après les règles de base (même spécificité) pour bien les surcharger. */
@media (max-width: 700px) {
  .ep-fav-btn, .ep-social-share-btn { width: 40px; height: 40px; }
}

/* Bouton Voter — violet, pour se démarquer visuellement des autres actions
   de la fiche (partage, favoris, Vote Ultime) sur toutes les pages où il
   apparaît (accueil, classement, favoris, profil artiste, fil). */
.ep-vote-btn {
  background: linear-gradient(135deg, var(--ep-neon-purple), var(--ep-neon-purple-bright)) !important;
  border: none !important;
  color: #fff !important;
}
.ep-vote-btn:hover { filter: brightness(1.1); }
.ep-vote-btn[disabled] { filter: grayscale(0.6); opacity: 0.55; }

/* Bouton Vote Ultime (🎟️) directement sur les fiches musique — rempli
   d'un dégradé or/VIP bien visible (pas juste teinté) avec un léger pouls
   lumineux, pour se distinguer clairement comme une action à part, rare et
   irréversible, et ne pas se noyer à côté des boutons de partage. */
.ep-ultimate-vote-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #fff3d1;
  background: linear-gradient(135deg, #f0d48a, #e9c874);
  color: #241a06;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  animation: ep-ultimate-pulse 2.4s ease-in-out infinite;
}
.ep-ultimate-vote-btn:hover { transform: scale(1.1); }
.ep-ultimate-vote-btn:active { transform: scale(0.92); }
.ep-ultimate-vote-btn.active {
  background: linear-gradient(135deg, #fff3d1, #e9c874);
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(233, 200, 116, 0.35), 0 0 16px 2px rgba(233, 200, 116, 0.55);
  animation: none;
}
@keyframes ep-ultimate-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 200, 116, 0.6); }
  50% { box-shadow: 0 0 0 7px rgba(233, 200, 116, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ep-ultimate-vote-btn { animation: none; }
}
.ep-swipe-card-fav-slot .ep-ultimate-vote-btn { width: 34px; height: 34px; }
.ep-feed-actions .ep-ultimate-vote-btn { width: 48px; height: 48px; }

/* ---------- FAQ ---------- */
.ep-faq-page { max-width: 760px; margin: 0 auto; padding: 20px 0 70px; }
.ep-faq-head { text-align: center; margin-bottom: 36px; }
.ep-faq-head p { max-width: 480px; margin: 8px auto 0; }
.ep-faq-list { display: flex; flex-direction: column; gap: 10px; }
.ep-faq-item {
  background: var(--ep-black-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--ep-radius-sm);
  padding: 4px 20px;
}
.ep-faq-item summary {
  padding: 16px 0;
  font-weight: 600;
  color: var(--ep-white);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ep-faq-item summary::-webkit-details-marker { display: none; }
.ep-faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--ep-font-display);
  font-size: 1.3rem;
  color: var(--ep-gold);
  transition: transform 0.2s ease;
}
.ep-faq-item[open] summary::after { transform: rotate(45deg); }
.ep-faq-item p { color: var(--ep-white-dim); padding-bottom: 18px; margin: 0; }
.ep-faq-footer-cta {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ep-faq-footer-cta .btn { margin-top: 10px; }

.ep-hero-referral-mini {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ep-gold-bright);
  background: rgba(18, 214, 255, 0.1);
  border: 1px solid rgba(18, 214, 255, 0.3);
  text-decoration: none;
  transition: background 0.15s ease;
}
.ep-hero-referral-mini:hover { background: rgba(18, 214, 255, 0.18); }

.ep-referral-promo {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 32px;
  background: linear-gradient(160deg, rgba(18, 214, 255, 0.08), var(--ep-black-card) 60%);
  border: 1px solid rgba(18, 214, 255, 0.18);
}
.ep-referral-promo h2 { margin: 4px 0 10px; }
.ep-referral-promo p { max-width: 460px; margin-left: auto; margin-right: auto; }
.ep-referral-promo .btn { margin-top: 18px; }

/* ---------- Vote Ultime (carte VIP dorée, jauge de progression) ---------- */
.ep-ultimate-card {
  max-width: 640px;
  margin: 0 auto 40px;
  background: var(--ep-black-card);
  border: 1px solid rgba(233, 200, 116, 0.35);
  border-radius: var(--ep-radius);
  overflow: hidden;
  box-shadow: var(--ep-shadow);
}
.ep-ultimate-card-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 28px 20px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 243, 209, 0.28), transparent 60%),
    linear-gradient(135deg, rgba(233, 200, 116, 0.35), rgba(169, 121, 31, 0.25));
  border-bottom: 1px solid rgba(233, 200, 116, 0.3);
}
.ep-ultimate-icon {
  flex: none;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.35);
}
.ep-ultimate-card-top .ep-eyebrow { color: #e9c874; margin-bottom: 4px; }
.ep-ultimate-card-top h2 { margin: 0; font-size: 1.35rem; color: var(--ep-white); }
.ep-ultimate-card-body { padding: 22px 28px 28px; }
.ep-ultimate-card-body > p { color: var(--ep-white-dim); font-size: 0.92rem; margin-bottom: 22px; line-height: 1.6; }

.ep-ultimate-progress { margin-bottom: 22px; }
.ep-ultimate-progress-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.ep-ultimate-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #a9791f, #e9c874, #fff3d1);
  border-radius: 999px;
  transition: width 0.5s ease;
}
.ep-ultimate-progress-label {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e9c874;
  font-variant-numeric: tabular-nums;
}

.ep-ultimate-cta .btn { width: 100%; }
.ep-ultimate-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--ep-radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
}
.ep-ultimate-status-mine { background: rgba(233, 200, 116, 0.14); border: 1px solid rgba(233, 200, 116, 0.4); color: #fff3d1; }
.ep-ultimate-status-elsewhere { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--ep-white-dim); }
.ep-ultimate-status-elsewhere a { color: #e9c874; text-decoration: underline; }
.ep-ultimate-status-capped { background: rgba(255, 45, 85, 0.08); border: 1px solid rgba(255, 45, 85, 0.3); color: #ff9aab; }

/* Badge compact réutilisé dans le hero de l'accueil (mon vote ultime) et
   dans le tableau du classement (compteur par artiste). */
.ep-ultimate-mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff3d1;
  background: rgba(233, 200, 116, 0.14);
  border: 1px solid rgba(233, 200, 116, 0.4);
  text-decoration: none;
  transition: background 0.15s ease;
}
.ep-ultimate-mini-badge:hover { background: rgba(233, 200, 116, 0.22); }
.ep-ultimate-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #e9c874;
  white-space: nowrap;
}

/* ---------- Filtres du classement (recherche + genre + ville) ---------- */
.ep-ranking-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.ep-ranking-filter-input,
.ep-ranking-filter-select {
  background: var(--ep-black-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ep-radius-sm);
  color: var(--ep-white);
  padding: 10px 14px;
  font-size: 0.88rem;
  font-family: inherit;
}
.ep-ranking-filter-input { flex: 1; min-width: 180px; }
.ep-ranking-filter-input::placeholder { color: var(--ep-white-dim); }
.ep-ranking-filter-select { min-width: 140px; }

/* ---------- Ton pouvoir de vote (résumé des 6 façons de voter) ---------- */
.ep-vote-guide {
  background: var(--ep-black-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ep-radius);
  padding: 24px 28px;
}
.ep-vote-guide h3 { margin: 0 0 16px; font-size: 1.05rem; color: var(--ep-white); }
.ep-vote-guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 20px; }
.ep-vote-guide-item { font-size: 0.86rem; color: var(--ep-white-dim); line-height: 1.5; }

/* Variante compacte, utilisée sur la page Classement juste au-dessus du
   pack de votes (là où on vote vraiment) — une seule ligne qui défile
   horizontalement plutôt qu'une grille. */
.ep-vote-guide-compact { padding: 16px 20px; }
.ep-vote-guide-compact h3 { margin: 0 0 10px; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ep-white-dim); }
.ep-vote-guide-compact .ep-vote-guide-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  grid-template-columns: unset;
}
.ep-vote-guide-compact .ep-vote-guide-item { flex: none; white-space: nowrap; font-size: 0.8rem; }

/* ---------- Profil artiste (bandeau + liste de morceaux) ---------- */
.ep-artist-hero {
  position: relative;
  padding: 64px 0 40px;
  overflow: hidden;
}
.ep-artist-hero-backdrop {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.55) saturate(1.1);
  transform: scale(1.1);
}
.ep-artist-hero-backdrop-empty {
  background: radial-gradient(circle at 30% 20%, var(--ep-black-soft), var(--ep-black));
}
.ep-artist-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.35) 0%, var(--ep-black) 92%);
}
.ep-artist-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.ep-artist-hero-photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.14);
  box-shadow: var(--ep-shadow);
  background: var(--ep-black-card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ep-artist-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.ep-artist-hero-photo span { font-family: var(--ep-font-display); font-size: 3rem; color: var(--ep-gold-dim); }
.ep-artist-hero-info { flex: 1; min-width: 220px; }
.ep-artist-hero-name { margin: 0 0 4px; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.ep-artist-hero-meta { color: var(--ep-white-dim); font-size: 0.95rem; margin: 0 0 14px; }
.ep-artist-hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ep-artist-follower-count { color: var(--ep-white-dim); font-size: 0.88rem; }

.ep-artist-body { padding: 0 0 70px; }
.ep-artist-bio { max-width: 680px; margin: 0 0 44px; }
.ep-artist-bio p { color: var(--ep-white-dim); white-space: pre-wrap; }
.ep-artist-section-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ep-white);
  margin: 0;
}
.ep-artist-tracks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.ep-tracklist {
  display: flex;
  flex-direction: column;
  border-radius: var(--ep-radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.ep-track-row {
  display: grid;
  grid-template-columns: 28px 1fr auto auto 52px;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--ep-black-card);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: background .15s ease;
}
.ep-track-row:last-child { border-bottom: none; }
.ep-track-row:hover { background: rgba(255,255,255,0.04); }
.ep-track-row:hover .ep-track-num { display: none; }
.ep-track-row:hover .ep-track-play-btn { display: flex; }
.ep-track-num {
  font-variant-numeric: tabular-nums;
  color: var(--ep-white-dim);
  font-size: 0.85rem;
  text-align: center;
}
.ep-track-play-btn {
  display: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--ep-gold);
  color: #14110a;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  cursor: pointer;
  grid-column: 1;
}
.ep-track-play-btn.playing { display: flex; background: var(--ep-neon-purple); color: #fff; }
.ep-track-title-wrap { min-width: 0; }
.ep-track-title { font-weight: 600; color: var(--ep-white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-track-duration {
  font-variant-numeric: tabular-nums;
  color: var(--ep-white-dim);
  font-size: 0.85rem;
  text-align: right;
}
@media (max-width: 560px) {
  .ep-artist-hero-inner { gap: 18px; }
  .ep-artist-hero-photo { width: 100px; height: 100px; }
  .ep-track-row { grid-template-columns: 24px 1fr auto 40px; }
  .ep-track-row .ep-vote-btn { display: none; }
}

/* ---------- Admin : vue d'ensemble (analytics) ---------- */
.ep-admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
.ep-admin-stat-card {
  background: var(--ep-black-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ep-radius-sm);
  padding: 18px;
}
.ep-admin-stat-icon { font-size: 1.4rem; margin-bottom: 6px; }
.ep-admin-stat-value { font-family: "Cinzel", serif; font-size: 1.8rem; font-weight: 700; color: var(--ep-gold-bright); line-height: 1.1; }
.ep-admin-stat-label { color: var(--ep-white); font-size: 0.88rem; font-weight: 600; margin-top: 4px; }
.ep-admin-stat-sub { color: var(--ep-white-dim); font-size: 0.76rem; margin-top: 4px; }

.ep-admin-chart {
  background: var(--ep-black-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ep-radius-sm);
  padding: 20px 16px 12px;
  overflow-x: auto;
}
.ep-admin-chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; min-width: 480px; }
.ep-admin-chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.ep-admin-chart-bar {
  width: 100%;
  max-width: 26px;
  background: linear-gradient(180deg, var(--ep-gold-bright), var(--ep-gold));
  border-radius: 3px 3px 0 0;
  min-height: 2px;
  transition: filter 0.15s ease;
}
.ep-admin-chart-col:hover .ep-admin-chart-bar { filter: brightness(1.2); }
.ep-admin-chart-label { color: var(--ep-white-dim); font-size: 0.68rem; margin-top: 6px; white-space: nowrap; }

/* ---------- Ajustements ergonomie mobile (placés en fin de fichier pour
   surcharger toutes les règles de base ci-dessus, quel que soit leur ordre
   d'origine) ---------- */

/* Hero très chargé sur petit écran (badge, titre, actions, bonus quotidien,
   stats, compte à rebours, parrainage...) : on resserre les espacements et
   on passe les boutons principaux en pleine largeur, plus faciles à taper. */
@media (max-width: 480px) {
  .ep-hero { padding: 50px 0 40px; }
  .ep-hero-actions { margin-top: 20px; gap: 10px; }
  .ep-hero-actions .btn { flex: 1 1 100%; }
  .ep-install-badges { margin-top: 10px; gap: 8px; }
  .ep-install-badges .btn { flex: 1 1 auto; }
  .ep-hero-stats { margin-bottom: 12px; gap: 8px; }
}

/* Réduit l'espace entre le menu (sticky en haut) et le contenu de la
   bannière juste en dessous, sur mobile : seul le padding du HAUT de la
   toute première section de la page est resserré (le bas / l'espacement
   entre les sections suivantes ne change pas). */
@media (max-width: 700px) {
  #ep-header + .ep-hero { padding-top: 18px !important; }
  #ep-header + .ep-section { padding-top: 20px !important; }
}

/* ---------- Panneau compact "Classement IA" de l'accueil (façon carte du
   pack de votes) : liste courte de 5 morceaux max, le reste se trouve sur
   le classement complet via le bouton en bas du panneau. ---------- */
.ep-ia-mini-panel {
  max-width: 440px;
  background: var(--ep-black-card);
  border: 1px solid rgba(180, 53, 255, 0.3);
  border-radius: var(--ep-radius);
  padding: 8px 18px 18px;
  box-shadow: var(--ep-shadow);
}
.ep-ia-mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.ep-ia-mini-row:last-of-type { border-bottom: none; }
.ep-ia-mini-rank {
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  color: var(--ep-neon-purple-bright);
  font-family: var(--ep-font-display);
  font-weight: 700;
}
.ep-ia-mini-cover {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ep-black-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ep-font-display);
  color: var(--ep-white-dim);
}
.ep-ia-mini-cover img { width: 100%; height: 100%; object-fit: cover; }
.ep-ia-mini-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ep-ia-mini-name {
  color: var(--ep-white);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-ia-mini-name:hover { color: var(--ep-neon-purple-bright); }
.ep-ia-mini-song {
  font-size: 0.76rem;
  color: var(--ep-white-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-ia-mini-votes {
  flex-shrink: 0;
  font-size: 0.78rem;
  color: var(--ep-white-dim);
  white-space: nowrap;
}
/* Lecture directe depuis le classement de la page d'accueil, sans avoir à
   cliquer sur "Voir le classement complet". */
.ep-ia-mini-row .ep-player { flex-shrink: 0; }
@media (max-width: 480px) {
  .ep-ia-mini-row { gap: 6px; }
  .ep-ia-mini-row .ep-play-btn,
  .ep-ia-mini-row .ep-fav-btn { width: 30px; height: 30px; }
}
.ep-ia-mini-cta { margin-top: 14px; }

/* ---------- Panneau promo fusionné du hero (prix Gala + appel artistes),
   compact, juste sous le compte à rebours. ---------- */
.ep-hero-promo-panel {
  margin-top: 18px;
  padding: 16px 18px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(233, 200, 116, 0.14), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(180, 53, 255, 0.14), transparent 60%),
    var(--ep-black-card);
  border: 1px solid rgba(233, 200, 116, 0.3);
  border-radius: var(--ep-radius);
  box-shadow: var(--ep-shadow);
}
.ep-hero-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(233, 200, 116, 0.14);
  border: 1px solid rgba(233, 200, 116, 0.4);
  color: #f0d48a;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ep-hero-promo-panel h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 6px;
  background: linear-gradient(100deg, #a9791f 0%, #fff3d1 22%, #e9c874 45%, #d896ff 70%, #a9791f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ep-hero-promo-panel p { font-size: 0.78rem; color: var(--ep-white-dim); line-height: 1.45; margin: 0 0 12px; }
.ep-hero-promo-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Choix du rôle à l'inscription (visiteur/fan vs artiste) : deux
   cartes cliquables avec icône + description, plus lisibles que deux
   simples boutons radio côte à côte. ---------- */
.ep-role-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.ep-role-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 18px 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ep-radius-sm);
  background: var(--ep-black-soft);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ep-role-card input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ep-role-card-icon { font-size: 1.6rem; }
.ep-role-card-title { font-weight: 700; color: var(--ep-white); font-size: 0.92rem; }
.ep-role-card-desc { font-size: 0.72rem; color: var(--ep-white-dim); line-height: 1.35; }
.ep-role-card:hover { border-color: rgba(233, 200, 116, 0.4); }
.ep-role-card:has(input:checked),
.ep-role-card.active {
  border-color: var(--ep-gold);
  background: rgba(233, 200, 116, 0.1);
}
@media (max-width: 420px) {
  .ep-role-choice { grid-template-columns: 1fr; }
}

.ep-mt-24 { margin-top: 24px; }

/* ---------- Tableau de bord Artiste : panneaux cohérents (même esprit que
   les cartes du classement / du pack de votes), avec l'upload d'un morceau
   mis en avant comme priorité n°1. ---------- */
.ep-dashboard-panel {
  background: var(--ep-black-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ep-radius);
  padding: 26px 28px;
  box-shadow: var(--ep-shadow);
}
.ep-dashboard-panel h2 { margin-top: 0; }
.ep-dashboard-panel-primary {
  border-color: rgba(233, 200, 116, 0.4);
  background:
    radial-gradient(ellipse at 15% 0%, rgba(233, 200, 116, 0.1), transparent 55%),
    var(--ep-black-card);
}
.ep-dashboard-panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ep-dashboard-panel-icon { font-size: 1.9rem; flex-shrink: 0; line-height: 1; }
#ep-become-artist .ep-dashboard-panel-icon { display: block; font-size: 2.2rem; margin-bottom: 10px; }

/* Champs d'upload groupés par paire (titre+genre, fichier+photo) pour un
   formulaire plus compact et plus rapide à parcourir. */
.ep-upload-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) {
  .ep-upload-row { grid-template-columns: 1fr; }
}
.ep-upload-ai-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  cursor: pointer;
}

.ep-dashboard-activity-divider { border-top: 1px dashed rgba(255, 255, 255, 0.12); }
