/* ============================================================
   KI-Star · Stylesheet
   Modernes Dark-Theme mit Star-Akzent
   ============================================================ */

:root {
  --bg:        #f6f8fb;
  --bg-2:      #ffffff;
  --surface:   #ffffff;
  --surface-2: #f1f4f8;
  --border:    #e3e8ef;
  --text:      #14181f;
  --muted:     #5c6674;
  --brand:     #5b3df5;
  --brand-2:   #0d8fc7;
  --accent:    #e23c74;
  --pure:      #5b3df5;
  --hybrid:    #0d8fc7;
  --human:     #d98600;
  --danger:    #d63859;
  --ok:        #12a97a;
  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 12px 34px rgba(20,30,60,.10);
  --maxw:      1120px;
  --font:      -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* Sticky-Footer: Inhalt füllt die Höhe, Footer klebt unten */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { line-height: 1.15; margin: 0 0 .5em; }
img { max-width: 100%; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.grad {
  background: linear-gradient(100deg, #000, #4a5260 55%, #9aa3b2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Layout ---------- */
.site-main { flex: 1 0 auto; }
.section, .formwrap, .feedwrap, .editwrap, .prose, .notice__inner, .hero__inner, .site-header__inner, .site-footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding-left: 20px; padding-right: 20px;
}
.section { padding-top: 54px; padding-bottom: 10px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.section__head h2 { margin: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.25rem; font-weight: 800; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand__mark { color: var(--brand); font-size: 1.35em; filter: drop-shadow(0 0 10px rgba(124,92,255,.7)); }
.brand__name b { color: var(--brand-2); }
.brand--sm { font-size: 1.1rem; }
.mainnav { display: flex; gap: 6px; margin-left: 6px; }
.mainnav__link { color: var(--muted); padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .95rem; }
.mainnav__link:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.mainnav__link.is-active { color: var(--text); background: var(--surface-2); }
.site-header__actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.navtoggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 4px; padding: 8px; }
.navtoggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: .15s; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: #000; color: #fff; box-shadow: 0 8px 24px rgba(20,24,31,.35); }
.btn--outline { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn--ghost   { color: var(--text); background: transparent; }
.btn--ghost:hover { background: var(--surface-2); }
.btn--icon { padding: 9px; }
.btn--icon .btn__label { display: none; }
.btn--icon svg { display: block; }
.btn--danger  { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn--danger:hover { background: rgba(255,84,112,.12); }
.btn--lg { padding: 14px 24px; font-size: 1.05rem; border-radius: 12px; }
.btn--sm { padding: 6px 11px; font-size: .82rem; border-radius: 8px; }
.btn--block { width: 100%; margin-top: 8px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---------- Flash ---------- */
.flash { margin: 16px 0; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); }
.flash--success { border-color: rgba(46,204,155,.5); background: rgba(46,204,155,.1); }
.flash--error   { border-color: rgba(255,84,112,.5); background: rgba(255,84,112,.1); }
.flash--info    { border-color: rgba(33,212,253,.4); background: rgba(33,212,253,.08); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero__glow {
  position: absolute; inset: -40% 0 auto 0; height: 620px;
  background: radial-gradient(60% 60% at 30% 0%, rgba(91,61,245,.10), transparent 70%),
              radial-gradient(50% 50% at 80% 10%, rgba(13,143,199,.08), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero__inner { position: relative; padding-top: 78px; padding-bottom: 78px; }
.hero__kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 700; color: var(--accent); margin: 0 0 14px; }
.hero__title { font-size: clamp(2.1rem, 5.2vw, 3.7rem); font-weight: 850; letter-spacing: -.02em; margin: 0 0 18px; }
.hero__lead { max-width: 680px; font-size: 1.15rem; color: var(--muted); }
.hero__cta { display: flex; gap: 12px; margin: 28px 0 26px; flex-wrap: wrap; }
.hero__badges { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; padding: 0; margin: 0; color: var(--muted); font-size: .92rem; font-weight: 600; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--pure { background: var(--pure); }
.dot--hybrid { background: var(--hybrid); }
.dot--human { background: var(--human); }
.dot--id { background: var(--ok); }

/* ---------- Startseiten-Suche ---------- */
/* overflow sichtbar, damit die Live-Suchergebnisse nicht vom Hero abgeschnitten/überdeckt werden */
.hero--search { overflow: visible; }
.hero--search .hero__inner { padding-top: 64px; padding-bottom: 56px; text-align: center; }
.hero--search .hero__title { margin-bottom: 12px; }
.hero--search .hero__lead { margin: 0 auto; }
.homesearch { max-width: 640px; margin: 28px auto 14px; }
.homesearch__form {
  position: relative; display: flex; align-items: center; gap: 8px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px;
  padding: 8px 8px 8px 14px; box-shadow: var(--shadow);
}
.homesearch__form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91,61,245,.15); }
.homesearch__icon { color: var(--muted); font-size: 1.2rem; }
.homesearch__form input[type=search] {
  flex: 1; border: 0; background: none; padding: 10px 4px; font-size: 1.05rem; box-shadow: none;
}
.homesearch__form input[type=search]:focus { box-shadow: none; }
.homesearch__results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30; text-align: left;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); overflow: hidden;
}
.homesearch__chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.homesearch__chips a {
  padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-weight: 600; font-size: .9rem;
}
.homesearch__chips a:hover { border-color: var(--brand); text-decoration: none; }
.homesearch__chips a.is-cta { background: var(--brand); color: #fff; border-color: var(--brand); }
.hero__meta { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 22px; }

/* ---------- Transparenz-Band ---------- */
.band { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 40px; }
.band__inner { max-width: var(--maxw); margin: 0 auto; padding: 26px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.band__inner h2 { margin: 0 0 4px; font-size: 1.3rem; }
.band__inner p { margin: 0; max-width: 620px; }

/* ---------- Split / Minicards ---------- */
.section--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.split__text h2 { font-size: 1.8rem; }
.split__cards { display: grid; gap: 14px; }
.minicard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.minicard h3 { margin: 0 0 4px; font-size: 1.05rem; }
.minicard p { margin: 0; color: var(--muted); }
.link-arrow { font-weight: 700; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.news-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.news-card h3 { font-size: 1.1rem; margin: 6px 0 8px; }
.news-card p { margin: 0; color: var(--muted); }

/* ---------- Artist Grid / Cards ---------- */
.artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.artist-grid--lg { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-top: 20px; }
.artist-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--text);
  transition: .15s;
}
.artist-card:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.artist-card__name { font-weight: 700; }
.artist-card__avatar {
  width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.5rem; color: #fff;
}
.artist-card__avatar--lg { width: 96px; height: 96px; font-size: 2rem; }
.artist-card__avatar--xl { width: 128px; height: 128px; font-size: 2.6rem; border: 5px solid var(--bg); box-shadow: 0 6px 20px rgba(20,30,60,.18); }

/* ---------- Tags ---------- */
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; border: 1px solid var(--border); color: var(--text); }
.tag--sm { font-size: .7rem; padding: 2px 8px; }
.tag--pure,  .tag--full  { background: rgba(91,61,245,.10);  border-color: rgba(91,61,245,.35);  color: #4a2fd6; }
.tag--hybrid { background: rgba(13,143,199,.10); border-color: rgba(13,143,199,.35); color: #0b6f9b; }
.tag--human  { background: rgba(217,134,0,.12);  border-color: rgba(217,134,0,.35);  color: #a9680a; }
.tag--id     { background: rgba(18,169,122,.10); border-color: rgba(18,169,122,.35); color: #0e7d5b; }
.tag--track  { font-size: .72rem; }

/* ---------- Notice (AI-Act Hinweis) ---------- */
.notice { background: linear-gradient(180deg, rgba(124,92,255,.1), transparent); border-bottom: 1px solid var(--border); }
.notice__inner { padding: 40px 20px; }
.notice__inner h2 { font-size: 1.5rem; }
.notice__inner p { max-width: 760px; color: var(--muted); }

/* ---------- Aufruf-Block (Suche / Artist anlegen) ---------- */
.homesearch__hint { margin: 8px auto 0; text-align: center; max-width: 640px; }
.artistcta { border-top: 1px solid var(--border); }
.artistcta__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 44px 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.artistcta__col {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.artistcta__col h2 { font-size: 1.25rem; }
.artistcta__col p { color: var(--muted); }
/* Zuletzt registrierte, gelistete Artisten: kreisförmige Avatare -> Profil.
   Sie pulsieren nacheinander (gestaffelte animation-delay je Position). */
.cta-artists { margin-top: 18px; }
.cta-artists__row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.cta-artists__ava {
  width: 96px; height: 96px; font-size: 2rem; text-decoration: none;
  border: 3px solid var(--bg); box-shadow: 0 3px 12px rgba(20,30,60,.16);
  animation: cta-pulse 2.4s ease-in-out infinite;
}
.cta-artists__ava:nth-child(1) { animation-delay: 0s; }
.cta-artists__ava:nth-child(2) { animation-delay: .28s; }
.cta-artists__ava:nth-child(3) { animation-delay: .56s; }
.cta-artists__ava:nth-child(4) { animation-delay: .84s; }
.cta-artists__ava:nth-child(5) { animation-delay: 1.12s; }
.cta-artists__ava:hover { filter: brightness(1.08); border-color: var(--brand); }
@keyframes cta-pulse {
  0%, 40%, 100% { transform: scale(1); }
  20% { transform: scale(1.14); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-artists__ava { animation: none; }
}
@media (max-width: 760px) {
  .artistcta__inner { grid-template-columns: 1fr; }
}

/* ---------- Verifizierungs-Leiste (oben, fix) ---------- */
.verifybar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--danger); color: #fff;
}
.verifybar__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 9px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: .92rem; font-weight: 600;
}
.verifybar .btn {
  background: #fff; color: var(--danger); border-color: #fff; flex: none;
}
.verifybar .btn:hover { background: rgba(255,255,255,.9); }
.verifybar__inner { padding-right: 34px; }
.verifybar__close {
  position: absolute; top: 4px; right: 10px;
  background: transparent; border: 0; color: #fff; cursor: pointer;
  font-size: 1.5rem; line-height: 1; padding: 2px 6px;
}
.verifybar__close:hover { opacity: .8; }
body.has-verifybar { padding-top: 46px; }
body.has-verifybar .site-header { top: 46px; }
@media (max-width: 620px) {
  body.has-verifybar { padding-top: 78px; }
  body.has-verifybar .site-header { top: 78px; }
}

/* ---------- Verifiziert-Abzeichen ---------- */
.profile__avatarwrap { position: relative; display: inline-block; line-height: 0; }
.veri-badge {
  position: absolute; right: -6px; bottom: -6px; width: 40px; height: 40px;
  border-radius: 50%; box-shadow: 0 2px 8px rgba(20,30,60,.25); background: #fff;
}
.veri-badge--sm { width: 22px; height: 22px; right: -2px; bottom: -2px; }
.artist-card__avatar { position: relative; }

/* ---------- KI-/Human-Ringe (Donut) ---------- */
.donuts { display: flex; gap: 26px; align-items: center; margin: 6px 0 4px; flex-wrap: wrap; }
.donut { margin: 0; text-align: center; width: 84px; }
.donut svg { width: 84px; height: 84px; display: block; }
.donut__track { stroke: var(--danger); opacity: .85; }
.donut__val   { stroke: var(--ok); transition: stroke-dasharray .4s ease; }
.donut__pct   { fill: var(--text); font-size: 9px; font-weight: 700; text-anchor: middle; font-family: var(--font); }
.donut__label { margin-top: 6px; font-size: .82rem; font-weight: 600; color: var(--muted); }
/* Platzhalter-Ring (Kennzeichnung noch nicht ermittelt): neutral grau, „?" statt Prozent */
.donut--pending .donut__track { stroke: var(--border); opacity: 1; }
.donut--pending .donut__pct   { fill: var(--muted); font-size: 13px; }

/* ---------- Ausrichtung E-Mail/Passwort etc. ---------- */
.field-row { align-items: start; }

/* ---------- Verzeichnis: Filter + Pager ---------- */
.filterbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 20px; }
.pager { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 26px; }

/* ---------- Bio-Box & Profil-Feed ---------- */
.profile__bio-box, .profile__feed { padding: 0 24px; margin-top: 26px; }
.profile__bio-box .profile__bio { margin-top: 8px; }
.profile__feed .feed--profile { margin-top: 12px; }
.post.post--plain { display: block; }
.post__head { position: relative; }
.feed--profile .post__head { justify-content: space-between; }
.post__del { margin-left: auto; padding-left: 12px; }
.post__del .linkbtn { color: var(--danger); }


/* Feed-Seitenkarte: eigenes Profilbild mittig statt links */
.mecard .artist-card__avatar { margin: 0 auto; }

/* ================= Profil im Backstage-Stil ================= */
.profile__bar {
  display: flex; align-items: flex-end; gap: 20px;
  padding: 12px 24px 0; margin-top: 0; position: relative; z-index: 2;
}
/* Nur der Avatar ragt ins Banner – Name/Meta bleiben darunter. (nur im Profil-Header) */
.profile__bar .profile__avatarwrap { flex: none; margin: -56px 0 0; }
.profile__avatar--round { border-radius: 50%; }
.profile__meta { padding-bottom: 6px; min-width: 0; }
.profile__meta h1 { margin: 0 0 4px; font-size: 1.9rem; }
.profile__genre { margin: 0 0 6px; color: var(--muted); font-size: 1.02rem; }
.profile__id { margin: 0 0 4px; }
.profile__links { display: flex; gap: 8px; flex-wrap: wrap; }

/* Streamingdienste im Einstellungs-Formular: Toggle-Buttons + Link-Felder darunter */
.svc-toggles { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.svc-chip {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px;
  font-weight: 600; font-size: .9rem; background: var(--surface); user-select: none;
}
.svc-chip:hover { border-color: var(--brand); }
.svc-chip:has(input:checked) { border-color: var(--brand); background: rgba(91,61,245,.08); color: var(--brand); }
.svc-chip input { accent-color: var(--brand); }
.svc-links { display: grid; gap: 10px; }
.svc-link { margin-bottom: 0; }
/* hidden schlägt das display:grid von .field (sonst bleiben die Felder sichtbar) */
.svc-link[hidden] { display: none; }

/* Datei-Uploads im Button-Stil */
input[type=file] { font: inherit; color: var(--muted); }
input[type=file]::file-selector-button,
input[type=file]::-webkit-file-upload-button {
  font: inherit; font-weight: 600; cursor: pointer; margin-right: 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  padding: 8px 14px; border-radius: var(--radius-sm);
}
input[type=file]::file-selector-button:hover { border-color: var(--brand); color: var(--brand); }

/* Weiße, abgerundete Inhalts-Box (wie Alben) für Profil-Panels */
.panelbox { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.panelbox__title { margin: 0 0 12px; font-size: 1.25rem; font-weight: 800; }

/* Kennzeichnungs-Icons (Höhe 16px, Breite je Typ) statt Text-Tags */
.ai-icon { width: auto; height: 16px; vertical-align: middle; display: inline-block; }
.deflist .ai-icon { margin-right: 6px; }
.album__actions .ai-icon { margin-right: 4px; }

/* Hinweis-Kasten (z. B. Registrierung) */
.infobox {
  margin-top: 14px; text-align: left; padding: 14px 16px;
  background: rgba(13,143,199,.08); border: 1px solid rgba(13,143,199,.30);
  border-radius: var(--radius-sm); font-size: .92rem;
}
.infobox p { margin: 0 0 8px; }
.infobox p:last-child { margin-bottom: 0; }

/* Reiter */
.profiletabs {
  display: flex; gap: 2px; margin: 22px 0 0; padding: 0 12px;
  border-bottom: 1px solid var(--border); overflow-x: auto;
}
.profiletabs__tab {
  background: none; border: 0; border-bottom: 3px solid transparent;
  padding: 12px 16px; font: inherit; font-weight: 700; color: var(--muted);
  cursor: pointer; white-space: nowrap;
}
.profiletabs__tab:hover { color: var(--text); }
.profiletabs__tab.is-active { color: var(--brand); border-bottom-color: var(--brand); }
.profiletabs__sep { align-self: center; color: var(--border); user-select: none; padding-bottom: 3px; }

/* Panels (überschreiben die alten Section-Abstände) */
.profiletab { display: none; padding: 24px; margin-top: 0; }
.profiletab.is-active { display: block; }
.profiletab.profile__transparency { background: transparent; border: 0; }

@media (max-width: 620px) {
  .profile__bar { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------- Composer: Sichtbarkeits-Checkbox ---------- */
.composer__foot { justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.composer__chk { display: flex; align-items: center; gap: 8px; font-size: .9rem; }

/* ---------- Album-Zeile in „Deine Alben" (Layout wie Profil) ---------- */
.album-edit__body { flex: 1; min-width: 0; }
.album-edit__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.album-edit__title { font-size: 1.02rem; }
/* Ermitteln- & Löschen-Button nebeneinander oben rechts */
.album-edit__buttons { margin-left: auto; display: flex; flex-direction: row; align-items: center; gap: 8px; flex-wrap: wrap; }
.album-edit__del { margin: 0; }

/* ---------- Forms ---------- */
.formwrap { padding: 46px 20px 60px; }
.formwrap--narrow { max-width: 460px; }
.formwrap__head { margin-bottom: 24px; }
.formwrap__head h1 { font-size: 1.9rem; }
.form { display: grid; gap: 20px; }
.form__group { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 0; background: var(--surface); }
.form__group legend { padding: 0 8px; font-weight: 800; color: var(--brand-2); }
.form__hint { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: var(--radius-sm); background: var(--bg-2); color: var(--muted); font-size: .9rem; line-height: 1.5; }
.form__hint b { color: var(--text); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field > span { font-weight: 600; font-size: .92rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=date], input[type=search], textarea, select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 11px 13px; font: inherit; font-size: .95rem;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(124,92,255,.25); }
textarea { resize: vertical; }
.err { color: var(--danger); font-size: .82rem; font-style: normal; }
small.muted { font-weight: 400; }

/* Checkbox grid */
.checkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.chk { display: flex; align-items: center; gap: 8px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 9px 11px; cursor: pointer; font-size: .9rem; }
.chk input { accent-color: var(--brand); }

/* Radio cards */
.radiocards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radiocards--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 560px) { .radiocards--3 { grid-template-columns: 1fr; } }
.radiocard { position: relative; display: grid; gap: 3px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; cursor: pointer; }
.radiocard input { position: absolute; top: 12px; right: 12px; accent-color: var(--brand); }
.radiocard__title { font-weight: 700; }
.radiocard__desc { color: var(--muted); font-size: .85rem; }
.radiocard:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(124,92,255,.3); background: rgba(124,92,255,.08); }

/* ---------- Autocomplete (Spotify-Artist) ---------- */
.autocomplete { position: relative; }
.autocomplete__results {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); overflow: hidden; max-height: 320px; overflow-y: auto;
}
.autocomplete__item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 10px 12px; background: none; border: 0; border-bottom: 1px solid var(--border);
  color: var(--text); cursor: pointer; font: inherit;
}
.autocomplete__item:last-child { border-bottom: 0; }
.autocomplete__item:hover { background: var(--surface-2); text-decoration: none; }
.autocomplete__item b { font-weight: 700; }
.autocomplete__img {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); background-size: cover; background-position: center;
}
.autocomplete__selected {
  display: flex; align-items: center; gap: 10px; margin-top: 8px;
  padding: 8px 12px; border-radius: var(--radius-sm);
  background: rgba(46,204,155,.12); border: 1px solid rgba(46,204,155,.45); color: #86e9c9; font-size: .9rem;
}
/* hidden-Attribut muss display:flex schlagen, sonst ist der Block sichtbar,
   obwohl noch kein Artist gewählt wurde. */
.autocomplete__selected[hidden] { display: none; }
.linkbtn { background: none; border: 0; color: var(--brand-2); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }

/* ---------- Search bar ---------- */
.searchbar { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.searchbar input[type=search], .searchbar input[type=text] { flex: 1; min-width: 200px; }
.searchbar select { width: auto; }

/* ---------- Verify (ID-Check) ---------- */
.verify { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 20px; display: grid; gap: 12px; }
.verify__head { display: flex; gap: 16px; align-items: center; }

/* ---------- Profil ---------- */
.profile { max-width: var(--maxw); margin: 0 auto; padding: 0 20px 60px; }
.profile__header {
  height: 260px; border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(120deg, #e8e4ff, #dff1f8); background-size: cover; background-position: center;
  position: relative; margin-top: 0;
  border: 1px solid var(--border); border-top: 0;
}
.profile__edit {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,.92); color: var(--text);
  border: 1px solid rgba(255,255,255,.92); box-shadow: 0 2px 10px rgba(20,30,60,.18);
}
.profile__edit:hover { background: #fff; }

/* Alternativer Header, wenn kein Bild hinterlegt ist */
.profile__header--default {
  background: linear-gradient(120deg, var(--brand), var(--brand-2) 70%, var(--accent));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  overflow: hidden;
  padding-bottom: 44px;   /* Inhalt nach oben schieben, weg vom Profilbild */
}
.profile__header--default::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5;
}
.profile__header-mark { position: relative; font-size: 2.4rem; color: rgba(255,255,255,.95); filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)); line-height: 1; }
.profile__header-name { position: relative; color: #fff; font-weight: 800; font-size: 1.3rem; text-shadow: 0 2px 12px rgba(0,0,0,.25); padding: 0 16px; text-align: center; }

/* Klickbares Cover (statt Player) */
.album__cover--link { cursor: pointer; transition: transform .15s, box-shadow .15s; }
.album__cover--link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.profile__bio { color: var(--muted); margin-top: 12px; max-width: 640px; }
.profile__transparency, .profile__streaming, .profile__music { margin-top: 34px; }
.profile__transparency { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.kv { display: grid; gap: 10px; margin-top: 8px; }
.kv > div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.kv > div:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }

/* Chips (Streaming) */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: .9rem; color: var(--text); }

/* Album */
.album { display: flex; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.album__cover { width: 120px; height: 120px; border-radius: var(--radius-sm); background: linear-gradient(135deg, #eef1f6, #dfe5ee); background-size: cover; background-position: center; flex-shrink: 0; }
.album__cover--sm { width: 78px; height: 78px; }
.album__body { flex: 1; min-width: 0; }
.album__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.album__head h3 { margin: 0; }
.album__actions { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- Feed ---------- */
.feedwrap { display: grid; grid-template-columns: 280px 1fr; gap: 24px; padding: 30px 20px 60px; }
.mecard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; position: sticky; top: 86px; }
.mecard h3 { margin: 12px 0 6px; }
.composer { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 18px; }
.composer__foot { display: flex; justify-content: flex-end; margin-top: 10px; }
.feed { display: grid; gap: 12px; }
.post { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.post__avatar { width: 48px; height: 48px; font-size: 1.1rem; flex-shrink: 0; }
.post__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.post__body { min-width: 0; }
.post__body p { margin: 0; }

/* ---------- Edit ---------- */
.editwrap { padding: 30px 20px 70px; display: grid; gap: 20px; }
.editwrap__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.editwrap__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kennz-example { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.kennz-example__text { flex: 1 1 280px; min-width: 0; }
.kennz-example__fig { flex: 0 0 auto; margin: 0; width: 240px; max-width: 100%; }
.kennz-example__fig img { width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); display: block; }
.kennz-example__fig figcaption { margin-top: 8px; text-align: center; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.card h2 { margin: 0; }
.album-edit { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-top: 12px; background: var(--bg-2); }
.album-edit__top { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.album-edit__form { flex: 1; min-width: 260px; display: grid; gap: 10px; }
.tracks-edit { margin-top: 14px; display: grid; gap: 8px; }
.track-edit { display: flex; gap: 8px; align-items: center; }
.track-edit__title { flex: 1; }
.track-edit__ai { width: auto; }
.track-edit__del { display: inline; }
.track-add { display: flex; gap: 8px; align-items: center; margin-top: 6px; border-top: 1px dashed var(--border); padding-top: 12px; }
.track-add input { flex: 1; }

/* ---------- Status-Banner ---------- */
.banner-verify { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------- Freischaltung ---------- */
.steps h2 { font-size: 1.15rem; margin-top: 1.4em; }
.codebox { background: var(--surface-2); border: 1px dashed var(--brand); border-radius: var(--radius-sm); padding: 16px; text-align: center; margin: 10px 0; }
.codebox code { font-size: 1.4rem; font-weight: 800; letter-spacing: .08em; color: var(--brand); }

/* ---------- Claim-/Aktionsleiste ---------- */
.claimbar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-top: 22px; }
.claimbar p { margin: 0 0 12px; }
.searchgroup { margin: 26px 0 12px; font-size: 1.05rem; }

/* ---------- Admin ---------- */
.adminrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.adminrow:last-child { border-bottom: 0; }
.adminrow__info { min-width: 0; display: grid; gap: 4px; }
.adminrow__actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ---------- Prose ---------- */
.prose { padding: 46px 20px 60px; max-width: 780px; }
.prose h1 { font-size: 2.1rem; }
.prose h2 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }
.deflist { list-style: none; padding: 0; display: grid; gap: 10px; }
.deflist li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }
.deflist .tag { margin-right: 8px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 60px; background: var(--bg-2); }
.site-footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 30px; padding-top: 44px; padding-bottom: 30px; }
.site-footer__col h4 { font-size: .95rem; margin-bottom: 12px; }
.site-footer__col a { display: block; color: var(--muted); padding: 4px 0; }
.site-footer__col a:hover { color: var(--text); }
.site-footer__col p { color: var(--muted); margin: 8px 0 0; }
.site-footer__bar { border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; max-width: var(--maxw); margin: 0 auto; color: var(--muted); font-size: .88rem; }

/* Schlanker, unauffälliger Footer */
.site-footer--slim { margin-top: 32px; background: transparent; }
.site-footer--slim .site-footer__bar { padding: 10px 20px; font-size: .78rem; opacity: .8; }
.site-footer__links { display: flex; gap: 16px; }
.site-footer__links a { color: var(--muted); }
.site-footer__links a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .mainnav { display: none; }
  .navtoggle { display: flex; margin-left: auto; order: 1; }
  .site-header__actions { display: none; }
  /* Offenes Mobil-Menü: der Header wächst, Menü + Buttons fließen als volle
     Zeilen darunter (kein absolutes Positionieren -> nichts wird abgeschnitten). */
  body.nav-open .site-header__inner {
    height: auto; flex-wrap: wrap; align-items: center; padding-bottom: 14px; row-gap: 10px;
  }
  body.nav-open .mainnav,
  body.nav-open .site-header__actions {
    display: flex; flex-direction: column; align-items: stretch;
    flex-basis: 100%; width: 100%; margin-left: 0; gap: 8px;
  }
  body.nav-open .mainnav { order: 2; }
  body.nav-open .site-header__actions { order: 3; }
  /* Icon-Buttons im Mobil-Menü mit Text zeigen */
  .btn--icon { padding: 10px 16px; justify-content: center; }
  .btn--icon .btn__label { display: inline; }
  .section--split { grid-template-columns: 1fr; }
  .feedwrap { grid-template-columns: 1fr; }
  .mecard { position: static; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .field-row, .radiocards { grid-template-columns: 1fr; }
  .kv > div { grid-template-columns: 1fr; gap: 2px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .album { flex-direction: column; }
  /* Startseite: auf dem Handy nur 3 pulsierende Profilbilder statt 4 */
  .cta-artists__ava:nth-child(4) { display: none; }
  /* Schlanker Footer: Copyright über den Links, Links zentriert umbrechen,
     zwei Links im Mobil-Layout ausblenden (verhindert das Zusammenklatschen). */
  .site-footer__bar { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .site-footer__links { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
  .footer-hide-mobile { display: none; }
}

/* ============================================================
   KI-DNA · Ergebnis-Block, Mini-Ringe & Ermittlungs-Overlay
   ============================================================ */

/* Kleine Ringe (unter Album-Titel, Profil + Deine Alben) */
.donuts--sm { gap: 18px; margin: 8px 0 2px; }
.donuts--sm .donut { width: 56px; }
.donuts--sm .donut svg { width: 56px; height: 56px; }

.dna { margin-top: 10px; }
.dna__text { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.dna__groups { display: flex; gap: 22px; flex-wrap: wrap; align-items: stretch; }
.dna__groups--lg { gap: 30px; }
.dna__group { display: flex; flex-direction: column; gap: 3px; }
.dna__grouplabel { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted);
  display: inline-flex; align-items: center; gap: 7px; }
.dna__grouplabel .ai-icon { height: 22px; }
.dna__divider { align-self: stretch; width: 1px; min-height: 44px; background: var(--border); flex: none; }
.dna__group--genre { justify-content: center; max-width: 220px; }
.dna__genre { margin: 4px 0 0; font-weight: 700; line-height: 1.35; }
.album-meta { margin: 4px 0 0; }
.album-meta__ex { display: inline-block; padding: 0 6px; border: 1px solid var(--border); border-radius: 4px;
  font-weight: 700; font-size: .82em; letter-spacing: .02em; }
.dna-step__label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); margin: 0 0 6px; }
@media (max-width: 520px) { .dna__divider { width: 100%; height: 1px; min-height: 0; } }
.album-edit__result:empty { display: none; }

/* Zähler auf der Startseite (KI-Star in Zahlen) */
.statcounters { padding: 8px 20px 48px; }
.statcounters__inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.statcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 18px; text-align: center; }
.statcard__num { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 850; font-variant-numeric: tabular-nums;
  color: var(--text); }
.statcard__label { margin-top: 6px; color: var(--muted); font-size: .92rem; }
@media (max-width: 680px) { .statcounters__inner { grid-template-columns: 1fr; } }

/* FAQ-Akkordeon (aufklappbare Fragen, native <details>) */
.faq-acc { display: grid; gap: 10px; margin: 18px 0 24px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq-item > summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); flex: none; }
.faq-item[open] > summary::after { content: "\2013"; }
.faq-item > summary:hover { color: var(--brand); }
.faq-item__body { padding: 0 16px 14px; color: var(--muted); line-height: 1.6; }
.faq-item__body a { font-weight: 600; }

/* KI-Offenlegung im Profil: links Donuts/Text, mittig Trennlinie, rechts Auswertung */
.offenlegung { display: flex; gap: 28px; align-items: stretch; flex-wrap: wrap; }
.offenlegung__col { flex: 1 1 260px; min-width: 0; }
.offenlegung__col--eval { display: flex; flex-direction: column; gap: 6px; }
.offenlegung__divider { align-self: stretch; width: 1px; background: var(--border); flex: none; }
.offenlegung__evaltext { margin: 4px 0 8px; line-height: 1.6; }
.off-done { font-weight: 600; margin: 0 0 4px; }
@media (max-width: 640px) { .offenlegung__divider { width: 100%; height: 1px; } }

/* Hinweis-Banner (z. B. im Feed: Kennzeichnung ausstehend) */
.dna-hint {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 0 18px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid rgba(217,134,0,.5); background: rgba(217,134,0,.10);
}
.dna-hint__icon { font-size: 1.2rem; line-height: 1.35; color: var(--human); flex: none; }
.dna-hint a { font-weight: 700; }
/* Variante: KI-Offenlegung (Marken-Akzent statt Warnfarbe) */
.dna-hint--offen { border-color: rgba(124,92,255,.5); background: rgba(124,92,255,.10); }
.dna-hint--offen .dna-hint__icon { color: var(--brand); }
.dna-hint--offen .linkbtn { font-weight: 700; }

/* Selbsteinschätzungs-Hinweis (Profil: Alben & KI-Offenlegung) */
.profile__music .dna-note { margin: 0 0 16px; }
.dna-note { margin: 4px 0 0; }

/* Eigene KI-Star-ID als dezenter Link (Feed/Profil) → Deine Alben */
.idlink { text-decoration: none; color: inherit; cursor: pointer; }
.idlink:hover { text-decoration: none; color: var(--brand); }

/* Kennzeichnungs-Snippet (ID/Link zum Kopieren) */
.idsnippet__row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 8px 0 6px; }
.idsnippet__row code {
  flex: 1; min-width: 220px; background: var(--surface-2); border: 1px dashed var(--brand);
  border-radius: var(--radius-sm); padding: 12px 14px; color: var(--brand);
  font-weight: 700; letter-spacing: .02em; word-break: break-all;
}
.idsnippet__row .btn { flex: none; }

/* Transparenz-Seite: Dringlichkeits-Box + FAQ */
.deadline { display: flex; gap: 14px; align-items: flex-start; margin: 8px 0 20px;
  padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1px solid rgba(226,60,116,.5); background: rgba(226,60,116,.09); }
.deadline__flag { font-size: 1.5rem; line-height: 1.2; color: var(--accent); flex: none; }
.faq h3 { margin: 18px 0 4px; font-size: 1.05rem; }
.faq p { margin: 0 0 6px; color: var(--muted); }

/* Startseiten-Overlay (EU AI Act Hinweis) */
body.promo-open { overflow: hidden; }
.promo { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 18px; }
.promo[hidden] { display: none; }
.promo__backdrop { position: absolute; inset: 0; background: rgba(10,15,30,.6); backdrop-filter: blur(2px); }
.promo__box { position: relative; z-index: 1; width: 100%; max-width: 480px; text-align: center;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px 24px; box-shadow: var(--shadow);
  background-image: radial-gradient(120% 80% at 50% -10%, rgba(124,92,255,.14), transparent 60%); }
.promo__x { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 1.7rem; line-height: 1; color: var(--muted); cursor: pointer; }
.promo__x:hover { color: var(--text); }
.promo__mark { font-size: 2.2rem; color: var(--brand); margin: 0 0 4px; }
.promo__title { margin: 0 0 6px; font-size: 1.5rem; }
.promo__lead { margin: 0 0 10px; font-size: 1.1rem; color: var(--accent); }
.promo__text { margin: 0 0 18px; color: var(--muted); }
.promo__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.promo__foot { margin: 16px 0 0; }

/* Zustimmungs-Checkboxen (Registrierung) mit etwas Abstand */
.form__group .chk { margin-bottom: 8px; }
.form__group .chk:last-of-type { margin-bottom: 0; }

/* Composer: zwei Optionen (Profil / Anonym) links, Button rechts */
.composer__foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.composer__opts { display: flex; flex-direction: row; gap: 8px; flex-wrap: wrap; }
.composer__chk input:disabled + span { opacity: .5; }

/* Anonymer Feed-Avatar */
.post__avatar--anon { display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); color: var(--muted); font-weight: 800; }

/* Like/Dislike auf dem Profil */
.profile__rating { display: flex; gap: 10px; align-items: center; margin-left: auto; align-self: center; }
.rating__btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font-weight: 700; font-size: .95rem; cursor: pointer; transition: .15s; }
.rating__btn:hover:not(:disabled):not(.is-static) { border-color: var(--brand); transform: translateY(-1px); }
.rating__btn:disabled { cursor: default; opacity: .8; }
.rating__btn.is-static { cursor: default; border-style: dashed; }
.rating__icon { width: 16px; height: 16px; display: block; }
.rating__btn--like.is-active   { border-color: var(--ok);     color: var(--ok);     background: rgba(18,169,122,.10); }
.rating__btn--dislike.is-active { border-color: var(--danger); color: var(--danger); background: rgba(214,56,89,.10); }
@media (max-width: 620px) { .profile__rating { margin-left: 0; } }

/* Overlay */
body.dna-open { overflow: hidden; }
.dna-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 18px; }
.dna-modal[hidden] { display: none; }
.dna-modal__backdrop { position: absolute; inset: 0; background: rgba(10,15,30,.55); backdrop-filter: blur(2px); }
.dna-modal__box {
  position: relative; z-index: 1; width: 100%; max-width: 640px; max-height: 90vh; overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.dna-modal__box--slim { max-width: 420px; }
.dna-modal__x { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 1.7rem; line-height: 1; color: var(--muted); cursor: pointer; }
.dna-modal__x:hover { color: var(--text); }
.dna-modal__title { margin: 0 0 2px; }
.dna-modal__album { margin: 0 0 14px; }
.dna-modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

.dna-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .dna-cols { grid-template-columns: 1fr; } }
.dna-col__title { font-size: .95rem; margin: 0 0 8px; }
.dna-check {
  display: flex; align-items: center; gap: 9px; padding: 9px 11px; margin-bottom: 7px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; font-size: .92rem;
  background: var(--surface); transition: .15s;
}
.dna-check:hover { border-color: var(--brand); }
.dna-check input { accent-color: var(--brand); flex: none; }
.dna-check:has(input:checked) { border-color: var(--brand); background: rgba(91,61,245,.08); color: var(--brand); }
.dna-check.is-disabled { opacity: .38; cursor: not-allowed; }
.dna-check.is-disabled:hover { border-color: var(--border); }

/* Ladebalken */
.dna-step--loading { text-align: center; padding: 22px 6px; }
.dna-loading__label { font-weight: 700; margin: 0 0 14px; }
.dna-loading__bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.dna-loading__fill {
  display: block; height: 100%; width: 40%; border-radius: 999px;
  background: linear-gradient(100deg, var(--brand), var(--accent));
  animation: dnaLoad 1.1s ease-in-out infinite;
}
@keyframes dnaLoad {
  0%   { margin-left: -40%; }
  100% { margin-left: 100%; }
}
.dna-loading__hint { margin: 12px 0 0; }
.dna-applyall { margin-top: 10px; }
.dna-error { color: var(--danger); font-weight: 600; margin-top: 14px; }

/* ============================================================
   Forum
   ============================================================ */

/* Menü-Badge (neue Beiträge in abonnierten Threads) */
.navbadge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px;
  border-radius: 999px; background: var(--danger); color: #fff;
  font-size: .72rem; font-weight: 800; line-height: 1; vertical-align: middle;
}

/* „neu"-Hinweis an Kategorien, Threads und Beiträgen */
.newdot {
  display: inline-flex; align-items: center; padding: 1px 8px; margin-left: 6px;
  border-radius: 999px; background: var(--danger); color: #fff;
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  vertical-align: middle;
}

.forumwrap { max-width: 900px; }
.forum-crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.forum-crumbs a { color: var(--brand-2); }

/* Kategorien-Liste */
.forum-cats { display: grid; gap: 12px; }
.forum-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; color: var(--text); transition: .15s;
}
.forum-cat:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.forum-cat--new { border-color: rgba(214,56,89,.45); }
.forum-cat__title { margin: 0 0 4px; font-size: 1.15rem; }
.forum-cat__desc { margin: 0; font-size: .92rem; }
.forum-cat__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; flex-shrink: 0; white-space: nowrap; }

/* Thread-Liste */
.forum-newthread { margin: 18px 0; padding: 16px 20px; }
.forum-newthread > summary { cursor: pointer; font-size: 1rem; list-style: none; }
.forum-newthread > summary::-webkit-details-marker { display: none; }
.forum-newthread[open] > summary { margin-bottom: 14px; }
.forum-newthread .form { margin-top: 4px; }

.forum-threads { display: grid; gap: 10px; }
.forum-thread {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; color: var(--text); transition: .15s;
}
.forum-thread:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.forum-thread--new { border-color: rgba(214,56,89,.45); }
.forum-thread__avatar { width: 44px; height: 44px; font-size: 1rem; flex-shrink: 0; }
.forum-thread__main { min-width: 0; display: grid; gap: 2px; flex: 1; }
.forum-thread__title { font-weight: 700; }
.forum-thread__by { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.forum-thread__by .ai-icon { height: 15px; width: auto; vertical-align: middle; }
.forum-thread__count { flex-shrink: 0; white-space: nowrap; text-align: right; line-height: 1.35; }
.forum-thread-head__meta { margin: 4px 0 0; }

/* Einzelner Thread */
.forum-thread-head { align-items: flex-start; }
.forum-subform { flex-shrink: 0; }
.forum-posts .post__head .ai-icon { height: 15px; width: auto; vertical-align: middle; }
.post--new { border-color: rgba(214,56,89,.45); box-shadow: 0 0 0 2px rgba(214,56,89,.08); }

/* Audio-Link an einem Beitrag */
.forum-audio {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 10px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text); font-weight: 600; font-size: .9rem;
}
.forum-audio:hover { text-decoration: none; border-color: var(--brand-2); }
.forum-audio__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: #000; color: #fff; font-size: .7rem;
}
.forum-audio__host { font-weight: 500; }
.forum-reply { margin-top: 18px; }
.forum-reply__audio { margin-top: 12px; }

/* ============================================================
   Einklappbare Abschnitte (Accordion, z. B. „Deine Musik")
   ============================================================ */
.acc {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.acc > summary {
  list-style: none; cursor: pointer; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary h2 { margin: 0; font-size: 1.15rem; }
.acc > summary::after {
  content: '⌄'; font-size: 1.2rem; line-height: 1; color: var(--muted);
  transform: translateY(-3px); transition: transform .15s;
}
.acc[open] > summary::after { transform: translateY(1px) rotate(180deg); }
.acc > summary:hover { background: var(--surface-2); }
.acc__body { padding: 0 24px 24px; display: grid; gap: 14px; }

/* ============================================================
   Admin-Layout mit Seitenmenü
   ============================================================ */
.adminwrap {
  display: grid; grid-template-columns: 210px 1fr; gap: 24px; align-items: start;
  max-width: var(--maxw); margin: 0 auto; padding: 30px 20px 70px;
}
.adminnav {
  position: sticky; top: 86px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px;
}
.adminnav__head { display: grid; gap: 2px; padding: 4px 8px 10px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.adminnav nav { display: grid; gap: 2px; }
.adminnav a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 10px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: .92rem;
}
.adminnav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.adminnav a.is-active { background: #000; color: #fff; }
.adminnav a.is-active:hover { background: #000; color: #fff; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 6px 0 4px; }
.admin-stat { display: grid; gap: 2px; padding: 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); text-align: center; }
.admin-stat:hover { text-decoration: none; border-color: var(--text); }
.admin-stat__num { font-size: 1.8rem; font-weight: 850; }
.admin-stat__lbl { font-size: .82rem; color: var(--muted); }
.adminnav__badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--danger); color: #fff; font-size: .72rem; font-weight: 800;
}
.admincontent { display: grid; gap: 16px; min-width: 0; }
.admincontent .acc__body .form { margin-top: 4px; }
@media (max-width: 820px) {
  .adminwrap { grid-template-columns: 1fr; }
  .adminnav { position: static; }
}
.radio-chanstat {
  display: inline-block; margin: 2px 4px 0 0; padding: 1px 8px; border-radius: 999px;
  border: 1px solid var(--border); font-size: .78rem; font-weight: 700; color: var(--muted);
}
.radio-chanstat.is-live { border-color: var(--ok); color: var(--ok); }

/* ============================================================
   KI-Star-Radio · Menü-Button + Popup-Player
   ============================================================ */
.mainnav button.mainnav__link {
  background: none; border: 0; cursor: pointer; font: inherit;
  font-weight: 600; font-size: .95rem;
}
.mainnav__radio { color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.mainnav__radio::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--danger); display: inline-block; flex-shrink: 0;
  animation: radioPulse 1.6s ease-in-out infinite;
}
@keyframes radioPulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.radio-modal {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.radio-modal[hidden] { display: none; }
.radio-modal__backdrop { position: absolute; inset: 0; background: rgba(10,14,22,.55); backdrop-filter: blur(4px); }
.radio-modal__box {
  position: relative; width: 100%; max-width: 440px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px;
}
.radio-modal__x {
  position: absolute; top: 10px; right: 12px; background: none; border: 0; cursor: pointer;
  font-size: 1.6rem; line-height: 1; color: var(--muted);
}
.radio-modal__x:hover { color: var(--text); }

.radio-player__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.radio-player__brand { font-weight: 800; font-size: 1.05rem; }
.radio-player__live {
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; color: #fff; background: var(--danger);
  padding: 2px 8px; border-radius: 999px;
}
.radio-player.is-playing .radio-player__live { animation: radioPulse 1.6s ease-in-out infinite; }

.radio-player__now {
  display: flex; align-items: center; gap: 14px;
  background: #000; color: #fff; border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 16px;
}
.radio-player__meta { min-width: 0; }
.radio-player__title { font-weight: 800; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-player__artist { font-size: .88rem; color: rgba(255,255,255,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Equalizer-Balken (animiert nur beim Abspielen) */
.radio-eq { display: flex; align-items: flex-end; gap: 3px; height: 26px; flex-shrink: 0; }
.radio-eq span { width: 4px; height: 30%; background: #fff; border-radius: 2px; }
.radio-player.is-playing .radio-eq span { animation: radioEq .9s ease-in-out infinite; }
.radio-player.is-playing .radio-eq span:nth-child(2) { animation-delay: .2s; }
.radio-player.is-playing .radio-eq span:nth-child(3) { animation-delay: .45s; }
.radio-player.is-playing .radio-eq span:nth-child(4) { animation-delay: .1s; }
@keyframes radioEq { 0%,100% { height: 25%; } 50% { height: 100%; } }

.radio-player__controls { display: flex; align-items: center; gap: 14px; }
.radio-toggle {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: #000; color: #fff; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.radio-toggle:hover { transform: translateY(-1px); }
.radio-toggle__play { margin-left: 3px; }
.radio-vol { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.radio-vol input[type=range] { width: 84px; accent-color: #000; }
.radio-select { margin-left: auto; }
.radio-select select {
  appearance: none; -webkit-appearance: none;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 30px 8px 14px; font: inherit; font-weight: 700; cursor: pointer; color: var(--text);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c6674' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.radio-select select:hover { border-color: var(--text); }

/* Höreranzahl im Player */
.radio-listeners { font-size: .82rem; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }

/* Radio-Landingpage (SEO) */
.radio-landing { max-width: 860px; }
.radio-landing__hero { margin-bottom: 34px; }
.notice-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 8px; }
.radio-landing__channels { margin-bottom: 34px; }
.radio-genrelist { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.radio-genre { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; }
.radio-genre.is-live { border-color: var(--ok); }
.radio-genre.is-live::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); display: inline-block; flex-shrink: 0;
}
.radio-genre:not(.is-live) { opacity: .6; }

/* Blätterung */
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin: 20px 0 0; justify-content: center; }
.pager__item {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 600;
}
.pager__item:hover { text-decoration: none; background: var(--surface-2); }
.pager__item.is-active { background: #000; color: #fff; border-color: #000; }

@media (max-width: 620px) {
  .forum-cat { flex-direction: column; align-items: flex-start; gap: 8px; }
  .forum-cat__meta { flex-direction: row; gap: 10px; align-items: center; }
  .forum-thread__count { display: none; }
}
