.details-actions .full-lyrics-trigger {
  flex: none;
  min-height: 44px;
  min-width: 44px;
  font-size: 12px;
  color: var(--muted);
  padding: 0;
}
.details-actions .full-lyrics-trigger:hover,
.details-actions .full-lyrics-trigger[aria-expanded="true"] {
  color: var(--ink);
}
.full-lyrics {
  position: fixed;
  z-index: 9;
  top: max(92px, env(safe-area-inset-top));
  right: var(--edge);
  bottom: max(24px, env(safe-area-inset-bottom));
  width: min(320px, calc(100vw - 48px));
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  background: transparent;
  color: var(--ink);
  animation: lyrics-reveal 180ms ease-out;
}
.full-lyrics[hidden] {
  display: none;
}
.full-lyrics-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.full-lyrics-heading h2 {
  margin: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 500;
}
.full-lyrics-heading button,
.full-lyrics-retry {
  min-height: 44px;
  min-width: 44px;
  color: var(--muted);
  font-size: 12px;
}
.full-lyrics-heading .full-lyrics-close {
  font-size: 24px;
}
.full-lyrics-copy {
  display: grid;
  place-items: center;
  padding: 0;
}
.full-lyrics-copy svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.full-lyrics-copy .full-lyrics-copy-done,
.full-lyrics-copy[data-copied="true"] .full-lyrics-copy-mark {
  display: none;
}
.full-lyrics-copy[data-copied="true"] .full-lyrics-copy-done {
  display: block;
  color: var(--result);
}
.full-lyrics button:disabled {
  opacity: 0.5;
  cursor: default;
}
.full-lyrics-title {
  flex: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0 0 20px;
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.full-lyrics-status {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.full-lyrics-text {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 var(--lyrics-fade-top, 0px),
    #000 calc(100% - var(--lyrics-fade-bottom, 0px)),
    transparent calc(100% - var(--lyrics-fade-bottom, 0px) * 0.5)
  );
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.8;
  padding-right: 8px;
}
.full-lyrics-text::-webkit-scrollbar {
  display: none;
}
.full-lyrics-more {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  white-space: nowrap;
  font-size: 11px;
  color: var(--muted);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 160ms ease,
    visibility 160ms;
}
.full-lyrics-more[data-visible="true"] {
  opacity: 1;
  visibility: visible;
}
.full-lyrics-more svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes lyrics-reveal {
  from {
    opacity: 0;
    transform: translateX(6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .full-lyrics {
    animation: none;
  }
  .full-lyrics-text {
    scroll-behavior: auto;
  }
  .full-lyrics-more {
    transition: none;
  }
}
.full-lyrics :focus-visible,
.full-lyrics-trigger:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.full-lyrics-text:focus-visible {
  outline-offset: -2px;
}
.reading-lyrics.reader-covers-identity
  :is(.station-name, .listener-identity, .appearance-toggle) {
  visibility: hidden;
}
@media (max-width: 1100px), (max-height: 600px) {
  .reading-lyrics.immersed .karaoke-lines {
    visibility: hidden;
  }
  .reading-lyrics .dock-heading {
    visibility: hidden;
  }
  .full-lyrics {
    top: 100px;
    bottom: 190px;
  }
}
@media (min-width: 1101px) and (min-height: 601px) {
  .reading-lyrics .karaoke-lines {
    max-width: var(--full-lyrics-stage-width);
  }
}
@media (max-width: 699px) and (min-height: 501px) {
  .full-lyrics {
    left: 24px;
    right: 24px;
    width: auto;
    top: 104px;
    bottom: calc(100dvh - var(--phone-controls-top, 50dvh) + 12px);
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .reading-lyrics .dock-heading {
    visibility: hidden;
  }
  .reading-lyrics.immersed .karaoke-lines {
    visibility: hidden;
  }
  .full-lyrics-title {
    margin-bottom: 12px;
  }
  .full-lyrics-text {
    font-size: 16px;
  }
  :root[data-keyboard] .full-lyrics {
    visibility: hidden;
  }
}
@media (max-height: 500px) {
  .full-lyrics {
    top: 16px;
    bottom: 120px;
  }
}
