/* Combo-Profil. Handy zuerst. Baut auf deck.css auf (.block, .klein-label, .anzahl). */

/* ------------------------------------------------------------------- Kopf */

.mza-comboprofil-kopf {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  margin-bottom: 1.4rem;
}

.mza-comboprofil-zahl {
  margin: 0;
  font-family: var(--f-display);
  font-size: 2.7rem;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}
.mza-comboprofil-zahl span {
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.mza-comboprofil-wort {
  margin: 0.25rem 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
}
.mza-comboprofil-wort-1 { color: #A8DCC0; }
.mza-comboprofil-wort-2 { color: var(--gold); }
.mza-comboprofil-wort-3 { color: var(--accent-hot); }
.mza-comboprofil-wort-4 { color: var(--accent-hot); }

.mza-comboprofil-meter {
  display: block;
  width: 100%;
  max-width: 21rem;
  height: auto;
  margin-bottom: 0.8rem;
}

.mza-comboprofil-satz {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 44ch;
}

/* Zusammensetzung des Scores */

.mza-comboprofil-h3 {
  margin: 0 0 0.6rem;
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.mza-comboprofil-a-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.mza-comboprofil-a-liste li {
  display: grid;
  grid-template-columns: 6.6rem 1fr auto;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
}
.mza-comboprofil-a-label { color: var(--text-2); }
.mza-comboprofil-a-balken {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.mza-comboprofil-a-balken i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(217, 182, 80, 0.55), var(--gold));
}
.mza-comboprofil-a-minus i { background: linear-gradient(90deg, rgba(234, 54, 1, 0.55), var(--accent)); }
.mza-comboprofil-a-zahl {
  font-variant-numeric: tabular-nums;
  color: var(--text);
  font-size: 0.85rem;
  white-space: nowrap;
}

.mza-comboprofil-leer {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-3);
  max-width: 44ch;
}

.mza-comboprofil-anker {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-2);
}

/* ----------------------------------------------------------- Combo-Zeilen */

.mza-comboprofil-liste {
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
}
.mza-comboprofil-liste:last-child { margin-bottom: 0; }

.mza-comboprofil-zeile {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}
.mza-comboprofil-zeile:first-child { border-top: 0; padding-top: 0.1rem; }

.mza-comboprofil-badges {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.mza-comboprofil-badge {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-3);
  white-space: nowrap;
}
.mza-comboprofil-badge-sieg {
  color: #14181B;
  background: var(--gold);
  border-color: var(--gold);
}
.mza-comboprofil-badge-wert {
  color: #B9A5E8;
  background: rgba(95, 64, 171, 0.16);
  border-color: rgba(95, 64, 171, 0.55);
}
.mza-comboprofil-badge-frueh {
  color: #E9CE8C;
  background: rgba(217, 182, 80, 0.1);
  border-color: rgba(217, 182, 80, 0.45);
}
.mza-comboprofil-badge-fehlt {
  border-style: dashed;
  color: var(--text-2);
}

.mza-comboprofil-teile {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}
.mza-comboprofil-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-size: 0.88rem;
  line-height: 1.25;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  text-decoration: none;
}
.mza-comboprofil-chip:hover { border-color: var(--gold); color: var(--gold); }
.mza-comboprofil-chip-anker {
  background: rgba(217, 182, 80, 0.14);
  border-color: rgba(217, 182, 80, 0.5);
  color: #E9CE8C;
  font-weight: 600;
}
.mza-comboprofil-chip-anker:hover { color: #F0D48A; }
.mza-comboprofil-chip-fehlt {
  border-style: dashed;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.02);
}
.mza-comboprofil-chip-fehlt em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hot);
}
/* Bedingungen sind keine Karten: gepunkteter Rand, eigene Farbe. */
.mza-comboprofil-chip-bedingung {
  border-style: dotted;
  border-color: rgba(95, 64, 171, 0.65);
  background: rgba(95, 64, 171, 0.12);
  color: #C4B4EC;
}
.mza-comboprofil-chip-bedingung:hover { border-color: #8F72E0; color: #D6CBF3; }
.mza-comboprofil-chip-bedingung .ms-cost { font-size: 0.8em; vertical-align: baseline; }
.mza-comboprofil-chip em.ruhig {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.mza-comboprofil-chip-bedingung.mza-comboprofil-chip-fehlt {
  border-color: rgba(234, 54, 1, 0.5);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-3);
}

.mza-comboprofil-bedingung-satz {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-3);
  max-width: 70ch;
}
.mza-comboprofil-bedingung-satz a { color: var(--text-2); }
.mza-comboprofil-bedingung-satz a:hover { color: var(--gold); }

.mza-comboprofil-anker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.45rem; }

.mza-comboprofil-plus {
  color: var(--text-3);
  font-size: 0.85rem;
}

.mza-comboprofil-ergebnis {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #E6C77A;
  max-width: 90ch;
}

/* Fast fertige Combos treten zurueck */
.mza-comboprofil-liste-fast .mza-comboprofil-zeile { border-top-style: dashed; }
.mza-comboprofil-liste-fast .mza-comboprofil-ergebnis { color: var(--text-3); }
.mza-comboprofil-liste-fast .mza-comboprofil-badge-sieg {
  color: #E9CE8C;
  background: rgba(217, 182, 80, 0.12);
  border-color: rgba(217, 182, 80, 0.4);
}

/* ---------------------------------------------------------------- Desktop */

@media (min-width: 48rem) {
  .mza-comboprofil-kopf {
    display: grid;
    grid-template-columns: minmax(16rem, 21rem) 1fr;
    gap: 2.2rem;
    align-items: start;
  }

  .mza-comboprofil-zeile {
    display: grid;
    grid-template-columns: 12rem 1fr;
    grid-template-areas: "badges teile" "badges ergebnis" "badges bedingung";
    column-gap: 1.1rem;
    row-gap: 0.35rem;
    align-items: start;
  }
  .mza-comboprofil-badges {
    grid-area: badges;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.28rem;
    padding-top: 0.35rem;
  }
  .mza-comboprofil-teile { grid-area: teile; }
  .mza-comboprofil-ergebnis { grid-area: ergebnis; }
  .mza-comboprofil-bedingung-satz { grid-area: bedingung; }
}
