/* Quasar Music — lyrics, Now Playing tabs and the equalizer. */

/* ---- Now Playing: tabs ---- */
.mu-np .mu-np-info { display: flex; flex-direction: column; padding: 0; overflow: hidden; background: none; border: 0; backdrop-filter: none;
    flex: 1 1 440px; max-width: 640px; height: min(calc(100vh - 80px), 800px); max-height: none; }
.mu-np-tabs { display: flex; gap: 4px; padding: 5px; width: max-content; margin: 0 0 14px; border-radius: calc(100px * var(--round, 1)); background: rgba(var(--ink-rgb),  0.09); flex-shrink: 0; }
.mu-np-tabs button { border: 0; background: none; padding: 7px 20px; border-radius: calc(100px * var(--round, 1)); color: rgba(var(--ink-rgb),  0.7); font: 700 0.85rem var(--font-ui); cursor: pointer; transition: background 0.2s, color 0.2s; }
.mu-np-tabs button:hover { color: #fff; }
.mu-np-tabs button.on { background: #fff; color: #05060d; }
.mu-pane { display: none; flex: 1; min-height: 0; }
.mu-np-info[data-tab="lyrics"] .mu-pane-lyrics { display: flex; }
.mu-np-info[data-tab="about"] .mu-pane-about { display: block; overflow-y: auto; padding: 22px 24px; border-radius: calc(20px * var(--round, 1)); scrollbar-width: thin;
    background: color-mix(in oklab, rgba(8, 10, 22, 0.55), rgba(255, 255, 255, 0.55) var(--bg-light, 0%)); border: 1px solid rgba(var(--ink-rgb),  0.1); }
body:not(.mu-lite) .mu-np-info[data-tab="about"] .mu-pane-about { backdrop-filter: blur(14px); }

/* ---- Lyrics ---- */
.mu-lyrics { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 0; width: 100%; --h: 200; }
.mu-ly-scroll { position: relative; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 0 4px; overscroll-behavior: contain;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 11%, #000 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 11%, #000 80%, transparent 100%); }
.mu-ly-scroll::-webkit-scrollbar { display: none; }
.mu-ly-scroll:has(.mu-ly-msg) { display: grid; place-items: center; -webkit-mask-image: none; mask-image: none; }
.mu-ly-pad { height: 34vh; }
.mu-ly-pad.end { height: 50vh; }
.mu-ly-line { --d: 9; margin: 2px 0; padding: 9px 12px; border-radius: calc(16px * var(--round, 1)); cursor: pointer; color: #fff; overflow-wrap: anywhere;
    font: 800 clamp(1.45rem, 2.4vw, 2.3rem) / 1.22 var(--font-ui); letter-spacing: -0.02em;
    transform-origin: left center; transform: scale(0.9);
    opacity: max(0.16, calc(1 - var(--d) * 0.26)); filter: blur(calc(min(var(--d), 4) * 0.55px));
    transition: transform 0.5s var(--ease), opacity 0.5s, filter 0.5s, background 0.2s; will-change: transform, opacity; }
.mu-ly-line.past { opacity: max(0.1, calc(0.82 - var(--d) * 0.24)); }
.mu-ly-line.active { transform: none; opacity: 1; filter: none; text-shadow: 0 0 34px hsl(var(--h) 95% 68% / 0.65), 0 0 3px rgba(var(--ink-rgb),  0.35); }
.mu-ly-line:not(.active):hover { opacity: 0.75; filter: none; background: rgba(var(--ink-rgb),  0.07); }
.mu-ly-line.gap { display: flex; align-items: center; gap: 8px; padding: 14px 12px; }
.mu-ly-line.gap i { width: 11px; height: 11px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.mu-ly-line.gap.active i { animation: muDot 1.3s ease-in-out infinite; opacity: 1; }
.mu-ly-line.gap.active i:nth-child(2) { animation-delay: 0.18s; }
.mu-ly-line.gap.active i:nth-child(3) { animation-delay: 0.36s; }
@keyframes muDot { 0%, 100% { transform: translateY(0) scale(0.8); } 40% { transform: translateY(-7px) scale(1.15); } }
.mu-ly-plain { padding: 10px 8px 90px; }
.mu-ly-plain p { margin: 0; font: 600 1.15rem / 1.65 var(--font-ui); color: rgba(var(--ink-rgb),  0.9); overflow-wrap: anywhere; }
.mu-ly-plain p.br { height: 1.1em; }
.mu-ly-foot { padding: 10px 6px 0; display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: rgba(var(--ink-rgb),  0.45); min-height: 1.6em; flex-shrink: 0; }
.mu-ly-foot .material-symbols-outlined { font-size: 1rem; }
.mu-ly-msg { text-align: center; padding: 30px 24px; color: rgba(var(--ink-rgb),  0.7); max-width: 340px; }
.mu-ly-msg .material-symbols-outlined { font-size: 3.4rem; color: var(--accent-cyan); }
.mu-ly-msg h4 { margin: 10px 0 6px; font: 800 1.35rem var(--font-ui); color: #fff; text-transform: none; letter-spacing: -0.01em; }
.mu-ly-msg p { margin: 0; font-size: 0.9rem; line-height: 1.5; }
.mu-ly-msg.inst .material-symbols-outlined { animation: muFloat 2.6s ease-in-out infinite; }
@keyframes muFloat { 50% { transform: translateY(-8px) rotate(6deg); } }
.mu-ly-skel { display: grid; gap: 22px; padding: 34px 12px; }
.mu-ly-skel i { height: 30px; width: var(--w); border-radius: calc(10px * var(--round, 1)); background: linear-gradient(100deg, rgba(var(--ink-rgb),  0.06) 30%, rgba(var(--ink-rgb),  0.15) 50%, rgba(var(--ink-rgb),  0.06) 70%);
    background-size: 300% 100%; animation: muShimmer 1.3s linear infinite; }
body.mu-lite .mu-ly-line { filter: none; transition: opacity 0.2s, transform 0.2s; will-change: auto; }
body.mu-lite .mu-ly-line.active { text-shadow: none; }
body.mu-lite .mu-ly-line.gap.active i, body.mu-lite .mu-ly-msg.inst .material-symbols-outlined, body.mu-lite .mu-ly-skel i { animation: none; }

/* ---- Equalizer ---- */
.mu-np-eq { position: fixed; top: 18px; right: 18px; z-index: 1; width: 44px; height: 44px; }
.mu-np-eq .material-symbols-outlined { font-size: 1.7rem; }
.mu-eqbox { position: fixed; right: 18px; bottom: 112px; width: min(560px, calc(100vw - 24px)); z-index: 2600; padding: 18px 18px 16px; border-radius: calc(22px * var(--round, 1));
    background: color-mix(in oklab, rgba(10, 12, 26, 0.97), rgba(255, 255, 255, 0.97) var(--bg-light, 0%)); border: 1px solid rgba(var(--ink-rgb),  0.12); box-shadow: 0 30px 80px rgba(0, 0, 0, calc(0.6 * var(--shadow-k, 1)));
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(14px) scale(0.98); transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.3s; }
.mu-eqbox.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.mu-eq-head { display: flex; align-items: center; gap: 6px; }
.mu-eq-head h3 { flex: 1; display: flex; align-items: center; gap: 8px; margin: 0; font: 800 1.05rem var(--font-ui); }
.mu-eq-head h3 .material-symbols-outlined { color: var(--accent-cyan); }
.mu-eq-head .mu-switch { margin: 0 6px 0 0; padding: 0; background: none; }
.mu-eq-viz { position: relative; height: 84px; margin: 12px 0 8px; border-radius: calc(14px * var(--round, 1)); background: rgba(var(--ink-rgb),  0.04); overflow: hidden; }
.mu-eq-viz canvas, .mu-eq-viz svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mu-eq-sliders { display: grid; grid-template-columns: repeat(11, 1fr); gap: 2px; }
.mu-vb { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.mu-vb.pre { border-right: 1px solid rgba(var(--ink-rgb),  0.1); }
.mu-vb-val { font-size: 0.68rem; color: rgba(var(--ink-rgb),  0.55); font-variant-numeric: tabular-nums; }
.mu-vb-track { position: relative; width: 100%; max-width: 36px; height: 150px; cursor: pointer; touch-action: none; outline: none; }
.mu-vb-track::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; border-radius: calc(4px * var(--round, 1)); background: rgba(var(--ink-rgb),  0.14); }
.mu-vb-zero { position: absolute; left: 8px; right: 8px; top: 50%; height: 1px; background: rgba(var(--ink-rgb),  0.3); }
.mu-vb-fill { position: absolute; left: 50%; width: 4px; margin-left: -2px; border-radius: calc(4px * var(--round, 1)); top: var(--f0, 50%); bottom: calc(100% - var(--f1, 50%)); background: linear-gradient(var(--accent-cyan), #b478ff); }
.mu-vb-thumb { position: absolute; left: 50%; top: var(--y, 50%); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, calc(0.5 * var(--shadow-k, 1))); transition: transform 0.15s; }
.mu-vb-track:hover .mu-vb-thumb { transform: scale(1.2); }
.mu-vb-track:focus-visible .mu-vb-thumb { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
.mu-vb-label { font-size: 0.7rem; color: rgba(var(--ink-rgb),  0.6); }
.mu-eqbox.off .mu-eq-sliders, .mu-eqbox.off .mu-eq-viz { opacity: 0.45; }
.mu-eq-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mu-eq-chips button { padding: 6px 12px; border-radius: calc(100px * var(--round, 1)); border: 1px solid rgba(var(--ink-rgb),  0.16); background: none; color: rgba(var(--ink-rgb),  0.8); font: 600 0.76rem var(--font-ui); cursor: pointer; }
.mu-eq-chips button:hover { border-color: rgba(var(--ink-rgb),  0.4); }
.mu-eq-chips button.on { background: #fff; color: #05060d; border-color: #fff; }
.mu-eq-custom { margin: 10px 0 0; font-size: 0.76rem; color: rgba(var(--ink-rgb),  0.5); }
body:not(.mu-lite) .mu-eqbox { backdrop-filter: blur(16px); }

@media (max-width: 980px) {
    .mu-np .mu-np-info { flex: none; width: min(560px, 100%); max-width: 100%; height: auto; overflow: visible; }
    .mu-np-info[data-tab="lyrics"] .mu-pane-lyrics { flex: none; height: min(54vh, 460px); }
    /* Lyrics are why you opened this tab: drop the big cover so they're on screen without scrolling. */
    .mu-np-layout:has(.mu-np-info[data-tab="lyrics"]) .mu-np-art, .mu-np-layout:has(.mu-np-info[data-tab="lyrics"]) .mu-np-from { display: none; }
    .mu-np-info[data-tab="about"] .mu-pane-about { overflow: visible; }
    .mu-ly-line { font-size: clamp(1.35rem, 6vw, 1.9rem); }
}
@media (max-width: 760px) {
    .mu-bar-right .mu-eq-btn, .mu-bar-right .mu-full-btn { display: none; }
    .mu-eqbox { right: 12px; bottom: 150px; }
    .mu-vb-track { height: 128px; }
}

/* ---- About: hero, the story (Wikipedia), details as tiles ---- */
.mu-about-hero h3 { margin: 0; }
.mu-about-sub { margin: 4px 0 16px; color: rgba(var(--ink-rgb),  0.6); font-size: 0.86rem; }
.mu-story { margin: 6px 0 4px; padding: 16px 18px; border-radius: calc(16px * var(--round, 1)); background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.08), rgba(180, 120, 255, 0.06)); border: 1px solid rgba(var(--ink-rgb),  0.08); }
.mu-story h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; color: #fff; }
.mu-story h4 .material-symbols-outlined { font-size: 1.1rem; color: var(--accent-cyan); }
.mu-story-kind { margin: 0 0 10px; font-size: 0.8rem; color: rgba(var(--ink-rgb),  0.55); }
.mu-story-text p { margin: 0 0 10px; font-size: 0.88rem; line-height: 1.6; color: rgba(var(--ink-rgb),  0.86); }
.mu-story details { border-top: 1px solid rgba(var(--ink-rgb),  0.08); padding: 8px 0 0; margin-top: 8px; }
.mu-story summary { cursor: pointer; font-weight: 700; font-size: 0.86rem; padding: 4px 0 8px; list-style: none; display: flex; align-items: center; gap: 6px; }
.mu-story summary::-webkit-details-marker { display: none; }
.mu-story summary::before { content: "›"; display: inline-block; transition: transform 0.2s; color: var(--accent-cyan); font-size: 1.1rem; }
.mu-story details[open] summary::before { transform: rotate(90deg); }
.mu-ext.small { margin-top: 6px; font-size: 0.76rem; }
.mu-np-info .mu-facts { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.mu-np-info .mu-facts > div { display: block; padding: 10px 12px; border: 0; border-radius: calc(12px * var(--round, 1)); background: rgba(var(--ink-rgb),  0.05); }
.mu-np-info .mu-facts dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.mu-np-info .mu-facts dd { font-size: 0.86rem; font-weight: 600; }
.mu-more-slot .mu-tracks { margin-top: 4px; }

/* ---- Equalizer in words ---- */
.mu-eq-hint { margin: 10px 2px 0; min-height: 2.6em; font-size: 0.84rem; line-height: 1.4; color: rgba(var(--ink-rgb),  0.85); }
.mu-eq-hint b { color: #fff; }
.mu-eq-hint span { color: rgba(var(--ink-rgb),  0.5); }
.mu-vb-val { height: 1em; font-size: 0.6rem; color: transparent; }
.mu-vb.up .mu-vb-val { color: var(--accent-cyan); }
.mu-vb.down .mu-vb-val { color: color-mix(in oklab, #ff8db1, #000 var(--tx-dark, 0%)); }
.mu-vb-label { font-size: 0.66rem; font-weight: 700; color: rgba(var(--ink-rgb),  0.82); white-space: nowrap; letter-spacing: -0.01em; }
.mu-vb-hz { font-size: 0.58rem; color: rgba(var(--ink-rgb),  0.4); white-space: nowrap; margin-top: -4px; }
.mu-eq-custom { margin: 10px 2px 0; font-size: 0.8rem; color: rgba(var(--ink-rgb),  0.65); }
.mu-eq-note { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; padding: 10px 12px; border-radius: calc(12px * var(--round, 1)); background: rgba(255, 200, 80, 0.1); color: rgba(255, 230, 180, 0.9); font-size: 0.76rem; line-height: 1.45; }
.mu-eq-note .material-symbols-outlined { font-size: 1rem; }
@media (max-width: 760px) {
    .mu-eqbox { padding: 14px 10px 12px; }
    .mu-eq-sliders { gap: 0; }
    .mu-vb-label { font-size: 0.5rem; letter-spacing: -0.04em; }
    .mu-vb-hz { display: none; }
}

/* ---- full player: tool buttons (listen together, sound) ---- */
.mu-np-tools { position: fixed; top: 18px; right: 18px; z-index: 1; display: flex; gap: 6px; }
.mu-np-tools .mu-np-eq { position: static; }
.mu-np-tools .mu-icon-btn { width: 44px; height: 44px; }
.mu-np-tools .material-symbols-outlined { font-size: 1.6rem; }

/* ---- Sound panel: tabs, Speed & effects ---- */
.mu-eqbox { max-height: calc(100vh - 140px); overflow-y: auto; scrollbar-width: thin; }
.mu-snd-tabs { margin: 12px 0 2px; }
.mu-eqbox[data-tab="eq"] .mu-snd-fx, .mu-eqbox[data-tab="fx"] .mu-snd-eq, .mu-eqbox[data-tab="fx"] .mu-eq-only { display: none; }
.mu-snd-fx h4 { margin: 16px 2px 6px; font: 700 0.74rem var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(var(--ink-rgb),  0.55); }
.mu-snd-fx .mu-eq-chips { margin-top: 0; }
.mu-snd-fx .mu-switch.mu-fx-pitch { margin: 10px 0 0; padding: 10px 12px; }
.mu-fx-pitch small { display: block; color: rgba(var(--ink-rgb),  0.55); font-size: 0.74rem; }
.mu-fx-reverb { display: flex; align-items: center; gap: 12px; }
.mu-fx-reverb input { flex: 1; accent-color: var(--accent-cyan); }
.mu-fx-reverb b { min-width: 60px; font-size: 0.82rem; }

/* ---- Listen together ---- */
.mu-together { width: min(420px, calc(100vw - 24px)); top: 76px; bottom: auto; }
.mu-tg-body section { padding: 14px 0; border-bottom: 1px solid rgba(var(--ink-rgb),  0.08); }
.mu-tg-body section:last-child { border-bottom: 0; }
.mu-tg-body h4 { margin: 0 0 4px; font: 700 0.95rem var(--font-ui); }
.mu-tg-body p { margin: 0 0 10px; font-size: 0.84rem; line-height: 1.45; color: rgba(var(--ink-rgb),  0.7); }
.mu-tg-body .mu-pill { margin-top: 0; }
.mu-tg-body .mu-pill:disabled { opacity: 0.4; cursor: default; }
.mu-tg-join { display: flex; gap: 8px; }
.mu-tg-join input { flex: 1; min-width: 0; padding: 9px 14px; border-radius: calc(100px * var(--round, 1)); border: 1px solid rgba(var(--ink-rgb),  0.18); background: rgba(var(--ink-rgb),  0.06);
    color: #fff; font: 700 1rem var(--font-ui); letter-spacing: 0.18em; text-transform: uppercase; }
.mu-tg-code { margin: 14px 0 10px; padding: 16px; border-radius: calc(16px * var(--round, 1)); text-align: center; background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.12), rgba(180, 120, 255, 0.1)); }
.mu-tg-code span { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(var(--ink-rgb),  0.6); }
.mu-tg-code b { font: 800 2.2rem var(--font-ui); letter-spacing: 0.22em; }
.mu-tg-status { display: flex; align-items: center; gap: 8px; color: #fff !important; }
.mu-tg-status .material-symbols-outlined { color: var(--accent-cyan); font-size: 1.1rem; }
.mu-tg-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.mu-tg-small { font-size: 0.76rem !important; }
.mu-pill.danger { border-color: rgba(255, 110, 140, 0.5) !important; color: color-mix(in oklab, #ff9db3, #000 var(--tx-dark, 0%)) !important; }
.mu-nav.mu-together-btn.on, .mu-together-btn.on { color: var(--accent-cyan); }

/* ---- playlists ---- */
.mu-mosaic { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 1; border-radius: calc(8px * var(--round, 1)); overflow: hidden; width: 100%; }
.mu-mosaic .mu-cover { width: 100%; border-radius: 0; }
.mu-head-art .mu-mosaic { border-radius: calc(12px * var(--round, 1)); }
.mu-pl-empty { width: 100%; background: linear-gradient(135deg, #2b2f55, color-mix(in oklab, #14162b, var(--paper, #fff) var(--bg-light, 0%))); color: rgba(var(--ink-rgb),  0.5); }
.mu-pl-tools { display: inline-flex; gap: 4px; margin-left: auto; }
.mu-row.dragging { opacity: 0.4; }
.mu-row.drop { box-shadow: inset 0 2px 0 var(--accent-cyan); }
@media (max-width: 760px) {
    .mu-np-tools { top: 14px; right: 12px; }
    .mu-together { top: auto; bottom: 150px; }
}

/* ---- picking several songs: tick boxes at the left, and the bar that acts on them ---- */
.mu-check { width: 22px; height: 22px; flex-shrink: 0; margin-right: -6px; padding: 0; display: grid; place-items: center; border-radius: calc(6px * var(--round, 1)); cursor: pointer;
    border: 2px solid rgba(var(--ink-rgb),  0.35); background: none; color: transparent; opacity: 0; transition: opacity 0.12s, background 0.12s, border-color 0.12s; }
.mu-check .material-symbols-outlined { font-size: 17px; font-weight: 700; }
.mu-row:hover .mu-check, .mu-row:focus-within .mu-check, .mu-selecting .mu-check { opacity: 1; }
.mu-check:hover { border-color: var(--accent-cyan); }
.mu-row.sel .mu-check { background: var(--accent-cyan); border-color: var(--accent-cyan); color: var(--on-accent); opacity: 1; }
.mu-row.sel { background: rgba(0, 229, 255, 0.1); }
.mu-row.sel:hover { background: rgba(0, 229, 255, 0.15); }
@media (hover: none) { .mu-check { opacity: 0.85; } }

.mu-selbar { position: fixed; left: 50%; bottom: 112px; z-index: 2500; display: flex; align-items: center; gap: 4px; max-width: calc(100vw - 24px);
    padding: 8px 10px; border-radius: calc(14px * var(--round, 1)); background: color-mix(in oklab, #1a1d2e, var(--paper, #fff) var(--bg-light, 0%)); border: 1px solid var(--line-strong); box-shadow: 0 14px 40px rgba(0, 0, 0, calc(0.55 * var(--shadow-k, 1)));
    transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: 0.2s; }
.mu-selbar.open { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.mu-sel-count { margin: 0 6px 0 2px; white-space: nowrap; font-size: 0.92rem; }
.mu-sel-gap { width: 1px; height: 26px; margin: 0 4px; background: var(--line-strong); }
.mu-sel-btn { display: flex; align-items: center; gap: 6px; padding: 8px 11px; border: 0; border-radius: calc(9px * var(--round, 1)); background: none; color: var(--text-main);
    font: inherit; font-size: 0.86rem; font-weight: 600; white-space: nowrap; cursor: pointer; }
.mu-sel-btn:hover { background: rgba(var(--ink-rgb),  0.08); }
.mu-sel-btn.main { background: var(--accent-cyan); color: var(--on-accent); }
.mu-sel-btn.main .material-symbols-outlined { font-variation-settings: "FILL" 1; }
.mu-sel-btn .material-symbols-outlined { font-size: 20px; }
@media (max-width: 980px) { .mu-sel-btn:not(.main):not([data-a=all]) span:not(.material-symbols-outlined) { display: none; } .mu-sel-btn { padding: 8px 9px; } }
@media (max-width: 760px) {
    .mu-selbar { left: 10px; right: 10px; bottom: 140px; max-width: none; flex-wrap: wrap; justify-content: space-between; row-gap: 4px; transform: translateY(24px); }
    .mu-selbar.open { transform: none; }
    .mu-sel-count { flex: 1; }
    .mu-sel-gap { flex-basis: 100%; height: 0; margin: 0; }
    .mu-sel-gap ~ .mu-sel-btn { flex: 1; justify-content: center; }
    .mu-sel-btn[data-a=all] span:not(.material-symbols-outlined) { display: none; }
}

/* ---- downloads ---- */
.mu-dl-mark { display: none; margin-right: 5px; vertical-align: -3px; color: color-mix(in oklab, #3ddc97, #000 var(--tx-dark, 0%)); }
.mu-dl-mark .material-symbols-outlined { font-size: 15px; font-variation-settings: "FILL" 1; }
.mu-row.dl .mu-dl-mark { display: inline; }
.mu-row.dling .mu-dl-mark { display: inline; color: var(--text-muted); animation: mu-dl-pulse 1.2s ease-in-out infinite; }
@keyframes mu-dl-pulse { 50% { opacity: 0.35; } }
.mu-dl-all.on { color: color-mix(in oklab, #3ddc97, #000 var(--tx-dark, 0%)); }
.mu-genre-art.dl { background: linear-gradient(135deg, #0d8f5b, #3ddc97 55%, #c9ffe6); }
.mu-via.dl { display: inline-flex; align-items: center; gap: 3px; background: rgba(61, 220, 151, 0.16); color: color-mix(in oklab, #7cf0bd, #000 var(--tx-dark, 0%)); }
.mu-via.dl .material-symbols-outlined { font-size: 12px; }
.mu-via.dl em { font-style: normal; }
.mu-bar-artist .mu-via.dl em { display: none; }
.mu-bar-artist .mu-via.dl { padding: 0 3px; }

/* Tags and the genre in a song's About panel open that tag's page. */
button.mu-chip-tag { border: 0; color: inherit; font: inherit; font-size: 0.76rem; cursor: pointer; }
button.mu-chip-tag:hover { background: rgba(0, 229, 255, 0.18); color: var(--accent-cyan); }

/* Now Playing on phones: when the big cover makes way for the lyrics, a small one sits by the title instead. */
.mu-np-thumb { display: none; }
.mu-np-names { flex: 1; min-width: 0; }
@media (max-width: 980px) {
    .mu-np-layout:has(.mu-np-info[data-tab="lyrics"]) .mu-np-thumb { display: block; flex: none; }
    .mu-np-thumb .mu-cover.sm { width: 64px; border-radius: calc(10px * var(--round, 1)); box-shadow: 0 8px 24px rgba(0, 0, 0, calc(0.45 * var(--shadow-k, 1))); }
    .mu-np-thumb .mu-cover.sm > .material-symbols-outlined { font-size: 1.6rem; }
}

/* ---- the Party jam panel (music/jam.js) and public playlists (music/public.js) ---- */
.mu-jam-btn { position: relative; }
.mu-jam-btn .mu-jam-dot { display: none; position: absolute; top: 8px; left: 30px; width: 8px; height: 8px; border-radius: 50%; background: #ff3fd2; box-shadow: 0 0 8px #ff3fd2; }
.mu-jam-btn.live .mu-jam-dot { display: block; }
.mu-jampanel { z-index: 991; }
.mu-jam-body { flex: 1; overflow-y: auto; padding: 0 14px 18px; display: flex; flex-direction: column; gap: 12px; }
.mu-jam-host { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: rgba(var(--ink-rgb),  0.7); }
.mu-jam-host .material-symbols-outlined { font-size: 1.1rem; color: var(--accent-cyan); }
.mu-jam-now { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px; border-radius: calc(16px * var(--round, 1)); background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.08), rgba(180, 120, 255, 0.08)); border: 1px solid rgba(var(--ink-rgb),  0.08); }
.mu-jam-now > .mu-cover.xl { width: min(190px, 60%); border-radius: calc(12px * var(--round, 1)); box-shadow: 0 12px 30px rgba(0, 0, 0, calc(0.45 * var(--shadow-k, 1))); }
.mu-jam-title { text-align: center; min-width: 0; max-width: 100%; }
.mu-jam-title b { display: block; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mu-jam-title small { display: block; font-size: 0.82rem; color: rgba(var(--ink-rgb),  0.6); }
.mu-jam-bar { width: 100%; height: 4px; border-radius: calc(4px * var(--round, 1)); background: rgba(var(--ink-rgb),  0.15); overflow: hidden; }
.mu-jam-bar i { display: block; height: 100%; background: var(--accent-cyan); transition: width 0.9s linear; }
.mu-jam-time { width: 100%; display: flex; justify-content: space-between; font-size: 0.72rem; color: rgba(var(--ink-rgb),  0.55); }
.mu-jam-ctl { display: flex; align-items: center; gap: 18px; }
.mu-jam-ctl .mu-play { width: 52px; height: 52px; }
.mu-jam-ctl button:disabled { opacity: 0.35; cursor: default; }
.mu-jam-switches { display: flex; flex-direction: column; gap: 8px; }
.mu-jam-switch { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: calc(12px * var(--round, 1)); background: rgba(var(--ink-rgb),  0.04); cursor: pointer; }
.mu-jam-switch > span:first-child { flex: 1; min-width: 0; }
.mu-jam-switch b { display: block; font-size: 0.86rem; }
.mu-jam-switch small { display: block; font-size: 0.74rem; color: rgba(var(--ink-rgb),  0.55); line-height: 1.35; }
.mu-jam-switch .mu-switch { margin: 0; padding: 0; background: none; }
.mu-jam-switches .mu-pill, .mu-jam-listen { align-self: stretch; justify-content: center; margin: 0; }
.mu-pill.primary { background: var(--accent-cyan); color: var(--on-accent); }
.mu-jam-hint { margin: 0; font-size: 0.8rem; line-height: 1.45; color: rgba(var(--ink-rgb),  0.62); }
.mu-q-h { margin: 6px 0 0; font: 700 0.84rem var(--font-ui); color: rgba(var(--ink-rgb),  0.85); }
.mu-jam-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mu-jam-row .mu-grow { flex: 1; min-width: 0; }
.mu-jam-row b, .mu-jam-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mu-jam-row b { font-size: 0.84rem; }
.mu-jam-row small { font-size: 0.74rem; color: rgba(var(--ink-rgb),  0.55); }
.mu-jam-people { display: flex; flex-wrap: wrap; gap: 6px; }
.mu-jam-people span { padding: 4px 10px; border-radius: calc(99px * var(--round, 1)); background: rgba(var(--ink-rgb),  0.07); font-size: 0.76rem; }
.mu-jampanel .mu-empty.small { padding: 24px 18px; }
.qp-in-music { margin-top: 6px; }
@media (max-width: 760px) {
    .mu-jampanel { left: 8px; right: 8px; width: auto; top: 8px; bottom: 8px; z-index: 2600; }
}

/* public playlists */
.mu-pub-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: calc(99px * var(--round, 1)); background: rgba(var(--accent-rgb), 0.14); color: var(--accent-soft); font: 700 0.68rem var(--font-ui); letter-spacing: 0.04em; text-transform: uppercase; vertical-align: middle; }
.mu-pub-badge .material-symbols-outlined { font-size: 0.9rem; }
.mu-pub-search { position: relative; display: flex; align-items: center; max-width: 460px; margin: 4px 0 18px; }
.mu-pub-search .material-symbols-outlined { position: absolute; left: 14px; color: var(--text-muted); pointer-events: none; }
.mu-pub-search input { width: 100%; padding: 11px 16px 11px 44px; border-radius: calc(100px * var(--round, 1)); border: 1px solid var(--line-strong); background: rgba(var(--ink-rgb),  0.05); color: var(--text-main); font: 500 16px var(--font-ui); outline: none; }
.mu-pub-search input:focus { border-color: var(--border-focus); }
.mu-pub-by { color: rgba(var(--ink-rgb),  0.75); }
.mu-pl-public.on { color: var(--accent-cyan); }
.mu-sub { margin: -6px 0 14px; color: rgba(var(--ink-rgb),  0.65); font-size: 0.9rem; line-height: 1.5; }

/* ---- Quasar Connect (connect.js): the speaker button, "Playing on…", the devices menu ---- */
.mu-connect-btn.on { color: var(--accent-cyan); }
.mu-connect-strip { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; font: 600 0.72rem var(--font-ui);
    color: var(--on-accent, #001018); background: var(--accent-cyan); border-radius: 999px; padding: 3px 12px 3px 8px; white-space: nowrap; }
.mu-connect-strip[hidden] { display: none; }
.mu-connect-strip .material-symbols-outlined { font-size: 16px; }
.mu-connect-strip span { overflow: hidden; text-overflow: ellipsis; }
.mu-connect-strip.off { background: color-mix(in oklab, var(--text-muted), transparent 30%); color: var(--bg-base, #05060d); }
.mu-connect-strip.bar { position: absolute; left: 50%; top: 0; transform: translate(-50%, -55%); max-width: calc(100% - 40px); box-shadow: 0 4px 14px rgba(0, 0, 0, calc(0.4 * var(--shadow-k, 1))); }
.mu-connect-strip.np { align-self: center; margin: 4px auto 0; font-size: 0.8rem; padding: 6px 16px 6px 12px; }
.mu-connect-menu { position: fixed; z-index: 3200; width: 320px; max-height: min(70vh, 460px); overflow-y: auto; padding: 14px;
    border-radius: calc(16px * var(--round, 1)); border: 1px solid rgba(var(--ink-rgb), 0.1);
    background: color-mix(in oklab, rgba(10, 12, 26, 0.98), rgba(255, 255, 255, 0.98) var(--bg-light, 0%)); color: var(--text-main);
    box-shadow: 0 18px 50px rgba(0, 0, 0, calc(0.55 * var(--shadow-k, 1))); animation: mu-cm-in 0.16s ease-out; }
@keyframes mu-cm-in { from { opacity: 0; transform: translateY(6px); } }
.mu-cm-head { display: flex; gap: 12px; align-items: center; padding: 2px 4px 12px; }
.mu-cm-head > .material-symbols-outlined { font-size: 30px; color: var(--accent-cyan); }
.mu-cm-head h4 { margin: 0; font: 700 0.98rem var(--font-ui); }
.mu-cm-head p { margin: 2px 0 0; font-size: 0.78rem; color: var(--text-muted); }
.mu-cm-list { display: flex; flex-direction: column; gap: 2px; }
.mu-cm-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: calc(10px * var(--round, 1));
    background: none; color: var(--text-main); cursor: pointer; text-align: left; font: inherit; }
.mu-cm-row:hover:not(:disabled) { background: rgba(var(--ink-rgb), 0.07); }
.mu-cm-row:disabled { opacity: 0.45; cursor: default; }
.mu-cm-row > .material-symbols-outlined { font-size: 26px; color: var(--text-muted); }
.mu-cm-row.on > .material-symbols-outlined, .mu-cm-row.on b { color: var(--accent-cyan); }
.mu-cm-name { display: flex; flex-direction: column; min-width: 0; }
.mu-cm-name b { font-weight: 600; font-size: 0.88rem; }
.mu-cm-name small { font-size: 0.74rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mu-cm-tip { display: flex; gap: 8px; margin: 10px 4px 2px; font-size: 0.76rem; line-height: 1.45; color: var(--text-muted); }
.mu-cm-tip .material-symbols-outlined { font-size: 18px; }
@media (max-width: 760px) {
    .mu-connect-menu { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); width: auto; max-height: 70vh; }
    .mu-connect-strip.bar { transform: translate(-50%, -70%); font-size: 0.68rem; }
}
html[data-fancy="low"] .mu-connect-menu { animation: none; }
/* (phones: the bar is tight, so the speaker button only shows when there's another device to play on) */
@media (max-width: 760px) { .mu-bar-right .mu-connect-btn:not(.has):not(.on) { display: none; } }
/* (a remote streams nothing, so Performance mode has nothing to do there) */
.mu-bar.remote .mu-lite-btn { display: none; }
