/* Likes toolbar readability + MIXES tab (18 Nov 2026). Loads before the accessibility floor (floor-20261118.css).
   The genre toolbar keeps its permanent slots (AGENTS.md): every slot is a fixed width wide enough for its longest
   text, so labels read in full and a changed label never moves the row. */

/* sort key: a ⇅ mark and a short label ("NEWEST", "MOST PLAYED · 10+ MIN"); the menu and tooltip keep the full wording */
.sortbtn .sb-k { font-weight: 700; margin-right: 1px; }
#shell .genre-tail .sortwrap .sortbtn,
#shell .genre-tail .sortbtn { flex: 0 0 184px !important; width: 184px !important; min-width: 184px !important; max-width: none !important; overflow: visible !important; white-space: nowrap !important; text-overflow: clip !important; justify-content: space-between; }
#shell .genre-tail .sortbtn [data-el="sortlbl"] { overflow: visible; text-overflow: clip; }

@media (min-width: 1201px) {
  /* "All estimates (3,602)" and sub-genres like "Progressive House (1,234)" fit their slot */
  #shell .index2 .genre-tail { grid-template-columns: 140px 200px 44px minmax(0, 1fr) !important; }
  #shell .genre-tail .sub-l select { text-overflow: ellipsis; }
}
@media (min-width: 1201px) and (max-width: 1339px) {
  /* not enough room for the YEAR × GENRE label as well: its icon stays, its name stays in the tooltip */
  #shell .genre-tail .filter-dice { font-size: 0 !important; width: 34px !important; min-width: 34px !important; padding: 0 !important; justify-content: center; }
  #shell .genre-tail .filter-dice .ic { margin: 0 !important; }
}

/* the Lurklist's sort key fits its label too */
#w-sortbtn { white-space: nowrap; max-width: none !important; overflow: visible !important; }

/* MIXES tab: your likes, 20+ minute tracks only. The list's own TRACKS / PLAYLISTS / MIXES switch has nothing to do there */
body[data-view="mixes"] #view-library .tabsbar .tabs { display: none !important; }

@media (max-width: 760px) {
  /* phones: estimated sub-genres in the GENRE chip ("Dubstep · estimated (432)") read in full */
  html body :is(#shell#shell, #more-modal#more-modal) .mobile-filterbar > label select[data-el=mobilegenre] { max-width: 230px !important; }
  html body :is(#shell#shell, #more-modal#more-modal) .mobile-filterbar .sortbtn { max-width: none !important; overflow: visible !important; text-overflow: clip !important; }
  html body #shell#shell #view-watcher .feedpanel > .tabsbar .sortwrap > .sortbtn { max-width: none !important; overflow: visible !important; text-overflow: clip !important; }
  /* four tabs over your likes on a phone: LIKES · MIXES · FREE DOWNLOADS · DIG MODE, then ⟳ */
  html body #archive-tools#archive-tools:not(.hidden) > .btn { padding: 0 10px !important; }
}

/* Lurklist loading: one card that says who is being loaded; filters and side panels wait until there is activity */
.w-loadcard { display: grid; justify-items: center; gap: 10px; margin: 18px auto; padding: 26px 18px; max-width: 460px; text-align: center; background: #0e0f0c; color: #f6edce; border: 2px solid #050605; box-shadow: 0 0 0 2px #c9bfa3, 0 0 0 4px #050605, 6px 6px 0 4px #ff5b1c33; }
.w-loadcard b { font: 700 16px/1.35 var(--body, "Chakra Petch", sans-serif); }
.w-loadcard small { font: 500 13px/1.4 var(--body, "Chakra Petch", sans-serif); color: #c9bfa3; }
.w-eq { display: flex; align-items: flex-end; gap: 4px; height: 26px; }
.w-eq i { width: 6px; height: 100%; background: #ff5b1c; transform-origin: bottom; animation: w-eq 0.9s steps(4, end) infinite; }
.w-eq i:nth-child(2) { animation-delay: -0.2s; } .w-eq i:nth-child(3) { animation-delay: -0.45s; } .w-eq i:nth-child(4) { animation-delay: -0.1s; } .w-eq i:nth-child(5) { animation-delay: -0.6s; }
@keyframes w-eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .w-eq i { animation: none; transform: scaleY(.7); } }
@media (max-width: 760px) { html body #shell#shell #view-watcher.w-wait :is(.wtop, .feedpanel > .tabsbar, #w-sysbar, .wside, .w-more, .w-year-rail) { display: none !important; } }
#view-watcher.w-wait #w-sysbar { visibility: hidden; }

/* phones: FILTER ACTIVITY folds into "More filters" under the chips; the side LURKLIST panel repeats the PEOPLE tab */
.w-more { margin: 0 16px 8px; }
.w-more > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid rgba(14,14,12,.12); border-radius: 999px; background: var(--bc-card, #fbf6ea); font: 600 13px var(--body, "Chakra Petch", sans-serif); }
.w-more > summary::-webkit-details-marker { display: none; }
.w-more > summary::after { content: "▾"; font-size: 11px; }
.w-more[open] > summary::after { content: "▴"; }
.w-more > .panel { margin: 8px 0 0 !important; box-shadow: none !important; }
@media (max-width: 760px) {
  html body #shell#shell #view-watcher .wside { display: none !important; }
}

/* Blend: the FOR YOU / FOR THEM / SHARED keys wait for the result (an old !important rule kept them on screen, empty, while
   the comparison loaded) and the wait says what it is comparing */
#person-blend #blend-directions.hidden { display: none !important; }
.blend-loading { flex-wrap: wrap; }
.blend-loading .blend-loading-what { flex-basis: 100%; display: block; margin-top: 8px; font: 600 13px/1.4 var(--body, "Chakra Petch", sans-serif); letter-spacing: 0; text-transform: none; color: #c9bfa3; }

/* Lurklist genres look like Likes' (1 Dec): one row of chips, the dropdown beside it holds the rest */
@media (min-width: 761px) {
  #shell #view-watcher .wtop { flex-wrap: nowrap !important; align-items: stretch; }
  #shell #view-watcher .wtop > .panel.feed-view-controls { flex: 0 0 auto !important; }
  #shell #view-watcher .wtop > .panel:first-child { grid-column: 1 / -1; flex: 1 1 auto !important; min-width: 0 !important; width: auto !important; max-width: none !important; }
  #view-watcher .wtop > .panel:first-child .ph { display: none; }
  #view-watcher .wtop > .panel:first-child { display: flex !important; align-items: center; gap: 10px; flex-wrap: nowrap; }
  #view-watcher .w-gchips { display: flex !important; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; height: auto !important; grid-template-columns: none !important; }
  #view-watcher .w-gchips::-webkit-scrollbar { display: none; }
  #view-watcher .w-gchips .gchip { flex: 0 0 auto; width: auto !important; }
  #view-watcher .wtop > .panel:first-child .genre-select { flex: 0 0 190px; margin: 0 !important; }
}
@media (max-width: 760px) { #view-watcher .w-gchips { display: none !important; } }

/* Likes, Free downloads, Mixes and people's likes: one stable row of genre chips at every screen height (it was a
   multi-row grid on tall screens), the same row the Lurklist now has. The +MORE dropdown and ESTIMATES hold the rest. */
@media (min-width: 761px) {
  #shell .index2 > .genre-row > .gchips {
    grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: minmax(132px, 1fr);
    height: 28px !important; overflow-x: auto !important; overflow-y: hidden !important; scrollbar-width: none;
  }
  #shell .index2 > .genre-row > .gchips::-webkit-scrollbar { display: none; }
}

/* Continue with Google (welcome screen, profile sheet) */
#landing .ld-google { display: grid; justify-items: center; gap: 8px; margin: 10px auto 0; text-align: center; }
#landing .ld-google > span { font: 600 13px/1.4 var(--body, "Chakra Petch", sans-serif); color: #c9bfa3; }
#landing .ld-gbtn, .pf-gbtn { min-height: 44px; display: flex; justify-content: center; }
.pf-google { margin-top: 10px; }

/* START HERE: the first visit's three steps (start-here.js) */
.start-here { margin: 0 0 12px; padding: 12px 14px; background: #0e0f0c; color: #f6edce; border: 2px solid #050605; box-shadow: 0 0 0 2px #c9bfa3, 0 0 0 4px #050605, 6px 6px 0 4px #ff5b1c33; transition: opacity .25s, transform .25s; }
.start-here.out { opacity: 0; transform: translateY(-6px); }
.start-here .sh-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.start-here .sh-head b { font: 700 12px var(--body, "Chakra Petch", sans-serif); letter-spacing: .08em; color: #ff8b50; }
.start-here .sh-x { background: transparent; border: 1px solid #5a5a4c; color: #f6edce; font: 600 11px var(--body, "Chakra Petch", sans-serif); padding: 6px 10px; min-height: 32px; cursor: pointer; }
.start-here ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.start-here li { display: grid; grid-template-columns: 26px minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 10px; row-gap: 8px; padding: 10px; background: #181a15; border: 1px solid #2c2f27; transition: border-color .3s, background .3s; }
.start-here li > i { grid-row: 1 / 3; width: 26px; height: 26px; display: grid; place-items: center; font: 700 13px var(--body, "Chakra Petch", sans-serif); font-style: normal; background: #ff5b1c; color: #fff; }
.start-here li > div b { display: block; font: 700 14px var(--body, "Chakra Petch", sans-serif); }
.start-here li > div small { display: block; margin-top: 3px; font: 500 12.5px/1.4 var(--body, "Chakra Petch", sans-serif); color: #c9bfa3; }
.start-here li > .btn { justify-self: start; grid-column: 2; }
.start-here li.done { border-color: #3c6b3a; background: #142014; }
.start-here li.done > i { background: #3c8a3a; font-size: 0; }
.start-here li.done > i::after { content: "✓"; font-size: 14px; }
.start-here li.done > .btn { display: none; }
body:not(:is([data-view="stream"], [data-view="mixes"], [data-view="dls"])) .start-here { display: none; }
@media (max-width: 760px) {
  .start-here { margin: 4px 12px 10px; }
  .start-here ol { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scrollbar-width: none; }
  .start-here ol::-webkit-scrollbar { display: none; }
}
@media (prefers-reduced-motion: reduce) { .start-here, .start-here li { transition: none; } }

/* quests no longer pop up on their own on desktop either (phones stopped on 8 Nov): the first visit has START HERE,
   and every guide is still one tap away in the quest chest beside search */
body .quest.quest-dock { display: none !important; }
