dialog .dialog-head>.round,
#heardDesktopSearchDialog [data-heard-search-close],
#closePhotoDialog {
  position: relative !important;
  display: grid !important;
  flex: 0 0 42px !important;
  place-items: center !important;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

dialog .dialog-head>.round::before,
dialog .dialog-head>.round::after,
#heardDesktopSearchDialog [data-heard-search-close]::before,
#heardDesktopSearchDialog [data-heard-search-close]::after,
#closePhotoDialog::before,
#closePhotoDialog::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
  pointer-events: none;
}

dialog .dialog-head>.round::after,
#heardDesktopSearchDialog [data-heard-search-close]::after,
#closePhotoDialog::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

#settingsDialog .dialog-head>.round {
  flex-basis: 34px !important;
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
}

.song-dialog .dialog-head {
  align-items: center;
  gap: 12px;
}

.song-dialog-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.song-dialog-summary.has-artwork {
  grid-template-columns: 72px minmax(0, 1fr);
}

.song-dialog-copy {
  min-width: 0;
}

.song-dialog-artwork {
  display: block;
  width: 72px;
  height: 72px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #496554;
  border-radius: 12px;
  background: #1d3528;
}

.song-dialog-artwork[hidden] {
  display: none;
}

@media (max-width: 520px) {
  .song-dialog-summary.has-artwork {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .song-dialog-artwork {
    width: 60px;
    height: 60px;
  }
}

.song-dialog-location {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid currentColor;
  border-radius: 12px;
}
.song-dialog-location > div { min-width: 0; overflow-wrap: anywhere; }
.song-dialog-location small { display: block; margin-bottom: 5px; font-size: .65rem; letter-spacing: .08em; opacity: .7; }
.song-dialog-location .place-line { display: flex; flex-wrap: wrap; gap: 5px; }
.song-dialog-location button { flex-shrink: 0; }
.song-dialog-location[hidden] { display: none; }
@media (max-width: 420px) {
  .song-dialog-location { align-items: stretch; flex-direction: column; }
  .song-dialog-location button { align-self: flex-start; }
}

#adjustSongLocation {
  appearance:none; border:1px solid var(--lab-border,var(--border,#4a6656));
  border-radius:var(--lab-control-radius,10px); background:var(--lab-selected,#244f3b);
  color:var(--lab-text,#e7f3eb); box-shadow:none; padding:8px 12px;
  font:inherit; font-size:12px; line-height:1.3; cursor:pointer;
}
#adjustSongLocation:hover:not(:disabled) { background:var(--lab-panel-2,#193528); }
#adjustSongLocation:focus-visible { outline:2px solid var(--lab-accent,#68cb94); outline-offset:2px; }
#adjustSongLocation:disabled { opacity:.5; cursor:default; }
html[data-test-theme] #adjustSongLocation { background:var(--lab-panel-2)!important; box-shadow:none!important; }
html[data-test-theme] #adjustSongLocation:hover:not(:disabled) { background:var(--lab-selected)!important; }
.song-dialog-device { margin:0 0 10px; font-size:11px; font-weight:400; color:var(--lab-muted,#90a79a); overflow-wrap:anywhere; }
.song-dialog-device[hidden] { display:none; }
