<style>
  :root{ color-scheme: dark; }

  :root{
    --rhm-blue:#316FB3;

    /* Page background may have gradient */
    --bg1:#316FB3;
    --bg2:#2a5f9c;

    /* Cards + items MUST be solid #316FB3 */
    --card:#316FB3;
    --cardLine:rgba(255,255,255,.18);

    --item:#316FB3;
    --itemLine:rgba(255,255,255,.16);

    --text:#ffffff;
    --muted:rgba(255,255,255,.85);
    --muted2:rgba(255,255,255,.65);

    --shadow:0 22px 80px rgba(0,0,0,.28);
    --radius:22px;
  }

  body{
    margin:0;
    min-height:100vh;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color:var(--text);
    background:
      radial-gradient(1400px 900px at 30% 10%, rgba(255,255,255,.10), transparent 55%),
      radial-gradient(1200px 900px at 80% 30%, rgba(0,0,0,.12), transparent 55%),
      linear-gradient(180deg, var(--bg1), var(--bg2));
  }

  .wrap{
    width:min(980px, 92vw);
    margin: clamp(14px, 3.5vw, 26px) auto;
    display:flex;
    flex-direction:column;
    gap:16px;
    padding-bottom: 96px;
  }

  .card{
    background: var(--card); /* SOLID */
    border:1px solid var(--cardLine);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 18px;
  }

  .card h2{
    margin:0 0 10px 0;
    font-size: 22px;
    letter-spacing:.2px;
  }

  .lead{ text-align:center; padding: 20px 18px; }
  .card.lead{
    border:none;
    box-shadow: 0 18px 60px rgba(0,0,0,.22);
  }

  .brand{ display:flex; flex-direction:column; align-items:center; gap:2px; }

  .brand img{
    width: 300px;   /* größer */
    height:auto;
    filter: drop-shadow(0 12px 32px rgba(0,0,0,.25));
  }

  .brand .title{ font-size: 34px; font-weight: 800; line-height:1.05; margin-top:4px; }
  .brand .slogan{ font-size: 20px; font-weight: 650; opacity:.95; margin-top:-4px; }
  .brand .subline{
    margin-top: 10px;
    font-size: 15px;
    color: var(--muted);
    max-width: 58ch;
    line-height:1.45;
  }

  .text p{ margin: 10px 0; color: var(--muted); line-height:1.55; font-size: 16px; }
  .text p strong{ color:#fff; }

  .liveRow{
    display:grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    align-items:center;
  }

  .coverBox{
    width:92px; height:92px;
    border-radius:16px;
    border:1px solid var(--cardLine);
    overflow:hidden;
    background: #316FB3; /* solid placeholder */
  }
  .coverBox img{ width:100%; height:100%; object-fit:cover; display:block; }

  .liveMeta{ display:flex; flex-direction:column; gap:4px; min-width:0; }

  .nowDot{
    display:inline-flex;
    align-items:center;
    gap:8px;              /* etwas kompakter */
    font-size:15px;
    color:#ffffff;        /* besserer Kontrast auf Blau */
    font-weight:650;
  }

  /* Basis Dot immer sichtbar */
  .dot{
    width:10px;
    height:10px;
    border-radius:999px;
    background:#ffffff;              /* außen */
    position:relative;
    flex:0 0 auto;
  }

  /* grün innen */
  .dot::after{
    content:"";
    position:absolute;
    inset:2px;
    border-radius:999px;
    background:#2e7d32;
  }

  /* Pulse nur wenn Body "playing" ist */
  body.is-playing .dot{
    animation:pulse 2.1s ease-out infinite;
  }

  @keyframes pulse{
    0%{ box-shadow:0 0 0 0 rgba(255,255,255,.35); }
    70%{ box-shadow:0 0 0 12px rgba(255,255,255,0); }
    100%{ box-shadow:0 0 0 0 rgba(255,255,255,0); }
  }

  /* optional: Fehler rot (kein Pulse) */
  body.is-error .dot::after{ background:#c62828; }
  body.is-error .dot{ animation:none; }

  .artist{
    font-size: 22px;
    font-weight: 850;
    line-height:1.2;
    white-space:normal;          /* darf umbrechen */
    overflow:visible;
    text-overflow:unset;
    word-break:break-word;       /* bricht lange Wörter */
  }

  .track{
    font-size: 18px;
    font-weight:650;
    color: var(--muted);
    white-space:normal;
    overflow:visible;
    text-overflow:unset;
    word-break:break-word;
  }
  
  /* ===== Soft-Fade Updates (wie panel.html) ===== */
  .fadeSwap{
    transition: opacity 320ms ease;
    opacity: 1;
  }
  .fadeSwap.isFading{
    opacity: 0;
  }

  /* Cover crossfade (2 Layer) */
  .coverBox{
    position: relative;
  }
  .coverBox img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition: opacity 360ms ease;
    opacity:0;
  }
  .coverBox img.active{
    opacity:1;
  }

  .updated{ font-size: 13px; color: var(--muted2); margin-top: 6px; }

  .controls{
    margin-top: 12px;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
  }

  .btn{
    border:1px solid rgba(255,255,255,.24);
    background: rgba(255,255,255,.10);
    color:#fff;
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 800;
    font-size: 15px;
    cursor:pointer;
  }
  .btn:active{ transform: translateY(1px); }
  .btnPrimary{
    background: #ffffff;
    color:#1b2b3f;
    border-color: rgba(255,255,255,.55);
    padding: 12px 18px;
    min-width: 168px;
    text-align:center;
  }
  .btnPrimary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
  }

  .btnIcon{
    font-size:16px;
    line-height:1;
  }
  .btnSmall{ padding: 6px 10px; font-weight:700; min-width: 70px; }

  .adSlot{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height: 120px;
    border-radius: 16px;
    border: 1px dashed rgba(255,255,255,.25);
    background: #557db0; /* solid */
    overflow:hidden;
  }

  .adHint{
    font-size: 13px;
    color: var(--muted2);
    text-align:center;
    margin-top:10px;
  }

  .list{ display:flex; flex-direction:column; gap:10px; }

  .item{
    display:grid;
    grid-template-columns: 54px 1fr;
    gap: 12px;
    align-items:center;
    padding: 12px 12px;
    border-radius: 18px;
    border:1px solid var(--itemLine);
    background: var(--item); /* SOLID (no rgba) */
  }

  .thumb{
    width:54px;height:54px;border-radius:14px; overflow:hidden;
    border:1px solid rgba(255,255,255,.18);
    background: #316FB3; /* solid */
  }
  .thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

  .itArtist{
    font-weight:850;
    font-size:16px;
    line-height:1.2;
    white-space:normal;
    overflow:visible;
    text-overflow:unset;
    word-break:break-word;
  }

  .itTitle{
    color:var(--muted);
    font-weight:650;
    font-size:14px;
    white-space:normal;
    overflow:visible;
    text-overflow:unset;
    word-break:break-word;
  }
  .itAdds{
    margin-top:4px;
    font-size:12px;
    color: var(--muted2);
    font-weight:800;
    letter-spacing:.2px;
  }
  .itAge{ margin-top:4px; font-size:12px; color: var(--muted2); }

  .footer{
    text-align:center;
    padding: 14px 12px;
    background: #547caf; /* solid */
  }
  .footLinks{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap: 10px;
    align-items:center;
    font-weight:700;
  }
  .footLinks a{ color:#fff; text-decoration:none; opacity:.95; }
  .footLinks a:hover{ text-decoration:underline; }
  .sep{ opacity:.55; }
  .copyright{ margin-top:10px; font-size:13px; color: var(--muted2); }

  .overlay{
    position:fixed;
    inset:0;
    background: rgba(0,0,0,.45);
    display:none;
    align-items:flex-start;
    justify-content:center;
    padding: 18px 12px;
    z-index: 9998;
  }
  .overlay.open{ display:flex; }

  .sheet{
    width:min(920px, 94vw);
    max-height: 88vh;
    overflow:auto;
    background: #ffffff;
    color:#111;
    border-radius: 18px;
    box-shadow: 0 30px 120px rgba(0,0,0,.45);
    position:relative;
  }
  .sheetHeader{
    position:sticky;
    top:0;
    background:#fff;
    border-bottom:1px solid rgba(0,0,0,.08);
    padding: 14px 14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    z-index: 2;
  }
  .sheetHeader strong{ font-size: 16px; }
  .sheetClose{
    border:1px solid rgba(0,0,0,.22);
    background:#111;
    color:#fff;
    border-radius:999px;
    padding:10px 14px;
    cursor:pointer;
    font-weight:800;
  }
  .sheetClose:hover{ opacity:.92; }
  .sheetClose:active{ transform: translateY(1px); }
  .sheetClose:focus-visible{
    outline:3px solid rgba(49,111,179,.45);
    outline-offset:2px;
  }
  .sheetBody{ padding: 16px 16px 22px 16px; }
  .sheetBody a{ color:#0b57d0; }

  .consentBlur{ filter: blur(6px); }

  .consentBar{
    position:fixed;
    left:0; right:0; bottom:0;
    z-index: 9999;
    background: rgba(10,14,20,.92);
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 12px 12px;
    display:none;
  }
  .consentBar.show{ display:block; }

  .consentInner{
    width:min(980px, 94vw);
    margin:0 auto;
    display:flex;
    gap: 12px;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
  }

  .consentText{
    color: rgba(255,255,255,.88);
    font-size: 13px;
    line-height:1.35;
    flex: 1 1 360px;
  }

  .consentBtns{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
  }

  .cbtn{
    border:1px solid rgba(255,255,255,.20);
    background: rgba(255,255,255,.08);
    color:#fff;
    border-radius:999px;
    padding: 10px 14px;
    font-weight:800;
    cursor:pointer;
    font-size: 13px;
  }
  .cbtnPrimary{
    background:#fff;
    color:#111;
    border-color: rgba(255,255,255,.5);
  }
/* Wunschliste: gleiche Optik wie History */
#wishList .wishRow{
  display:flex;
  gap:12px;
  align-items:center;
  padding:10px 8px;
  border-radius:14px;
}

#wishList .wishCover{
  width:54px;
  height:54px;
  border-radius:14px;
  object-fit:cover;
  display:block;
  flex:0 0 54px;
  max-width:none !important;
  max-height:none !important;
}

/* falls dein Cover ein <img> ohne Klasse ist */
#wishList img.wishCover{
  width:54px;
  height:54px;
  flex:0 0 54px;
}

#wishList .wishMain{ min-width:0; flex:1; }
#wishList .wishArtist{ font-weight:800; line-height:1.15; }
#wishList .wishTitle{ opacity:.9; line-height:1.2; margin-top:2px; }
#wishList .wishMeta{ opacity:.75; font-size:13px; margin-top:4px; }
/* Wunschliste: Covers dürfen NIE riesig werden */
#wishCard .wishList .row,
#wishCard .wishList .item{
  display:flex;
  gap:12px;
  align-items:center;
}

#wishCard .wishList .cover,
#wishCard .wishList img{
  width:54px;
  height:54px;
  flex:0 0 54px;
  border-radius:10px;
  object-fit:cover;
  display:block;
}

#wishCard .wishList img{
  max-width:56px !important;
  max-height:56px !important;
}

#wishList{
  transition: opacity 260ms ease;
}

#wishList.isFading{
  opacity:0;
}

#wishOpenCard .btnPrimary{
  display:block;
  margin:0 auto;
}

/* About card expandable */
#aboutCard .aboutTeaser{
  margin: 0 0 10px 0;
  color: var(--text);
  line-height: 1.55;
}

#aboutCard details{
  border-top: 1px solid rgba(15,17,21,.10);
  padding-top: 10px;
}

#aboutCard summary{
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: var(--link, #316FB3);
  font-weight: 600;
}

#aboutCard summary::-webkit-details-marker{ display:none; }

#aboutCard .summaryHint{
  color: var(--muted2);
  font-weight: 400;
  font-size: 13px;
  white-space: nowrap;
}

#aboutCard details[open] summary{
  margin-bottom: 6px;
}

#aboutCard .aboutBody p{
  margin: 0 0 10px 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 16px;
}

#aboutCard .aboutBody p:last-child{ margin-bottom: 0; }

.cardLabel{
  font-size:13px;
  color:var(--muted2);
  margin-bottom:4px;
}

.aboutLead{
  font-size:17px;
  line-height:1.6;
  font-weight:500;
  color:#fff;
  margin-bottom:18px;
}

.cardLabel{
  font-size:13px;
  color:rgba(255,255,255,.72);
  margin-bottom:6px;
}

.aboutLead{
  font-size:17px;
  line-height:1.65;
  color:rgba(255,255,255,.92);
  margin: 0 0 12px 0;
}

.aboutDetails{
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:10px;
}

.aboutDetails summary{
  list-style:none;
  cursor:pointer;
  user-select:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  color:rgba(255,255,255,.92);
  font-weight:600;
}

.aboutDetails summary::-webkit-details-marker{ display:none; }

.aboutSub{
  font-size:14px;
  font-weight:700;
  margin:16px 0 6px 0;
  color:rgba(255,255,255,.90);
  letter-spacing:.2px;
  text-transform:uppercase;
}

.aboutBody p{
  margin:0 0 10px 0;
  line-height:1.75;
  color:rgba(255,255,255,.86);
}

.aboutQuote{
  margin-top:14px;
  padding:12px 12px;
  border-left:3px solid rgba(255,255,255,.35);
  background:rgba(0,0,0,.10);
  border-radius:10px;
  color:rgba(255,255,255,.92);
  font-weight:600;
}

#aboutCard details{ display:block; }

#aboutCard details > summary{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;

  padding:12px 0 !important;
  margin:10px 0 0 0 !important;

  cursor:pointer !important;
  user-select:none !important;

  color:#ffffff !important;
  font-weight:700 !important;
  line-height:1.3 !important;
}

#aboutCard details > summary::-webkit-details-marker{ display:none; }
  @media (max-width: 520px){
    .brand img{ width: 300px; }
    .brand .title{ font-size: 30px; }
    .brand .slogan{ font-size: 18px; }
    .artist{ font-size: 20px; }
    .track{ font-size: 16px; }
    .btnPrimary{ min-width: 160px; }
  }
  
  .social-fb{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color: rgba(167,176,194,.75);
    text-decoration:none;
    transition: color .15s ease, transform .15s ease;
  }
  
  .social-fb:hover{
    color:#5aa7ff;
    transform: translateY(-1px);
  }
  
  .social-fb:active{
    transform: translateY(0);
  }
  
  .feature-list {
    list-style: none;
    padding: 0;
  }

  .feature-list li {
    position: relative;
    padding-left: 1.2em;
  }

  .feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
  }
  #wishCard img{
    width:56px;
    height:56px;
    max-width:none;
    object-fit:cover;
    border-radius:10px;
    flex:0 0 54px;
  }
.fabWish{
  position: fixed;
  right: 14px;
  bottom: 78px; /* über Consent Bar / Footer */
  z-index: 9997;

  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.12);
  color: #fff;

  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 900;
  font-size: 14px;

  box-shadow: 0 14px 38px rgba(0,0,0,.25);
  cursor: pointer;
}
.fabWish:active{ transform: translateY(1px); }
#sheetBody iframe{
  display:block;
  width:100%;
  border:0;
}
</style>
