.music-card-actions,
.song-share-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.card-share-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.card-share-button:hover {
  text-decoration: underline;
}

.card-share-button:focus-visible,
.song-share-actions a:focus-visible,
.song-share-actions button:focus-visible,
.song-conversion-panel a:focus-visible,
.song-room-secondary-actions a:focus-visible,
.song-room-lyrics summary:focus-visible {
  outline: 3px solid var(--gold, #d6aa4a);
  outline-offset: 4px;
}

.song-conversion-panel,
.song-share-panel {
  margin-top: 1.35rem;
  border: 1px solid rgba(214, 170, 74, 0.34);
  border-radius: 18px;
  padding: clamp(1.15rem, 3vw, 1.75rem);
}

.song-conversion-panel {
  background:
    linear-gradient(135deg, rgba(214, 170, 74, 0.13), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.025);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.song-conversion-panel h2,
.song-share-panel h2 {
  margin: 0.2rem 0 0.65rem;
  color: #ffffff;
  line-height: 1.12;
}

.song-conversion-panel p:not(.eyebrow),
.song-share-panel p:not(.eyebrow) {
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.86);
}

.song-share-panel {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.song-share-actions {
  margin-top: 1rem;
}

.song-share-actions .button {
  min-height: 44px;
  padding: 0.72rem 1rem;
}

.song-room-secondary-actions {
  margin-top: 1rem;
}

.song-room-secondary-actions .text-link {
  color: rgba(255, 255, 255, 0.82);
}

.share-status {
  min-height: 1.5rem;
  margin: 0.7rem 0 0;
  color: #ffffff;
  font-weight: 700;
}

.song-room-lyrics {
  grid-column: 1 / -1;
  overflow: hidden;
  margin-top: 1.5rem;
  border: 1px solid rgba(6, 22, 47, 0.14);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(6, 22, 47, 0.08);
  color: #162033;
}

.song-room-lyrics summary {
  padding: 1rem 1.25rem;
  background: #f7f1e4;
  color: #7f1d2d;
  font-weight: 900;
  cursor: pointer;
}

.song-room-lyrics pre {
  margin: 0;
  padding: 1.35rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #ffffff;
  color: #162033;
  font: inherit;
  font-size: 1rem;
  line-height: 1.75;
}

.song-room-related > h2::after {
  content: " Listen to another story.";
  color: var(--muted, #607089);
  font-size: 0.62em;
  font-weight: 600;
}

.related-song-grid a {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.related-song-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 170, 74, 0.52);
  box-shadow: 0 16px 38px rgba(6, 22, 47, 0.12);
}

@media (max-width: 760px) {
  .song-conversion-panel,
  .song-share-panel {
    border-radius: 14px;
    padding: 1rem;
  }

  .music-card-actions,
  .song-share-actions {
    width: 100%;
  }

  .song-share-actions .button,
  .song-conversion-panel .hero-actions .button {
    flex: 1 1 10rem;
    max-width: 100%;
  }

  .song-room-related > h2::after {
    display: block;
    margin-top: 0.35rem;
  }

  .song-room-lyrics pre {
    padding: 1rem;
    font-size: 0.96rem;
  }
}

@media (max-width: 480px) {
  .song-share-actions .button,
  .song-conversion-panel .hero-actions .button {
    flex-basis: 100%;
    width: 100%;
  }
}

@media print {
  [data-vvm-card-share],
  .song-share-panel,
  .song-conversion-panel,
  .song-room-secondary-actions {
    display: none !important;
  }

  .song-room-lyrics,
  .song-room-lyrics pre {
    border: 0;
    box-shadow: none;
    background: #ffffff;
    color: #000000;
  }
}
