@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #121212;
  color: white;
  margin: 0;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 50px;
}

/* container */
#app {
  max-width: 500px;
  margin: auto;
  padding: 15px;
}

/* titres */
h1 {
  text-align: center;
  font-size: 22px;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size:18px;
}

h2{  margin-top: 0;

  margin-bottom: 14px;}

#usernameDisplay {

  display: flex;

  justify-content: center;

  align-items: center;

  width: 100%;

  margin-top: 30px;

  margin-bottom: 18px;
}

.current-user-pill {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 10px 25px;

  border-radius: 999px;

  font-size: 17px;

  font-weight: 700;

  color: white;

  box-shadow:
    0 6px 18px rgba(0,0,0,0.22);

  letter-spacing: 0.2px;
}


.current-user-display {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  font-size: 18px;

  font-weight: 700;
}

.current-user-display .user-avatar {

  width: 40px;

  height: 40px;

  font-size: 17px;

  border-radius: 50%;
}

/* inputs */
input {
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  box-sizing: border-box;
  width:100%;

  text-align: center;
  font-weight: 300;
}

/* bouton principal */
button {

  width: 100%;

  padding: 14px;

  border-radius: 12px;

  border: none;

  background: #e8413a;

  color: white;

  font-size: 16px;

  margin-top: 10px;

  cursor: pointer;

  transition:
    transform 0.08s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

/* hover desktop */
button:hover {

  opacity: 0.92;
}

/* click */
button:active {

  transform: scale(0.97);
}

/* mobile tap */
button {
  -webkit-tap-highlight-color: transparent;
}

/* groupe input + bouton */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

/* liste */
#songs {
  list-style: none;
  padding: 0;
}

#songs li {margin-bottom:15px;}

#leagueTitle {font-size: 30px;margin-bottom:10px;}

/* carte */
.song-card {
  background: #181818;
  border-radius: 16px;
  padding: 16px;



  /* 🔥 encadrement léger */
  border: 1px solid rgba(255,255,255,0.06);

  /* 🔥 effet profondeur */
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* header */
.song-header {
  font-size: 22px;
  font-weight: 600;
  color:#FFF;
  opacity: 1;
}

#results{margin-bottom: 25px;}

ul#results{line-height: 30px; font-weight: 600;}

/* embed responsive */
iframe {

  width: 100%;

  max-width: 100%;

  border: none;

  border-radius: 12px;
}

/* vote button */
.vote-btn {
  margin-top: 10px;
  background: #e8413a;
}

/* état texte */
.vote-label {
  margin-top: 10px;
  font-size: 14px;
}

/* highlight vote */
.voted {

  border: 2px solid rgba(29,185,84,0.55);

  box-shadow:
    0 0 10px rgba(29,185,84,0.18);
}

.own-song {

  border: 2px solid rgba(227,68,67,0.55);

  box-shadow:
    0 0 10px rgba(227,68,67,0.18);
}

.button:first-of-type {
  background: #333;
}

#history {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.history-item {
  background: #181818;

  border-radius: 14px;

  padding: 12px;

  border: 1px solid rgba(255,255,255,0.05);
}

.history-top {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 10px;
}

.history-user {
  font-weight: 600;
  font-size: 15px;
}

.history-date {
  opacity: 0.5;
  font-size: 12px;
}

.history-embed iframe {
  width: 100%;
  border-radius: 10px;
}

#leaderboard {

  display: flex;

  flex-direction: column;

  gap: 14px;

  margin-top: 18px;
}

.leaderboard-card {

  display: flex;

  align-items: center;

  justify-content: space-between;

  background: #181818;

  border-radius: 18px;

  padding: 10px 16px;

  border: 1px solid rgba(255,255,255,0.05);

  box-shadow:
    0 4px 12px rgba(0,0,0,0.2);
}

.leaderboard-left {

  display: flex;

  align-items: center;

  gap: 10px;

  min-width: 0;
}

.leaderboard-rank {

  width: 30px;

  text-align: center;

  font-size: 24px;

  line-height: 1;

  flex-shrink: 0;
}

.leaderboard-rank-number {

  opacity: 0.45;

  font-size: 13px;

  font-weight: 700;
}

.leaderboard-user {

  display: flex;

  align-items: center;

  gap: 10px;

  min-width: 0;
}

.leaderboard-user .user-avatar {

  width: 34px;

  height: 34px;

  font-size: 15px;

  border-radius: 50%;

  flex-shrink: 0;
}

.leaderboard-name {

  font-size: 16px;

  font-weight: 600;

  line-height: 1;

  white-space: nowrap;
}

.leaderboard-stats {

  display: flex;

  align-items: center;

  gap: 6px;

  opacity: 0.75;

  font-size: 14px;

  font-weight: 500;

  white-space: nowrap;

  margin-left: 12px;
}
.beta-badge {

  display: inline-block;

  padding: 6px 12px;

  border-radius: 999px;

  background: rgba(255,255,255,0.06);

  border: 1px solid rgba(255,255,255,0.08);

  font-size: 11px;

  letter-spacing: 1px;

  font-weight: 600;

  opacity: 0.7;

  margin-top: 15px;
}


.back-home {

  display: inline-block;

margin-top :15px;
  opacity: 0.5;

  font-size: 14px;

  cursor: pointer;

  transition: opacity 0.2s ease;
}

.back-home:hover {

  opacity: 1;
}

.toast {

  position: fixed;

  left: 50%;

  bottom: 40px;

  transform: translateX(-50%) scale(0.9);

  background: #e34443;

  color: white;

  padding: 16px 22px;

  border-radius: 18px;

  font-size: 15px;

  font-weight: 600;

  box-shadow:
    0 10px 30px rgba(227,68,67,0.35);

  z-index: 9999;

  opacity: 0;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    bottom 0.25s ease;
}

.toast.show {

  opacity: 1;

  transform: translateX(-50%) scale(1);

  bottom: 70px;
}

#notificationBell {

  position: fixed;

  top: 20px;

  right: 20px;

  background: #181818;

  border-radius: 999px;

  padding: 10px 14px;

  font-size: 14px;

  cursor: pointer;

  z-index: 999;

  border: 1px solid rgba(255,255,255,0.05);
}

#notifCount {

  color: #e34443;

  font-weight: 700;
}

#notificationsPanel {

  position: fixed;

  top: 70px;

  right: 20px;

  width: 280px;

  background: #181818;

  border-radius: 18px;

  padding: 15px;

  display: none;

  z-index: 999;

  border: 1px solid rgba(255,255,255,0.05);

  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.notification-item {

  padding: 10px 0;

  border-bottom: 1px solid rgba(255,255,255,0.05);

  font-size: 14px;
}

#notificationBell {

  position: fixed;

  top: 20px;

  right: 20px;

  width: 60px;

  height: 60px;

  border-radius: 50%;

  background: #181818;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 26px;

  cursor: pointer;

  z-index: 999;

  border: 1px solid rgba(255,255,255,0.06);

  box-shadow: 0 6px 20px rgba(0,0,0,0.35);

  transition: transform 0.15s ease;
}

#notificationBell:active {

  transform: scale(0.95);
}

#notifCount {

  position: absolute;

  top: -4px;

  right: -2px;

  min-width: 26px;

  height: 26px;

  border-radius: 999px;

  background: #e34443;

  color: white;

  font-size: 15px;

  font-weight: 700;

  display: flex;

  align-items: center;

  justify-content: center;

  box-shadow:
    0 0 12px rgba(227,68,67,0.6);

  animation: pulseNotif 1.8s infinite;
}

@keyframes pulseNotif {

  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }

  100% {
    transform: scale(1);
  }
}

#roundCountdown {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  margin-top: 14px;

  

  padding: 12px 18px;

  border-radius: 18px;

  background: rgba(255,255,255,0.05);

  border: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    0 4px 20px rgba(0,0,0,0.25);

  font-size: 14px;

  font-weight: 500;

  color: rgba(255,255,255,0.92);

  backdrop-filter: blur(12px);
}

.countdown-unit {

  display: flex;

  flex-direction: column;

  align-items: center;

  min-width: 48px;
}

.countdown-value {

  font-size: 22px;

  font-weight: 700;

  line-height: 1;

  color: white;
}

.countdown-label {

  font-size: 10px;

  opacity: 0.55;

  margin-top: 4px;

  text-transform: uppercase;

  letter-spacing: 1px;
}

.countdown-separator {

  opacity: 0.25;

  font-size: 20px;

  margin-top: -8px;
}

.user-row {

  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 14px;
}

.user-avatar {

  width: 30px;

  height: 30px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: 700;

  font-size: 13px;

  color: white;

  flex-shrink: 0;
}

.song-header {

  font-size: 18px;

  font-weight: 600;

  line-height: 1;
}


  .back-home {
  }


  #notificationBell {
    top: 12px;
    right: 12px;

    width: 52px;
    height: 52px;

    font-size: 22px;
  }

  #notifCount {
    min-width: 22px;
    height: 22px;
    font-size: 13px;
  }

  .song-card {
    padding: 14px;
    margin-bottom: 0px;
  }
}

#leagueTopActions {

  display: flex;

  justify-content: center;

  gap: 10px;

  margin-bottom: 20px;
}

#leagueTopActions button {

  width: auto;

  padding: 8px 14px;

  font-size: 13px;

  border-radius: 999px;

  background: rgba(255,255,255,0.06);

  border: 1px solid rgba(255,255,255,0.06);

  color: rgba(255,255,255,0.85);

  margin-top: 0;

  box-shadow: none;
}

#leagueTopActions button:hover {

  background: rgba(255,255,255,0.1);
}
.league-card-actions {

  display: flex;

  gap: 10px;
}

.league-card-actions button:first-child {

  flex: 1;
}

.league-card-actions button:not(:first-child) {

  width: 52px;

  padding: 0;
}

#participants {

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 12px 12px;

  margin-top: 22px;
}

.participant-chip {

  position: relative;

  display: flex;

  align-items: center;

  gap: 10px;

  background: #1b1b1b;

  border: 1px solid rgba(255,255,255,0.06);

  border-radius: 999px;

  padding: 10px 16px;

  box-shadow:
    0 4px 10px rgba(0,0,0,0.28);

    cursor: pointer;

transition:
  transform 0.15s ease,
  opacity 0.15s ease;

}

.participant-chip:active {

  transform: scale(0.96);
}

.participant-chip:hover {

  opacity: 0.9;
}

.participant-avatar {

  width: 30px;

  height: 30px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: 700;

  font-size: 15px;

  color: white;

  flex-shrink: 0;
}

.participant-name {

  font-size: 15px;

  font-weight: 600;

  color: white;

  line-height: 1;
}

/* 🔥 badges flottants */
.participant-icons {

  position: absolute;

  top: -7px;

  right: -5px;

  display: flex;

  gap: 4px;
}

.participant-badge {

  width: 22px;

  height: 22px;

  border-radius: 50%;

  background: #181818;

  border: 1px solid rgba(255,255,255,0.08);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 11px;

  color: white;

  box-shadow:
    0 2px 8px rgba(0,0,0,0.35);
}
.vote-chip {

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 12px 16px;

  border-radius: 999px;

  background: rgba(255,255,255,0.06);

  border: 1px solid rgba(255,255,255,0.08);

  font-size: 16px;

  font-weight: 600;

  color: white;
}

.vote-avatar {

  width: 34px;

  height: 34px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  color: white;

  font-size: 14px;

  font-weight: 700;

  flex-shrink: 0;
}

#votedList,
#notVotedList {

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 12px;

  margin-top: 18px;
}

.vote-actions {

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 8px;

}
.vote-actions-inline {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  margin-top: 12px;
}

.current-vote-label {

  color: #e8413a;

  font-weight: 700;

  font-size: 15px;
}

.cancel-vote-icon {

  width: 22px;

  height: 22px;

  min-width: 22px;

  padding: 0;

  margin-top: 10px;

  border-radius: 50%;

  background: rgba(255,255,255,0.06);

  border: 1px solid rgba(255,255,255,0.08);

  color: rgba(255,255,255,0.7);

  font-size: 11px;

  display: flex;

  align-items: center;

  justify-content: center;

  box-shadow: none;
}

.cancel-vote-icon:hover {

  background: rgba(255,255,255,0.1);
}

.cancel-vote-icon:active {

  transform: scale(0.92);
}
#scrollTopBtn {

  position: fixed;

  bottom: 24px;

  right: 20px;

  width: 54px;

  height: 54px;

  border-radius: 50%;

  background: #E34443;

  border: 1px solid rgba(255,255,255,0.08);

  color: white;

  font-size: 22px;

  font-weight: 700;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  z-index: 999;

  box-shadow:
    0 8px 24px rgba(0,0,0,0.35);

  backdrop-filter: blur(10px);

  opacity: 0;

  pointer-events: none;

  transform: translateY(10px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

#scrollTopBtn.show {

  opacity: 1;

  pointer-events: auto;

  transform: translateY(0);
}

#scrollTopBtn:active {

  transform: scale(0.94);
}

#statusMessage {

  margin-top: 18px;

  text-align: center;

  font-size: 15px;

  font-weight: 600;

  opacity: 0.8;
}

.league-actions-row {

  display: flex;

  gap: 10px;
}

.secondary-btn {

  background: rgba(255,255,255,0.06);

  border: 1px solid rgba(255,255,255,0.08);

  color: rgba(255,255,255,0.75);

  font-size: 14px;

  font-weight: 500;

  padding: 12px;

  border-radius: 14px;

  box-shadow: none;
  margin-top:0px;
}

.secondary-btn:hover {

  background: rgba(255,255,255,0.09);
}

#winnerBanner {

  margin-top: 20px;

  margin-bottom: 22px;

  padding: 14px 18px;

  border-radius: 18px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.05),
      rgba(255,255,255,0.02)
    );

  border: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    0 6px 20px rgba(0,0,0,0.25);

  text-align: center;
}

.winner-top {

  font-size: 12px;

  letter-spacing: 1px;

  text-transform: uppercase;

  opacity: 0.55;

  margin-bottom: 8px;
}

.winner-score {

  font-size: 14px;

  opacity: 0.75;
  margin-top:10px;
}
#results {

  display: flex;

  flex-direction: column;

  gap: 10px;

  margin-top: 18px;

  margin-bottom: 10px;
}

.result-card {

  display: flex;

  align-items: center;

  justify-content: space-between;

  background: #181818;

  border-radius: 16px;

  padding: 10px 14px;

  min-height: 52px;

  border: 1px solid rgba(255,255,255,0.05);

  box-shadow:
    0 3px 10px rgba(0,0,0,0.22);
}

.result-left {

  display: flex;

  align-items: center;

  gap: 10px;
}

.result-rank {

  width: 28px;

  text-align: center;

  font-size: 18px;

  flex-shrink: 0;
}

.result-rank-number {

  opacity: 0.45;

  font-size: 14px;

  font-weight: 600;
}

.result-user {

  display: flex;

  align-items: center;

  gap: 10px;
}

.result-name {

  font-size: 15px;

  font-weight: 600;

  line-height: 1;
}

.result-score {

  background: #e34443;

  color: white;

  min-width: 40px;

  height: 30px;

  padding: 0 10px;

  border-radius: 999px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: 700;

  font-size: 13px;

  box-shadow:
    0 0 12px rgba(227,68,67,0.25);
}

.jump-results-wrapper {

  display: flex;

  justify-content: center;

  margin-top: 8px;

}

.jump-results-btn {

  width: auto;

  padding: 8px 14px;

  border-radius: 999px;

  background: rgba(255,255,255,0.05);

  border: 1px solid rgba(255,255,255,0.07);

  color: rgba(255,255,255,0.75);

  font-size: 13px;

  font-weight: 500;

  box-shadow: none;
  margin-bottom:-8px;
}
.history-user-wrapper {

  display: flex;

  align-items: center;

  gap: 10px;
}

.history-user {

  font-weight: 600;

  font-size: 15px;

  line-height: 1;
}

.history-top {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 12px;
}

#helpBtn {

  position: fixed;

  bottom: 92px;

  right: 20px;

  width: 54px;

  height: 54px;

  border-radius: 50%;

  background: rgba(24,24,24,0.92);

  border: 1px solid rgba(255,255,255,0.08);

  color: white;

  font-size: 24px;

  font-weight: 700;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  z-index: 999;

  box-shadow:
    0 8px 24px rgba(0,0,0,0.35);

  backdrop-filter: blur(10px);

  opacity: 0;

  pointer-events: none;

  transform: translateY(10px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

#helpBtn.show {

  opacity: 1;

  pointer-events: auto;

  transform: translateY(0);
}

#helpModal {

  position: fixed;

  inset: 0;

  background: rgba(0,0,0,0.72);

  backdrop-filter: blur(10px);

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 20px;

  z-index: 99999;

  opacity: 0;

  pointer-events: none;

  transition: opacity 0.25s ease;
}

#helpModal.show {

  opacity: 1;

  pointer-events: auto;
}

.help-modal-content {

  width: 100%;

  max-width: 420px;

  max-height: 85vh;

  overflow-y: auto;

  background: #181818;

  border-radius: 28px;

  padding: 28px 22px;

  border: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    0 20px 50px rgba(0,0,0,0.45);

  position: relative;
}

.close-help-btn {

  position: absolute;

  top: 16px;

  right: 16px;

  width: 36px;

  height: 36px;

  border-radius: 50%;

  background: rgba(255,255,255,0.06);

  border: 1px solid rgba(255,255,255,0.08);

  color: white;

  font-size: 15px;

  padding: 0;
}

.help-modal-content h1 {

  text-align: center;

  margin-bottom: 8px;
}

.help-subtitle {

  text-align: center;

  opacity: 0.7;

  margin-bottom: 28px;
}

.help-card {

  background: rgba(255,255,255,0.03);

  border-radius: 20px;

  padding: 18px;

  margin-bottom: 14px;

  border: 1px solid rgba(255,255,255,0.05);
}

.help-emoji {

  font-size: 24px;

  margin-bottom: 10px;
}

.help-title {

  font-size: 17px;

  font-weight: 700;

  margin-bottom: 8px;
}

.help-text {

  opacity: 0.8;

  line-height: 1.6;

  font-size: 14px;
}
.how-it-works-btn {

  width: auto;

  padding: 10px 16px;


  margin-top:30px;
  margin-bottom: -30px;

  background:
    rgba(255,255,255,0.04);

  border:
    1px solid rgba(255,255,255,0.06);

  border-radius: 999px;

  color:
    rgba(255,255,255,0.68);

  font-size: 13px;

  font-weight: 500;

  box-shadow: none;
}

.how-it-works-btn:hover {

  background:
    rgba(255,255,255,0.07);
}

/* 🏆 HALL OF FAME */

#hallOfFame {

  display: flex;

  flex-direction: column;

  gap: 22px;

  margin-top: 18px;
}

.hof-card {

  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.045),
      rgba(255,255,255,0.02)
    );

  border:
    1px solid rgba(255,255,255,0.06);

  border-radius: 26px;

  padding: 20px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.35);

  backdrop-filter: blur(12px);
}

.hof-card::before {

  content: "";

  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at top,
      rgba(227,68,67,0.16),
      transparent 65%
    );

  pointer-events: none;
}

.hof-top-row {

  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  margin-bottom: 18px;
}

.hof-trophy {

  font-size: 22px;

  filter:
    drop-shadow(
      0 0 12px rgba(255,215,0,0.35)
    );
}

.hof-week {

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 1.4px;

  opacity: 0.55;
}

.hall-winner-user {

  display: flex;

  align-items: center;

  gap: 14px;

  min-width: 0;
}

.hof-meta {

  display: flex;

  align-items: center;

  gap: 10px;

  opacity: 0.65;

  flex-shrink: 0;
}

.hall-winner-user .user-avatar {

  width: 36px;

  height: 36px;

  font-size: 15px;

  border-radius: 50%;

  box-shadow:
    0 0 14px rgba(255,255,255,0.08);
}

.hall-winner-name {

  font-size: 15px;

  font-weight: 700;

  letter-spacing: 0.2px;
}

.hof-card iframe {

  border-radius: 18px;

  overflow: hidden;

  box-shadow:
    0 8px 24px rgba(0,0,0,0.28);
}

.hof-meta {

  display: flex;

  align-items: center;

  gap: 8px;

  opacity: 0.7;
}

.winner-banner {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 16px;

  padding: 14px 18px;

  margin-top: 14px;

  border-radius: 22px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.045),
      rgba(255,255,255,0.02)
    );

  border:
    1px solid rgba(255,255,255,0.06);

  box-shadow:
    0 8px 24px rgba(0,0,0,0.26);

  backdrop-filter: blur(12px);

  cursor: pointer;

  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.winner-banner:hover {

  transform: scale(1.01);
}

.winner-banner-left {

  display: flex;

  align-items: center;
}

.winner-label {

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 1.4px;

  opacity: 0.55;
}

.winner-banner-right {

  display: flex;

  align-items: center;

  gap: 14px;
}

.winner-user {

  display: flex;

  align-items: center;

  gap: 10px;
}

.winner-user .user-avatar {

  width: 30px;

  height: 30px;

  font-size: 14px;

  border-radius: 50%;

  box-shadow:
    0 0 14px rgba(255,255,255,0.08);
}

.winner-name {

  font-size: 16px;

  font-weight: 700;

  letter-spacing: -0.2px;
}

.winner-points {

  font-size: 13px;

  font-weight: 600;

  opacity: 0.65;

  white-space: nowrap;
}

#scheduleModal {

  display:none;
}

#scheduleModal.show {

  display:flex;
} 

#scheduleFloatingBtn {

  position: fixed;

  right: 20px;

  bottom: 160px;

  width: 56px;
  height: 56px;

  border-radius: 50%;

  background: rgba(24,24,24,0.92);

  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;

  z-index: 9999;

  box-shadow:
    0 8px 30px rgba(0,0,0,0.25);

  cursor: pointer;

  opacity: 0;
  transform: translateY(20px);

  transition: 0.25s ease;
}

#scheduleFloatingBtn.show {

  opacity: 1;

  transform: translateY(0);
}

.schedule-grid {

  display:flex;

  flex-direction:column;

  gap:12px;

  margin-top:24px;
}

.schedule-row {

  display:flex;

  justify-content:space-between;

  align-items:center;

  padding:14px 16px;

  border-radius:14px;

  background:#161616;

  border:1px solid #2a2a2a;
}

.schedule-row span {

  opacity:0.7;
}


#scheduleModal {

  position: fixed;

  inset: 0;

  background:
    rgba(0,0,0,0.65);

  display: none;

  align-items: center;
  justify-content: center;

  z-index: 10000;
}

#scheduleModal.show {

  display: flex;
}

.schedule-modal-content {

  width: 90%;
  max-width: 380px;

  background: #111;

  border-radius: 24px;

  padding: 24px;

  color: white;
}

.schedule-title {

  font-size: 22px;

  font-weight: 700;

  margin-bottom: 20px;

  text-align: center;
}

.schedule-line {

  padding: 10px 0;

  border-bottom:
    1px solid rgba(255,255,255,0.08);
}
/* ❓ bouton aide */

#helpBtn {

  z-index: 9999;
}

.section-block {

  margin-top: 34px;
}

#myLeaguesSection li { margin-bottom: 15px; }

#usernameSection {display:none;}


/* 📱 OPTIMISATION MOBILE */

@media (max-width: 768px) {

  body {
    margin-top: 8px;
  }

  #app {
    padding-top: 4px;
  }

  .logo-container {
    margin-bottom: 4px;
  }

  .logo {
    width: 48% !important;
  }

  .beta-badge {
    margin-top: 4px;
    font-size: 10px;
    padding: 5px 10px;
  }

  h1 {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 24px;
  }

  h2 {
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: 20px;
  }

  #roundCountdown {

    margin-top: 10px;

    margin-bottom: 10px;
  }

  .winner-banner {

    margin-top: 0px;

    margin-bottom: 20px;

    padding: 12px 30px;

    border-radius: 20px;
  }

  #usernameDisplay {

    margin-top: 12px;

    margin-bottom: 22px;
  }

  .current-user-display {

    gap: 10px;

    font-size: 17px;
  }

  .current-user-display .user-avatar {

    width: 36px;

    height: 36px;

    font-size: 15px;
  }

  #addSongSection {

    margin-top: 8px;

    margin-bottom: 14px;
  }

  #addSongSection input {

    margin-bottom: 10px;
  }

  #addSongSection button {

    margin-top: 0;
  }
  .winner-points {

    display: none;
  }

  #scheduleFloatingBtn {

  font-size: 40px;

}
.section-block {

  margin-top: 25px;
}


  /* 📺 YouTube */
  iframe[src*="youtube"] {

    height: 170px !important;
  }

  /* 🎧 Deezer */
  iframe[src*="deezer"] {

    height: 95px !important;
  }

  /* 🎵 Spotify */
  iframe[src*="spotify"] {

    height: 78px !important;
  }
}
