/* YouTube Music–style artist page */

.app-frame.artist-mode,
.app-frame.wide-main {
  grid-template-columns: minmax(240px, 240px) minmax(0, 1fr);
}

.app-frame.artist-mode .main-scroll {
  padding: 0;
  background: #000;
  overflow-y: auto;
}

.app-frame.wide-main:not(.artist-mode) .main-scroll {
  overflow-y: auto;
}

.ytm-artist {
  color: #fff;
  padding-bottom: 56px;
  max-width: none;
}

.ytm-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: clamp(18px, 3vw, 36px);
  min-height: 280px;
  padding: 36px 28px 28px;
  overflow: hidden;
  background: #0b0614;
}

.ytm-banner-art {
  position: relative;
  z-index: 1;
  flex: none;
  width: min(300px, 34vw);
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #181818;
}

.ytm-banner-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 15%;
}

.ytm-banner-fade {
  display: none;
}

.ytm-head {
  padding: 12px 28px 8px;
}

.ytm-head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ytm-head h1 {
  margin: 0;
  font-family: var(--display, "Bricolage Grotesque", sans-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  min-width: 0;
}

.ytm-sub {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #ff2d6f;
  background: transparent;
  color: #ff8fb0;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  flex-shrink: 0;
}

.ytm-sub.on {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.ytm-acts {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.ytm-pill {
  height: 40px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0f0f0f;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

.ytm-pill:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ytm-dots {
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.ytm-sec {
  padding: 28px 24px 8px;
}

.ytm-rail-sec {
  padding-bottom: 12px;
}

.ytm-sec h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ytm-sec-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  min-height: 32px;
}

.ytm-sec-head h2 {
  margin: 0;
  line-height: 1.25;
}

.ytm-sec-head > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  flex: 1;
}

.ytm-sec-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  height: 32px;
  align-self: center;
}

.ytm-text {
  border: 0;
  background: none;
  color: #b3b3b3;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  padding: 0;
  line-height: 32px;
  text-decoration: none;
}

.ytm-text:hover { color: #fff; }

.ytm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.ytm-chip {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ytm-chip.on {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.ytm-arrows {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.ytm-sec-head:hover .ytm-arrows,
.ytm-sec-head:focus-within .ytm-arrows,
.ytm-rail-sec:hover .ytm-arrows {
  opacity: 1;
  pointer-events: auto;
}

.ytm-arrows button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #2a2a2a;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.ytm-arrows button:hover { background: #3d3d3d; }

.ytm-vid-rail,
.ytm-albums,
.ytm-related {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.ytm-vid-rail::-webkit-scrollbar,
.ytm-albums::-webkit-scrollbar,
.ytm-related::-webkit-scrollbar { display: none; }

/* Spotify-style dedicated Show all page */
.see-all-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 28px 80px;
}

.see-all-back {
  border: 0;
  background: none;
  color: #b3b3b3;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  padding: 0;
  margin-bottom: 18px;
  text-decoration: none;
  display: inline-block;
}

.see-all-back:hover { color: #fff; }

.see-all-hero h1 {
  margin: 0 0 6px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

.see-all-hero p {
  margin: 0 0 16px;
  color: #b3b3b3;
  font-size: 14px;
}

.see-all-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.see-all-chips {
  margin: 18px 0 8px;
}

.see-all-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px 16px;
  padding: 12px 0 24px;
}

.see-all-card {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.see-all-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
  padding: 0;
}

.see-all-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.see-all-thumb span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 22px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.see-all-thumb:hover span { opacity: 1; }

.see-all-meta {
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  padding: 0;
  cursor: pointer;
  font: inherit;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.see-all-meta strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  color: #fff;
}

.see-all-meta em {
  font-style: normal;
  font-size: 12px;
  color: #aaa;
}

.see-all-discog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px 16px;
  padding: 12px 0 24px;
}

.see-all-album {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.see-all-album-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
  padding: 0;
}

.see-all-album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.see-all-album-art span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--magenta, #ff2d6f);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.see-all-album-art:hover span {
  opacity: 1;
  transform: translateY(0);
}

.see-all-album strong {
  font-size: 14px;
  font-weight: 650;
  color: #fff;
}

.see-all-album em {
  font-style: normal;
  font-size: 12px;
  color: #aaa;
}

.see-all-related {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 18px 14px;
  padding: 12px 0 24px;
}

.see-all-rel {
  border: 0;
  background: none;
  color: inherit;
  text-align: center;
  cursor: pointer;
  font: inherit;
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 8px;
  border-radius: 10px;
  text-decoration: none;
}

.see-all-rel:hover { background: rgba(255, 255, 255, 0.06); }

.see-all-rel img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: #1a1a1a;
}

.see-all-rel strong {
  font-size: 14px;
  font-weight: 650;
  color: #fff;
}

.see-all-rel em {
  font-style: normal;
  font-size: 12px;
  color: #aaa;
}

.see-all-songs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0 24px;
}

.see-all-song {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto 40px;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 8px;
}

.see-all-song-status {
  white-space: nowrap;
  font-size: 11px;
  justify-self: end;
}

.see-all-song.is-scarce .see-all-song-main strong {
  color: #c4c4c4;
}

.see-all-song:hover,
.see-all-song.on {
  background: rgba(255, 255, 255, 0.06);
}

.see-all-song-n {
  color: #aaa;
  font-size: 13px;
  text-align: center;
}

.see-all-song-main {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  min-width: 0;
  padding: 0;
}

.see-all-song-main img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
}

.see-all-song-main span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.see-all-song-main strong {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.see-all-song.on .see-all-song-main strong { color: var(--magenta, #ff2d6f); }

.see-all-song-main em {
  font-style: normal;
  font-size: 12px;
  color: #aaa;
}

.see-all-song-main:disabled {
  opacity: 0.45;
  cursor: default;
}

@media (max-width: 860px) {
  .see-all-page { padding: 16px 16px 72px; }
  .see-all-grid { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 14px 12px; }
}

@media (max-width: 720px) {
  .ytm-vid-row {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px;
  }
  .ytm-vid-row-art { width: 120px; }
}

.ytm-albums { /* album tiles keep fixed card width via children */ }
.ytm-related { /* related tiles keep fixed card width via children */ }

.ytm-vid {
  scroll-snap-align: start;
  flex: 0 0 240px;
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  box-sizing: border-box;
}

.ytm-vid-hit {
  display: block;
  width: 240px;
  height: 135px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex: none;
  line-height: 0;
  -webkit-appearance: none;
  appearance: none;
}

.ytm-vid-frame {
  position: relative;
  display: block;
  width: 240px;
  height: 135px;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.ytm-vid-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 240px !important;
  height: 135px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center center;
  border-radius: 0 !important;
  display: block;
}

.ytm-vid-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ff2d6f;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
  z-index: 1;
}

.ytm-vid-hit:hover .ytm-vid-play,
.ytm-vid-hit:focus-visible .ytm-vid-play {
  opacity: 1;
  transform: scale(1);
}

@media (hover: none) {
  .ytm-vid-play {
    opacity: 1;
    transform: scale(1);
  }
}

.ytm-vid-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
  min-width: 0;
  width: 240px;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.ytm-vid-meta em,
.ytm-vid-meta strong,
.ytm-vid-meta span {
  display: block;
  width: 100%;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ytm-vid-meta em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #aaa;
  line-height: 16px;
  height: 16px;
}

.ytm-vid-meta strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 18px;
  height: 18px;
  color: #fff;
}

.ytm-vid-meta span {
  font-size: 12px;
  color: #888;
  line-height: 16px;
  height: 16px;
}

/* legacy class kept so old cached markup still aligns */
.ytm-vid-art {
  position: relative;
  display: block;
  width: 240px;
  height: 135px;
  padding: 0 !important;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.ytm-vid-art img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

.ytm-songs {
  display: flex;
  flex-direction: column;
}

.ytm-song {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  width: 100%;
  padding: 4px 0;
}

.ytm-song-main {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  padding: 8px 0;
  font: inherit;
  cursor: pointer;
}

.ytm-song-main img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  background: #222;
}

.ytm-song strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ytm-song em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 13px;
  color: #aaa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ytm-song.on strong { color: #ff2d6f; }

.ytm-song-more,
.ytm-dots {
  width: 48px;
  height: 48px;
  flex: none;
  border: 0;
  background: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  position: relative;
}

.ytm-sheet-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.55);
}

.ytm-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 81;
  background: #212121;
  border-radius: 16px 16px 0 0;
  padding: 10px 0 calc(18px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}

.ytm-sheet-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 14px;
  border-bottom: 1px solid #3d3d3d;
  margin-bottom: 6px;
}

.ytm-sheet-head img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  background: #333;
}

.ytm-sheet-head strong {
  display: block;
  font-size: 15px;
}

.ytm-sheet-head em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 13px;
  color: #aaa;
}

.ytm-sheet button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 0;
  background: none;
  color: #fff;
  text-align: left;
  padding: 13px 18px;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.ytm-sheet button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.ytm-sheet-ico {
  width: 22px;
  height: 22px;
  flex: none;
  display: inline-grid;
  place-items: center;
  color: #cfcfcf;
}

.ytm-sheet-ico .yt-svg {
  width: 20px;
  height: 20px;
}

.ytm-sheet button:hover .ytm-sheet-ico {
  color: #fff;
}

.ytm-song-more.on { color: #ff2d6f; }

.ytm-showall {
  display: inline-flex;
  margin-top: 14px;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  align-items: center;
}

.ytm-showall-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.ytm-showall-row .ytm-showall {
  margin-top: 14px;
}

.see-all-foot {
  margin-top: 28px;
  padding-bottom: 8px;
}

.ytm-album {
  content-visibility: auto;
  contain-intrinsic-size: 148px 210px;
  scroll-snap-align: start;
  flex: 0 0 148px;
  width: 148px;
  min-width: 148px;
}

.ytm-album-art {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
}

.ytm-album-hit {
  position: relative;
  margin-bottom: 8px;
}

.ytm-album-meta {
  display: block;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.ytm-album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ytm-album strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ytm-album em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: #aaa;
}

.ytm-rel {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  flex: 0 0 120px;
  width: 120px;
  min-width: 120px;
}

.ytm-rel img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  margin-bottom: 8px;
  pointer-events: none;
}

.ytm-rel strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
}

.ytm-about p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #ddd;
}

.ytm-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: #aaa;
}

.ytm-news {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ytm-news-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px 4px;
  border: 0;
  background: none;
  border-radius: 10px;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

a.ytm-news-row:hover { background: rgba(255,255,255,.06); }

.ytm-news-row strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
}

.ytm-news-tell strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.ytm-news-row em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: #aaa;
}

.news-date {
  flex: none;
  width: 46px;
  text-align: center;
  line-height: 1.05;
}

.news-date b {
  display: block;
  font-size: 18px;
  font-weight: 800;
}

.news-date em {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: .08em;
  color: #888;
}

.ap-empty {
  color: #888;
  font-size: 14px;
}

.ap-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ap-block-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
}

.ap-text-btn {
  border: 0;
  background: none;
  color: #aaa;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.ap-text-btn:hover { color: #fff; }

/* —— Spotify-style artist page —— */
.sp-banner-copy {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 2;
  flex: 1;
  min-width: 0;
  max-width: 820px;
  padding-bottom: 4px;
}

.sp-verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 650;
  color: #fff;
}

.sp-verified span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3d91f4;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.sp-banner-copy h1 {
  margin: 0;
  font-family: var(--display, "Bricolage Grotesque", sans-serif);
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.sp-listeners {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.sp-snippet {
  margin: 8px 0 0;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.trunc2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-head {
  padding: 18px 28px 8px;
}

.sp-popular-sec {
  padding-top: 18px;
}

.sp-acts {
  margin-top: 0;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.sp-play {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50% !important;
  background: var(--magenta, #ff2d6f);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex: none;
  line-height: 0;
  box-shadow: 0 8px 24px rgba(255, 45, 111, 0.35);
  transition: transform 0.12s ease, background 0.12s ease;
}

.sp-play svg {
  width: 24px;
  height: 24px;
  display: block;
  /* optical center: play triangles read left-heavy without a nudge */
  transform: translateX(1.5px);
}

.sp-play:hover:not(:disabled) {
  transform: scale(1.06);
  background: var(--magenta-hi, #ff4d85);
}

.sp-play:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.sp-round {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex: none;
  line-height: 0;
}

.sp-round svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sp-round:hover:not(:disabled) {
  border-color: #fff;
  transform: scale(1.04);
}

.sp-round:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.sp-more {
  border-color: transparent;
  color: #b3b3b3;
}

.sp-more:hover {
  color: #fff;
  border-color: transparent;
}

.sp-follow {
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 1;
  white-space: nowrap;
}

.sp-follow:hover { border-color: #fff; }
.sp-follow.on {
  border-color: rgba(255, 255, 255, 0.35);
  color: #b3b3b3;
}

.sp-popular-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
  gap: 28px 36px;
  align-items: start;
}

.sp-popular h2,
.sp-pick h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
}

.sp-pop-list {
  display: flex;
  flex-direction: column;
}

.sp-pop-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 64px minmax(0, auto) 40px;
  gap: 8px;
  align-items: center;
  min-height: 56px;
  padding: 4px 8px;
  border-radius: 6px;
}

.sp-pop-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.sp-pop-row.on strong { color: var(--magenta, #ff2d6f); }
.sp-pop-row.on .sp-pop-n { color: var(--magenta, #ff2d6f); }

.sp-pop-n {
  text-align: center;
  font-size: 14px;
  color: #b3b3b3;
}

.sp-pop-main {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  min-width: 0;
  padding: 0;
}

.sp-pop-main:disabled {
  opacity: 0.45;
  cursor: default;
}

.sp-pop-main img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
}

.sp-pop-main strong {
  font-size: 15px;
  font-weight: 550;
}

.sp-pop-dur {
  font-size: 13px;
  color: #b3b3b3;
  text-align: right;
}

.sp-pick-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.sp-pick-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sp-pick-card img {
  width: 92px;
  height: 92px;
  border-radius: 6px;
  object-fit: cover;
}

.sp-pick-card span {
  min-width: 0;
  display: grid;
  gap: 6px;
  align-content: center;
}

.sp-pick-card em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.35;
  color: #b3b3b3;
}

.sp-pick-card strong {
  font-size: 15px;
  font-weight: 700;
}

.sp-pick-card i {
  font-style: normal;
  font-size: 12px;
  color: #aaa;
}

.sp-feat-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.sp-feat-rail::-webkit-scrollbar { display: none; }

.sp-feat {
  flex: 0 0 180px;
  width: 180px;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  display: grid;
  gap: 10px;
  padding: 0;
  text-decoration: none;
}

.sp-feat img {
  width: 180px;
  height: 180px;
  border-radius: 8px;
  object-fit: cover;
  background: #1a1a1a;
}

.sp-feat strong {
  font-size: 14px;
  font-weight: 700;
}

.sp-feat em {
  font-style: normal;
  font-size: 12px;
  color: #aaa;
}

.ytm-album-tag {
  display: block;
  margin: 2px 0 2px;
  font-style: normal !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--magenta, #ff2d6f) !important;
}

.sp-latest {
  min-width: 0;
  width: 100%;
}

.sp-latest-card {
  display: grid;
  grid-template-columns: minmax(148px, 42%) minmax(0, 1fr);
  gap: 12px 18px;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.sp-latest-card img {
  grid-row: 1 / -1;
  width: 100%;
  height: 100%;
  min-height: 168px;
  border-radius: 8px;
  object-fit: cover;
  background: #1a1a1a;
  display: block;
  align-self: stretch;
}

.sp-latest-card em,
.sp-latest-card strong,
.sp-latest-card span,
.sp-latest-card .sp-latest-why {
  grid-column: 2;
}

.sp-latest-card em {
  margin: 0;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta, #ff2d6f);
}

.sp-latest-card strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.sp-latest-card span {
  font-size: 13px;
  color: #b3b3b3;
}

.ytm-album-art {
  position: relative;
}

.ytm-album-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  border-radius: 50%;
  background: var(--magenta, #ff2d6f);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.ytm-album-art:hover .ytm-album-play,
.ytm-album-hit:hover .ytm-album-play,
.see-all-album:hover .ytm-album-play {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .ytm-album-play {
    opacity: 1;
    transform: none;
  }
}

.ytm-rel em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: #aaa;
}

.sp-about {
  padding: 28px 28px 48px;
}

.sp-about-media {
  position: relative;
  min-height: 340px;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
}

.sp-about-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.sp-about-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 48%, rgba(0, 0, 0, 0.2) 100%);
}

.sp-about-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 36px 32px;
}

.sp-about-copy h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
}

.sp-about-listeners {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
}

.sp-about-bio {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-wrap;
}

@media (max-width: 980px) {
  .sp-popular-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .sp-latest-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sp-latest-card img {
    grid-row: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
  }

  .sp-latest-card em,
  .sp-latest-card strong,
  .sp-latest-card span,
  .sp-latest-card .sp-latest-why {
    grid-column: 1;
  }
}

@media (max-width: 860px) {
  .app-frame.artist-mode,
  .app-frame.wide-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .ytm-banner,
  .sp-banner {
    display: block;
    position: relative;
    min-height: min(58vh, 420px);
    padding: 0;
    gap: 0;
    overflow: hidden;
  }
  .ytm-banner-art {
    position: absolute;
    inset: 0;
    width: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    border: 0;
    align-self: stretch;
  }
  .ytm-banner-photo {
    object-position: center 18%;
  }
  .ytm-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(to top, #07040f 0%, rgba(7, 4, 15, 0.55) 38%, transparent 68%),
      linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, transparent 28%);
  }
  .sp-banner-copy {
    position: relative;
    z-index: 2;
    left: auto;
    right: auto;
    bottom: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: min(58vh, 420px);
    padding: 72px 16px 20px;
    max-width: none;
  }
  .sp-banner-copy h1 { font-size: clamp(36px, 11vw, 56px); }
  .sp-snippet { display: none; }
  .ytm-head,
  .sp-head { padding: 12px 16px 0; }
  .ytm-sec { padding: 18px 16px 2px; }
  .sp-about { padding: 18px 16px 40px; }
  .sp-about-copy { padding: 24px 18px; }
  .sp-pop-row {
    grid-template-columns: 24px minmax(0, 1fr) minmax(0, auto) 40px;
  }
  .sp-pop-dur { display: none; }
  .ytm-arrows { display: none; }
  .ytm-vid,
  .ytm-vid-hit,
  .ytm-vid-frame,
  .ytm-vid-meta {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
  }
  .ytm-vid { flex-basis: 200px; }
  .ytm-vid-hit,
  .ytm-vid-frame {
    height: 112px;
  }
  .ytm-vid-frame img {
    width: 200px !important;
    height: 112px !important;
  }
}

@media (min-width: 861px) {
  .ytm-artist { padding-top: 0; }
}

.album-page {
  padding: 20px 28px 72px;
}

.album-hero {
  display: grid;
  grid-template-columns: min(280px, 38vw) minmax(0, 1fr);
  gap: 28px 32px;
  align-items: end;
  margin: 8px 0 28px;
}

.album-hero-art {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: #1a1a1a;
}

.album-hero-copy em {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b3b3b3;
}

.album-hero-copy h1 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.album-hero-copy p {
  margin: 0 0 18px;
  color: #b3b3b3;
}

.album-hero-acts {
  display: flex;
  align-items: center;
  gap: 12px;
}

.album-tracks {
  display: flex;
  flex-direction: column;
}

.album-tracks .see-all-song-main {
  grid-template-columns: minmax(0, 1fr);
}

.sp-latest {
  position: relative;
}

.sp-latest-play {
  margin-top: 10px;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--magenta, #ff2d6f);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 860px) {
  .album-page { padding: 12px 16px 72px; }
  .album-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .album-hero-art { max-width: 220px; }
}
