/* Any song (YouTube), playlists and artist pages. public/js/tracks.js + yt.js */

/* ---------------------------------------------------------------- the video (yt.js)
   Only ever inside a page: the main page, or its song's page. Never smaller than
   200 × 200 and nothing on top of it (YouTube's rules). */
.yt-box {
  position: fixed; z-index: 61; /* above menus and messages: nothing may cover it */
  border-radius: var(--r-md); overflow: hidden; background: #000;
  box-shadow: var(--shadow-3);
}
.yt-box.is-moving { transition: left .24s var(--ease-out), top .24s var(--ease-out), right .24s var(--ease-out), bottom .24s var(--ease-out), width .24s var(--ease-out), height .24s var(--ease-out); }
/* Parked: off screen and not playing, ready for the next YouTube song. */
.yt-box.is-parked, .yt-box.is-away { transform: translateX(-300vw); opacity: 0; pointer-events: none; }
/* Its place on the main page: stays in view while the page scrolls under it. */
.yt-home-slot { position: sticky; z-index: 5; width: 356px; height: 200px; max-width: 100%; margin-bottom: 16px; border-radius: var(--r-md); background: #000; }
@media (max-width: 719px) { .yt-home-slot { width: 200px; } }
.yt-frame, .yt-frame iframe { display: block; width: 356px; height: 200px; border: 0; }
@media (max-width: 719px) { .yt-frame, .yt-frame iframe { width: 200px; height: 200px; } }
/* In the song page: fills the page's viewer. */
.yt-box.is-docked { box-shadow: none; border-radius: var(--r-md); }
.yt-box.is-docked .yt-frame, .yt-box.is-docked .yt-frame iframe { width: 100%; height: 100%; min-width: 200px; min-height: 200px; }
.track-viewer { aspect-ratio: 16 / 9; min-height: 200px; width: 100%; border-radius: var(--r-md); overflow: hidden; background: #000; }
.track-viewer .track-art { aspect-ratio: auto; height: 100%; border-radius: 0; box-shadow: none; }
.track-viewer .track-art img[src*="ytimg.com"] { transform: none; }
.player-shuffle.is-on { color: var(--signal-ink); }
#view:focus { outline: none; }
.pl-pill:focus-visible { outline-offset: -2px; }
.login-terms { font-size: 12px; color: var(--ink-3); margin: 8px 0 0; }
.yt-result .song-meta { display: flex; align-items: center; gap: 6px; }
.song-add { flex: none; width: 30px; height: 30px; position: relative; }
.song-add::after { content: ""; position: absolute; inset: -4px; } /* a bigger area to tap */
.any-head { margin: 24px 0 4px; font-size: 18px; }

/* The player bar: play, song, queue buttons, wave, time, volume, download, "+" (add to
   playlist). Songs from the catalog have no download. */
.player { grid-template-columns: 44px minmax(120px, 240px) auto minmax(0, 1fr) repeat(4, auto); }
#player-dl[hidden] { display: none; }
@media (max-width: 719px) {
  .player { grid-template-columns: 40px minmax(0, 1fr) repeat(4, auto); }
}

/* ---------------------------------------------------------------- song art
   YouTube thumbnails are 4:3 with black bars top and bottom; scaling 4/3 fills the square. */
.track-art { display: block; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); background: #0D0D10; box-shadow: var(--shadow-2); }
.track-art img, .pl-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.track-art img[src*="ytimg.com"], .pl-cover img[src*="ytimg.com"] { transform: scale(1.34); }
.song.kind-track.is-current .track-art { box-shadow: var(--shadow-2), 0 0 0 2px var(--now, var(--signal)); }
.song.kind-track.is-selected:not(.is-current) .track-art { box-shadow: var(--shadow-2), 0 0 0 2px var(--line-strong); }

.songs-tabs > * { flex-shrink: 0; }

/* ---------------------------------------------------------------- a song */
.track-hero { display: grid; grid-template-columns: minmax(280px, 560px) minmax(0, 1fr); gap: 28px; align-items: end; margin-top: 8px; }
.track-hero-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.track-hero-text h1 { overflow-wrap: anywhere; }
.track-hero-by { font-size: 18px; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.track-hero-by:hover { color: var(--ink); }
.track-hero-play { width: 52px; height: 52px; background: var(--signal); color: var(--on-signal); }
@media (max-width: 719px) {
  .track-hero { grid-template-columns: 1fr; gap: 16px; }
  .track-hero .track-viewer { width: 100%; }
}

.ledger-note {
  display: flex; flex-direction: column; gap: 4px; max-width: 40rem; margin: 24px 0;
  padding: 14px 16px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--signal);
  font-size: 14px; color: var(--ink-2);
}
.ledger-note strong { color: var(--ink); }

/* ---------------------------------------------------------------- an artist */
.artist-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 8px; }
.artist-head h1 { overflow-wrap: anywhere; }
.artist-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-3); font-size: 13px; }
.artist-stats strong { display: block; font-size: 22px; color: var(--ink); }

/* ---------------------------------------------------------------- playlists */
.pl-head { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 22px; align-items: end; margin-top: 8px; }
.pl-head-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pl-head-text h1 { overflow-wrap: anywhere; }
.pl-cover {
  display: grid; place-items: center; aspect-ratio: 1; width: 100%; overflow: hidden;
  border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink-3); box-shadow: var(--shadow-2);
}
.pl-cover svg { width: 36%; height: 36%; }
.pl-form { margin-top: 6px; }
.pl-form .check { display: flex; align-items: center; gap: 8px; }
@media (max-width: 719px) {
  .pl-head { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
}

.pl-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.trow {
  display: grid; grid-template-columns: 40px 48px minmax(0, 1fr) auto auto; gap: 12px; align-items: center;
  padding: 6px 8px; border-radius: var(--r-sm);
}
.trow:hover { background: var(--surface); }
.trow.is-current { background: var(--surface); box-shadow: inset 3px 0 0 var(--now, var(--signal)); }
.trow .play-btn { width: 40px; height: 40px; }
.trow-art { display: block; width: 48px; }
.trow-art .track-art { box-shadow: none; }
.trow-art .sleeve-wrap { width: 48px; }
.trow-art .sleeve-disc, .trow-art .sleeve-label, .trow-art .sleeve-badge { display: none; }
.trow-text { display: flex; flex-direction: column; min-width: 0; }
.trow-title { font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow-by { font-size: 13px; color: var(--ink-2); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow-edit { display: flex; }
.trow-edit [data-dir] svg { transform: rotate(90deg); }
.trow-edit [disabled] { opacity: 0.3; }
@media (max-width: 719px) {
  .trow { grid-template-columns: 36px 40px minmax(0, 1fr) auto; gap: 8px; padding: 6px 4px; }
  .trow .play-btn { width: 36px; height: 36px; }
  .trow-art, .trow-art .sleeve-wrap { width: 40px; }
  .trow-edit { grid-column: 3 / -1; justify-content: flex-end; }
  /* Just one X (a friend's own song): it stays on the song's line. */
  .trow.trow-x { grid-template-columns: 36px 40px minmax(0, 1fr) auto auto; }
  .trow-x .trow-edit { grid-column: auto; }
}

.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 24px 18px; margin-top: 20px; }
.pl-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; color: var(--ink); text-decoration: none; font: inherit; text-align: left; }
.pl-card strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-new { background: none; border: 0; padding: 0; cursor: pointer; }
.pl-new .pl-cover { border: 2px dashed var(--line-strong); background: transparent; box-shadow: none; }
.pl-new:hover .pl-cover { color: var(--ink); }

/* ---------------------------------------------------------------- Add a song / Add to playlist */
.add-find, .pl-pick-new { display: flex; gap: 8px; }
.add-find input, .pl-pick-new input { flex: 1; min-width: 0; }
.add-preview { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; margin-top: 16px; }
.add-fields { display: flex; flex-direction: column; gap: 6px; }
.add-fields .btn { align-self: flex-start; margin-top: 6px; }
.add-status { min-height: 1.4em; margin-top: 10px; }
.add-song .small { font-size: 12px; margin-top: 8px; }

/* A real height, so the list can't collapse to one line on iPhones; it scrolls inside, clear of Safari's bar. */
.pl-pick-full { min-height: min(62vh, 460px); min-height: min(62dvh, 460px); max-height: 85vh; max-height: 85dvh; overflow: hidden; }
.pl-pick .sheet-body { overscroll-behavior: contain; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.pl-pick-song { margin: 0 0 12px; line-height: 1.4; overflow-wrap: anywhere; }
.pl-pick-none { margin: 0 0 12px; }
.pl-pick-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.pl-pick-list:empty { display: none; }
.pl-pick-label { display: block; margin-bottom: 6px; font-weight: 600; }
.pl-queue-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
/* Private | Friends | Public */
.pl-card-wrap { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pl-vis { display: inline-flex; align-self: flex-start; padding: 2px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); margin-top: 10px; }
.pl-card-wrap .pl-vis { display: flex; max-width: 100%; margin-top: 0; }
.pl-card-wrap .pl-vis button { flex: 1 1 auto; min-width: 0; padding: 0 5px; }
.pl-vis button { font: inherit; font-size: 12px; font-weight: 600; min-height: 36px; padding: 0 7px; border: 0; border-radius: 999px; background: none; color: var(--ink-3); cursor: pointer; white-space: nowrap; }
.pl-vis button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.trow-added { display: block; font-size: 11px; }
/* Sharing: who can see it, who can add songs (your own playlist, and New playlist) */
.pl-share { display: flex; flex-direction: column; gap: 12px; max-width: 560px; margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.pl-share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.pl-share-label { min-width: 132px; font-size: 13px; font-weight: 600; }
.pl-share .pl-vis { display: flex; margin-top: 0; max-width: 100%; }
.pl-share .pl-vis button { flex: 1 1 auto; min-height: 40px; padding: 0 12px; font-size: 13px; }
.pl-editors { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-editors[hidden] { display: none; }
.pl-friend {
  display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 100%; min-height: 40px; padding: 4px 12px 4px 4px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.pl-friend .avatar { width: 30px; height: 30px; font-size: 0.7rem; }
.pl-friend .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pl-friend span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-friend[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.pl-share-note, .pl-share-hint { margin: 0; font-size: 13px; line-height: 1.45; }
.pl-share-hint a { color: inherit; font-weight: 600; }
.pl-new-form { display: flex; flex-direction: column; gap: 12px; }
.pl-new-form .pl-share { margin-top: 0; max-width: none; }
.pl-new-form .pl-pick-song { margin: 0; }
.pl-share-slot:empty { display: none; }
.pl-add-hint { margin: 0; font-size: 13px; }
.pl-pick-make { margin-top: 2px; }
.pl-pick-msg { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--signal-wash); color: var(--ink); font-size: 14px; line-height: 1.4; }
.pl-pick-msg[hidden] { display: none; }
.pl-new-form .pl-pick-msg { margin: 0; }
/* The people making a playlist, and votes to take someone off */
.pl-people { max-width: 560px; margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.pl-people[hidden] { display: none; }
.pl-people-head { margin: 0 0 8px; font-size: 15px; }
.pl-people-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pl-person { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 44px; }
.pl-person-name { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: inherit; font-size: 14px; font-weight: 600; text-decoration: none; }
.pl-person-name .avatar { width: 30px; height: 30px; font-size: 0.7rem; }
.pl-person-name .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pl-person-name span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-person-end { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.pl-tally { font-size: 13px; font-weight: 600; white-space: nowrap; }
.pl-people-note { margin: 10px 0 0; font-size: 13px; line-height: 1.45; }
.pl-voted-off { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 10px; font-size: 13px; }
.pl-voted-off p { margin: 0; }
.pl-person-off { display: inline-flex; align-items: center; gap: 6px; }
.pl-person-off a { color: inherit; font-weight: 600; }
@media (max-width: 719px) {
  .pl-people { padding: 12px; }
  .pl-share { padding: 12px; }
  .pl-share-row { flex-direction: column; align-items: stretch; }
  .pl-share .pl-vis button { padding: 0 6px; }
}
/* radio */
.radio-bar { position: sticky; top: var(--header-h, 56px); z-index: 20; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 6px 16px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.radio-bar[hidden] { display: none; }
.radio-bar span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.radio-bar .btn { flex: none; }
.radio-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--update); }
.bubble-radio { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.bubble-radio .bubble-ring { display: block; }
.bubble-radio .bubble-when { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.radio-pill { background: var(--update); color: #fff; }
.golive-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.golive-choices .post-choice { font: inherit; color: inherit; cursor: pointer; }
/* friends */
.friend-slot { display: inline-flex; gap: 8px; }
.friend-slot:empty { display: none; }
.friend-find { margin: 20px 0 8px; max-width: 460px; }
.count.is-new { background: var(--signal); color: var(--on-signal); }
.tab-account, .account-name { position: relative; }
.has-dot::after { content: ""; position: absolute; top: 4px; right: calc(50% - 16px); width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 2px var(--bg); }
.account-name.has-dot::after { right: auto; left: 26px; top: 0; }
.pl-pick-item {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; text-align: left; font: inherit;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); cursor: pointer;
}
.pl-pick-item span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.pl-pick-item:hover:not([disabled]) { border-color: var(--line-strong); }
.pl-pick-item.is-on { color: var(--ink-3); cursor: default; }
.pl-pick-item svg { flex: none; }

/* ---------------------------------------------------------------- the slim playlist row */
.pl-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 0 -2px; }
.pl-row::-webkit-scrollbar { display: none; }
.pl-row[hidden] { display: none; }
#songs-playlists { margin-top: 12px; margin-bottom: 4px; }
.pl-pill {
  flex: none; display: flex; align-items: center; gap: 8px; max-width: 180px; min-width: 0;
  padding: 5px 14px 5px 5px; border-radius: 999px; font: inherit; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none;
}
.pl-pill:hover { border-color: var(--line-strong); }
.pl-pill-art { flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-3); }
.pl-pill-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-pill-art img[src*="ytimg.com"] { transform: scale(1.34); }
.pl-pill-art svg { width: 18px; height: 18px; }
.pl-pill-name { min-width: 0; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-pill-new { border-style: dashed; border-color: var(--line-strong); background: transparent; }

/* Home: above Live. Computers: four across at the top of the right column. Phones: swipe sideways. */
@media (min-width: 1100px) {
  .pl-row-rail:not([hidden]) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .pl-row-rail .pl-pill:nth-child(n + 5) { display: none; }
  .pl-row-rail .pl-pill { max-width: none; padding: 5px 10px 5px 5px; border-radius: 14px; gap: 6px; }
  .pl-row-rail .pl-pill-art { width: 30px; height: 30px; border-radius: 9px; }
  /* four across: names get two lines instead of being cut short */
  .pl-row-rail .pl-pill-name { white-space: normal; font-size: 12px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
}

/* ---------------------------------------------------------------- recently played, recent searches */
#songs-recent[hidden], .search-chips[hidden] { display: none; }
.recent-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 14px; }
.recent-head .any-head { margin: 0; }
.recent-head .muted { font-size: 12px; }
.recent-btns { margin-left: auto; display: flex; gap: 4px; }
.recent-row { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 10px 2px 6px; }
.recent-row::-webkit-scrollbar { display: none; }
.recent-row > * { flex: 0 0 150px; min-width: 0; }
.search-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pl-play-next { margin-bottom: 12px; }

.song-meta { flex-wrap: wrap; }
.track-audio { margin: 0; font-size: 13px; }
#player-source { margin-left: 4px; }

/* Volume, in the play bar */
.player-volume { display: flex; align-items: center; gap: 2px; }
.player-volume input { width: 84px; accent-color: var(--signal); cursor: pointer; }
@media (max-width: 719px) { .player-volume input { display: none; } }
.player-note { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.3; color: var(--ink-2); white-space: normal; }
@media (max-width: 719px) {
  .player { column-gap: 2px; }
  .player .play-btn { margin-right: 6px; }
  .player .icon-btn { width: 32px; }
  .player-note { grid-row: 3; }
}

/* Songs tab: songs as rows, like a playlist's track list. */
.song-grid.song-rows { display: flex; flex-direction: column; gap: 0; margin-top: 12px; counter-reset: song; }
.song-rows .song {
  flex-direction: row; align-items: center; gap: 12px; padding: 8px 10px; counter-increment: song;
  border-bottom: 1px solid var(--line); border-radius: 0;
}
.song-rows .song::before { content: counter(song); flex: none; width: 22px; text-align: right; font: 12px var(--font-mono); color: var(--ink-3); }
.song-rows .song:hover, .song-rows .song.is-current { background: var(--surface-2); }
.song-rows .song-cover { flex: none; width: 52px; height: 52px; }
.song-rows .song-cover > a, .song-rows .song-cover .track-art, .song-rows .song-cover .sleeve-wrap, .song-rows .song-cover .sleeve { display: block; width: 52px; height: 52px; min-width: 0; }
.song-rows .song-cover .track-art { border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.song-rows .song-cover .track-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.song-rows .song-cover .track-art:has(img:not([src])), .song-rows .song-cover .track-art:has(img[src=""]) { background: var(--surface-3, var(--line)); }
.song-rows .song-play { inset: 0; margin: auto; width: 34px; height: 34px; }
.song-rows .song-text { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title meta" "by meta"; column-gap: 16px; align-items: center; }
/* The links cover only their words: the rest of the row plays the song. */
.song-rows .song-title { grid-area: title; font-size: 14px; justify-self: start; max-width: 100%; }
.song-rows .song-by { grid-area: by; justify-self: start; max-width: 100%; }
.song-rows .song-meta { grid-area: meta; margin: 0; flex-wrap: nowrap; white-space: nowrap; }
@media (max-width: 719px) {
  .song-rows .song { gap: 8px; padding: 8px 2px; }
  .song-rows .song::before { display: none; }
  .song-rows .song-plays, .song-rows .song-length { display: none; }
  .song-rows .song-text { column-gap: 6px; }
}

/* Songs tab: playlists as square covers, with the site's logo when there's no picture. */
.pl-pill-by { display: none; }
#songs-playlists { gap: 14px; padding-bottom: 6px; }
#songs-playlists .pl-pill {
  flex-direction: column; align-items: stretch; gap: 6px; width: 148px; max-width: 148px;
  padding: 0; border: 0; border-radius: 0; background: none; text-align: left;
}
#songs-playlists .pl-pill-art {
  width: 148px; height: 148px; border-radius: var(--r-md); box-shadow: var(--shadow-2); color: #fff;
  background: linear-gradient(145deg, var(--zone, var(--signal)), color-mix(in srgb, var(--zone, var(--signal)) 40%, #111));
}
#songs-playlists .pl-pill-art svg { width: 56px; height: 56px; }
#songs-playlists .pl-pill-name { font-size: 14px; }
#songs-playlists .pl-pill-by { display: block; font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#songs-playlists .pl-pill-new .pl-pill-art { border: 2px dashed var(--line-strong); background: none; box-shadow: none; color: var(--ink-2); }
@media (max-width: 719px) {
  #songs-playlists .pl-pill { width: 124px; max-width: 124px; }
  #songs-playlists .pl-pill-art { width: 124px; height: 124px; }
}

/* Rows: all of it plays. Placeholders while the list loads. A song with no picture. */
.song-rows .song { cursor: pointer; }
.song-skel { height: 69px; border-bottom: 1px solid var(--line); background: var(--surface-2); animation: shimmer 1.4s ease-in-out infinite; }
.art-logo { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ink-3); background: var(--surface-2); }
.art-logo svg { width: 40%; height: 40%; }
#songs-playlists .pl-pill-art .art-logo { background: none; color: #fff; }
[data-yt-slot] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* Phones: the Songs list's play button and + are finger-sized (44 px). */
@media (max-width: 719px) {
  .song-rows .song-play { width: 44px; height: 44px; }
  .song-add { position: relative; }
  .song-add::after { content: ""; position: absolute; inset: -7px; border-radius: inherit; }
}
