/* Discover (discover.js): one calm accent (#00dcc4) for chrome; genre tiles carry their own (never teal) hues */
.dc { max-width: 1240px; margin: 0 auto; }
.dc a { color: inherit; text-decoration: none; }
.dc a:hover { text-decoration: underline; text-underline-offset: 2px; }
.dc-top { position: sticky; top: 0; z-index: 15; padding: 6px 0 14px; background: linear-gradient(var(--bg) 78%, transparent); }
.dc-search { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 14px 0 18px; border-radius: 999px; background: #1a1e27; border: 1px solid var(--line2); transition: border-color .15s, background .15s; max-width: 640px; }
.dc-search:focus-within { border-color: var(--accent); background: #1d2230; }
.dc-search > svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.dc-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--text); font: inherit; font-size: 16px; padding: 0; }
.dc-search input::-webkit-search-cancel-button { display: none; }
.dc-search kbd { font: 600 12px var(--font); color: var(--muted); border: 1px solid var(--line2); border-radius: 6px; padding: 2px 7px; }
.dc-search:focus-within kbd { display: none; }
.dc-clear { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--text); display: grid; place-items: center; cursor: pointer; padding: 0; }
.dc-clear svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.dc-search.sm { height: 42px; max-width: none; margin: 0 0 12px; }
.dc-search.sm input { font-size: 14px; }

/* hero */
.dc-hero { position: relative; border-radius: 20px; overflow: hidden; margin: 4px 0 8px; isolation: isolate; }
.dc-hero::before { content: ""; position: absolute; inset: -40px; background: var(--bg) center / cover; z-index: -2; filter: saturate(1.2); }
.dc-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,12,17,.88) 0%, rgba(10,12,17,.55) 55%, rgba(10,12,17,.75) 100%), linear-gradient(0deg, rgba(10,12,17,.6), transparent 60%); }
.dc-hero-in { display: grid; grid-template-columns: 236px minmax(0, 1fr) 300px; gap: 32px; align-items: center; padding: 32px; }
.dc-hero-cov { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.dc-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b5f5ec; }
.dc-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 220, 196,.25); animation: dcPulse 1.8s ease-in-out infinite; }
@keyframes dcPulse { 50% { box-shadow: 0 0 0 8px rgba(0, 220, 196,0); } }
.dc-hero h1 { margin: 10px 0 14px; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.03em; font-weight: 900; }
.dc-hero-by { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: rgba(255,255,255,.78); font-size: 14px; }
.dc-hero-by a { display: inline-flex; align-items: center; gap: 8px; }
.dc-hero-by b { color: #fff; }
.dc-mini { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; }
.dc-hero-act { display: flex; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.dc-bigplay { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 26px 0 20px; border: 0; border-radius: 999px; background: var(--accent); color: #0b0d14; font: 700 15px var(--font); cursor: pointer; box-shadow: 0 10px 28px rgba(0, 220, 196,.35); transition: transform .15s, background .15s; }
.dc-bigplay:hover { transform: scale(1.03); background: #2ee3cc; }
.dc-bigplay svg { width: 20px; height: 20px; }
.dc-hero-next { list-style: none; margin: 0; padding: 14px; border-radius: 14px; background: rgba(10,12,17,.45); backdrop-filter: blur(6px); display: grid; gap: 4px; align-self: end; }
.dc-hero-next::before { content: "Also climbing"; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.6); padding: 0 6px 6px; }
.dc-hero-next li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px; border-radius: 8px; }
.dc-hero-next li:hover { background: rgba(255,255,255,.06); }

/* follow + like buttons */
.dc-follow { border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--text); font: 700 13px var(--font); padding: 7px 16px; border-radius: 999px; cursor: pointer; transition: border-color .15s, background .15s; white-space: nowrap; }
.dc-follow:hover { border-color: #fff; }
.dc-follow.on { border-color: rgba(0, 220, 196,.7); background: rgba(0, 220, 196,.14); color: #d4fbf5; }
.dc-follow.lg { height: 50px; padding: 0 24px; font-size: 14px; }
.dc-follow.sm { padding: 5px 12px; font-size: 12px; }
.dc-heart { width: 36px; height: 36px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; padding: 0; border-radius: 50%; }
.dc-heart svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.dc-heart:hover { color: var(--text); }
.dc-heart.on { color: var(--accent); } .dc-heart.on svg { fill: currentColor; }
.dc-hero-act .dc-heart { width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.25); }
.dc-hero-act .dc-heart svg { width: 22px; height: 22px; }

/* sections */
.dc-sec { margin-top: 36px; }
.dc-h { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; flex-wrap: wrap; }
.dc-h h2 { margin: 0; font-size: 24px; letter-spacing: -.015em; font-weight: 800; }
.dc-h > span { color: var(--muted); font-size: 14px; }
.dc-folchips { margin-left: auto; display: inline-flex; }
.dc-folchips a { margin-left: -6px; border: 2px solid var(--bg); border-radius: 50%; display: inline-flex; }
.dc-folchips .dc-mini { width: 30px; height: 30px; }
.dc-note { color: var(--muted); font-size: 12px; text-align: center; margin: 40px 0 10px; }

/* track rows (trending, genre top songs, playlists, search) */
.dc-rank { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: 28px; }
.dc-rank.one { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; max-width: 980px; }
.dc-row { display: grid; grid-template-columns: 28px 52px minmax(0, 1fr) 70px 64px 36px 44px; gap: 12px; align-items: center; padding: 7px 10px; border-radius: 10px; cursor: pointer; transition: background .15s; }
.dc-rank:not(.one) .dc-row { grid-template-columns: 28px 52px minmax(0, 1fr) 26px 56px 36px; }
.dc-rank:not(.one) .dc-row .dc-du { display: none; }
.dc-row:hover { background: rgba(255,255,255,.05); }
.dc-row.dc-on .dc-tt b { color: #3fe6cf; }
.dc-row.gone { opacity: .5; cursor: default; }
.dc-n { color: var(--muted); text-align: right; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.dc-art { position: relative; width: 52px; height: 52px; flex: none; }
.dc-art.sm { width: 44px; height: 44px; }
.dc-thumb { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 7px; background: #1c2130 center / cover; font-weight: 800; color: rgba(255,255,255,.85); box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.dc-pp { position: absolute; inset: 0; margin: auto; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(10,12,17,.7); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .15s, transform .15s; padding: 0; }
.dc-pp svg { width: 14px; height: 14px; }
.dc-row:hover .dc-pp, .dc-hero-next li:hover .dc-pp, .dc-on .dc-pp, .dc-pp:focus-visible { opacity: 1; }
.dc-pp.big { inset: auto 10px 10px auto; width: 46px; height: 46px; background: var(--accent); color: #0b0d14; box-shadow: 0 8px 20px rgba(0,0,0,.4); transform: translateY(6px); }
.dc-pp.big svg { width: 18px; height: 18px; }
.dc-tile:hover .dc-pp.big, .dc-best:hover .dc-pp.big, .dc-on .dc-pp.big { opacity: 1; transform: none; }
.dc-tt { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.dc-tt b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-tt a, .dc-tt > span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-tt a:hover { color: var(--text); }
.dc-gn { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-pl, .dc-du { font-size: 13px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.dc-tr { display: grid; place-items: center; width: 22px; height: 22px; color: var(--muted); }
.dc-tr svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.dc-tr.up { color: var(--accent); } .dc-tr.down { color: #e07a86; }
.dc-tr.new { width: auto; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0b0d14; background: var(--accent); border-radius: 4px; padding: 0 4px; height: 16px; }
.dc-row .dc-heart { opacity: 0; } .dc-row:hover .dc-heart, .dc-row .dc-heart.on { opacity: 1; }

/* horizontal scrollers */
.dc-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 178px; gap: 20px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #2c3240 transparent; }
.dc-scroll > * { scroll-snap-align: start; }
.dc-tile { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 10px; margin: -10px; border-radius: 12px; transition: background .2s; }
.dc .dc-tile:hover { background: rgba(255,255,255,.04); text-decoration: none; }
.dc-cov { position: relative; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 28px rgba(0,0,0,.4); margin-bottom: 8px; }
.dc-tile b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-tile > span:last-child { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-plcount { position: absolute; left: 10px; bottom: 10px; font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(10,12,17,.6); color: #fff; }

/* artists */
.dc-artist { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 10px; border-radius: 14px; transition: background .2s; min-width: 0; }
.dc-artist:hover { background: rgba(255,255,255,.04); }
.dc-af { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 14px 32px rgba(0,0,0,.45); margin-bottom: 8px; transition: transform .2s; }
.dc-af:hover { transform: scale(1.03); }
.dc-face { width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center; font-size: 44px; font-weight: 800; color: rgba(255,255,255,.9); }
.dc-an { font-weight: 700; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-as { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.dc-emptyfol { border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 4px; background: linear-gradient(135deg, rgba(0, 220, 196,.07), transparent 60%); }
.dc-emptyfol > div:first-child { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.dc-emptyfol > div:first-child span { color: var(--muted); font-size: 13px; }

/* genres */
.dc-genres { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1300px) { .dc-genres { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dc-genre { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 10px 24px rgba(0,0,0,.3); transition: transform .2s, box-shadow .2s; }
.dc .dc-genre:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.45); text-decoration: none; }
.dc-genre b { font-size: 22px; font-weight: 800; letter-spacing: -.01em; position: relative; z-index: 1; }
.dc-genre span { font-size: 12px; color: rgba(255,255,255,.78); position: relative; z-index: 1; }
.dc-genre i { position: absolute; right: -14px; bottom: -10px; width: 46%; aspect-ratio: 1; background: center / cover; border-radius: 8px; transform: rotate(10deg); box-shadow: -6px 8px 20px rgba(0,0,0,.4); }

/* genre + playlist headers */
.dc-ghero { border-radius: 20px; padding: 70px 32px 30px; margin-top: 8px; position: relative; overflow: hidden; }
.dc-ghero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,17,.45), transparent 70%); }
.dc-ghero > * { position: relative; z-index: 1; }
.dc-kind { display: block; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.8); }
.dc-ghero h1, .dc-plhead h1 { margin: 4px 0 10px; font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -.035em; font-weight: 900; }
.dc-gsub { color: rgba(255,255,255,.78); font-size: 14px; }
.dc-gsub b { color: #fff; }
.dc-bar { display: flex; align-items: center; gap: 16px; margin: 22px 4px 0; }
.dc-plhead { display: flex; align-items: flex-end; gap: 28px; margin-top: 10px; padding: 28px; border-radius: 20px; background: linear-gradient(180deg, rgba(0, 220, 196,.16), rgba(0, 220, 196,.02)); }
.dc-plhead p { margin: 0 0 8px; color: var(--muted); }
.dc-plcov { width: 220px; flex: none; aspect-ratio: 1; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.5); display: block; }

/* search results */
.dc-results { padding-bottom: 20px; }
.dc-rtop { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; }
.dc-rtop .dc-sec { margin-top: 12px; }
.dc-best { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 16px; background: #181c25; border: 1px solid var(--line); min-height: 220px; transition: background .2s; }
.dc .dc-best:hover { background: #1e2330; text-decoration: none; }
.dc-bestface { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; box-shadow: 0 12px 30px rgba(0,0,0,.5); margin-bottom: 10px; font-size: 38px; }
.dc-art.xl { width: 104px; height: 104px; margin-bottom: 10px; }
.dc-best b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.dc-best > span { color: var(--muted); font-size: 14px; }
.dc-best em { font-style: normal; font-weight: 700; color: var(--text); font-size: 12px; background: rgba(255,255,255,.08); padding: 3px 9px; border-radius: 999px; }
.dc-best .dc-follow { position: absolute; right: 20px; bottom: 20px; }
.dc-rank.compact .dc-row { grid-template-columns: 0 44px minmax(0, 1fr) 0 64px 36px 44px; padding: 5px 8px; }
.dc-rank.compact .dc-art { width: 44px; height: 44px; }
.dc-rank.compact .dc-gn, .dc-rank.compact .dc-n { visibility: hidden; }
.dc-none { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 60px 0; color: var(--muted); }
.dc-none b { color: var(--text); font-size: 18px; }

/* My catalog: header counts, followers drawer, liked songs */
.cx-folrow { display: inline-flex; align-items: center; gap: 12px; }
.cx-foldiv { width: 1px; height: 14px; background: var(--line2); }
button.cx-fol { appearance: none; border: 0; background: none; border-radius: 0; box-shadow: none; font: inherit; font-size: 13px; color: var(--muted); padding: 0; margin: 0; cursor: pointer; }
button.cx-fol:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.dc-fsheet .cx-sheet-body { display: flex; flex-direction: column; padding-top: 12px; }
.dc-ftabs { margin: 0 0 14px; }
.dc-flist { list-style: none; margin: 0 -10px; padding: 0; }
.dc-frow { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; }
.dc-frow[data-go] { cursor: pointer; } .dc-frow[data-go]:hover { background: rgba(255,255,255,.05); }
.dc-fface { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-weight: 800; font-size: 16px; color: rgba(255,255,255,.9); }
.dc-ft { display: flex; flex-direction: column; min-width: 0; }
.dc-ft b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-ft span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-fb { font-size: 11px; color: var(--muted); border: 1px solid var(--line2); border-radius: 999px; padding: 2px 8px; }
.dc-fempty { color: var(--muted); padding: 30px 10px; text-align: center; }
.dc-fempty a { color: var(--accent); }
.dc-likedcov { display: grid; place-items: center; background: linear-gradient(135deg, #00a894, #3fe6cf 55%, #cdfaf3) !important; color: #fff; }
.dc-likedcov svg { width: 38%; height: 38%; fill: currentColor; stroke: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
main > .dc-plhead, main > .dc-rank, main > .dc-bar { max-width: 1240px; }

@media (max-width: 1100px) {
  .dc-hero-in { grid-template-columns: 200px minmax(0, 1fr); }
  .dc-hero-next { display: none; }
  .dc-rank { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
}
@media (max-width: 720px) {
  .dc-top { padding-top: 0; }
  .dc-search { height: 46px; }
  .dc-search kbd { display: none; }
  .dc-hero-in { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
  .dc-hero-cov { width: 62%; max-width: 240px; }
  .dc-hero h1 { margin: 8px 0 10px; }
  .dc-hero-act { margin-top: 18px; }
  .dc-bigplay, .dc-follow.lg, .dc-hero-act .dc-heart { height: 46px; }
  .dc-hero-act .dc-heart { width: 46px; }
  .dc-sec { margin-top: 28px; }
  .dc-h h2 { font-size: 20px; }
  .dc-row, .dc-rank:not(.one) .dc-row, .dc-rank.compact .dc-row { grid-template-columns: 22px 48px minmax(0, 1fr) 22px 36px; gap: 10px; padding: 6px 4px; }
  .dc-rank.one .dc-row { grid-template-columns: 22px 48px minmax(0, 1fr) 36px 40px; }
  .dc-rank.compact .dc-row { grid-template-columns: 48px minmax(0, 1fr) 36px 40px; }
  .dc-rank.compact .dc-n { display: none; }
  .dc-art { width: 48px; height: 48px; }
  .dc-row .dc-pl, .dc-row .dc-gn { display: none; }
  .dc-rank:not(.one) .dc-row .dc-du { display: none; }
  .dc-row .dc-heart { opacity: 1; }
  .dc-rank.one .dc-row .dc-tr { display: none; }
  .dc-rank.one .dc-row:not(:has(.dc-tr)) { grid-template-columns: 22px 48px minmax(0, 1fr) 36px 40px; }
  .dc-scroll { grid-auto-columns: 42%; gap: 14px; margin: 0 -16px; padding: 4px 16px 14px; scroll-padding: 0 16px; scroll-snap-type: x mandatory; }
  .dc-genres { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dc-genre { padding: 12px; }
  .dc-genre b { font-size: 17px; }
  .dc-genre span { display: none; }
  .dc-ghero { padding: 50px 20px 22px; }
  .dc-plhead { flex-direction: column; align-items: flex-start; padding: 20px; gap: 18px; }
  .dc-plcov { width: 58%; }
  .dc-rtop { grid-template-columns: 1fr; gap: 0; }
  .dc-best { min-height: 0; }
  .dc-best b { font-size: 24px; }
  .dc-folchips { display: none; }
  .dc-fsheet { top: auto !important; left: 0; width: 100vw !important; height: 86vh; border-left: 0 !important; border-top: 1px solid var(--line2); border-radius: 18px 18px 0 0; }
}
/* 2 Dec: genre tiles show a performer of the genre, filling the right side and fading into the tile colour */
.dc-genre i { right: 0; top: 0; bottom: auto; width: 58%; height: 100%; aspect-ratio: auto; transform: none; border-radius: 0; box-shadow: none;
  background-position: center 30%; filter: brightness(1.18) contrast(1.05) saturate(1.05);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.65) 35%, #000 70%); mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.65) 35%, #000 70%); transition: transform .4s; }
.dc .dc-genre:hover i { transform: scale(1.05); }
.dc-genre b, .dc-genre span { text-shadow: 0 1px 8px rgba(0,0,0,.35); }
/* 2 Dec: breathing room above the sticky search bar */
.dc-top { padding-top: 18px; }
@media (max-width: 760px) { .dc-top { padding-top: 12px; } }
