/*
 * 6Flaschen WeinApp
 * Profilseite kompakt – Hotfix 8.4.9 Revision 9
 * Stand: 2026-08-08 Europe/Berlin
 */

/* DEIN GESCHMACKSPROFIL:
   Nur ein äußerer Kartenrahmen. Der bisherige zweite Rahmen um
   "Deine stärksten Tendenzen" wird entfernt. */
html.profile-compact-ui .profile-compact-axis-overview .profile-tendency-block {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html.profile-compact-ui .profile-compact-axis-overview .profile-tendency-block::before,
html.profile-compact-ui .profile-compact-axis-overview .profile-tendency-block::after {
  display: none !important;
  content: none !important;
}

html.profile-compact-ui .profile-compact-axis-overview .profile-compact-eyebrow {
  margin-bottom: 8px;
}

html.profile-compact-ui .profile-compact-axis-overview #profile-top-tendencies-title {
  margin-top: 0 !important;
}

/* Vollständige sieben Achsen erst über Mehr Infos. */
html.profile-compact-ui .profile-axis-more,
html.profile-compact-ui .profile-hero-more {
  margin-top: 18px;
  border-top: 1px solid rgba(80, 74, 66, 0.14);
  padding-top: 12px;
}

html.profile-compact-ui .profile-axis-more > summary,
html.profile-compact-ui .profile-hero-more > summary {
  list-style: none;
  cursor: pointer;
  width: fit-content;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  color: var(--text, #1f2a30);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

html.profile-compact-ui .profile-axis-more > summary::-webkit-details-marker,
html.profile-compact-ui .profile-hero-more > summary::-webkit-details-marker {
  display: none;
}

html.profile-compact-ui .profile-axis-more > summary::after,
html.profile-compact-ui .profile-hero-more > summary::after {
  content: "›";
  display: inline-block;
  font-size: 1.15em;
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

html.profile-compact-ui .profile-axis-more[open] > summary::after,
html.profile-compact-ui .profile-hero-more[open] > summary::after {
  transform: rotate(-90deg);
}

html.profile-compact-ui .profile-axis-more-body,
html.profile-compact-ui .profile-hero-more-body {
  padding-top: 16px;
}

html.profile-compact-ui .profile-axis-more-intro,
html.profile-compact-ui .profile-hero-more-intro {
  margin: 0 0 16px;
  color: var(--muted, #667078);
  line-height: 1.55;
}

/* Der vorhandene Achsenblock bleibt unverändert, wird nur eingeklappt. */
html.profile-compact-ui .profile-axis-more .profile-axis-list {
  margin-top: 0 !important;
}

/* Nebenprägungen werden im einleitenden Profil-Hero angezeigt. */
html.profile-compact-ui .profile-hero-more {
  max-width: 720px;
}

html.profile-compact-ui .profile-hero-more-heading {
  margin-bottom: 6px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

html.profile-compact-ui .profile-hero-more .profile-archetype-secondary {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html.profile-compact-ui .profile-hero-more .profile-archetype-chip {
  margin-top: 8px;
}

/* Dark Mode */
html[data-theme="dark"].profile-compact-ui .profile-axis-more,
html[data-theme="dark"].profile-compact-ui .profile-hero-more {
  border-top-color: rgba(225, 214, 190, 0.16);
}

html[data-theme="dark"].profile-compact-ui .profile-axis-more > summary,
html[data-theme="dark"].profile-compact-ui .profile-hero-more > summary {
  color: var(--text, #f1eadf);
}

/* Mobile kompakt halten. */
@media (max-width: 760px) {
  html.profile-compact-ui .profile-axis-more,
  html.profile-compact-ui .profile-hero-more {
    margin-top: 14px;
    padding-top: 10px;
  }

  html.profile-compact-ui .profile-axis-more-body,
  html.profile-compact-ui .profile-hero-more-body {
    padding-top: 12px;
  }
}


/* Revision 9: Nebenprägungen liegen direkt unter dem kompakten Master-Hero. */
html.profile-compact-ui .profile-intro-followup .profile-hero-more {
  max-width:none;
  margin:0;
  padding:14px 16px;
  border:1px solid rgba(80,74,66,.12);
  border-radius:18px;
  background:rgba(255,255,255,.46);
}
