.album-show {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-5) var(--space-7);
  min-height: 100vh;
}

.album-show__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--space-2);
}

.album-show__back {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text-base);
  background: transparent;
  border-radius: var(--radius-circle);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.album-show__back:hover {
  background-color: var(--color-bg-elevated);
  text-decoration: none;
}

.album-show__art {
  width: 100%;
  max-width: 280px;
  margin-top: var(--space-7);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-comfortable);
  box-shadow: var(--shadow-heavy);
}

.album-show__art--placeholder {
  background-color: var(--color-bg-elevated);
}

.album-show__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.album-show__name {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-base);
  margin: 0;
}

.album-show__artist {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-base);
  margin: 0;
}

.album-show__sub {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin: 0;
}

.album-show__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.album-show__actions-left,
.album-show__actions-right {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.album-show__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--radius-circle);
  transition: color 0.15s ease, transform 0.1s ease;
}

.album-show__icon-btn:hover {
  color: var(--color-text-base);
}

.album-show__icon-btn:active {
  transform: scale(0.96);
}

.album-show__icon-form {
  margin: 0;
  padding: 0;
  display: inline-flex;
}

.album-show__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--color-accent);
  color: var(--color-bg-base);
  border: 0;
  padding: 0;
  border-radius: var(--radius-circle);
  cursor: pointer;
  transition: transform 0.1s ease, background-color 0.15s ease;
}

.album-show__play .icon svg {
  width: 25px;
  height: 25px;
}

.album-show__play:hover {
  background-color: var(--color-accent-hover);
  transform: scale(1.04);
}

.album-show__play:active {
  transform: scale(0.96);
}

.album-show__songs {
  list-style: none;
  margin: 0 0 50px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.album-song {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2);
  border-radius: var(--radius-standard);
  transition: background-color 0.15s ease;
}

.album-song:hover {
  background-color: var(--color-bg-surface);
}

.album-show__songs[data-controller~="sortable"] .album-song {
  touch-action: manipulation;
  user-select: none;
}

.album-song.sortable-chosen {
  background-color: var(--color-bg-elevated);
  box-shadow: var(--shadow-medium);
}

.album-song.sortable-ghost {
  opacity: 0.35;
  background-color: var(--color-bg-surface);
}

.album-song.sortable-drag {
  background-color: var(--color-bg-card);
  box-shadow: var(--shadow-heavy);
  border-radius: var(--radius-standard);
}

.album-song__wave {
  display: none;
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.album-song.is-selected .album-song__wave {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.album-song__wave-frame {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.album-song.is-selected.is-paused .album-song__wave-frame--paused {
  opacity: 1;
}

.album-song.is-selected.is-playing .album-song__wave-frame--a {
  opacity: 1;
}

.album-song__link {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: inherit;
}

.album-song__link:hover {
  text-decoration: none;
}

.album-song__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.album-song__name {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-base);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-song.is-selected .album-song__name,
.album-song.is-selected .album-song__authors {
  color: var(--color-accent);
}

.album-song__authors {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-song__heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--radius-circle);
  flex-shrink: 0;
  transition: color 0.15s ease, transform 0.1s ease;
}

.album-song__heart:hover {
  color: var(--color-text-base);
}

.album-song__heart:active {
  transform: scale(0.94);
}

.album-show__empty {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--space-9) 0;
  margin: 0;
}
