.song-panel {
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(99, 55, 71, .055);
}

.song-browser { padding: 17px 0 13px; }
.song-search-box { position: relative; }
.song-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-51%);
  color: #b67d92;
  font-size: 26px;
  line-height: 1;
  pointer-events: none;
}
.song-search {
  min-height: 48px;
  padding: 12px 16px 12px 46px;
  border-radius: 12px;
  background: #fffafc;
  font-size: 15px;
}
.song-copy-hint {
  margin: 11px 2px 12px;
  color: #89717c;
  font-size: 12px;
}
.song-list {
  gap: 9px;
  margin-top: 0;
  max-height: min(44vh, 380px);
  padding: 3px 7px 3px 2px;
  scrollbar-color: #d6adb9 #fff8fa;
  scrollbar-width: thin;
}
.song-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 70px;
  padding: 12px 16px;
  border: 1px solid #f1e2e8;
  border-radius: 12px;
  background: linear-gradient(110deg, #fffafb, #fff7f9);
  transition: background .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.song-item:hover {
  border-color: #e8bdcc;
  background: #fff;
  box-shadow: 0 7px 18px rgba(128, 68, 88, .08);
  transform: translateY(-1px);
}
.song-item:focus-visible { outline-offset: 2px; }
.song-item:after { content: none; display: none; }
.song-item-main { display: grid; gap: 4px; min-width: 0; }
.song-item strong {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.35;
  font-size: 15px;
}
.song-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  color: #685861;
  font-size: 13px;
}
.song-item > .song-item-action { display: flex; align-items: center; gap: 13px; }
.song-item em, .song-item:hover em {
  display: inline-flex;
  align-items: center;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  border-color: #edcfda;
  background: #fff;
  font-size: 11px;
}
.song-item .song-category-empty {
  border-color: #eee4e8;
  color: #a09097;
  background: #faf7f8;
}
.song-copy-label {
  color: #c15477;
  font-size: 12px;
  white-space: nowrap;
}
.song-no-result { padding: 28px 10px; }

@media (max-width: 800px) {
  .song-panel { border-radius: 14px; }
  .song-list { max-height: min(38vh, 330px); }
  .song-item { min-height: 66px; padding: 10px 12px; }
  .song-item > .song-item-action { gap: 8px; }
  .song-item em { max-width: 90px; }
}
@media (max-width: 560px) {
  .song-browser { padding-top: 12px; }
  .song-search { min-height: 44px; font-size: 13px; }
  .song-copy-hint { margin: 9px 2px; font-size: 11px; }
  .song-list { max-height: min(35vh, 280px); gap: 7px; }
  .song-item { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; min-height: 62px; }
  .song-item strong { font-size: 13px; }
  .song-item small { font-size: 11px; }
  .song-item > .song-item-action { flex-direction: column; align-items: flex-end; gap: 4px; }
  .song-item em { font-size: 10px; }
  .song-copy-label { font-size: 10px; }
}
