/**
 * Public Shell – chrome shared by COVER / PLAKAT (and usable beside V1).
 * Not Aufbau geometry. Not Theme skins.
 * Covers: streaming icon row, release footer, scoped underline fix.
 */

/* ── Streaming icons (reuse V1 markup: .stream-icons / .stream-icon) ── */

body.cover-composition,
body.plakat-composition {
  --shell-stream-size: 2.75rem;
  --shell-stream-mark: 1.2rem;
}

.cover-listen__streams-col .stream-icons,
.plakat-monument__streams .stream-icons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  max-width: 100%;
}

.cover-listen__streams-col .stream-icons__row,
.plakat-monument__streams .stream-icons__row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.65rem;
  max-width: 100%;
  overflow-x: visible;
  padding: 0.15rem 0;
}

.cover-listen__streams-col .stream-icon,
.plakat-monument__streams .stream-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--shell-stream-size);
  height: var(--shell-stream-size);
  flex: 0 0 auto;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  background: color-mix(in srgb, currentColor 8%, transparent);
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.cover-listen__streams-col .stream-icon:hover,
.cover-listen__streams-col .stream-icon:focus-visible,
.plakat-monument__streams .stream-icon:hover,
.plakat-monument__streams .stream-icon:focus-visible {
  background: color-mix(in srgb, currentColor 14%, transparent);
  border-color: color-mix(in srgb, currentColor 55%, transparent);
  transform: translateY(-1px);
  outline: none;
}

.cover-listen__streams-col .stream-icon:focus-visible,
.plakat-monument__streams .stream-icon:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.cover-listen__streams-col .stream-icon__mark,
.plakat-monument__streams .stream-icon__mark {
  display: inline-flex;
  width: var(--shell-stream-mark);
  height: var(--shell-stream-mark);
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.cover-listen__streams-col .stream-icon__mark svg,
.plakat-monument__streams .stream-icon__mark svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.cover-listen__streams-col .stream-icon[data-tip]::after,
.plakat-monument__streams .stream-icon[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 3px;
  background: #111;
  color: #f5f5f5;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
  z-index: 2;
}

.cover-listen__streams-col .stream-icon[data-tip]:hover::after,
.cover-listen__streams-col .stream-icon[data-tip]:focus-visible::after,
.plakat-monument__streams .stream-icon[data-tip]:hover::after,
.plakat-monument__streams .stream-icon[data-tip]:focus-visible::after {
  opacity: 1;
}

@media (max-width: 767px) {
  body.cover-composition,
  body.plakat-composition {
    --shell-stream-size: 2.45rem;
    --shell-stream-mark: 1.1rem;
  }

  .cover-listen__streams-col .stream-icons__row,
  .plakat-monument__streams .stream-icons__row {
    flex-wrap: wrap;
    overflow-x: hidden;
  }
}

/* ── Scoped underline: continuous under descenders ── */

body.cover-composition a,
body.plakat-composition a {
  text-decoration-skip-ink: none;
}

/* ── Release footer (markup from legal-footer.php variant=release) ── */

body.cover-composition .release-footer,
body.plakat-composition .release-footer {
  margin-top: 0;
  padding: 28px 20px 32px;
  border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  background: color-mix(in srgb, currentColor 3%, transparent);
  color: inherit;
}

body.cover-composition .release-footer__inner,
body.plakat-composition .release-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  justify-items: start;
  text-align: left;
}

body.cover-composition .release-footer__legal,
body.plakat-composition .release-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.01em;
}

body.cover-composition .release-footer__legal a,
body.plakat-composition .release-footer__legal a {
  color: color-mix(in srgb, currentColor 72%, transparent);
  text-decoration: none;
  padding: 2px 1px;
}

body.cover-composition .release-footer__legal a:hover,
body.plakat-composition .release-footer__legal a:hover {
  color: currentColor;
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

body.cover-composition .release-footer__sep,
body.plakat-composition .release-footer__sep {
  display: inline-block;
  margin: 0 10px;
  color: color-mix(in srgb, currentColor 40%, transparent);
  font-weight: 400;
  user-select: none;
}

body.cover-composition .release-footer__artist,
body.plakat-composition .release-footer__artist {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: color-mix(in srgb, currentColor 55%, transparent);
}

body.cover-composition .release-footer__artist a,
body.plakat-composition .release-footer__artist a {
  color: inherit;
  text-decoration: none;
}

body.cover-composition .release-footer__artist a:hover,
body.plakat-composition .release-footer__artist a:hover {
  color: currentColor;
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

body.cover-composition .release-footer__credit,
body.plakat-composition .release-footer__credit {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 11px;
  line-height: 1.45;
  color: color-mix(in srgb, currentColor 48%, transparent);
}

body.cover-composition .release-footer__credit strong,
body.plakat-composition .release-footer__credit strong {
  color: color-mix(in srgb, currentColor 70%, transparent);
  font-weight: 700;
}

body.cover-composition .release-footer__credit a,
body.plakat-composition .release-footer__credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-offset: 0.12em;
}

body.cover-composition .release-footer__credit a:hover,
body.plakat-composition .release-footer__credit a:hover {
  color: currentColor;
}

/* Picker → Footer: keine doppelte Trennfläche / kein Abriss */
body.cover-composition .demo-aufbau-picker,
body.plakat-composition .demo-aufbau-picker,
body.cover-composition .demo-theme-picker:last-of-type,
body.plakat-composition .demo-theme-picker:last-of-type {
  border-bottom: none;
}

@media (max-width: 760px) {
  body.cover-composition .release-footer,
  body.plakat-composition .release-footer {
    padding: 22px 16px 28px;
  }

  body.cover-composition .release-footer__legal,
  body.plakat-composition .release-footer__legal {
    font-size: 12px;
    row-gap: 6px;
  }

  body.cover-composition .release-footer__sep,
  body.plakat-composition .release-footer__sep {
    margin: 0 8px;
  }

  body.cover-composition .release-footer__credit,
  body.plakat-composition .release-footer__credit {
    font-size: 11px;
  }
}
