.music-view {
  position: relative;
  color: #17171b;
  background: #fff;
}

.music-page-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.music-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 16px 18px;
  scrollbar-width: none;
}

.music-scroll::-webkit-scrollbar {
  display: none;
}

.music-library-header {
  padding: 54px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.music-library-header h1 {
  margin: 0;
  font-size: 39px;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -1.8px;
}

.music-library-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.music-library-actions button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #ececef;
  border-radius: 50%;
  color: #202024;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 3px 10px rgba(30, 31, 36, 0.05);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.music-library-actions button:first-child {
  width: 61px;
  border-radius: 22px;
}

.music-library-actions svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-profile-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #9eaada, #6f78ae);
  font-size: 15px;
  font-weight: 600;
}

.music-menu-list {
  margin-top: 4px;
  border-top: 1px solid #e7e7ea;
}

.music-menu-row {
  width: 100%;
  height: 55px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e7e7ea;
  text-align: left;
}

.music-menu-symbol {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  color: #ef3655;
}

.music-menu-symbol svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-menu-row > span:nth-child(2) {
  flex: 1;
  font-size: 17px;
  font-weight: 520;
}

.music-menu-row > i {
  color: #c2c2c7;
  font-size: 23px;
  font-style: normal;
  font-weight: 300;
}

.music-section-title {
  margin: 21px 0 11px;
  font-size: 22px;
  font-weight: 720;
  letter-spacing: -0.7px;
}

.music-recent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 14px;
}

.music-album-card {
  min-width: 0;
  text-align: left;
}

.music-album-card img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 5px 14px rgba(45, 49, 62, 0.12);
}

.music-album-card strong,
.music-album-card span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-album-card strong {
  margin-top: 7px;
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.25;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.music-album-card span {
  margin-top: 2px;
  color: #8a8b90;
  font-size: 10.5px;
}

.music-mini-player {
  flex: 0 0 57px;
  min-height: 57px;
  margin: 4px 10px 5px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(225, 225, 230, 0.92);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 15px rgba(28, 30, 36, 0.07);
  backdrop-filter: blur(20px);
}

.music-mini-player > img {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  border-radius: 8px;
  object-fit: cover;
}

.music-mini-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.music-mini-copy strong,
.music-mini-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-mini-copy strong {
  font-size: 13px;
  font-weight: 650;
}

.music-mini-copy span {
  color: #66686e;
  font-size: 10px;
}

.music-mini-player > button {
  width: 28px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #17181c;
}

.music-mini-player > button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-mini-player > button:first-of-type svg {
  fill: currentColor;
}

.music-bottom-navigation {
  flex: 0 0 62px;
  padding: 2px 10px 19px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(250, 250, 252, 0.94);
}

.music-nav-pill {
  min-width: 0;
  height: 43px;
  flex: 1;
  padding: 3px 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #e7e7eb;
  border-radius: 23px;
  background: #fff;
}

.music-nav-pill button {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: #62646a;
  font-size: 8px;
}

.music-nav-pill button.active {
  color: #ef3655;
}

.music-nav-pill svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-search-circle {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  border: 1px solid #e7e7eb;
  border-radius: 50%;
  color: #e52e4e;
  background: #fff;
}

.music-search-circle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.music-subpage-controls {
  padding-top: 53px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.music-back-button {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid #eeeeF1;
  border-radius: 50%;
  color: #16171b;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(30, 32, 39, 0.06);
}

.music-back-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-header-pill {
  height: 43px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #eeeeF1;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(30, 32, 39, 0.06);
}

.music-header-pill button {
  width: 29px;
  height: 34px;
  color: #191a1d;
}

.music-header-pill svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-header-pill span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.music-page-title {
  margin: 19px 0 13px;
  font-size: 36px;
  font-weight: 780;
  letter-spacing: -1.4px;
}

.music-playlist-row {
  width: 100%;
  min-height: 74px;
  padding: 7px 3px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #e9e9ec;
  text-align: left;
}

.music-playlist-art {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #f23252;
  background: #eeeeF1;
  font-size: 33px;
}

.music-playlist-row > span:nth-child(2) {
  flex: 1;
  font-size: 15px;
  font-weight: 590;
}

.music-playlist-row > i,
.music-artist-row > i,
.music-album-row > i {
  color: #bfc0c4;
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
}

.music-feature-scroll {
  padding-left: 22px;
  padding-right: 22px;
}

.music-loved-art {
  width: min(68vw, 270px);
  aspect-ratio: 1;
  margin: 16px auto 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ed3a56;
  background: #ececef;
  box-shadow: 0 8px 24px rgba(33, 35, 42, 0.08);
  font-size: 148px;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.music-feature-title {
  margin: 14px 0 10px;
  font-size: 21px;
  font-weight: 720;
  text-align: center;
}

.music-feature-title small {
  color: #74767e;
  font-size: 16px;
}

.music-action-row {
  margin: 8px 0 15px;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 10px;
}

.music-action-row.compact {
  grid-template-columns: 44px 1fr 44px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.music-circle-action {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1c1d21;
  background: #ededf0;
  font-size: 23px;
}

.music-action-row.compact .music-circle-action {
  width: 43px;
  height: 43px;
}

.music-play-button {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 24px;
  color: #fff;
  background: #070708;
  font-size: 16px;
  font-weight: 650;
}

.music-play-button span {
  font-size: 18px;
}

.music-track-list {
  width: 100%;
}

.music-track-row {
  width: 100%;
  min-height: 62px;
  padding: 7px 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e8e8eb;
  text-align: left;
}

.music-track-row img {
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  border-radius: 5px;
  object-fit: cover;
}

.music-track-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.music-track-copy strong,
.music-track-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-track-copy strong {
  font-size: 14px;
  font-weight: 590;
}

.music-track-copy span {
  color: #8b8c91;
  font-size: 10.5px;
}

.music-track-more {
  color: #242529;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.music-artist-row {
  width: 100%;
  min-height: 70px;
  padding: 8px 3px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #e8e8eb;
  text-align: left;
}

.music-artist-row img {
  width: 55px;
  height: 55px;
  flex: 0 0 55px;
  border-radius: 50%;
  object-fit: cover;
}

.music-artist-row span {
  flex: 1;
  font-size: 16px;
  font-weight: 570;
}

.music-artist-detail {
  text-align: center;
}

.music-artist-detail .music-subpage-controls {
  text-align: initial;
}

.music-artist-portrait {
  width: min(42vw, 166px);
  aspect-ratio: 1;
  margin: 16px auto 8px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(31, 34, 45, 0.16);
}

.music-artist-detail h1 {
  margin: 5px 0 2px;
  font-size: 33px;
  font-weight: 770;
  letter-spacing: -1px;
}

.music-artist-detail > p {
  margin: 0;
  color: #7b7c82;
  font-size: 12px;
}

.music-artist-detail .music-section-title {
  text-align: left;
}

.music-album-list {
  width: 100%;
}

.music-album-row {
  width: 100%;
  min-height: 76px;
  padding: 8px 2px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e8e8eb;
  text-align: left;
}

.music-album-row img {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border-radius: 6px;
  object-fit: cover;
}

.music-album-row > span {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.music-album-row strong {
  font-size: 14px;
  font-weight: 620;
}

.music-album-row small {
  color: #8c8d92;
  font-size: 10px;
}

.music-song-actions {
  margin: 13px 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.music-song-actions button {
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 23px;
  color: #eb3654;
  background: #f2f2f4;
  font-size: 14px;
  font-weight: 600;
}

.music-alpha-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
}

.music-album-detail-controls {
  padding-top: 53px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.music-theme-blue {
  background:
    radial-gradient(circle at 60% 12%, rgba(255, 255, 255, 0.45), transparent 32%),
    #a9c8e3;
}

.music-theme-light {
  background:
    radial-gradient(circle at 42% 10%, rgba(255, 255, 255, 0.92), transparent 40%),
    #f1f1f3;
}

.music-theme-blue .music-mini-player,
.music-theme-blue .music-bottom-navigation {
  background: rgba(206, 226, 241, 0.94);
}

.music-theme-blue .music-back-button,
.music-theme-blue .music-header-pill {
  background: rgba(224, 240, 251, 0.9);
}

.music-album-cover-large {
  width: min(69vw, 280px);
  aspect-ratio: 1;
  margin: 14px auto 10px;
  display: block;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(35, 44, 58, 0.2);
}

.music-album-title {
  margin: 8px 0 2px;
  font-size: 25px;
  font-weight: 730;
  line-height: 1.18;
  letter-spacing: -0.8px;
  text-align: center;
}

.music-album-artist,
.music-album-meta {
  margin: 0;
  text-align: center;
}

.music-album-artist {
  font-size: 21px;
  font-weight: 400;
}

.music-album-meta {
  margin-top: 5px;
  color: #596c80;
  font-size: 11px;
}

.music-album-detail-scroll .music-action-row {
  margin-top: 14px;
}

.music-album-track-list {
  margin-top: 10px;
  border-top: 1px solid rgba(52, 52, 58, 0.2);
}

.music-album-track-row {
  width: 100%;
  min-height: 58px;
  padding: 10px 4px;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(52, 52, 58, 0.17);
  color: #2e2f33;
  font-size: 14px;
  text-align: left;
}

.music-album-track-row.playable:active {
  background: rgba(238, 238, 241, 0.58);
}

.music-album-track-number {
  align-self: start;
  padding-top: 2px;
  color: #8a8b90;
  font-size: 13px;
  font-weight: 500;
}

.music-album-track-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.music-album-track-copy strong {
  font-weight: 570;
  line-height: 1.42;
}

.music-album-track-copy small {
  color: #8a8b90;
  font-size: 11px;
  font-weight: 450;
}

.music-album-track-more {
  align-self: start;
  padding-top: 1px;
  color: #8d8e93;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.music-theme-light .music-album-meta,
.music-theme-light .music-release-info {
  color: #727379;
}

.music-release-info {
  padding: 13px 3px 24px;
  color: #586a7c;
  font-size: 12px;
  line-height: 1.55;
}

.music-release-info p {
  margin: 2px 0;
}

.music-toast {
  position: absolute;
  z-index: 15;
  left: 50%;
  bottom: 128px;
  padding: 8px 14px;
  border-radius: 15px;
  color: #fff;
  background: rgba(28, 29, 34, 0.8);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 7px);
  transition: opacity 0.18s, transform 0.18s;
  backdrop-filter: blur(12px);
}

.music-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
