/* Song-DNA
   Farbcodierung folgt der Belegtheit, nicht dem Wert: gemessen (grün),
   abgeleitet (gold), nicht bestimmbar (grau). Ein hoher Wert ist damit nie
   automatisch "gut" gefärbt -- die Seite bewertet nicht, sie zeigt. */

.ly-dna-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
}
.ly-dna-toolbar label { display: grid; gap: 6px; font-weight: 800; font-size: 13px; }
.ly-dna-toolbar select { min-width: min(340px, 80vw); }
.ly-dna-toolbar-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.ly-dna-status { margin: 0 0 18px; color: var(--ly-color-muted); }
.ly-dna-status.is-error { color: var(--ly-color-danger, #B42318); font-weight: 800; }

.ly-dna-head {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ly-color-border);
  margin-bottom: 26px;
}
.ly-dna-head h1 { margin: 8px 0 10px; }
.ly-dna-head p { max-width: 62ch; margin: 0; }

.ly-dna-coverage {
  display: grid;
  gap: 4px;
  padding: 16px 20px;
  border-radius: var(--ly-radius-lg);
  background: rgba(201,162,77,.10);
  border: 1px solid rgba(201,162,77,.35);
  min-width: 210px;
}
.ly-dna-coverage strong { font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.ly-dna-coverage span { font-weight: 800; font-size: 13px; }
.ly-dna-coverage small { color: var(--ly-color-muted); font-size: 12px; line-height: 1.45; }

.ly-dna-group { margin: 0 0 34px; }
.ly-dna-group h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 14px; }

.ly-dna-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}
.ly-dna-grid-compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.ly-dna-card {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--ly-radius-lg);
  border: 1px solid var(--ly-color-border);
  border-left-width: 4px;
  background: #fff;
  min-width: 0;
}
.ly-dna-card.is-measured { border-left-color: #2E7D5B; }
.ly-dna-card.is-derived  { border-left-color: #C9A24D; }
.ly-dna-card.is-unknown  { border-left-color: #B9C0CC; background: #FAFBFC; }

.ly-dna-card-label { font-size: 12px; font-weight: 900; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ly-color-muted); }
.ly-dna-card-value { font-size: 17px; line-height: 1.3; overflow-wrap: break-word; hyphens: auto; }
.ly-dna-card.is-unknown .ly-dna-card-value { color: #7A8595; font-weight: 700; font-size: 15px; }
.ly-dna-card-status { font-size: 11px; font-weight: 800; color: var(--ly-color-muted); }
.ly-dna-card-note { margin: 2px 0 0; font-size: 12px; line-height: 1.45; color: var(--ly-color-muted); }

.ly-dna-overview { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 22px; align-items: start; }
.ly-dna-radar-wrap { display: grid; gap: 8px; justify-items: center; }
.ly-dna-radar { width: 100%; max-width: 280px; height: auto; }
.ly-dna-radar-ring { fill: none; stroke: rgba(16,24,40,.12); stroke-width: 1; }
.ly-dna-radar-shape { fill: rgba(201,162,77,.30); stroke: #C9A24D; stroke-width: 2; }
.ly-dna-radar-label { font-size: 10px; font-weight: 800; fill: #667085; }

.ly-dna-bars { display: grid; gap: 7px; }
.ly-dna-bar-row { display: grid; grid-template-columns: minmax(72px, 128px) 1fr minmax(44px, auto);
  gap: 10px; align-items: center; }
.ly-dna-bar-label { font-weight: 800; font-size: 13px; overflow-wrap: anywhere; }
.ly-dna-bar-track { height: 12px; border-radius: 999px; background: rgba(16,24,40,.07); overflow: hidden; }
.ly-dna-bar-fill { display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #C9A24D, #E0BC72); }
.ly-dna-bar-value { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--ly-color-muted); }

.ly-dna-timeline { display: flex; width: 100%; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--ly-color-border); min-height: 42px; }
.ly-dna-timeline-part { display: grid; place-items: center; font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .04em; color: #23324a; overflow: hidden;
  white-space: nowrap; padding: 0 2px; }
.ly-dna-timeline-part.is-verse        { background: #DCE9F7; }
.ly-dna-timeline-part.is-chorus       { background: #F6E2B8; }
.ly-dna-timeline-part.is-pre_chorus   { background: #E7E0F5; }
.ly-dna-timeline-part.is-bridge       { background: #D9EFE3; }
.ly-dna-timeline-part.is-intro,
.ly-dna-timeline-part.is-outro        { background: #EDEFF3; }
.ly-dna-timeline-part.is-instrumental { background: #FBE0DC; }
.ly-dna-timeline-part.is-section      { background: #F2F4F7; }

.ly-dna-progression { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.ly-dna-progression span { padding: 5px 11px; border-radius: 999px; background: rgba(16,24,40,.06);
  font-weight: 900; font-size: 13px; font-variant-numeric: tabular-nums; }

.ly-dna-cloud { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; }
.ly-dna-tag { font-weight: 900; color: #23324a; line-height: 1.2; }

.ly-dna-empty { color: var(--ly-color-muted); margin: 0; }

/* Songwriter-Analyse V2 -------------------------------------------------- */
.ly-v2-intro {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid rgba(201, 162, 77, .38);
  border-radius: var(--ly-radius-lg);
  background: linear-gradient(135deg, rgba(201, 162, 77, .14), rgba(255, 255, 255, .96) 58%);
  box-shadow: 0 18px 50px rgba(16, 24, 40, .07);
}
.ly-v2-intro h1 { margin: 8px 0 10px; }
.ly-v2-intro p { max-width: 68ch; margin: 0; color: var(--ly-color-muted); line-height: 1.65; }
.ly-v2-badge {
  display: grid;
  place-items: center;
  width: 58px;
  min-width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #fff;
  background: #23324a;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .04em;
}
.ly-v2-start {
  margin: 18px 0 24px;
  padding: 20px 22px;
  border: 1px dashed rgba(35, 50, 74, .25);
  border-radius: var(--ly-radius-lg);
  background: #fafbfc;
}
.ly-v2-start h2 { margin: 0 0 8px; font-size: 21px; }
.ly-v2-start p { max-width: 74ch; margin: 5px 0; line-height: 1.6; }
.ly-v2-result { margin: 22px 0 28px; }
.ly-v2-result-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px;
  border-radius: var(--ly-radius-lg);
  background: #17243a;
  color: #fff;
}
.ly-v2-result-head h2 { margin: 8px 0 10px; color: #fff; }
.ly-v2-result-head p { max-width: 72ch; margin: 0; color: rgba(255,255,255,.78); line-height: 1.65; }
.ly-v2-result-head .ly-eyebrow { color: #e0bc72; }
.ly-v2-score {
  display: grid;
  min-width: 140px;
  justify-items: end;
  line-height: 1;
}
.ly-v2-score strong { font-size: 54px; letter-spacing: -.06em; color: #e0bc72; }
.ly-v2-score span { margin-top: 3px; font-size: 13px; color: rgba(255,255,255,.72); }
.ly-v2-score small { margin-top: 10px; font-weight: 800; color: #fff; }
.ly-v2-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.ly-v2-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(201, 162, 77, .12);
  border: 1px solid rgba(201, 162, 77, .30);
  color: #475467;
  font-size: 13px;
}
.ly-v2-meta strong { color: #17243a; }
.ly-v2-disclaimer { margin: 10px 0 30px; color: var(--ly-color-muted); font-size: 13px; }
.ly-v2-section { margin: 0 0 34px; }
.ly-v2-section > h2 { margin: 0 0 14px; font-size: clamp(22px, 3vw, 28px); }
.ly-v2-criteria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ly-v2-criterion {
  display: grid;
  gap: 9px;
  padding: 17px 18px;
  border: 1px solid var(--ly-color-border);
  border-radius: var(--ly-radius-lg);
  background: #fff;
}
.ly-v2-criterion.is-unavailable { background: #fafbfc; }
.ly-v2-criterion-head { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
.ly-v2-criterion-head strong { font-size: 16px; }
.ly-v2-criterion-head span { white-space: nowrap; font-size: 13px; font-weight: 900; color: #8a6b27; }
.ly-v2-scorebar { display: block; height: 6px; overflow: hidden; border-radius: 999px; background: #eef0f3; }
.ly-v2-scorebar span { display: block; height: 100%; border-radius: inherit; background: #c9a24d; }
.ly-v2-criterion p { margin: 0; line-height: 1.55; }
.ly-v2-criterion small { color: var(--ly-color-muted); line-height: 1.45; }
.ly-v2-blocker {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff1ef;
  color: #b42318;
  font-size: 11px;
  font-weight: 900;
}
.ly-v2-findings { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ly-v2-finding {
  padding: 17px 18px;
  border: 1px solid var(--ly-color-border);
  border-left: 4px solid #98a2b3;
  border-radius: var(--ly-radius-lg);
  background: #fff;
}
.ly-v2-finding.is-strength { border-left-color: #2e7d5b; }
.ly-v2-finding.is-issue { border-left-color: #c9a24d; }
.ly-v2-finding p { margin: 7px 0 0; color: var(--ly-color-muted); line-height: 1.55; }
.ly-v2-revisions { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; counter-reset: v2-revision; }
.ly-v2-revisions li {
  counter-increment: v2-revision;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  padding: 17px 18px;
  border: 1px solid var(--ly-color-border);
  border-radius: var(--ly-radius-lg);
  background: #fff;
}
.ly-v2-revisions li::before {
  content: counter(v2-revision);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #c9a24d;
  color: #17243a;
  font-weight: 900;
}
.ly-v2-revisions p { margin: 6px 0; color: var(--ly-color-muted); line-height: 1.55; }
.ly-v2-revisions small { color: #475467; }
.ly-v2-limitations, .ly-v1-details {
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px solid var(--ly-color-border);
  border-radius: var(--ly-radius-lg);
  background: #fafbfc;
}
.ly-v2-limitations summary, .ly-v1-details summary { cursor: pointer; font-weight: 900; }
.ly-v2-limitations li { margin: 7px 0; color: var(--ly-color-muted); line-height: 1.5; }
.ly-v1-details [data-v1-measurements] { padding-top: 22px; }
.ly-v2-privacy {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  justify-content: space-between;
  margin-top: 24px;
  padding: 15px 17px;
  border-radius: var(--ly-radius-lg);
  background: #edf7f1;
  color: #175c3e;
  font-size: 13px;
}

@media (max-width: 900px) {
  .ly-dna-overview { grid-template-columns: 1fr; }
  .ly-dna-head { flex-direction: column; }
  .ly-dna-coverage { width: 100%; }
  .ly-v2-criteria { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ly-dna-grid, .ly-dna-grid-compact { grid-template-columns: 1fr; }
  .ly-dna-bar-row { grid-template-columns: minmax(60px, 92px) 1fr auto; }
  .ly-dna-timeline-part { font-size: 9px; }
  .ly-dna-toolbar-actions, .ly-dna-toolbar-actions .ly-btn { width: 100%; }
  .ly-v2-intro { padding: 18px; }
  .ly-v2-badge { width: 46px; min-width: 46px; height: 46px; border-radius: 14px; }
  .ly-v2-result-head { padding: 19px; }
  .ly-v2-score { justify-items: start; }
  .ly-v2-revisions li { grid-template-columns: 34px 1fr; padding: 15px; }
  .ly-v2-revisions li::before { width: 30px; height: 30px; }
}
