/* ============================
   Basis Styles
   ============================ */
body {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  touch-action: pan-y;

  margin: 0;
  padding: 0;              /* ✅ WICHTIG: KEIN Padding auf body */

  font-family: Arial, sans-serif;
  background: #121212;
  color: #fff;
}

.elementor-location-header{
  position: relative;
  z-index: 99;
}

h1.hero-title {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  background: linear-gradient(90deg, #ffffff, #c18aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 40px 0;
  text-align: center;
}

h2 {
  font-weight: 700;
  margin-bottom: 20px;
}

#welcomeUser {
  visibility: hidden;
}

/* ==========================================
  Playlist +/- Button Ruing 
   ==========================================*/
@keyframes moRingRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

linear-gradient(135deg,
  rgba(150,110,235,0.85) 0%,
  rgba(90,60,180,0.95) 100%)

/* ==========================================
   Gema Container anpassung Mobile & Desktop
   ==========================================*/
#con1{
  background: radial-gradient(circle at top, #0c0c15 0%, #000 100%);
  color:#eee;
  font-family:'Poppins', sans-serif;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 0 10px rgba(124,66,255,.25);
  backdrop-filter: blur(10px);
  padding:1.5rem;

  display:flex;
  flex-direction:column;
  gap:1rem;

  /* wenn auto-höhe gewünscht: */
  height:auto;          /* statt 500px */
  min-height:unset;

  align-items:stretch;
  justify-content:flex-start;

  /* auf mobile keine offsets */
  position: static;
  width: 100%;
}

/* DESKTOP ONLY */
@media (min-width: 1024px){
  #con1{
    /* Breite auf Desktop */
    width: 40%;

    /* an linken Viewport-Rand ziehen */
    margin-left: calc(50% - 96vw);

    /* optional: etwas Abstand zum Rand */
    padding-left: 1.5rem;
    padding-right: 1.5rem;

    /* "oben" im normalen Flow = margin-top */
    margin-top: -80px;  /* statt top */

    /* KEIN left/top nötig */
  }
}

/* ============================
   GENRE FILTER
   ============================ */
.genre-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  width: 90%;
  margin: 20px 0 0;
}

#genre-list {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  width: calc(100vw - 0px);
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 10px;
  scrollbar-width: none;
  box-sizing: border-box;
}

#genre-list::-webkit-scrollbar {
  display: none;
}

.genre-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  border-radius: 999px;
}

.genre-scroll {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 26px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  opacity: 1;
  transition: background 0.2s;
}

.genre-scroll:hover {
  background: rgba(255,255,255,0.15);
}

.genre-scroll.left { left: 4px; }
.genre-scroll.right { right: 4px; }

/* =========================================================
   DESKTOP ONLY (>=1024px)
   Genre-Block: frei verschiebbar (links/oben),
   keine Scroll, Buttons untereinander, gleiche Breite + "Genre" darüber
   ========================================================= */
@media (min-width: 1024px) {

  .genre-scroll { 
    display: none !important; 
  }

  .genre-wrapper{
    /* Stellschrauben */
    --gw-width: 200px;
    --gw-x: -350px;       /* links/rechts bleibt per transform */
    --gap-after-con1: 24px; /* Abstand UNTER con1 (auto mitwachsend) */

    width: var(--gw-width);

    /* wichtig: NICHT mehr frei schwebend nach oben/unten */
    transform: translateX(var(--gw-x)) !important; /* ✅ nur X */
    margin-top: var(--gap-after-con1) !important;  /* ✅ Y im Flow */

    /* alte Regeln neutralisieren */
    top: auto !important;
    left: auto !important;

    position: relative;
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .genre-wrapper::before{
    content: "Genre";
    display: block;
    margin: 0 0 10px 0;
    padding-left: 4px;

    font-size: 18px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #fff;
    text-align: left;
  }

  #genre-list{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: visible;
    width: 100%;
    padding: 0;
    margin: 0;
    gap: 10px;
    box-sizing: border-box;
  }

  .genre-btn{
    width: 74%;
    display: block;
    box-sizing: border-box;
    text-align: center;
  }
}

#usertab{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  outline: 3px solid red !important;
  background: rgba(255,0,0,0.15) !important;
  z-index: 999999 !important;
  position: relative !important;
}

/* =================================================
   DESKTOP: Avatar + Suche in #logo_con (rechts)
   ================================================= */
@media (min-width: 1024px){

  /* 🔹 logo_con wird Referenzcontainer */
  #logo_con{
    position: relative;
  }

  /* =========================
     SUCHFELD (Desktop)
     ========================= */
  .search-wrapper{
    position: absolute;
    top: 50%;
    right: 40px;                 /* 👈 Abstand vom rechten Rand */
    transform: translateY(-50%);

    display: flex !important;    /* Desktop IMMER sichtbar */
    align-items: center;
    gap: 10px;

    z-index: 1000;
  }

  /* Input */
  #songSearch{
    width: 240px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(15,15,25,.85);
    color: #fff;
    border: none;
    outline: none;
  }

  #searchButton{
    border-radius: 12px;
  }

  /* =========================
     USER AVATAR (Desktop)
     ========================= */
  .user-avatar{
    position: absolute;
    top: 0;
    right: calc(40px + -270px);   /* 👈 rechts neben Suche */
    transform: translateY(-50%);

    width: 36px;
    height: 36px;
    border-radius: 50%;

    background: #222;
    box-shadow: 0 0 8px rgba(124,66,255,.35);

    z-index: 1001;
  }

  /* =========================
     MOBILE-ELEMENTE AUSBLENDEN
     ========================= */
  .top-search{
    display: none !important;
  }

}


/* ============================
   DESKTOP MENU (wie con1)
   - Glow/Glass + radial gradient
   - keine Rahmen / keine Button-Borders
   - Schrift weiß
   - Mobile ausgeblendet
   ============================ */

/* Mobile: Menü aus */
#desktopMenu{
  display: none !important;
}

/* Desktop: Menü an + Style */
@media (min-width: 1024px){
  #desktopMenu{
    /* sichtbar */
    display: flex !important;

    /* Layout */
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    /* Maße (anpassbar) */
    width: 760px;              /* oder 100% / 900px */
    max-width: calc(100vw - 40px);
    margin: 18px auto 22px;    /* zentriert */

    /* con1-look */
    background: radial-gradient(circle at top, #0c0c15 0%, #000 100%);
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(124,66,255,.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /* KEIN Rahmen */
    border: none;

    padding: 14px 18px;
  }

  /* Buttons im Menü */
  #desktopMenu [data-section]{
    appearance: none;
    -webkit-appearance: none;

    border: none !important;
    outline: none;

    background: transparent;
    color: #fff;

    font-size: 16px;
    font-weight: 600;
    line-height: 1;

    padding: 10px 14px;
    border-radius: 999px;

    cursor: pointer;
    user-select: none;

    opacity: .9;
    transition: opacity .15s ease, transform .15s ease, background .15s ease;
  }

  #desktopMenu [data-section]:hover{
    opacity: 1;
    transform: translateY(-1px);
    background: rgba(255,255,255,0.06);
  }

  /* Active State (JS setzt .is-active) */
  #desktopMenu [data-section].is-active{
    opacity: 1;
    color: #c18aff;                     /* lila wie in deinem Screenshot */
    background: rgba(126,88,215,0.10);  /* leichter “Glow” */
    position: relative;
  }

  /* Optional: Unterstrich wie im Bild */
  #desktopMenu [data-section].is-active::after{
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -6px;
    height: 3px;
    border-radius: 99px;
    background: rgba(126,88,215,0.95);
    box-shadow: 0 0 12px rgba(126,88,215,0.45);
  }
}


/* =========================
   Startseite – ArtistRow hochschieben (FIX: nichts nach rechts schieben)
   ========================= */

#artistRow{
  transform: translateY(-70px);

  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 20px 0;
  padding: 0;
}

/* Titel "Artists" */
#artistGridTitle{
  margin: 0 0 10px 0;
  font-weight: 800;
  letter-spacing: .02em;
}

/* =========================
   ✅ HORIZONTAL SCROLL: 10 Kacheln nebeneinander, dann scrollbar
   ========================= */

#artistGrid{
  display: grid;

  /* 10 Kacheln nebeneinander */
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-rows: 1fr; /* eine Reihe */

  gap: 8px;

  width: 100%;
  box-sizing: border-box;
  

  /* Scroll bleibt aktiv */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch; /* iOS smooth */

  /* Optional: ein bisschen “Luft” am Rand beim Scrollen */
  padding: 0 8px 8px 0;

  /* kein Scale auf Scroll-Container */
  transform: none;

  /* 🔕 Scrollbar ausblenden */
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE / Edge alt */

  padding: 8px;            /* statt 0 8px 8px 0 */
  box-sizing: border-box;
}


/* Chrome / Safari / Edge (neu) */
#artistGrid::-webkit-scrollbar{
  display: none;
}


/* Optional: Scroll-Snap für “Kachelweise” scrollen (nice-to-have) */
#artistGrid{
  scroll-snap-type: x mandatory;
}
#artistGrid > *{
  scroll-snap-align: start;
}

/* ✅ Kachel: weniger rund + overflow clip */
#artistGrid > *{
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #111;

  /* wichtig: damit minmax(0,1fr) sauber funktioniert */
  min-width: 0;
}

/* ✅ ALLE Kinder sollen NICHT wieder runder werden */
#artistGrid > * *{
  border-radius: 0 !important;
}

/* ✅ COVER-FLÄCHE: egal ob img oder div */
#artistGrid .artist-cover,
#artistGrid img{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;

  max-width: none !important;
  max-height: none !important;

  margin: 0 !important;
  padding: 0 !important;

  display: block !important;
  object-fit: cover !important;
}

/* ✅ Falls .artist-cover ein DIV mit background-image ist */
#artistGrid .artist-cover{
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* ✅ Artistname unten wie im Beispiel */
#artistGrid .artist-name,
#artistGrid .artist-title{
  position: absolute !important;
  left: 10px !important;
  right: 10px !important;
  bottom: 10px !important;
  z-index: 3 !important;

  color: #fff !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  line-height: 1.1 !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;

  text-shadow: 0 2px 10px rgba(0,0,0,.85) !important;
}

/* ✅ Lesbarkeit unten (Gradient) */
#artistGrid > *::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0));
}

#fsp-cover-wrap{
  position: relative;
  display: inline-block;
}

/* Release Date EXAKT unter dem Cover, linksbündig */
#fsp-release-date{
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 4px;

  width: 100%;
  text-align: center;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.9);

  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* =========================================================
   DESKTOP ONLY (>=1024px)
   Songs-Bereich manuell positionieren (wie con1/Genre)
   ========================================================= */
@media (min-width: 1024px){

  /* ===== Stellschrauben ===== */
  :root{
    --songs-width: 520px; /* Breite des gesamten Songs-Bereichs */
    --songs-x: 60px;    /* links/rechts: negativ = links */
    --songs-y: -760px;     /* hoch/runter: negativ = hoch */
  }

  /* Der Hauptcontainer der Songliste */
  #songsBody{
    width: var(--songs-width) !important;
    max-width: var(--songs-width) !important;
    margin: 0 !important;

    /* alte "top:-50px" neutralisieren */
    top: 0 !important;

    position: relative;
    transform: translate(var(--songs-x), var(--songs-y)) !important;
    z-index: 4;
  }

  /* Alles, was bei dir visuell direkt zu den Songs gehört, gleich mit verschieben */
  .search-wrapper,
  #searchResultsWrapper,
  #startHeadline,
  #headlineType,
  #headlineRelease,
  #searchHeadline,
  .sectionHeadline{
    top: 0 !important; /* alte negative top offsets raus */
    position: relative;
    transform: translate(var(--songs-x), var(--songs-y)) !important;
    z-index: 4;
  }
}



/* ===========================
   Album Grid – exakt wie ArtistGrid
   (nur ergänzen/ersetzen den Album-Block unten)
   =========================== */

#albumRow{
  /* identisch zum ArtistRow-Feeling: hochschieben + volle Breite */
  transform: translateY(-70px);

  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 20px 0;
  padding: 0;
}

/* Titel "Alben" */
#albumGridTitle{
  margin: 0 0 10px 0;
  font-weight: 800;
  letter-spacing: .02em;
}

/* ✅ HORIZONTAL SCROLL: exakt wie ArtistGrid */
#albumGrid{
  display: grid;

  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-rows: 1fr;

  gap: 8px;

  width: 100%;
  box-sizing: border-box;

  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  transform: none;

  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* IE / Edge alt */

  padding: 8px;
  box-sizing: border-box;

  scroll-snap-type: x mandatory;
}

/* Chrome / Safari / Edge (neu) */
#albumGrid::-webkit-scrollbar{
  display: none;
}

/* Scroll-Snap wie Artists */
#albumGrid > *{
  scroll-snap-align: start;
}

/* ✅ Kachel: wie Artist-Kachel (quadratisch, weniger rund, clip) */
#albumGrid > *{
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #111;

  min-width: 0;
}

/* ✅ ALLE Kinder sollen NICHT wieder runder werden */
#albumGrid > * *{
  border-radius: 0 !important;
}

/* ✅ COVER-FLÄCHE: img füllt komplett */
#albumGrid img{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;

  max-width: none !important;
  max-height: none !important;

  margin: 0 !important;
  padding: 0 !important;

  display: block !important;
  object-fit: cover !important;
}

/* ✅ Albumtitel unten wie bei Artists
   WICHTIG: dein JS setzt aktuell KEINE .album-name Klasse,
   daher matchen wir auf `.album-card > div` (Label-DIV) */
#albumGrid .album-name,
#albumGrid .album-title,
#albumGrid .album-card > div{
  position: absolute !important;
  left: 10px !important;
  right: 10px !important;
  bottom: 10px !important;
  z-index: 3 !important;

  color: #fff !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  line-height: 1.1 !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;

  text-shadow: 0 2px 10px rgba(0,0,0,.85) !important;

  transform: none !important;      /* überschreibt translateX aus älterem Album-CSS */
  pointer-events: none !important;
}

/* ✅ Lesbarkeit unten (Gradient) */
#albumGrid > *::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0));
}

/* Optional: wenn du Hover-Effekt möchtest wie vorher, aber ohne Layout-Bruch */
#albumGrid > .album-card:hover{
  filter: brightness(1.05);
}

#albumGrid .album-name,
#albumGrid .album-title,
#albumGrid .album-card > div{
  font-size: 13px !important;   /* vorher 16px */
  line-height: 1.15 !important;
  font-weight: 700 !important; /* minimal leichter */
}

/* ===========================
   AlbumGrid – Scrollbar komplett verstecken
   =========================== */

#albumGrid{
  scrollbar-width: none !important;     /* Firefox */
  -ms-overflow-style: none !important;  /* IE / Edge alt */
}

/* Chrome / Safari / Edge (neu) */
#albumGrid::-webkit-scrollbar{
  display: none !important;
}



/* ✅ Notbremse gegen horizontales Abschneiden */
html, body{
  margin: 0;
  overflow-x: hidden;
}





/* ============================
   SONGS CONTAINER
   ============================ */
#songsBody {
  position: relative;
  top: -50px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: calc(100vw - 30px);
  max-width: calc(100vw - 30px);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.song-row {
  position: relative;
  overflow: hidden;
  display: flex;
  width: 100%;
  flex: 1 1 auto;
  align-items: center;
  background: #181818;
  height: 70px;
  padding: 0;
  border-radius: 6px;
  transition: background 0.4s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.song-row:hover { background: #282828; }

/* Inhalt bleibt scharf */
.song-row > * {
  position: relative;
  z-index: 2;
}

.song-cover {
  position: relative;
  flex: 0 0 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.song-cover img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

.song-cover img.playing {
  box-shadow:
    0 0 15px rgba(193, 138, 255, 0.6),
    0 0 30px rgba(126, 88, 215, 0.6),
    0 0 60px rgba(126, 88, 215, 0.4);
  filter: brightness(1.1);
}

/* Equalizer Overlay */
.cover-equalizer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% - 5px));
  width: 20px;
  height: 30px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.cover-equalizer .bar {
  width: 3px;
  background: #7e58d7;
  animation: bounce 0.6s infinite ease-in-out;
}

.cover-equalizer .bar:nth-child(1) { animation-delay: 0s; }
.cover-equalizer .bar:nth-child(2) { animation-delay: 0.1s; }
.cover-equalizer .bar:nth-child(3) { animation-delay: 0.2s; }
.cover-equalizer .bar:nth-child(4) { animation-delay: 0.3s; }
.cover-equalizer .bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 100% { height: 20%; }
  50% { height: 100%; }
}

.song-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 8px;
}

.song-title {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-genre {
  font-size: 13px;
  font-weight: 400;
  color: #aaa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-buttons {
  display: flex;
  gap: 4px;
  flex: 0 0 auto;
  min-width: 40px;
  align-items: center;
  justify-content: flex-start;
  margin-right: 8px;
}

.song-buttons button {
  background: transparent;
  border: none;
  outline: none;
  font-size: 24px;
  padding: 2px;
  cursor: pointer;
  opacity: 0.45;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.song-buttons button:hover { opacity: 1; }

.likes {
  font-size: 16px;
  margin-left: 2px;
  color: #aaa;
}


/* =========================================================
   Playlist Button (Song → User Playlist)
   ========================================================= */
.song-buttons .playlist-btn{
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  opacity: 0.75;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.song-buttons .playlist-btn:hover{
  opacity: 1;
  transform: scale(1.08);
}

.song-buttons .playlist-btn:active{
  transform: scale(0.95);
}

/* WICHTIG: verhindert "durchklicken" zum SongRow-Fullscreen */
.song-buttons .playlist-btn img{
  width: 20px;
  height: 20px;
  display: block;
  pointer-events: none;
}

/* ============================
   KOMMENTARE
   ============================ */
.song-comments {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  display: flex;
  flex-direction: column;
  margin-top: 4px;
  padding: 0 10px;
  background: #222;
  border-radius: 6px;
}

.comment-input {
  width: 100%;
  resize: none;
  padding: 6px;
  border-radius: 4px;
  border: none;
  font-size: 14px;
  background: #333;
  color: #fff;
  margin-bottom: 4px;
  min-height: 60px;
  line-height: 1.4;
}

.comment-action-row {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}

.comment-action-row .toggle-comments {
  flex: 0 0 60px;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(135deg, #7e58d7, #c18aff);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  transition: background 0.2s, transform 0.2s;
}

.comment-action-row .toggle-comments:hover {
  background: linear-gradient(135deg, #c18aff, #7e58d7);
  transform: scale(1.05);
}

.comment-action-row .submit-comment {
  flex: 1;
  height: 40px;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  background: linear-gradient(90deg, #ff5e5e, #d80070, #1ca2a2);
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.comment-action-row .submit-comment:hover { filter: brightness(1.1); }

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: none;
  overflow: visible;
}

.comment-list div {
  background: #181818;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: #ccc;
}

/* ============================
   PLAY BUTTON (SVG Toggle)
   ============================ */
.song-play {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 1;
}

.song-play:hover {
  background: rgba(255,255,255,0.10);
  border-radius: 10px;
}

button.song-play.play {
  position: relative;
  padding: 0;
  line-height: 0;
  background: transparent !important;
  border: none;
  appearance: none;
  -webkit-appearance: none;
}

button.song-play.play .play__svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 34px;
  height: 34px;
  display: block;
  color: #fff;
  pointer-events: none;
}

button.song-play.play .play__icon--pause { opacity: 0; }
button.song-play.play .play__icon--play  { opacity: 1; }

button.song-play.play.is-playing .play__icon--pause { opacity: 1; }
button.song-play.play.is-playing .play__icon--play  { opacity: 0; }

/* ============================
   Suchleiste
   ============================ */
.search-wrapper {
  position: relative;
  top: -70px;
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.search-wrapper.active {
  display: flex;
}

#searchResultsWrapper {
  position: relative;
  top: -70px;
}

#searchResultsWrapper.active {
  margin-bottom: 30px;
}

#songSearch {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 16px;
  background: #1c1c1c;
  color: #fff;
  box-sizing: border-box;
  margin: 0;
}

#searchToggle {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #fbfafa, #7e58d7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}

/* ============================
   PLAYING BG (Blur)
   ============================ */
.song-row.playing-bg {
  border-radius: 40px 10px 10px 40px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.song-row.playing-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://www.pablorival.de/wp-content/uploads/2025/08/Rival-fashion-25-24.avif');
  background-size: cover;
  background-position: center;
  filter: blur(14px);
  transform: scale(1.15);
  z-index: 0;
  border-radius: 20px 0 0 20px;
}

.song-row.playing-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.35));
  z-index: 1;
  border-radius: 20px 0 0 20px;
}

.song-row.playing-bg > * {
  position: relative;
  z-index: 2;
}

/* ============================
   Headline
   ============================ */
#startHeadline {
  position: relative;
  top: -50px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 6px;
  text-align: left;
  padding-left: 0;
}

#headlineType {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 0 6px rgba(0,0,0,0.7);
  margin-bottom: 4px;
  text-align: left;
  padding-left: 0;
}

#headlineRelease {
  font-size: 1rem;
  font-weight: 500;
  color: #eee;
  text-shadow: 0 0 4px rgba(0,0,0,0.5);
  margin-bottom: 10px;
  text-align: left;
  padding-left: 0;
}

/* ============================
   Desktop: feste Breite 450px
   ============================ */
@media (min-width: 601px) {
  .genre-wrapper {
    position: relative;
    top: -80px;
    width: 450px;
    margin: 20px auto 0;
  }

  #genre-list {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    gap: 8px;
  }

  .genre-btn {
    padding: 6px 12px;
    font-size: 14px;
  }

  .search-wrapper {
    width: 450px;
    margin: 0 auto 12px;
  }

  #songsBody {
    width: 450px;
    max-width: 450px;
    margin: 0 auto;
  }

  #slider {
    display: block;
    max-width: 85%;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  #slider_pic {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
}

/* ============================
   Desktop: Newsong Container
   Titel über Slider + Auto-Höhe
   ============================ */

@media (min-width: 1024px){

  #newsong{
    /* 🔹 Höhe automatisch nach Inhalt */
    height: 440px;
    min-height: unset;

    /* 🔹 gleichmäßiger Abstand zu allen Kanten */
    padding: 30px;
    box-sizing: border-box;

    /* 🔹 Layout */
    display: flex;
    flex-direction: column;
    gap: 12px; /* Abstand Titel → Slider */

    /* 🔹 manuelle Stellschrauben für Slider */
    --slider-x: 0px;   /* links (-) / rechts (+) */
    --slider-y: 40px;   /* oben (-) / unten (+) */

    /* 🔹 con1-Look */
    background: radial-gradient(circle at top, #0c0c15 0%, #000 100%);
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(124,66,255,0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* ============================
     TITLE
     ============================ */
  #newtitel{
    order: 1;                 /* immer oben */
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .02em;
    color: #fff;
    line-height: 1.2;
  }

  /* ============================
     SLIDER
     ============================ */
  #sliderContainer{
    order: 2;                 /* unter dem Titel */

    /* 🔹 manuelle Positionierung */
    transform: translate(var(--slider-x), var(--slider-y));
    transition: transform .2s ease;

    /* 🔹 Sicherheit */
    position: relative;
    width: 100%;
  }

}

/* ============================
   Desktop: ARTWORK Container
   con1 / newsong Look & Feel
   ============================ */
@media (min-width: 1024px){

  #artwork{
    /* 🔹 Auto-Höhe nach Inhalt */
    height: auto;
    min-height: unset;

    /* 🔹 gleichmäßiger Innenabstand */
    padding: 20px;
    box-sizing: border-box;

    /* 🔹 Layout (neutral, sicher) */
    display: flex;
    flex-direction: column;
    gap: 12px;

    /* 🔹 con1 / newsong Look */
    background: radial-gradient(circle at top, #0c0c15 0%, #000 100%);
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(124,66,255,0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /* 🔹 keine Rahmen */
    border: none;

    /* 🔹 Sicherheit */
    position: relative;
  }

}





/* ============================
   Suchergebnisse & Headlines
   ============================ */
#searchHeadline {
  display: none;
  font-size: 1rem;
  font-weight: 600;
  margin: 10px 0;
  text-align: left;
  color: #fff;
}

.sectionHeadline {
  font-size: 1rem;
  font-weight: 600;
  margin: 20px 0 10px;
  color: #fff;
  background: linear-gradient(90deg, #ffffff, #c18aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#silvesterOnlyWrapper { margin: 40px 0; }

/* ============================
   Mobile
   ============================ */
@media (max-width: 600px) {
  .genre-scroll { display: none !important; }

  .genre-wrapper {
    position: relative;
    top: -80px;
    width: calc(100vw - 30px);
    margin: 20px auto 0;
  }

  #genre-list {
    width: 100%;
    padding-left: 0;
    padding-right: 10px;
    margin: 0;
  }

  .genre-btn {
    padding: 6px 12px;
    font-size: 13px;
  }

  #loadMoreSongs {
    height: 48px;
    width: 100%;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #7e58d7, #c18aff);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  }

  #loadMoreSongs:hover {
    transform: scale(1.03);
    filter: brightness(1.08);
    box-shadow: 0 6px 18px rgba(126, 88, 215, 0.35);
  }

  #loadMoreSongs:disabled {
    opacity: 0.4;
    cursor: default;
    box-shadow: none;
    transform: none;
  }

  .search-wrapper {
    width: calc(100vw - 20px);
    margin: 0 auto 12px;
  }
}
.song-buttons .fav-btn {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  opacity: 0.75;
}

.song-buttons .fav-btn.is-fav {
  opacity: 1;
  transform: scale(1.05);
}

.song-buttons .fav-btn .fav-icon {
  width: 20px;
  height: 20px;
  display: block;
}
.song-buttons .playlist-btn{
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  opacity: 0.75;
  display:flex;
  align-items:center;
  justify-content:center;
}

.song-buttons .playlist-btn:hover{
  opacity: 1;
}

.song-buttons .playlist-btn .playlist-icon{
  width: 20px;
  height: 20px;
  display:block;
}
