@font-face{font-family:DM Sans;src:url('/fonts/dm-sans.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:DM Sans;src:url('/fonts/dm-sans-medium.woff2') format('woff2');font-weight:500 700;font-display:swap}
/* A true semibold under its own name, for the player's song title alone: the face above draws every weight from 500 up as medium. */
@font-face{font-family:DM Sans Semibold;src:url('/fonts/dm-sans-semibold.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Monofett;src:url('/fonts/monofett.woff2') format('woff2');font-weight:400;font-display:swap}
:root{color-scheme:dark;--canvas:#000000;--panel:#0b0b0b;--panel-hover:#1d1d1d;--line:#2b2b2b;--text:#f2f2f2;--muted:#b9b9b9;--faint:var(--muted);--control-line:#7d7d7d;--accent:#e5c18a;--accent-ink:color-mix(in srgb,var(--accent) 70%,#fff);--accent-dim:color-mix(in srgb,var(--accent) 85%,#000);--accent-line:color-mix(in srgb,var(--accent) 40%,#000);--accent-wash-soft:color-mix(in srgb,var(--accent) 11%,#000);--accent-wash:color-mix(in srgb,var(--accent) 17%,#000);--accent-wash-strong:color-mix(in srgb,var(--accent) 25%,#000);--font:'DM Sans',sans-serif;--brand-font:'Monofett',cursive;--fill-1:#ffffff0d;--fill-2:#ffffff17;--fill-hover:#ffffff24;--edge:#ffffff1f;--r-card:12px;--r-pill:999px}
*{box-sizing:border-box;letter-spacing:0}
[hidden]{display:none!important}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--canvas);color:var(--text);font:13px var(--font)}
button,input,select{font:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button{color:inherit;cursor:pointer}
button:disabled{cursor:default;opacity:.38}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
button{border:0;background:none}
a{color:inherit;text-decoration:none}
svg{width:17px;height:17px;stroke-width:1.5;flex-shrink:0}
#graph,#labels{position:absolute;inset:0;width:100%;height:100%}
#graph{outline:none;touch-action:none}
#graph:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}
#graph canvas{display:block;width:100%;height:100%;outline:none}
#labels{pointer-events:none}
.topbar{height:65px;position:absolute;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 26px;border-bottom:0;background:none;gap:18px;pointer-events:none}
.topbar>*{pointer-events:auto}
.identity{display:flex;align-items:center;gap:12px;min-height:24px;white-space:nowrap}
/* Monofett as it is on the front page: no stroke (a canvas-coloured one ate into the white tiles and made the letters heavier). */
.identity>span:not(.slash){font:400 28px var(--brand-font);letter-spacing:.05em;line-height:1}
.identity .slash{color:#565e66;margin:0 3px}
h1{font-size:14px;font-weight:400;margin:0;color:#bfbfbf}
.topbar-end{display:flex;align-items:center;gap:20px}
.account{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}
.account[hidden]{display:none}
.account a{display:inline-flex;align-items:center;min-height:24px;color:var(--muted)}
.status-indicator{width:5px;height:5px;border-radius:50%;background:var(--accent);flex-shrink:0}
.search-area{position:absolute;top:86px;left:24px;width:267px;z-index:5}
.search-box{display:flex;align-items:center;gap:10px;padding:0 16px;height:44px;background:#101010;border:0;border-radius:6px;box-shadow:0 3px 15px #0001}
.search-box>svg{color:var(--muted);width:16px;height:16px}
.search-box:focus-within{background:var(--accent-wash-soft)}
#search{padding:0;min-width:0;flex:1;color:var(--text);background:none;border:0;font-size:12px;outline:none}
#search::placeholder{color:var(--muted)}
#search::-webkit-search-cancel-button{display:none;-webkit-appearance:none}
/* Our own cross, so every browser has the same one. It shows while the box holds text, and takes the "/" hint's place. */
.search-clear{display:none;flex:none;width:28px;height:28px;margin:0 -6px 0 -8px;place-items:center;border-radius:6px;color:var(--muted)}
.search-clear:hover{color:var(--text)}
.search-clear svg{width:16px;height:16px}
#search:not(:placeholder-shown)~.search-clear{display:grid}
#search:not(:placeholder-shown)~.search-key{display:none}
.search-key{border:0;border-radius:3px;color:var(--muted);font-size:12px;width:18px;height:20px;display:grid;place-items:center}
.clear-near{position:absolute;top:98px;left:346px;z-index:5;min-height:28px;padding:4px 8px;font-size:12px;color:var(--accent);text-decoration:underline;text-underline-offset:3px;text-shadow:0 0 6px #000,0 0 2px #000}
.clear-near:hover{color:var(--text)}
.clear-near:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.search-results{scrollbar-width:thin;scrollbar-color:#3e454d transparent;margin-top:10px;background:#000;border:0;border-radius:6px;max-height:min(490px,65vh);overflow:auto;box-shadow:0 12px 40px #0005;padding:5px}
.search-result{width:100%;text-align:left;display:flex;align-items:center;gap:12px;padding:12px 12px;border-radius:4px;min-height:51px}
.search-result:hover,.search-result[aria-selected=true]{background:#2e2e2e}
.result-dot{width:5px;height:5px;border-radius:50%;background:var(--accent);flex-shrink:0}
.result-cover{width:28px;height:28px;border-radius:4px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#1a1a1a;position:relative;overflow:hidden}
.result-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.search-corrected{padding:10px 16px 2px;font-size:13px;color:var(--muted)}
.search-corrected strong{color:var(--text);font-weight:500}
.result-cover.is-person{width:34px;height:34px;border-radius:50%;font:600 11px/1 var(--font);letter-spacing:.04em;color:var(--muted)}
.result-cover.is-person img{animation:person-in .25s ease-out}
@keyframes person-in{from{opacity:0}}
.result-copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:3px}
.result-copy strong{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.result-copy small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.result-count{font-size:12px;color:var(--faint)}
.search-empty{padding:17px 10px;color:var(--muted);line-height:1.5}
.search-pending{display:flex;align-items:center;gap:10px}
.search-dots{display:inline-flex;gap:4px}
.search-dots i{width:5px;height:5px;border-radius:50%;background:var(--accent);animation:breathe 1s ease-in-out infinite}
.search-dots i:nth-child(2){animation-delay:.15s}.search-dots i:nth-child(3){animation-delay:.3s}
.search-box.is-searching>svg{color:var(--accent);animation:breathe 1s ease-in-out infinite}
.icon-button{width:32px;height:32px;display:inline-grid;place-items:center;padding:0;flex-shrink:0;border-radius:4px;color:#b6b6b6}
.icon-button:hover{background:#323232;color:#e9e9e9}
.icon-button[aria-pressed=true]{background:var(--accent-wash-strong);color:var(--accent)}
.settings-toggle{position:absolute;left:300px;top:90px;width:34px;height:34px;border:0;background:var(--canvas);z-index:5}
.settings-toggle[aria-expanded=false]{color:var(--muted)}
.settings-panel{position:absolute;left:24px;top:141px;width:267px;border:0;border-radius:6px;background:#000;padding:26px 24px 24px;z-index:3;max-height:calc(100dvh - 215px - var(--now-shift));overflow:auto;box-shadow:0 3px 20px #0001;scrollbar-width:thin;scrollbar-color:#3e454d transparent}
.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.panel-heading h2{font-size:13px;font-weight:500;margin:0;color:#dddddd}
.tiny-dot{width:4px;height:4px;border-radius:50%;background:#676d6a}
.check-row{display:flex;align-items:center;gap:10px;cursor:pointer;min-height:36px;font-size:12px;color:#c0c0c0}
.check-row input{appearance:none;width:14px;height:14px;flex-shrink:0;border:0;border-radius:3px;margin:0;cursor:pointer;display:grid;place-content:center;background:#151515}
.check-row input:checked{background:var(--accent)}
.check-row input:checked:before{content:'';width:6px;height:3px;border-bottom:1.5px solid #000;border-left:1.5px solid #000;transform:rotate(-45deg) translateY(-1px)}
.line-swatch{height:1px;width:20px;margin-left:auto;background:#b6b6b6}
.artist-swatch{background:#9b9385}
.section-rule{height:0;margin:30px 0}
.field-label{display:block;margin-bottom:10px;font-size:12px;color:#d6d6d6}
select{width:100%;height:33px;border:0;border-radius:4px;background:#1a1a1a;padding:0 8px;color:#c4c4c4;font-size:12px;text-overflow:ellipsis}
.filter-list{display:flex;flex-direction:column;gap:12px}
.filter-row{display:flex;align-items:center;gap:5px}
.junction-row{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:12px;color:var(--muted)}
.junction-row select{width:auto;flex:0 1 auto;font-size:12px;color:var(--text)}
.rule-card{display:flex;flex-direction:column;gap:10px;padding:12px;border:0;border-radius:6px;background:#0b0b0b}
.rule-head{display:flex;align-items:center;gap:2px}
.rule-head select,.junction-row select{height:28px;min-width:0;padding:0 22px 0 8px;appearance:none;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23b9b9b9' stroke-width='1.4'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 7px center;border-radius:4px;cursor:pointer}
.rule-head select{margin-left:-8px}
.rule-head select:hover,.junction-row select:hover{background-color:var(--panel-hover)}
.rule-head select option,.junction-row select option{background:#1a1a1a;color:var(--text)}
.rule-head .rule-field{width:auto;flex:0 1 auto;font-size:13px;font-weight:500;color:var(--text)}
.rule-head .rule-operator{width:auto;flex:1;font-size:12px;color:var(--muted)}
.rule-head .filter-clear{margin-left:auto}
.rule-value{flex:1;min-width:0;display:flex;align-items:center;gap:5px}
.rule-value input{width:100%;height:32px;border:0;border-radius:4px;background:#000;padding:0 10px;color:var(--text);font-size:12px}
.rule-value input::placeholder{color:var(--muted)}
.rule-chips{flex-wrap:wrap;gap:6px}
.chip{display:inline-flex;align-items:center;gap:5px;max-width:100%;height:26px;padding:0 6px 0 9px;border-radius:4px;background:var(--accent-wash-soft);color:var(--accent-ink);font-size:12px}
.chip span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chip svg{width:16px;height:16px;opacity:.7}
.chip:hover{background:var(--accent-wash)}
.chip:hover svg{opacity:1}
.rule-chosen{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 8px;border-radius:4px;font-size:12px;color:var(--accent);white-space:nowrap}
.rule-chosen svg{width:16px;height:16px}
.rule-chosen:hover,.rule-chosen[aria-expanded=true]{background:var(--accent-wash);color:var(--accent-ink)}
.rule-chosen.empty{flex:1;height:32px;justify-content:space-between;padding:0 10px;background:#000;color:var(--muted)}
.rule-chosen.empty:hover,.rule-chosen.empty[aria-expanded=true]{background:#141414;color:var(--text)}
.filter-button{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;align-items:flex-start;text-align:left;padding:7px 9px;border:0;border-radius:4px;background:#1a1a1a}
.filter-button:hover{background:#222222}
.filter-button[aria-expanded=true]{background:var(--accent-wash)}
.filter-row.active .filter-button{background:var(--accent-wash-soft)}
.filter-kind{font-size:12px;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}
.filter-value{font-size:12px;color:#c4c4c4;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.filter-row.active .filter-value{color:var(--accent-ink)}
.filter-clear{width:26px;height:26px}
.filter-clear svg{width:16px;height:16px}
.text-button{min-height:24px;font-size:12px;color:var(--muted);padding:4px 6px}
.text-button:hover{color:var(--accent)}
.picker{margin-top:6px;border:0;border-radius:6px;background:#101010;padding:8px}
#picker-search{width:100%;height:34px;border:0;border-radius:4px;background:#000;padding:0 10px;color:var(--text);font-size:12px}
#picker-search::placeholder{color:var(--muted)}
.picker-results{max-height:248px;overflow:auto;margin-top:6px;scrollbar-width:thin;scrollbar-color:#3e454d transparent}
.picker-row{display:flex;align-items:center;gap:4px}
.picker-row .picker-option{flex:1;min-width:0}
.picker-expand{width:32px;height:32px;flex-shrink:0;display:grid;place-content:center;border-radius:4px;color:var(--muted)}
.picker-expand:hover,.picker-expand:focus-visible{background:var(--panel-hover);color:var(--text)}
.picker-expand svg{width:16px;height:16px;transition:transform .15s}
.picker-expand[aria-expanded=true] svg{transform:rotate(180deg)}
.picker-styles{padding-left:24px}
.picker-styles:empty{display:none}
.picker-option{width:100%;text-align:left;display:flex;align-items:center;gap:10px;padding:8px;border-radius:4px;min-height:42px}
.picker-option:hover,.picker-option:focus-visible{background:var(--panel-hover)}
.picker-option:focus-visible{outline-offset:-2px}
.picker-check{width:14px;height:14px;flex-shrink:0;border:0;border-radius:3px;background:#1d1d1d;display:grid;place-content:center}
.picker-option[aria-selected=true] .picker-check{background:var(--accent)}
.picker-option[aria-selected=true] .picker-check:before{content:'';width:6px;height:3px;border-bottom:1.5px solid #000;border-left:1.5px solid #000;transform:rotate(-45deg) translateY(-1px)}
.picker-option>span{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.picker-option strong{font-size:13px;font-weight:400;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.picker-option[aria-selected=true] strong{font-weight:500;color:var(--accent-ink)}
.picker-option small:empty{display:none}
.picker-option small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.picker-option b{font-size:12px;font-weight:400;color:var(--muted);font-variant-numeric:tabular-nums}
.picker-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px;padding-left:2px}
.picker-foot .text-button{color:var(--accent);font-size:12px;padding:4px 8px}
.picker-status{font-size:12px;color:var(--muted);margin:0;min-height:12px}
.filter-status{font-size:12px;color:#d0d0d0;line-height:1.5;min-height:15px;margin:14px 0 0;overflow-wrap:anywhere}
.scene-scope{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--accent)}
.text-action{display:flex;align-items:center;gap:6px;width:100%;margin-top:22px;padding:10px 12px;border:0;border-radius:4px;font-size:12px;color:var(--accent)}
#add-rule{margin-top:10px}
.text-action:hover{background:var(--accent-wash);color:var(--accent-ink)}
.text-action svg{width:16px;height:16px;margin-left:auto}
.return-global{margin-top:18px;color:var(--accent);text-decoration:underline}
.slider-label{display:flex;justify-content:space-between;font-size:12px;color:#bbbbbb;margin:22px 0 8px}
output{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
input[type=range]{width:100%;height:24px;margin:0;appearance:none;background:transparent;cursor:pointer}
input[type=range]::-webkit-slider-runnable-track{height:2px;background:var(--control-line);border-radius:0}
input[type=range]::-webkit-slider-thumb{appearance:none;width:14px;height:14px;border-radius:50%;background:#d3d3d3;margin-top:-6px}
input[type=range]::-moz-range-track{height:2px;background:var(--control-line)}
input[type=range]::-moz-range-thumb{width:14px;height:14px;border:0;background:#d3d3d3;border-radius:50%}
.range-pair{position:relative;height:24px}
.range-pair::before,.range-pair::after{content:'';position:absolute;top:50%;height:2px;transform:translateY(-50%)}
.range-pair::before{left:0;right:0;background:var(--control-line)}
.range-pair::after{left:var(--from,0%);right:var(--to,0%);background:var(--accent-dim)}
.range-pair input[type=range]{position:absolute;left:0;top:0;width:100%;pointer-events:none;z-index:2}
.range-pair input[type=range]::-webkit-slider-runnable-track{background:transparent}
.range-pair input[type=range]::-moz-range-track{background:transparent}
.range-pair input[type=range]::-webkit-slider-thumb{pointer-events:auto}
.range-pair input[type=range]::-moz-range-thumb{pointer-events:auto}
.compact{margin-top:9px;min-height:25px}
.detail-panel{position:absolute;right:24px;top:86px;width:300px;max-height:calc(100dvh - 170px);overflow:auto;background:#000;border:0;border-radius:6px;padding:16px 24px 22px;z-index:3;scrollbar-width:thin;scrollbar-color:#3e454d transparent;animation:panel-in .2s ease-out}
.detail-top{display:flex;align-items:center;justify-content:space-between;margin-right:-7px}
.eyebrow{font-size:12px;color:var(--muted)}
.cover-art{margin:16px 0 0;aspect-ratio:1;border:0;border-radius:4px;overflow:hidden;background:#121212}
.cover-art[data-state=loading]{animation:breathe 1.8s ease-in-out infinite}
.cover-art img{display:block;width:100%;height:100%;object-fit:cover}
.cover-art:not([data-state=ready]) img{visibility:hidden}
/* The order is the same on the map card, the bar and the player: the song, then "by" its artist, then labelled facts. */
.song-heading{margin:18px 0 16px;overflow-wrap:anywhere}
.song-heading h2{font-weight:500;font-size:18px;line-height:1.25;margin:0;color:#fff}
.song-by{margin:4px 0 0;color:var(--accent);font-size:13px;line-height:1.35}
.song-facts{display:grid;gap:5px;margin:12px 0 0}
.song-facts>div{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;align-items:baseline}
.song-facts dt{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.song-facts dd{margin:0;font-size:13px;line-height:1.35;color:#e0e0e0}
.preview-block{margin:0 0 8px}
.preview-row{display:flex;align-items:center;gap:10px;min-height:32px}
.preview-row>.icon-button{width:28px;height:28px;border:0;color:var(--accent)}
.preview-copy{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;column-gap:6px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
#preview-status{margin:0;color:#c1c1c1}
/* The family of surfaces the panels share. Fills are translucent white, not near-black, so they still read where the glass
   lies over an empty part of the map (a near-black fill on near-black glass vanished there). */
.pill,.genre-tag{display:inline-flex;align-items:center;min-height:26px;padding:0 11px;border-radius:var(--r-pill);background:var(--fill-2);box-shadow:inset 0 0 0 1px var(--edge);color:#e6e6e6;font-size:12px;line-height:1.2;white-space:nowrap}
.pill.is-quiet,.genre-tag.is-genre{background:transparent;color:var(--muted)}
.pill.is-count{min-height:22px;padding:0 9px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.genre-tag:hover,.genre-tag:focus-visible{background:var(--accent-wash);color:var(--accent-ink)}
.card{position:relative;display:block;width:100%;min-width:0;padding:10px;border-radius:var(--r-card);background:var(--fill-1);box-shadow:inset 0 0 0 1px var(--edge);text-align:left}
button.card:hover,.card.is-link:hover{background:var(--fill-2)}
.cards{display:grid;gap:8px}
/* The links to the streaming services sit in a tray of their own, as the genre pills do: glyphs (simple-icons, CC0) in the accent colour. */
.playlist-block{margin:0 0 14px}
.tray{padding:4px 6px;border-radius:var(--r-card);background:var(--fill-1);box-shadow:inset 0 0 0 1px var(--edge)}
.playlist-row{display:flex;justify-content:space-between;gap:2px}
.playlist-row>a{display:grid;place-items:center;width:38px;height:36px;border:0;border-radius:8px;color:var(--accent)}
.playlist-row>a:hover{background:var(--accent-wash);color:var(--accent-ink)}
.playlist-row>a svg{width:18px;height:18px;fill:currentColor}
.song-genres{display:flex;flex-wrap:wrap;gap:6px;margin:-4px 0 14px}
.song-bio{margin:4px 0 0}
.song-bio summary{display:flex;align-items:center;gap:6px;min-height:32px;cursor:pointer;list-style:none;font-size:12px;font-weight:500;color:#cccccc}
.song-bio summary::-webkit-details-marker{display:none}
.song-bio summary svg{width:16px;height:16px;color:var(--muted);transition:transform .15s}
.song-bio[open] summary svg{transform:rotate(180deg)}
.song-bio p{font-size:13px;line-height:1.55;color:#d4d4d4;margin:4px 0 0}
.song-bio .song-bio-credit{font-size:9px;color:var(--muted);margin-top:8px}
.detail-section-heading{display:flex;align-items:center;justify-content:space-between;margin:26px 0 10px;color:var(--muted)}
.detail-section-heading h3{font-size:13px;color:#e6e6e6;font-weight:500;margin:0}
/* Played with: crate sleeves. A song is a square sleeve, two across: the cover to the edge with hard corners, the title and "by" its artist
   set tight underneath, and what ties it to this song in small capitals. A song with no cover gets the white-label record on a blank sleeve (.no-cover). */
.connections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
.appearances{display:grid;gap:10px}
.connection.card--track{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:0;border-radius:0;background:none;box-shadow:none}
.connection.card--track:hover{background:none}
.card--track .card-art{position:relative;display:block;width:100%;height:auto;aspect-ratio:1;border-radius:0;background-color:#161616;overflow:hidden}
.card--track .card-art img{display:block;width:100%;height:100%;object-fit:cover}
/* A hairline round the sleeve, so a cover as dark as the panel still has an edge; amber when it is the one under the pointer. */
.card--track .card-art::after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ffffff1f;pointer-events:none}
.connection.card--track:hover .card-art::after,.connection.card--track:focus-visible .card-art::after{box-shadow:inset 0 0 0 2px var(--accent)}
.connection.offmap .card-art{filter:grayscale(1);opacity:.6}
.card-text{min-width:0;display:flex;flex-direction:column;gap:2px}
.card-text strong{font-size:13px;font-weight:500;line-height:1.3;color:#f0f0f0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-text small{font-size:12px;line-height:1.35;color:var(--accent-dim);overflow-wrap:anywhere}
.card-pills{display:flex;flex-direction:column;align-items:flex-start;gap:1px 0;margin-top:4px}
.card-pills .pill{min-height:0;padding:0;border-radius:0;background:none;box-shadow:none;font-size:11px;font-weight:500;letter-spacing:.07em;line-height:1.5;text-transform:uppercase;color:var(--muted);white-space:normal}
.card-pills .pill.is-quiet{color:#8f8f8f}
.connection.offmap .card-text strong{color:#c4c4c4}
/* Played by: a set on a strip. The source is stamped on a rectangular label, the mix is the title, and a ruler shows where in it the song
   comes in. The play control is a hard-cornered amber button. */
.appearance.card--mix{display:grid;gap:10px;padding:12px;border-radius:0}
.appearance-link{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:8px}
.appearance-link small{display:inline-flex;align-items:center;padding:2px 7px;border-radius:0;box-shadow:inset 0 0 0 1px #ffffff47;font-size:11px;font-weight:600;letter-spacing:.08em;line-height:1.35;text-transform:uppercase;color:#e0e0e0;overflow-wrap:anywhere}
.appearance-link small svg,.appearance-link small i{display:none}
.appearance strong{font-size:14px;font-weight:600;line-height:1.3;color:#f2f2f2;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mix-timeline{display:grid;gap:6px}
.mix-line{position:relative;height:12px;background:linear-gradient(#ffffff40,#ffffff40) left bottom/100% 1px no-repeat,repeating-linear-gradient(90deg,#ffffff40 0 1px,transparent 1px 10%) left bottom/100% 6px no-repeat}
.mix-line b{position:absolute;left:0;bottom:0;width:var(--at,0%);height:2px;background:var(--accent-line)}
.mix-line i{position:absolute;left:var(--at,0%);bottom:0;width:2px;height:12px;margin-left:-1px;background:var(--accent)}
.mix-caption{font-size:11px;letter-spacing:.04em;color:var(--muted);font-variant-numeric:tabular-nums}
.card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.mix-cue{flex-shrink:0;display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 8px;border-radius:2px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.mix-cue:hover{color:var(--text);background:var(--fill-hover)}
.mix-cue svg{width:16px;height:16px}
.mix-cue.mix-play{padding:0 12px 0 9px;background:var(--accent);color:#000;font-weight:600;letter-spacing:.02em}
.mix-cue.mix-play:hover{background:var(--accent);filter:brightness(1.08)}
.card--mix .card-actions .pill{min-height:0;padding:0 2px;border-radius:0;background:none;box-shadow:none;font-size:11px;font-weight:500;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);font-variant-numeric:tabular-nums}
.mix-list-toggle{margin-left:auto;padding:0 6px 0 10px}
.mix-list-toggle svg{transition:transform .15s}
.mix-list-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.appearance[aria-current]{background:var(--accent-wash-soft);box-shadow:inset 0 0 0 1px var(--accent-line)}
/* SoundCloud's own player plays the mix, out of sight: ours is the bar and the full player. Not display:none, which would stop it. */
.mix-player{position:fixed;left:-9999px;top:0;width:240px;height:120px;opacity:0;pointer-events:none}
.mix-player iframe{display:block;width:100%;height:100%;border:0}
.empty-detail{font-size:12px;color:var(--muted);line-height:1.6;padding:5px 0}
.top-panel{position:absolute;right:24px;top:86px;width:300px;max-height:calc(100dvh - 170px);overflow:auto;background:#000;border:0;border-radius:6px;padding:22px 18px 18px 22px;z-index:3;scrollbar-width:thin;scrollbar-color:#3e454d transparent;animation:panel-in .2s ease-out}
.top-panel .panel-heading{margin:0 4px 8px 0}
.top-count{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.top-list{list-style:none;margin:0;padding:0}
.top-song{width:100%;text-align:left;display:flex;align-items:center;gap:12px;padding:10px 8px;border-radius:4px;min-height:44px}
.top-song:hover{background:#222222}
.top-list li{position:relative}
.top-song.has-tags{padding-bottom:29px}
/* The tags are buttons of their own, laid over the song's row under its title (rank 16 + gap 12 + padding 8 in).
   Each has a transparent 4px border, so the chip is 16px tall but the tap area is 24px; the row shows whole tags only. */
.top-tags{position:absolute;left:34px;right:6px;bottom:5px;display:flex;flex-wrap:wrap;max-height:24px;overflow:hidden}
.top-tag{flex:none;max-width:100%;padding:0 7px;border:solid transparent;border-width:4px 2px;border-radius:999px;background:var(--fill-2) padding-box;color:#d0d0d0;font-size:11px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top-tag.is-genre{background:var(--fill-1) padding-box;color:var(--muted)}
.top-tag:hover,.top-tag:focus-visible{background:var(--accent-wash) padding-box;color:var(--accent-ink)}
.top-number{width:16px;flex-shrink:0;text-align:right;font-size:12px;color:var(--faint);font-variant-numeric:tabular-nums}
/* The short view a search opens for a DJ, an artist, a label or a source: the song panel's glass, a head with a picture or initials,
   one row of pills (play, see more), then the most played songs and the sets. */
.entity-head{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:16px 0 0}
.entity-head .result-cover.is-person{width:128px;height:128px;font-size:34px}
.entity-head .is-initials .result-cover.is-person{width:72px;height:72px;font-size:22px}
.entity-head-text{min-width:0}
.entity-head h2{font-weight:500;font-size:20px;line-height:1.25;margin:0;color:#fff;overflow-wrap:anywhere}
.entity-meta{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.4}
.entity-tags{margin:14px 0 0}
.entity-when{margin:26px 0 4px}
.entity-when-list{margin:0;gap:14px}
.entity-when-list>div{grid-template-columns:minmax(0,1fr);gap:4px}
.entity-when-list dd{margin:0}
.entity-when-set{display:grid;gap:2px;width:100%;padding:0;text-align:left;color:inherit}
.entity-when-set strong{font-size:14px;font-weight:500;color:#ececec}
.entity-when-set span{font-size:12px;line-height:1.4;color:var(--muted);overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.entity-when-set:hover strong{color:var(--accent)}
.entity-when-note{margin:14px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}
.entity-bio{margin:16px 0 0}
.entity-bio-text{margin:0;font-size:13px;line-height:1.55;color:#d4d4d4;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}
.entity-bio-text.is-open{display:block;-webkit-line-clamp:unset}
.entity-bio .text-button{margin:4px 0 0;padding:0}
.entity-bio-credit{margin:8px 0 0;font-size:11px;line-height:1.4;color:var(--muted)}
.entity-bio-credit a{color:inherit}
/* The share menu and the card a shared link lands on: the glass family, a dark wash with a little of the playing cover's colour, a
   hairline edge, a soft float shadow. Where the browser cannot blur they keep a near-black fill. */
.mlink-menu,.shared-moment{position:fixed;border-radius:14px;background:rgba(14,14,14,.94);box-shadow:0 10px 36px #0008,inset 0 1px 0 #ffffff14,inset 0 0 0 1px #ffffff1a;color:var(--text)}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .mlink-menu,.shared-moment{background:linear-gradient(180deg,color-mix(in srgb,var(--tint,#000) 30%,rgba(10,10,10,.66)) 0%,rgba(10,10,10,.82) 100%);-webkit-backdrop-filter:blur(24px) saturate(150%);backdrop-filter:blur(24px) saturate(150%)}
}
.mlink-menu[hidden],.shared-moment[hidden]{display:none}
.mlink-menu{z-index:70;width:min(320px,calc(100vw - 16px));padding:14px 16px 16px}
.mlink-head{display:flex;align-items:center;justify-content:space-between;margin-right:-6px}
.mlink-head strong{font-size:13px;font-weight:500;color:#fff}
.mlink-what{margin:6px 0 12px;font-size:12px;line-height:1.45;color:var(--muted);overflow-wrap:anywhere}
.mlink-link{display:flex;gap:8px}
.mlink-link input{flex:1;min-width:0;height:36px;padding:0 12px;border:0;border-radius:12px;background:var(--fill-2);box-shadow:inset 0 0 0 1px var(--edge);color:#e6e6e6;font:12px var(--font)}
.mlink-link input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.mlink-link .mix-cue{min-height:36px;padding:0 14px}
.mlink-from{display:flex;align-items:center;gap:9px;margin:12px 0 0;font-size:13px;color:#e6e6e6;cursor:pointer}
.mlink-from input{width:16px;height:16px;margin:0;accent-color:var(--accent)}
.mlink-menu #mlink-native{margin-top:12px;background:var(--fill-2);box-shadow:inset 0 0 0 1px var(--edge);color:#e6e6e6}
.shared-moment{z-index:8;left:50%;bottom:26px;transform:translateX(-50%);display:flex;align-items:center;gap:12px;width:min(520px,calc(100vw - 24px));padding:12px 10px 12px 18px}
.shared-text{flex:1;min-width:0;display:grid;gap:3px}
.shared-text strong{font-size:13px;font-weight:500;color:#fff;line-height:1.35;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.shared-text span{font-size:12px;color:var(--muted);line-height:1.4;overflow-wrap:anywhere}
.shared-moment .mix-play{flex:none;min-height:40px;padding:0 16px 0 13px}
@media(max-width:900px){.shared-moment{bottom:80px}}
@media(max-width:600px){#pb-share{display:none}}
.entity-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.entity-actions:empty{display:none}
.entity-actions .mix-cue:not(.mix-play){background:var(--fill-2);box-shadow:inset 0 0 0 1px var(--edge);color:#e6e6e6}
.entity-actions .mix-cue:not(.mix-play):hover{background:var(--fill-hover)}
.entity-panel .top-status{margin:10px 0 0}
.entity-locked{display:grid;gap:8px;justify-items:start;margin:6px 0 0;padding:10px 8px;border-radius:var(--r-card);background:var(--fill-1);box-shadow:inset 0 0 0 1px var(--edge);font-size:12px;color:var(--muted);line-height:1.45}
.top-status{font-size:12px;color:var(--muted);margin:4px 0 6px;line-height:1.5}
.top-status:empty{display:none}
.hover-tip{position:absolute;pointer-events:none;z-index:7;display:flex;align-items:flex-start;gap:9px;width:max-content;max-width:250px;background:#000000e6;border:0;border-radius:5px;padding:7px 10px 7px 7px;box-shadow:0 4px 16px #0007}
.hover-art{flex:none;width:42px;height:42px;border-radius:3px;background:#1a1a1a;overflow:hidden}
.hover-art img{display:block;width:100%;height:100%;object-fit:cover}
.hover-text{min-width:0;display:flex;flex-direction:column;gap:1px}
.hover-text strong{font-size:11.5px;font-weight:600;color:#f2f2f2;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hover-text>span{font-size:11px;color:#c4c4c4;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hover-text>#hover-album{color:var(--muted)}
.hover-tags{display:flex;flex-wrap:wrap;gap:3px;margin-top:3px}
.hover-tag{padding:0 6px;border-radius:999px;background:#ffffff14;color:#d6d6d6;font-size:10px;line-height:1.6;white-space:nowrap}
.status-bar{text-shadow:0 0 6px #000,0 0 2px #000;position:absolute;bottom:calc(26px + var(--now-shift));left:26px;display:flex;gap:10px;align-items:center;pointer-events:none;color:var(--muted);font-size:12px;z-index:2;font-variant-numeric:tabular-nums}
.status-bar strong{font-weight:400;color:#c6c6c6}
/* The counts ("50,000 songs / 57,595 links shown") are not shown on any screen; the filter's summary line (.scene-scope) still is. */
.status-bar>:not(.scene-scope){display:none}
.status-divider{color:#464e56;margin:0 3px}
.status-indicator{width:4px;height:4px;background:var(--accent-dim);margin-right:3px}
.canvas-tools{position:absolute;right:24px;bottom:calc(18px + var(--now-shift));display:flex;align-items:center;padding:6px;background:#000;border:0;border-radius:6px;z-index:4}
.tool-divider{height:16px;width:0;margin:0 8px}
.random-toggle{flex:none;width:30px;height:30px;margin-left:4px;display:grid;place-items:center;border-radius:6px;color:var(--accent)}
.random-toggle:hover{background:var(--panel-hover)}
.random-toggle svg{width:17px;height:17px}
.zoom-level{display:grid;place-items:center;width:47px;color:#b2b2b2;font-size:12px;font-variant-numeric:tabular-nums}
.loading-screen{position:absolute;inset:65px 0 0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#000000f7;z-index:8}
.loading-screen h2{font-size:16px;font-weight:400;color:#dedede;margin:10px 0}
.loading-screen p{font-size:12px;color:#aeaeae;margin:0 20px 22px;text-align:center;max-width:400px;line-height:1.6}
progress{width:190px;height:2px;appearance:none;border:0;background:var(--accent-wash-strong)}
progress::-webkit-progress-bar{background:var(--accent-wash-strong)}
progress::-webkit-progress-value{background:var(--accent)}
.retry-button{padding:8px 18px;background:var(--accent-wash-strong);border:0;border-radius:4px}
.notice{position:absolute;bottom:80px;left:50%;transform:translateX(-50%);padding:11px 16px;background:var(--accent-wash);border:0;border-radius:4px;color:#dadada;z-index:9;max-width:calc(100% - 30px);font-size:12px;line-height:1.5}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.link-hint{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);display:flex;align-items:center;gap:18px;width:max-content;min-width:300px;max-width:min(520px,calc(100vw - 640px));padding:16px 16px 16px 24px;background:#000;border:0;border-radius:6px;z-index:4;font-size:12px;line-height:1.5;color:var(--text)}
.link-hint p{margin:0}
.hint-dismiss{flex-shrink:0;min-height:32px;padding:0 14px;border:0;border-radius:4px;font-size:12px;color:var(--accent)}
.hint-dismiss:hover{background:var(--accent-wash);color:var(--accent-ink)}
body[data-detail=open] .link-hint{display:none}
.view-options{margin-top:24px;padding-top:4px}
.view-options>summary{display:flex;align-items:center;gap:10px;min-height:32px;cursor:pointer;list-style:none;border-radius:4px;font-size:13px;font-weight:500;color:#dddddd}
.view-options>summary::-webkit-details-marker{display:none}
.view-options>summary small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400;color:var(--muted)}
.view-options>summary svg{margin-left:auto;width:16px;height:16px;color:var(--muted)}
.view-options[open]>summary svg{transform:rotate(180deg)}
.view-options>.slider-label:first-of-type{margin-top:10px}
/* The wheel's frame, after the reference: a quiet grey title top left, a strip of context bars bottom left. */
.context-legend{position:absolute;left:26px;bottom:calc(46px + var(--now-shift));display:flex;align-items:flex-end;gap:12px;z-index:2}
.context-strip{display:flex;align-items:flex-end;height:26px}
.context-bar{position:relative;width:14px;height:26px;padding:0;border-radius:0}
.context-bar::before{content:'';position:absolute;left:4px;right:4px;bottom:0;height:var(--h);background:var(--bar);opacity:.7}
.context-bar:hover::before,.context-bar:focus-visible::before,.context-bar[aria-pressed=true]::before{left:3px;right:3px;opacity:1}
.context-bar:focus-visible{outline-offset:1px}
.context-name{margin:0 0 1px;font-size:12px;color:var(--muted);white-space:nowrap;text-shadow:0 0 6px #000,0 0 2px #000}
.view-on{width:5px;height:5px;border-radius:50%;background:var(--accent);flex-shrink:0}
/* The line at the bottom that names the song the mix is on right now; the count and the strip step up over it. */
:root{--now-shift:0px}
body[data-now=on]{--now-shift:48px}
body[data-now=on] .link-hint{display:none}
/* The player bar along the bottom, like any player: the song the mix is on at the left, SoundCloud's strip beside it. */
.player-bar{position:absolute;left:0;right:0;bottom:0;height:68px;padding:0 8px 0 16px;display:flex;align-items:center;gap:2px;background:#000;background:color-mix(in srgb,var(--tint,#000) 22%,#000);z-index:6}
/* A 2px line to look at, a 20px strip to touch: a tap or a drag along it moves in the mix. */
.pb-progress{position:absolute;left:14px;right:14px;top:0;height:20px;z-index:1;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none}
.pb-track{position:absolute;left:0;right:0;top:0;height:2px;background:#ffffff1f;transform-origin:50% 0;transition:transform .12s}
.pb-track i{display:block;height:100%;background:var(--accent);transform-origin:0 50%;transform:scaleX(0)}
.pb-thumb{position:absolute;top:1px;left:0;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:var(--text);opacity:0;transition:opacity .12s;pointer-events:none}
.pb-progress:hover .pb-track,.pb-progress:focus-visible .pb-track,.pb-progress.is-scrubbing .pb-track{transform:scaleY(2)}
.pb-progress:hover .pb-thumb,.pb-progress:focus-visible .pb-thumb,.pb-progress.is-scrubbing .pb-thumb{opacity:1}
.pb-progress:focus-visible{outline-offset:-2px}
.pb-scrub{position:absolute;top:-30px;transform:translateX(-50%);padding:3px 8px;border-radius:3px;background:#000;box-shadow:0 2px 10px #000a;font-size:12px;color:var(--text);font-variant-numeric:tabular-nums;pointer-events:none}
@media(hover:none){.pb-thumb{opacity:1;width:8px;height:8px;margin:-4px 0 0 -4px}}
.now-playing{flex:1 1 auto;min-width:0;height:100%;display:flex;align-items:center;gap:12px;padding:0;text-align:left;font-size:13px;color:var(--text);touch-action:pan-y;user-select:none;-webkit-user-select:none}
.pb-art{position:relative;flex:none;width:40px;height:40px;border-radius:3px;background:#141414;display:grid;place-items:center;overflow:hidden}
.pb-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none}
.pb-text{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.pb-sub{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--muted)}
.pb-button{width:44px;height:44px;color:var(--text)}
.pb-button svg{width:20px;height:20px}
.song-card{position:absolute;left:0;top:0;transform-origin:0 0;z-index:4;display:flex;align-items:center;gap:9px;max-width:230px;padding:6px 11px 6px 6px;border-radius:4px;background:#000000e0;box-shadow:0 4px 18px #0007;pointer-events:none}
#card-cover{width:36px;height:36px;flex-shrink:0;border-radius:2px;object-fit:cover}
.card-copy{min-width:0;display:flex;flex-direction:column;gap:1px;line-height:1.3}
#card-title{font-size:12px;font-weight:500;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#card-artist{font-size:12px;color:var(--accent);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#card-year{font-size:12px;color:var(--muted)}
.now-dot{flex-shrink:0;width:8px;height:8px;border-radius:50%}
.now-title{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.now-playing.unknown .now-title{color:var(--muted)}
/* The playing bars sit on the song's name, as part of it, not at the far end of the row where the controls begin. */
.now-head{display:flex;align-items:center;gap:8px;min-width:0}
.now-head .now-title{flex:0 1 auto}
.now-bars{display:inline-flex;align-items:flex-end;gap:2px;width:12px;height:11px;flex-shrink:0}
.now-bars i{flex:1;background:var(--accent);height:30%;border-radius:1px}
.now-playing[data-playing=true] .now-bars i{animation:now-bar .9s ease-in-out infinite alternate}
.now-playing[data-playing=true] .now-bars i:nth-child(2){animation-delay:-.3s}
.now-playing[data-playing=true] .now-bars i:nth-child(3){animation-delay:-.6s}
@keyframes now-bar{from{height:25%}to{height:100%}}
.theme-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px 10px;margin:2px 0 6px}
.theme-swatch{height:26px;padding:0;border-radius:3px;background:var(--ramp);opacity:.45}
.theme-swatch:hover{opacity:.8}
.theme-swatch[aria-pressed=true]{opacity:1;box-shadow:inset 0 -3px 0 #f2f2f2}
@media(max-width:1100px){.identity .slash,.identity h1{display:none}}
@keyframes breathe{50%{opacity:.35}}
@keyframes panel-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.topbar{padding:0 32px}.search-area,.settings-panel{left:30px}.settings-toggle{left:306px}.detail-panel,.top-panel{right:30px}.canvas-tools{right:30px}.status-bar{left:32px}}
/* Wide screens: search, wheel and player share one centred column (search on top, player below). */
@media(min-width:1101px){.clear-near{left:50%;top:69px;transform:translateX(-50%)}.search-area{top:18px;left:50%;transform:translateX(-50%);width:clamp(320px,calc(100vw - 760px),520px)}.settings-toggle{left:24px}.player-bar{left:50%;right:auto;bottom:24px;transform:translateX(-50%);width:clamp(440px,calc(100vw - 680px),960px);padding:0 12px 0 18px;border-radius:6px;box-shadow:0 3px 20px #0005;clip-path:inset(-40px 0 0 0 round 6px)}}
@media(min-width:1600px){.settings-toggle{left:30px}}
@media(max-width:900px){.link-hint{left:18px;right:18px;bottom:76px;transform:none;width:auto;max-width:none}.topbar{padding:0 18px}.detail-panel,.top-panel{width:270px;right:18px}.settings-panel{width:245px}.search-area{width:245px}.settings-toggle{left:278px}}
@media(max-width:760px){#account-email{display:none}}
@media(max-width:600px){
  /* The top bar holds the icons only; the account actions (Admin, Sign out) live in the You panel. */
  #account{display:none}.topbar-end{gap:6px}.profile-account:not([hidden]){display:block}
  .context-legend{left:16px;bottom:calc(92px + var(--now-shift))}body[data-detail=open] .context-legend{display:none}
  /* Quiet by default: counts, the legend and the zoom tools come back with View > Map details. */
  body:not([data-details=on]) .context-legend,body:not([data-details=on]) .status-bar{display:none}
  /* The counts ("50,000 songs / 57,595 links shown") never show on a phone, with Map details on or off; the filter's summary line still does. */
  .status-bar>:not(.scene-scope){display:none}
  body:not([data-details=on]) .canvas-tools>:not(#fit):not(#display-toggle):not(#random-song){display:none}
  .song-card{pointer-events:auto;cursor:pointer}
  .link-hint{left:12px;right:12px;bottom:108px}
  .topbar{height:59px;padding:0 14px;gap:10px}.identity{gap:7px}.identity>span:not(.slash){font-size:22px}.identity .slash{margin:0 2px}h1{font-size:12px}  .search-area{top:75px;left:14px;width:auto;right:58px}.search-box{height:38px}.settings-toggle{left:auto;right:14px;top:77px;width:34px;height:34px}.search-key{display:none}.settings-panel{left:14px;top:124px;width:245px;max-height:calc(100dvh - 195px - var(--now-shift));background:#000}.search-results{max-height:50dvh}
  .detail-panel,.top-panel{left:8px;right:8px;top:auto;bottom:calc(8px + var(--now-shift));width:auto;max-height:39dvh;padding:8px 16px 16px}.top-panel{padding:12px 10px 8px 14px}.detail-top{position:sticky;top:-8px;background:#000;z-index:1}
  .cover-art{float:left;width:84px;margin:6px 13px 6px 0}.song-heading{margin:6px 0 11px;overflow:hidden}.song-heading h2{font-size:16px}.song-by{font-size:12px}.song-facts{margin-top:8px}.detail-section-heading{margin-top:16px}.connections{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .status-bar{left:16px;bottom:calc(67px + var(--now-shift));font-size:12px;gap:6px;max-width:calc(100% - 32px);flex-wrap:wrap}.scene-scope{flex-basis:100%;max-width:100%}.status-divider{margin:0 2px}.status-indicator{margin-right:2px}.canvas-tools{right:12px;bottom:calc(13px + var(--now-shift));padding:3px}.canvas-tools .icon-button{width:29px;height:28px}.tool-divider{margin:0 3px}.zoom-level{width:39px;font-size:12px}
  body[data-detail=open] .canvas-tools{bottom:calc(39dvh + 22px + var(--now-shift))}body[data-detail=open] .status-bar{bottom:calc(39dvh + 68px + var(--now-shift))}body[data-detail=open] .settings-panel{max-height:calc(61dvh - 216px - var(--now-shift))}
  .player-bar{left:0;right:0;bottom:0;height:calc(60px + env(safe-area-inset-bottom));padding:0 4px calc(env(safe-area-inset-bottom)) 14px}body[data-now=on]{--now-shift:60px}.notice{bottom:auto;top:126px;font-size:12px}.loading-screen{inset:59px 0 0}.hover-tip{max-width:220px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.library-toggle{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 10px;border-radius:4px;font-size:12px;color:#d0d0d0}
.library-toggle svg{width:16px;height:16px;color:var(--accent)}
.library-toggle:hover,.library-toggle[aria-expanded=true]{background:var(--panel-hover);color:var(--text)}
.library-count{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.detail-actions{display:flex;align-items:center;gap:2px}
.save-song:hover{color:var(--accent)}
.save-song[aria-pressed=true]{background:none;color:var(--accent)}
.save-song[aria-pressed=true] svg{fill:currentColor}
.note-block{margin:-4px 0 16px}
#song-note{display:block;width:100%;min-height:54px;max-height:180px;field-sizing:content;resize:none;border:0;border-radius:4px;background:#0b0b0b;padding:9px 11px;color:var(--text);font:12px/1.5 var(--font);caret-color:var(--accent)}
#song-note::placeholder{color:var(--muted)}
#song-note:focus{outline:none;background:#141414}
#song-note:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.note-status{font-size:12px;color:var(--muted);margin:5px 0 0;min-height:16px}
.library-panel .panel-heading{margin:0 -6px 6px 0}
/* History: the listening log as a table, wider than the other side panels where the screen has room for it (it never
   reaches the search box), and stacked into two lines per listen where it has not. */
.history-panel{container-type:inline-size}
@media(min-width:1101px){.history-panel{width:max(300px,min(400px,calc(50vw - 302px)))}}
.history-panel .panel-heading .top-count{margin:0 auto 0 10px}
.history-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}
.history-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.history-table .col-song{width:42%}
.history-table .col-when{width:19%}
.history-table th,.history-table td{padding:7px 8px 7px 0;text-align:left;vertical-align:top}
.history-table thead th{padding-bottom:5px;font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.history-session th{padding:16px 0 5px;font-size:12px;font-weight:500;color:var(--accent);border-bottom:1px solid #1d1d1d}
.history-session span{color:var(--muted);font-weight:400}
.history-table tbody tr:not(.history-session):hover{background:#0c0c0c}
.listen-song,.listen-mix{display:flex;flex-direction:column;gap:2px;width:100%;min-width:0;margin:-3px 0 -3px -5px;padding:3px 5px;border-radius:4px;text-align:left}
.listen-song:hover:not(:disabled),.listen-mix:hover{background:#222}
.listen-song strong,.listen-mix strong{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.listen-song small,.listen-mix small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.listen-song.unknown strong{color:var(--muted);font-weight:400}
.listen-none{color:var(--muted)}
.listen-when{font-variant-numeric:tabular-nums;color:var(--muted);line-height:1.4}
.listen-when span{display:block;white-space:nowrap}
.listen-when .clock{color:var(--text)}
@container (max-width:339px){
  .history-table thead{display:none}
  .history-table,.history-table tbody{display:block}
  .history-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;padding:6px 0}
  .history-table th,.history-table td{display:block;padding:0}
  .history-table .history-session{display:block;padding:0}
  .history-table .history-session th{padding:14px 0 5px}
  .history-table .listen-song-cell{grid-column:1;grid-row:1}
  .history-table .listen-when{grid-column:2;grid-row:1 / span 2;text-align:right}
  .history-table .listen-context-cell{grid-column:1;grid-row:2;padding-top:3px}
}
.library-list{list-style:none;margin:0;padding:0}
.library-item{display:flex;align-items:flex-start;gap:2px}
.library-item .icon-button{width:28px;height:28px;margin-top:8px;color:var(--muted)}
.library-item .icon-button svg{width:16px;height:16px}
.library-song{flex:1;min-width:0;text-align:left;display:flex;flex-direction:column;gap:2px;padding:10px 8px;border-radius:4px}
.library-song:hover:not(:disabled){background:#222222}
.library-song strong{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.library-song small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.library-note{margin-top:5px;font-size:12px;line-height:1.45;color:#d6d6d6;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.library-empty{font-size:12px;color:var(--muted);line-height:1.5;margin:4px 8px 0}
.notice button{margin-left:14px;color:var(--accent);text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.library-label{display:none}.library-toggle{padding:0 8px}}
.search-group{display:flex;align-items:center;justify-content:space-between;padding:12px 12px 4px;font-size:12px;color:var(--muted)}
/* A recent search: the row as it was found, the kind of thing it is under its name, and a cross to forget it. */
.search-recent{display:flex;align-items:center}
.search-recent .search-result{flex:1;min-width:0}
.search-forget{color:var(--muted)}
.search-forget svg{width:16px;height:16px}
.result-cover.is-query{background:none;color:var(--muted)}
.result-cover.is-symbol{color:var(--muted)}
.result-cover.is-symbol svg{width:45%;height:45%}
.result-cover.is-query svg{width:18px;height:18px}
.search-foot{display:block;height:34px;margin:12px auto 8px;padding:0 18px;border-radius:17px;box-shadow:inset 0 0 0 1px #ffffff40;font-size:13px;font-weight:500;color:var(--text)}
.search-foot:hover{box-shadow:inset 0 0 0 1px #fff}
.search-group:first-child{padding-top:8px}
.search-group .text-button{padding:2px 6px;min-height:20px}
.search-result mark{background:none;color:var(--accent-ink)}
.result-dot.hollow{width:7px;height:7px;background:transparent;box-shadow:inset 0 0 0 1px var(--muted)}
.result-go{width:16px;height:16px;color:var(--muted);flex-shrink:0}
.search-result:hover .result-go,.search-result[aria-selected=true] .result-go{color:var(--accent)}
.result-saved{width:16px;height:16px;color:var(--accent);fill:currentColor;flex-shrink:0;margin-right:8px}
.result-trusted{width:13px;height:13px;color:var(--accent);flex-shrink:0;vertical-align:-2px;margin-left:5px}
.search-result:not(:has(small)){min-height:40px}
@media(max-width:900px){.clear-near{left:324px}}
@media(max-width:600px){.clear-near{left:auto;right:14px;top:117px}}
/* Tracklists: under a mix in the song panel, and in a panel of their own above the player. */
.appearance{flex-wrap:wrap}
.tracklist-holder{flex-basis:100%;font-size:12px;color:var(--muted);padding:2px 0 4px}
.tracklist{list-style:none;margin:0;padding:0}
.tl-row{display:flex;align-items:flex-start;gap:10px;width:100%;min-height:44px;padding:7px 6px;border-radius:3px;text-align:left;font-size:12px;line-height:1.4;color:#c5c5c5}
button.tl-row:hover,a.tl-row:hover{background:#141414;color:var(--text)}
.tl-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.tl-time{flex:none;width:46px;padding-top:1px;color:var(--muted);font-variant-numeric:tabular-nums}
.tl-name{min-width:0;display:flex;flex-direction:column;gap:1px}
.tl-head{font-size:13px;line-height:1.35;color:#f2f2f2;overflow-wrap:anywhere}
.tl-artist{font-size:12px;line-height:1.35;color:var(--accent-dim);overflow-wrap:anywhere}
.tl-dot{display:inline-block;width:6px;height:6px;margin:0 7px 1px 0;border-radius:50%;background:var(--accent-dim)}
.tl-row.is-song .tl-head{color:var(--accent)}
.tl-row[aria-current]{box-shadow:inset 2px 0 0 var(--accent)}
.tl-row[aria-current] .tl-artist{color:var(--accent)}
.tl-row[aria-current] .tl-time{color:var(--accent)}
/* The full player: a sheet along the bottom of the screen, tall on a phone, with a strip of the wheel (on the song) above it. */
.player-full{position:fixed;left:0;right:0;bottom:0;height:min(78dvh,700px);z-index:20;display:flex;flex-direction:column;background:linear-gradient(180deg,color-mix(in srgb,var(--tint,#000) 34%,#000) 0,color-mix(in srgb,var(--tint,#000) 12%,#000) 60%,#000 100%);border-radius:14px 14px 0 0;box-shadow:0 -10px 40px #000c;animation:pf-in .22s ease-out}
@keyframes pf-in{from{transform:translateY(24px);opacity:0}}
.pf-head{display:flex;align-items:center;justify-content:space-between;padding:6px 10px 0}
.pf-head .icon-button{width:44px;height:44px;color:var(--text)}
.pf-head .icon-button svg{width:22px;height:22px}
.save-track[aria-pressed=true]{color:var(--accent)}
.save-track[aria-pressed=true] svg{fill:currentColor}
.pf-body{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;max-width:520px;margin:0 auto;padding:0 24px max(24px,env(safe-area-inset-bottom));scrollbar-width:thin;scrollbar-color:#3e454d transparent}
/* The cover is as large as the sheet allows, and the drag target for the next or previous mix. */
.pf-stage{position:relative;flex:none;width:min(100%,44dvh)}
.pf-card{position:relative;width:100%;aspect-ratio:1;border-radius:10px;overflow:hidden;background:#141414;box-shadow:0 14px 40px #000a;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}
.pf-cover,.pf-cover-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none}
/* The song first, the way you read a record sleeve. */
.pf-song{width:100%;display:flex;flex-direction:column;gap:3px;min-width:0}
.pf-song h2{margin:0;font-family:'DM Sans Semibold','DM Sans',sans-serif;font-size:15px;font-weight:600;color:#fff;line-height:1.2;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.pf-titlerow{display:flex;align-items:center;gap:8px;min-width:0}
.pf-titlerow h2{flex:1;min-width:0}
/* The heart keeps a thumb-sized target without making the title's line any taller. */
.pf-titlerow .icon-button{flex:none;width:44px;height:44px;margin:-12px -10px -12px 0;color:var(--text)}
.pf-titlerow .icon-button svg{width:22px;height:22px}
.pf-titlerow .pf-listen{display:grid;place-items:center;margin-right:-6px}
.pf-titlerow .pf-listen[hidden]{display:none}
.pf-titlerow .pf-listen svg{width:20px;height:20px;fill:currentColor}
.pf-artist{margin:0;font-size:15px;color:#dcdcdc}
.pf-album{margin:2px 0 0;font-size:13px;color:#bdbdbd}
.pf-facts{margin:2px 0 0;font-size:12px;color:var(--muted)}
/* The mix it is playing in: one line, with where it is from. */
.pf-mixline{width:100%;display:flex;align-items:center;gap:8px;min-width:0}
.pf-mixtext{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.pf-from{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pf-from b{font-weight:500;color:var(--text)}
.pf-source{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--muted)}
.pf-source b{font-weight:500;color:var(--text)}
.pf-source:hover{color:var(--accent)}
.pf-source svg{width:16px;height:16px}
.pf-queue{flex:none;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.pf-mixline .icon-button{width:40px;height:40px;color:var(--muted)}
.pf-mixline .icon-button:hover{color:var(--text)}
.pf-mixline .icon-button svg{width:18px;height:18px}
.pf-seek{width:100%;display:grid;grid-template-columns:auto auto minmax(0,1fr) auto auto;gap:6px;align-items:center;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.pf-rail{position:relative;height:32px;display:flex;align-items:center}
.pf-ticks{position:absolute;left:7px;right:7px;top:50%;height:11px;transform:translateY(-50%);pointer-events:none}
.pf-ticks i{position:absolute;top:0;bottom:0;width:1px;background:#ffffff3a}
#pf-range{position:relative;height:32px}
#pf-range::-webkit-slider-runnable-track{height:3px;border-radius:2px;background:linear-gradient(to right,var(--accent) var(--p,0%),#ffffff30 var(--p,0%))}
#pf-range::-moz-range-track{height:3px;border-radius:2px;background:linear-gradient(to right,var(--accent) var(--p,0%),#ffffff30 var(--p,0%))}
#pf-range::-webkit-slider-thumb{margin-top:-5.5px;background:var(--text)}
/* Two kinds of skip around play: one arrow for the next song in the mix, two for the next mix. */
.pf-controls{display:flex;align-items:center;justify-content:center;gap:clamp(4px,3.2vw,22px)}
.pf-controls .icon-button{width:48px;height:48px;color:var(--text)}
.pf-controls .icon-button svg{width:22px;height:22px}
.pf-play{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:var(--text);color:#000}
.pf-play svg{width:26px;height:26px;fill:currentColor}
.pf-more{width:100%;display:flex;flex-direction:column;gap:4px}
.pf-more .text-action{margin-top:0;min-height:44px}
.pf-services{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:0 12px;font-size:12px;color:var(--muted)}
.pf-services[hidden]{display:none}
.pf-service-links{display:flex;gap:2px;margin-right:-8px}
.pf-service-links a{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:var(--text)}
.pf-service-links a:hover{background:var(--accent-wash)}
.pf-service-links a[aria-current]{color:var(--accent)}
.pf-service-links svg{width:20px;height:20px;fill:currentColor}
.pf-bio summary{min-height:44px;padding:0 12px;justify-content:space-between;color:var(--accent)}
.pf-bio p{padding:0 12px}
.pf-bio:not([open]) .song-bio-credit{display:none}
/* Context notes (editorial.py): why a song or an artist matters, in our own words, with the pages it was checked against.
   Same type as the biography; the label is in small capitals, as the crate sleeves' labels are (DESIGN.md). */
.context-note{margin:10px 0 4px}
.pf-context{padding:0 12px}
.context-label{margin:0 0 4px;font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.context-note p{margin:0;font-size:13px;line-height:1.55;color:#d4d4d4}
.context-note .context-sources{margin-top:6px;font-size:11px;line-height:1.4;color:var(--muted)}
.context-sources a{color:var(--muted);text-decoration:underline;text-underline-offset:2px}
.context-sources a:hover{color:var(--text)}
/* One line of the note under the song, only where the sheet hides the rest: a phone's middle level. */
.pf-context-line{display:none;margin:4px 0 0;font-size:12px;line-height:1.4;color:#bdbdbd}
.player-full[data-level=mid] .pf-context-line:not([hidden]){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pf-tracklist>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:0 12px;border-radius:4px;cursor:pointer;list-style:none;font-size:12px;color:var(--accent)}
.pf-tracklist>summary::-webkit-details-marker{display:none}
.pf-tracklist>summary:hover{background:var(--accent-wash)}
.pf-tracklist>summary svg{width:16px;height:16px}
.pf-tracklist[open]>summary svg{transform:rotate(180deg)}
/* Its own scroll area, so following the playing row never scrolls the mix and the controls out of the sheet. */
.pf-tracklist .tracklist-holder{max-height:min(34dvh,300px);overflow:auto;padding:4px 0 8px;scrollbar-width:thin;scrollbar-color:#3e454d transparent}
@media(min-width:1101px){
  .player-full{left:calc(50% - min(310px,50vw - 40px));right:auto;width:min(620px,100vw - 80px);height:auto;max-height:min(60dvh,420px);bottom:96px;border-radius:10px;box-shadow:0 8px 40px #000c;border:1px solid var(--line)}
  /* Wide, not tall: the cover at the left, the song, the mix, the seek bar and the controls beside it. */
  .pf-body{max-width:none;display:grid;grid-template-columns:200px minmax(0,1fr);grid-template-areas:'stage song' 'stage seek' 'stage controls' 'stage mix' 'more more';column-gap:28px;row-gap:10px;align-content:start;align-items:center;padding:0 28px 18px}
  .pf-stage{grid-area:stage;width:200px}
  .pf-song{grid-area:song;align-self:end}.pf-mixline{grid-area:mix}.pf-seek{grid-area:seek}.pf-controls{grid-area:controls}.pf-more{grid-area:more}
}
.pb-button[aria-pressed=true]{background:none}
.phone-only{display:none}
@media(max-width:600px){.phone-only{display:flex}}
.save-track[aria-pressed=true]{background:none}
.library-heading{margin:16px 8px 4px;font-size:12px;font-weight:400;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
/* Slide gestures own these: the bar opens the sheet when dragged up, and the top of the sheet closes it when dragged down. */
.player-bar{touch-action:none}
.pf-head,.pf-stage,.pf-song,.pf-mixline,.pf-controls{touch-action:none}
/* A phone's player is kept simple: no label line, no link out to SoundCloud. */
@media(max-width:600px){.pf-facts,.pf-source{display:none!important}}
.player-full[data-level=mid] .pf-body{touch-action:none}
/* A grabber on a phone's sheet, so it looks like something you can slide. */
@media(max-width:600px){.player-full::before{content:'';position:absolute;top:6px;left:50%;width:36px;height:4px;margin-left:-18px;border-radius:2px;background:#ffffff33;pointer-events:none}}
/* Inviting friends to early access. */
.invite-lead{margin:2px 8px 12px;font-size:12px;line-height:1.5;color:var(--muted)}
.invite-form{margin:0 8px}
.invite-form label,.invite-linkbox label{display:block;margin:0 0 6px;font-size:12px;color:var(--muted)}
.invite-row{display:flex;gap:8px}
.invite-row input{flex:1;min-width:0;height:36px;padding:0 10px;border:1px solid var(--control-line);border-radius:4px;background:#000;color:var(--text);font-size:13px}
.invite-row input:disabled{opacity:.4}
.invite-button{flex:none;height:36px;padding:0 12px;border-radius:4px;background:var(--accent-wash);color:var(--accent-ink);font-size:12px}
.invite-button:hover:not(:disabled){background:var(--accent-wash-strong)}
.invite-status{min-height:16px;margin:8px 8px 4px;font-size:12px;color:var(--accent)}
.invite-linkbox{margin:6px 8px 4px}
.invite-sent{cursor:default}
/* On a phone the sheet takes most of the screen: the search and filters step aside so the wheel above it, on the song, can be seen. */
@media(max-width:600px){body[data-player=open] .search-area,body[data-player=open] .settings-toggle,body[data-player=open] .settings-panel,body[data-player=open] .clear-near,body[data-player=open] .link-hint{display:none}}
/* Four buttons in the bar leave the song little room on a phone: the animated bars and some width go. */
@media(max-width:600px){.now-bars{display:none}.pb-button{width:40px}.pb-button svg{width:19px;height:19px}}
/* The tint: set from the cover's dominant colour, fading between songs where the browser can animate it. */
@property --tint{syntax:'<color>';inherits:true;initial-value:#000000}
:root{--tint:#000000;transition:--tint .7s ease}
/* A small phone: a taller sheet and a smaller cover, so the seek bar and controls stay in reach without scrolling. */
@media(max-width:600px) and (max-height:700px){.player-full{height:88dvh}.pf-stage{width:min(100%,33dvh)}.pf-body{gap:10px}}
/* The two levels of the sheet below the desktop width. The middle: a compact player, the wheel on the song showing above it.
   Full screen: the big cover and everything. (The wide desktop panel has one level and ignores these.) */
@media(max-width:1100px){
  .player-full{height:min(max(340px,42dvh),80dvh)}
  .player-full[data-level=full]{height:100dvh;border-radius:0;box-shadow:none}
  .player-full[data-level=full] .pf-head{padding-top:max(8px,env(safe-area-inset-top))}
  .player-full[data-level=full] .pf-stage{width:min(100%,50dvh)}
  .player-full[data-level=mid] .pf-body{max-width:none;display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-areas:'stage song' 'seek seek' 'controls controls' 'mix mix';column-gap:14px;row-gap:8px;align-content:start;align-items:center;padding:0 20px 14px}
  .player-full[data-level=mid] .pf-stage{grid-area:stage;width:96px}
  .player-full[data-level=mid] .pf-card{cursor:pointer}
  .player-full[data-level=mid] .pf-song{grid-area:song;align-self:stretch;justify-content:center}
  .player-full[data-level=mid] .pf-mixline{grid-area:mix}
  .player-full[data-level=mid] .pf-seek{grid-area:seek}
  .player-full[data-level=mid] .pf-controls{grid-area:controls}
  .player-full[data-level=mid] .pf-more{display:none}
}
.invite-foot{margin:14px 8px 4px;font-size:12px}
.invite-foot a{color:var(--muted)}
.invite-foot a:hover{color:var(--text)}
/* The faint chevron that floats up from the bar to say it can be slid (see hintBar). Animated from the script, never shown otherwise. */
.pb-hint{position:absolute;left:50%;bottom:100%;width:24px;height:24px;margin-left:-12px;display:grid;place-items:center;opacity:0;pointer-events:none;color:var(--text)}
.pb-hint svg{width:18px;height:18px}
/* Below the desktop width the bar floats a little in from the edges with rounded corners, like Spotify's: the layers above it
   move up by the same amount (--now-shift). The scrubber is inset by the corner radius (14px, set with the glass below, on every
   width), so its line starts where the top edge is straight and does not poke out past the curve. */
@media(max-width:1100px){
  .player-bar{left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));height:56px;padding:0 4px 0 12px;border-radius:10px;box-shadow:0 4px 18px #0009}
  body[data-now=on]{--now-shift:72px}
}
/* A line too long for its box scrolls (see setMarquee): while it does, it is an inline-block so it can be moved, and fades at the cut edge. */
.mq{white-space:nowrap}
.is-long{text-overflow:clip;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent)}
.is-long .mq{display:inline-block}
/* The bar's three lines, as on Spotify's: the song in white, its artist under it, then where it is playing from. */
.pb-text{gap:1px}
.now-title{font-size:13px;line-height:1.25;color:#fff}
.pb-artist{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.25;color:#d8d8d8}
.pb-sub{font-size:12px;line-height:1.25}
.pb-art{width:44px;height:44px}
/* The scrubber strip keeps to the top 12px, so the song's name under it takes the taps that open the player. */
.pb-progress{height:12px}
.now-playing{padding-top:6px}
@media(max-width:1100px){.player-bar{height:68px}body[data-now=on]{--now-shift:84px}}
/* "Explored": how much of the map this account has heard, at the top of the library. */
.explored{margin:2px 8px 14px}
.explored-line{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 6px;font-size:12px;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}
.explored-line strong{font-size:22px;font-weight:500;letter-spacing:0;color:var(--text);font-variant-numeric:tabular-nums}
.explored-bar{height:3px;border-radius:2px;background:#ffffff1f;overflow:hidden}
.explored-bar i{display:block;height:100%;width:100%;background:var(--accent);transform-origin:0 50%;transform:scaleX(0);transition:transform .4s}
.explored-detail{margin:6px 0 0;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
/* "You": a member's profile, their friends, and comparing what two people have heard. */
.profile-count:empty{display:none}
.profile-count{min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--accent);color:#000;font-size:12px;line-height:16px;text-align:center}
.library-explored{display:block;width:calc(100% - 16px);margin:0 8px 10px;padding:6px 0;text-align:left;font-size:12px;color:var(--muted)}
.library-explored:hover{color:var(--accent)}
.profile-back{display:flex;align-items:center;gap:6px;margin:0 8px 10px;font-size:12px;color:var(--muted)}
.profile-back:hover{color:var(--accent)}
.profile-back svg{width:16px;height:16px}
.profile-form{margin:0 8px}
.profile-form label{display:block;margin:12px 0 6px;font-size:12px;color:var(--muted)}
.profile-form input,.profile-form select{width:100%;height:36px;padding:0 10px;border:1px solid var(--control-line);border-radius:4px;background:#000;color:var(--text);font-size:13px}
.handle-row{display:flex;align-items:center;gap:6px}
.handle-row span{color:var(--muted);font-size:14px}
.profile-hint{margin:6px 0 0;font-size:12px;line-height:1.45;color:var(--muted)}
.profile-actions{display:flex;align-items:center;gap:10px;margin:8px 0 6px}
.profile-head{margin:0 8px 16px}
.profile-head h3{margin:0;font-size:20px;font-weight:500;line-height:1.25;overflow-wrap:anywhere}
.profile-head .profile-handle{margin:2px 0 0;font-size:12px;color:var(--muted)}
.profile-head .profile-bio{margin:8px 0 0;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.profile-head .profile-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.profile-head .text-button{padding-left:0}
.profile-body .library-heading:first-child{margin-top:4px}
.profile-note{margin:4px 8px 8px;font-size:12px;line-height:1.5;color:var(--muted)}
.stat-list{list-style:none;margin:0 8px 6px;padding:0}
.stat-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:8px;padding:5px 0;font-size:12px}
.stat-row .stat-dot{width:8px;height:8px;border-radius:50%;background:var(--muted)}
.stat-row .stat-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stat-row .stat-value{color:var(--muted);font-variant-numeric:tabular-nums}
.stat-row .stat-bar{grid-column:2 / 4;height:2px;margin-top:-1px;background:#ffffff14}
.stat-row .stat-bar i{display:block;height:100%;background:var(--accent);opacity:.7}
.board-list{list-style:none;margin:0 8px 6px;padding:0}
.board-row{grid-template-columns:minmax(0,1fr) auto}
.board-row .stat-dot{display:none}
.board-row .stat-bar{grid-column:1 / 3}
.board-row .stat-name{display:flex;align-items:baseline;gap:8px}
.board-rank{min-width:18px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:right}
.board-name{color:inherit;text-decoration:none;overflow:hidden;text-overflow:ellipsis}
.board-name:hover{text-decoration:underline}
.board-row.is-me .board-name{color:var(--accent);font-weight:600}
.board-gap{padding:0 0 0 18px;color:var(--muted);font-size:12px}
.overlap{margin:4px 8px 10px;padding:12px;border-radius:6px;background:#111}
.overlap p{margin:0 0 10px;font-size:13px;line-height:1.5}
.overlap .profile-buttons{display:flex;flex-direction:column;gap:8px}
.overlap .invite-button{text-align:left;height:auto;min-height:36px;padding:8px 12px;line-height:1.35}
/* "Your world": the map with a member's heard songs lit, drawn on their profile. Tapping it lights them on the wheel. */
.profile-world{margin:0 8px 14px}
.world-picture{display:block;width:100%;max-width:260px;aspect-ratio:1;padding:0;border-radius:50%;background:#000}
.world-picture canvas{display:block;width:100%;height:100%}
.world-picture:not(:disabled):hover canvas{filter:brightness(1.15)}
.world-picture:disabled{cursor:default}
.world-empty{margin:10px 0 0;font-size:12px;line-height:1.45;color:var(--muted)}
.world-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 8px 14px}
.world-actions .invite-button{height:auto;min-height:36px;padding:8px 12px;line-height:1.35;text-align:left}
.world-actions .world-copy{background:#ffffff14;color:var(--text)}
.world-actions .world-copy:hover:not(:disabled){background:#ffffff24}
.world-share{margin:0 8px 14px;padding:12px;border-radius:6px;background:#111}
.world-share p:first-child{margin:0 0 10px;font-size:13px;line-height:1.5}
.world-share select{width:100%;height:36px;padding:0 10px;border:1px solid var(--control-line);border-radius:4px;background:#000;color:var(--text);font-size:13px}
/* The profile is a page (/u/<handle>) between the top bar and the player, over the wheel, which still turns faintly behind it. */
.profile-page{position:absolute;inset:65px 0 0;z-index:5;overflow-y:auto;overflow-x:hidden;background:#000000eb;padding:0 24px calc(96px + var(--now-shift));scrollbar-width:thin;scrollbar-color:#3e454d transparent;animation:panel-in .2s ease-out}
.profile-sheet{max-width:1100px;margin:0 auto}
.profile-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 6px}
.profile-close,.profile-page .profile-back{display:inline-flex;align-items:center;gap:6px;min-height:32px;margin:0;padding:4px 8px 4px 0;font-size:13px;color:var(--muted)}
.profile-close:hover{color:var(--accent)}
.profile-close svg,.profile-page .profile-back svg{width:16px;height:16px}
.profile-page .profile-form{max-width:520px;margin:12px 0 0}
.profile-hero{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:40px;padding:18px 0 26px}
.profile-hero .profile-world{margin:0}
.profile-hero .world-picture{width:340px;max-width:340px}
.profile-hero .world-empty{max-width:340px}
.profile-hero-text{min-width:0;max-width:560px}
.profile-hero .profile-head{margin:0 0 18px}
.profile-hero .profile-head h3{font-size:34px;font-weight:500;line-height:1.15}
.profile-hero .profile-head .profile-handle{margin-top:6px;font-size:14px}
.profile-hero .profile-head .profile-bio{margin-top:12px;font-size:15px;line-height:1.5}
.profile-hero .profile-head .explored{margin:18px 0 0}
.profile-hero .explored{margin:0 0 18px}
.profile-hero-actions .world-actions,.profile-hero-actions .world-share{margin:0}
.profile-hero-actions .friend-actions{margin:0}
.profile-hero-actions .friend-actions .invite-button{height:36px}
.profile-stats{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px;padding:0}
.profile-stat{flex:1 1 140px;padding:14px 16px;border-radius:6px;background:#ffffff0d}
.profile-stat strong{display:block;font-size:24px;font-weight:500;font-variant-numeric:tabular-nums}
.profile-stat span{font-size:12px;color:var(--muted)}
.profile-columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:40px;align-items:start}
.profile-section-title{margin:0 8px 6px;font-size:20px;font-weight:500}
.profile-main .library-heading{margin-top:18px}
.profile-songs{columns:2 260px;column-gap:16px}
.profile-songs .library-item{break-inside:avoid}
.profile-page .library-note{display:block;margin-top:4px;font-size:12px;line-height:1.45;color:var(--text);opacity:.8;white-space:normal;overflow-wrap:anywhere}
.profile-page a.library-song{color:inherit;text-decoration:none}
.profile-page a.library-song:hover{background:#222222}
.profile-more{width:auto;margin:6px 0 0;padding:8px}
.profile-settings{max-width:520px;margin:36px 0 0}
/* Behind the page the map stays put but its controls step aside, so nothing behind it takes a click or the keyboard. */
body[data-profile=open] :is(.search-area,.clear-near,.settings-toggle,.settings-panel,.canvas-tools,.status-bar,.context-legend,.song-card,.link-hint,.detail-panel,.top-panel){visibility:hidden}
@media(max-width:900px){.profile-hero{gap:28px}.profile-hero .world-picture{width:260px;max-width:260px}.profile-columns{grid-template-columns:minmax(0,1fr);gap:24px}}
/* On a phone: one column, the picture first, then the name. */
@media(max-width:600px){.profile-page{top:59px;padding:0 14px calc(96px + var(--now-shift))}.profile-hero{grid-template-columns:minmax(0,1fr);justify-items:start;gap:18px;padding-top:8px}.profile-hero .world-picture{width:min(72vw,280px)}.profile-hero .profile-head h3{font-size:26px}.profile-stat{flex-basis:calc(50% - 5px);padding:10px 12px}.profile-stat strong{font-size:20px}.profile-songs{columns:1}}
.friend-actions{display:flex;gap:6px;align-items:center;margin-top:6px}
.friend-actions .invite-button{height:30px;font-size:12px}
.library-item .icon-button.is-pinned{color:var(--accent)}
.people-search{margin:0 8px 6px}
.people-search input{width:100%;height:36px;padding:0 10px;border:1px solid var(--control-line);border-radius:4px;background:#000;color:var(--text);font-size:13px}
.profile-form .invite-lead{margin:2px 0 4px}
.pf-controls .pf-mix-step{color:var(--muted)}
.pf-controls .pf-mix-step:hover:not(:disabled){color:var(--text)}
.pf-controls .icon-button:disabled{opacity:.3}
/* Filters: a row of chips under the search box, each opening one sheet (see renderChips, openChip). */
.filter-bar{display:flex;align-items:center;gap:5px;margin-top:8px}
.filter-bar[hidden]{display:none}
.filter-chips{flex:1;min-width:0;display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;padding:1px}
.filter-chips::-webkit-scrollbar{display:none}
/* Small pills. A chip holding a choice is drawn in the Ember wheel's colours; the one whose sheet is open is filled with them. */
.filter-chip,.filter-more{--glass:#ffffff14;--glass-line:#ffffff2e;background:linear-gradient(180deg,#ffffff1f,#ffffff0a) padding-box,var(--glass);border:1px solid var(--glass-line);-webkit-backdrop-filter:blur(14px) saturate(1.6);backdrop-filter:blur(14px) saturate(1.6);box-shadow:inset 0 1px 0 #ffffff33,inset 0 -1px 0 #0000004d,0 2px 12px #0000004d;transition:background .2s,border-color .2s,color .2s}
.filter-chip{flex:none;max-width:170px;height:24px;padding:0 10px;border-radius:12px;color:#e4e4e4;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;scroll-snap-align:start}
.filter-chip:hover,.filter-more:hover{--glass:#ffffff24;--glass-line:#ffffff4d;color:#fff}
.filter-chip.is-on,.filter-more.is-on{--glass:#f2703a29;--glass-line:#f2703a99;color:#ffb347}
.filter-chip[aria-expanded=true],.filter-more[aria-expanded=true]{border-color:#ffffff40;background:linear-gradient(90deg,#ffa62bd9,#f2703ad9 55%,#d1493fd9);color:#1a0b05;box-shadow:inset 0 1px 0 #ffffff66,0 2px 14px #f2703a59}
.filter-more{flex:none;width:28px;height:24px;display:grid;place-items:center;border-radius:12px;color:#e4e4e4}
.filter-more svg{width:14px;height:14px}
.filter-toggle{position:relative;flex:none;width:30px;height:30px;margin-left:4px;display:grid;place-items:center;border-radius:6px;color:var(--muted)}
.filter-toggle:hover,.filter-toggle[aria-expanded=true]{color:var(--text)}
.filter-toggle.is-on{color:#ffa62b}
.filter-toggle svg{width:17px;height:17px}
.filter-badge{position:absolute;top:1px;right:0;min-width:15px;height:15px;padding:0 3px;border-radius:8px;background:#f2703a;color:#1a0b05;font-size:12px;font-weight:600;line-height:15px;text-align:center}
.filter-count{flex:none;height:22px;padding:0 2px 0 6px;font-size:12px;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}
.filter-count:hover{color:var(--accent)}
.filter-clear{flex:none;width:28px;height:28px;color:var(--muted)}
.filter-clear svg{width:16px;height:16px}
/* The chips are centred under the search bar. Wide screens: one line, as wide as it needs, with the count and the clear
   button hung to its right so they never pull the chips off centre. Between phone and desktop the search box is narrow:
   the chips wrap inside its width. On a phone the row centres when it fits and scrolls from the start when it does not. */
.filter-tail{flex:none;display:flex;align-items:center;gap:2px}
.filter-chips{justify-content:safe center}
@media(min-width:1101px){
  .filter-bar{width:max-content;max-width:calc(100vw - 48px);position:relative;left:50%;transform:translateX(-50%)}
  .filter-tail{position:absolute;left:calc(100% + 8px);top:0;bottom:0}
}
@media(min-width:601px) and (max-width:1100px){
  .search-area{left:50%;right:auto;transform:translateX(-50%);width:min(520px,calc(100vw - 48px))}
  .filter-bar{flex-wrap:wrap;justify-content:center;row-gap:6px}
  .filter-chips{display:contents}
  /* With a panel on the right, the search and its chips centre in the space left of it. */
  body[data-detail=open] .search-area{left:calc((100vw - 330px) / 2);width:min(520px,calc(100vw - 378px))}
}
.top-panel{overflow-x:hidden}
/* Sheets: a popover on a wide screen, a bottom sheet on a phone. */
.sheet{position:fixed;z-index:30;width:360px;max-height:min(70dvh,560px);display:flex;flex-direction:column;background:#0b0b0b;border-radius:10px;box-shadow:0 12px 40px #000d;animation:panel-in .16s ease-out}
.display-panel{width:300px}
.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:14px 10px 6px 18px}
.sheet-head h2{margin:0;font-size:14px;font-weight:500}
.sheet-body{flex:1;min-height:0;overflow:auto;padding:4px 18px 14px;scrollbar-width:thin;scrollbar-color:#3e454d transparent}
.sheet-body .panel-heading h3{margin:6px 0;font-size:12px;font-weight:400;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.sheet-foot{padding:10px 18px 14px;border-top:1px solid #ffffff12}
.sheet-show{width:100%;height:40px;border-radius:6px;background:var(--accent);color:#000;font-size:13px;font-weight:500}
.sheet-note{margin:0 0 10px;font-size:12px;line-height:1.45;color:var(--muted)}
.sheet .picker{margin-top:0;background:transparent;padding:0}
.sheet .picker-results{max-height:none}
.sheet-search{width:100%;height:36px;padding:0 10px;border:1px solid var(--control-line);border-radius:4px;background:#000;color:var(--text);font-size:13px}
.bucket-row{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.bucket-row button{height:40px;border:1px solid var(--control-line);border-radius:6px;font-size:13px;color:#d0d0d0;font-variant-numeric:tabular-nums}
.bucket-row button:hover{border-color:#5c5c5c}
.bucket-row button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:var(--accent-wash)}
.range-inputs{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:12px;color:var(--muted)}
.range-inputs label{display:flex;align-items:center;gap:6px}
.range-inputs input{width:76px;height:34px;padding:0 8px;border:1px solid var(--control-line);border-radius:4px;background:#000;color:var(--text);font-size:13px}
.top-panel .filter-status{margin:10px 6px 0}
.top-panel #expand-scene{margin:6px 6px 0}
.profile-playback{margin:8px 0 0}
.profile-account{display:none;margin:8px 0 0}
.profile-account .profile-hint{margin:2px 8px 0;overflow-wrap:anywhere}
.profile-account-actions{display:flex;align-items:center;gap:18px;margin:6px 8px 0}
.profile-account-actions a{display:inline-flex;align-items:center;min-height:32px;font-size:12px;color:var(--accent)}
.profile-account-actions .text-button{min-height:32px;padding:4px 0;color:var(--accent)}
/* A song's neighbourhood or a laid-out filter: its one slider floats on its own. */
@media(max-width:600px){
  .search-area{right:14px}
  .sheet{left:0!important;right:0;top:auto!important;bottom:0!important;width:auto;max-height:72dvh;border-radius:14px 14px 0 0;padding-bottom:env(safe-area-inset-bottom)}
  .sheet-head{padding-top:18px}
  .sheet-head::before{content:'';position:absolute;left:50%;top:7px;width:36px;height:4px;margin-left:-18px;border-radius:2px;background:#ffffff30}
}
.top-summary{margin:0 6px 10px;font-size:13px;line-height:1.45;color:var(--muted)}
/* 15 seconds back / forward, at the two ends of the seek row: a turn arrow with the number inside it. */
.pf-jump{position:relative;width:38px;height:38px;color:var(--text)}
.pf-jump svg{width:26px;height:26px}
.pf-jump b{position:absolute;inset:0;display:grid;place-items:center;padding-top:1px;font:600 8.5px/1 var(--font, 'DM Sans', sans-serif);letter-spacing:0;pointer-events:none}
.pf-jump:disabled{opacity:.3}
.bug-dialog{width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:22px 18px 18px 22px;border:0;border-radius:6px;background:#000;color:var(--text);font-family:var(--font)}
.bug-dialog::backdrop{background:rgba(0,0,0,.6)}
.leave-remember{display:flex;align-items:center;gap:8px;margin:12px 8px 0;font-size:13px;color:var(--muted)}
.leave-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end}
.bug-dialog textarea{display:block;box-sizing:border-box;width:calc(100% - 8px);margin:0 8px;padding:10px;border:1px solid var(--control-line);border-radius:4px;background:#000;color:var(--text);font:13px/1.5 var(--font);resize:vertical;min-height:110px}
.bug-dialog textarea:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.bug-dialog input[type=email]{display:block;box-sizing:border-box;width:calc(100% - 8px);margin:8px 8px 0;padding:10px;border:1px solid var(--control-line);border-radius:4px;background:#000;color:var(--text);font:13px/1.5 var(--font)}
.bug-dialog input[type=email]:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
/* A field only a script fills (the report's honeypot): off the page, and out of reach of a keyboard and a screen reader. */
.bug-trap{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.bug-dialog .profile-actions{margin:4px 8px 0}
/* A roomier search bar below the desktop width, easier to hit and read with a thumb. What sits under it moves down to match. */
@media(min-width:601px) and (max-width:1100px){.search-box{height:50px}#search{font-size:14px}.search-box>svg{width:18px;height:18px}.clear-near{top:104px}}
@media(max-width:600px){.search-box{height:46px}#search{font-size:15px}.search-box>svg{width:18px;height:18px}.clear-near{top:125px}.settings-panel{top:132px}}
/* The idle screen (see idle in app.js): everything but the wheel and its song card fades out, and the pointer hides. Two things stay: the
   ZeroNoise logo at the top (the rest of the top bar goes) and the player bar at the foot, which keeps showing what plays. */
body[data-idle]>*:not(#graph):not(#song-card):not(.topbar):not(#player-bar){opacity:0!important;pointer-events:none!important;transition:opacity 1.6s ease}
body[data-idle]>:is(.topbar,#player-bar){pointer-events:none!important}
body[data-idle] .topbar>:not(.identity){opacity:0!important;transition:opacity 1.6s ease}
body[data-idle],body[data-idle] *{cursor:none!important}
/* Playlists: a page of its own (/p/<id>, over the map like a profile), the menu that adds to one, and the buttons that open it. */
.plist-sheet{max-width:860px}
.plist-head{padding:18px 0 12px}
.plist-title{margin:0;font-size:34px;font-weight:500;line-height:1.15;overflow-wrap:anywhere}
.plist-description{margin:10px 0 0;max-width:60ch;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.plist-meta{margin:8px 0 0;font-size:13px;color:var(--muted)}
.plist-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px}
.plist-actions .invite-button{display:inline-flex;align-items:center;gap:6px;height:36px}
.plist-actions .invite-button svg{width:16px;height:16px}
.plist-secondary{background:#ffffff14;color:var(--text)}
.plist-secondary:hover:not(:disabled){background:#ffffff24}
.plist-page .plist-form{max-width:520px;margin:12px 0 0}
.plist-rows{list-style:none;margin:14px 0 0;padding:0}
.plist-row{display:grid;grid-template-columns:28px 24px 40px minmax(0,1fr) auto;align-items:start;gap:4px 8px;padding:10px 4px;border-top:1px solid #ffffff10;border-radius:4px;background:#000000b3}
.plist-row.is-dragging{background:#1a1a1a;box-shadow:0 6px 20px #000a;position:relative;z-index:1}
.plist-row.is-playing .plist-song strong{color:var(--accent)}
.plist-grip,.plist-grip-space{width:28px;height:32px;display:grid;place-items:center;color:var(--muted)}
.plist-grip{cursor:grab;touch-action:none;border-radius:4px}
.plist-grip:hover{color:var(--text);background:#ffffff0f}
.plist-grip svg{width:16px;height:16px}
.plist-row.is-dragging .plist-grip{cursor:grabbing}
.plist-number{padding-top:8px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:right}
.plist-main{min-width:0;display:flex;flex-direction:column;gap:2px}
.plist-song{display:flex;flex-direction:column;gap:2px;padding:6px 8px;border-radius:4px;text-align:left}
.plist-song:hover{background:#222222}
.plist-song strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}
.plist-song small{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.plist-mix{padding:0 8px;font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.plist-note{width:calc(100% - 16px);height:30px;margin:4px 8px 0;padding:0 8px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--text);font-size:13px}
.plist-note:hover{border-color:#ffffff24}
.plist-note:focus{border-color:var(--control-line);background:#000}
.plist-note::placeholder{color:var(--muted);opacity:.7}
.plist-note-text{margin:4px 8px 0;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.plist-tools{display:flex;align-items:center;gap:2px;opacity:.6}
.plist-row:hover .plist-tools,.plist-row:focus-within .plist-tools{opacity:1}
.plist-tools .icon-button:disabled{opacity:.3}
@media(hover:none){.plist-tools{opacity:1}}
.plist-menu{width:340px}
.plist-menu-list{list-style:none;margin:0 0 12px;padding:0;max-height:260px;overflow:auto}
.plist-menu-item{display:flex;align-items:center;gap:8px;width:100%;padding:9px 8px;border-radius:4px;text-align:left}
.plist-menu-item:hover{background:#222222}
.plist-menu-item strong{flex:1;min-width:0;font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.plist-menu-item small{font-size:12px;color:var(--muted)}
.plist-menu-item svg{width:16px;height:16px;color:var(--accent)}
.plist-menu-new,.plist-new{display:flex;align-items:center;gap:8px}
.plist-menu-new input,.plist-new input{flex:1;min-width:0}
.plist-new{margin:6px 8px 10px}
.profile-playlists{margin-bottom:26px}
.top-add{width:auto;margin:0 0 8px;padding:6px 8px}
.top-add svg{width:16px;height:16px}
.plist-add{padding:0 4px}
@media(max-width:600px){.plist-title{font-size:26px}.plist-row{grid-template-columns:24px 20px 36px minmax(0,1fr);gap:2px 6px}.plist-tools{grid-column:4;justify-content:flex-start}.plist-menu{width:auto}}
/* The collection (/u/<handle>/collection): a member's songs as covers over black, the one place covers fill the screen. */
.coll-page{position:absolute;inset:65px 0 0;z-index:5;display:flex;flex-direction:column;background:#000;animation:panel-in .2s ease-out}
.coll-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:10px 24px}
.coll-heading{flex:1;min-width:0}
.coll-heading h1{margin:0;overflow:hidden;font-size:20px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.coll-meta{margin:2px 0 0;font-size:12px;color:var(--muted)}
.coll-controls{display:flex;align-items:center;gap:10px}
.coll-filters{display:flex;gap:2px;padding:2px;border-radius:6px;background:#ffffff0f}
.coll-filters button{height:30px;padding:0 10px;border-radius:4px;font-size:12px;color:var(--muted)}
.coll-filters button:hover{color:var(--text)}
.coll-filters button[aria-pressed=true]{background:#ffffff1f;color:var(--text)}
.coll-stage{position:relative;flex:1;min-height:0;overflow:hidden}
.coll-stage canvas{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none;cursor:grab}
.coll-stage canvas:active{cursor:grabbing}
.coll-labels{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.coll-cluster{position:absolute;left:0;top:0;margin:0;padding:3px 7px;border-radius:4px;background:#000000b8;font-size:12px;color:var(--text);white-space:nowrap;will-change:transform,opacity}
.coll-status{position:absolute;left:50%;top:42%;max-width:46ch;margin:0;transform:translate(-50%,-50%);font-size:14px;line-height:1.5;text-align:center;color:var(--muted)}
.coll-status:empty{display:none}
.coll-card{position:absolute;z-index:2;width:260px;padding:12px;border-radius:6px;background:#0b0b0b;box-shadow:0 12px 40px #000d}
.coll-card-art{display:block;width:100%;aspect-ratio:1;margin-bottom:10px;border-radius:4px;object-fit:cover;background:#111}
.coll-card-title{display:block;font-size:15px;font-weight:500;overflow-wrap:anywhere}
.coll-card-artist{margin:2px 0 0;font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.coll-card-facts,.coll-card-where{margin:6px 0 0;font-size:12px;color:var(--muted)}
.coll-card-note{margin:8px 0 0;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.coll-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px}
.coll-card-actions .invite-button{height:32px}
.coll-list{flex:1;width:100%;max-width:860px;margin:0;padding:8px 24px calc(96px + var(--now-shift));align-self:center;overflow:auto;list-style:none}
.coll-row{padding:6px 0;border-top:1px solid #ffffff10}
.coll-row-where{display:block;padding:0 8px;font-size:12px;color:var(--muted)}
.profile-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.coll-entry{display:inline-flex;align-items:center;gap:6px;height:36px;text-decoration:none}
.coll-entry svg,.library-covers svg{width:16px;height:16px}
.library-covers{width:auto;margin:0 0 6px;padding:6px 8px}
@media(max-width:600px){.coll-page{top:59px}.coll-top{padding:8px 14px}.coll-controls{width:100%;justify-content:space-between}.coll-card{width:min(260px,calc(100% - 24px))}}
/* Your library: the column on the left, as in Spotify (app.js "Your library"). It is laid over the map; --rail is the room the map
   and the centred chrome leave it: 300px open, 72px as a rail (also under an overlay opened from it), 0 on a phone (a drawer). */
:root{--rail:0px;--detail-room:0px}
.side{position:absolute;left:0;top:65px;bottom:0;z-index:5;display:none;flex-direction:column;width:248px;padding:8px 6px calc(16px + var(--now-shift));background:#050505}
body[data-side=open] .side,body[data-side=rail] .side,body[data-side=overlay] .side,body[data-side=drawer] .side{display:flex}
body[data-side=rail] .side{width:56px}
body[data-side=overlay] .side,body[data-side=drawer] .side{z-index:8;box-shadow:12px 0 40px #000c}
.side-head{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:0 2px 6px}
.side-title{display:flex;align-items:center;gap:8px;min-height:32px;padding:0 8px;border-radius:4px;font-size:13px;font-weight:500;color:var(--muted)}
.side-title:hover{color:var(--text)}
.side-title svg{width:16px;height:16px}
.side-body{flex:1;min-height:0;display:flex;flex-direction:column}
.side-search{display:flex;align-items:center;gap:6px;height:30px;margin:0 2px 6px;padding:0 8px;border-radius:4px;background:#ffffff0c;color:var(--muted)}
.side-search svg{flex:none;width:14px;height:14px}
.side-search input{flex:1;min-width:0;border:0;background:none;color:var(--text);font-size:12px;outline:none}
.side-search:focus-within{outline:2px solid var(--accent);outline-offset:1px}
.side-new{display:flex;gap:6px;margin:0 4px 8px}
.side-new input{flex:1;min-width:0}
.side-list{flex:1;margin:0;padding:0;overflow-y:auto;list-style:none;scrollbar-width:thin;scrollbar-color:#3e454d transparent}
.side-item{display:flex;align-items:center;gap:10px;padding:4px 6px;border-radius:4px;color:var(--text);text-decoration:none}
.side-item:hover{background:#ffffff0f}
.side-item[aria-current]{background:#ffffff17}
.side-tile{flex:none;display:grid;place-items:center;width:32px;height:32px;overflow:hidden;border-radius:3px;background:#161616;color:var(--muted)}
.side-tile svg{width:15px;height:15px}
.side-tile img{display:block;width:100%;height:100%;object-fit:cover}
.side-tile.is-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}
.side-tile.is-liked{background:var(--accent);color:#000}
.side-tile.is-liked svg{fill:currentColor}
.side-text{min-width:0;display:flex;flex-direction:column;gap:2px}
.side-text strong{overflow:hidden;font-size:13px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}
.side-text small{overflow:hidden;font-size:11px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}
.side-empty{margin:8px;font-size:12px;color:var(--muted)}
.side-empty:empty{display:none}
body[data-side=rail] :is(.side-title span,.side-new-button,.side-search,.side-new,.side-text,.side-empty){display:none}
body[data-side=rail] .side-head{justify-content:center;padding:0 0 8px}
body[data-side=rail] .side-item{justify-content:center;padding:4px 0}
.side-toggle{display:none}
/* Everything centred on the screen centres on the room beside the column instead: the stage, from the column's edge to the open song
   panel's. --detail-room is what the song panel takes from its right (app.js, "The stage"); the wheel centres on the same middle. */
.status-bar,.context-legend{left:calc(var(--rail) + 26px)}
.notice{left:calc(50% + var(--rail) / 2)}
.link-hint{left:calc(50% + var(--rail) / 2);max-width:min(520px,calc(100vw - var(--rail) - 640px))}
.profile-page,.coll-page{left:var(--rail)}
@media(min-width:1101px){
  .search-area{left:calc(50% + (var(--rail) - var(--detail-room)) / 2);width:clamp(320px,calc(100vw - var(--rail) - 760px),520px)}
  .clear-near{left:calc(50% + (var(--rail) - var(--detail-room)) / 2)}
  /* The bar keeps off the map's counts and genre strip at the foot, 300px from the column: with the song panel open it narrows
     to stay centred rather than slide, and at its narrowest it slides (the max() in `left`) instead of covering them. */
  /* The sheet that opens from the bar shares the bar's middle and width (--bar-x, --bar-w), so the two always line up; it is never
     narrower than its two columns need (600px), and never wider than the room beside the column and the song panel. */
  .player-bar,.player-full{--rail-b:calc(var(--rail) + var(--dock-l,0px));--room-b:calc(var(--detail-room) + var(--dock-r,0px));--bar-w:max(360px,min(clamp(440px,calc(100vw - var(--rail-b) - max(680px,var(--room-b) + 600px)),960px),calc(100vw - var(--rail-b) - var(--room-b) - 312px)));--bar-x:max(calc(50% + (var(--rail-b) - var(--room-b)) / 2),calc(var(--rail-b) + 300px + var(--bar-w) / 2))}
  .player-bar{left:var(--bar-x);width:var(--bar-w)}
  .player-full{--pf-w:min(max(var(--bar-w),520px),calc(100vw - var(--rail-b) - var(--room-b) - 24px));width:var(--pf-w);left:max(calc(var(--rail-b) + 12px),min(calc(var(--bar-x) - var(--pf-w) / 2),calc(100vw - var(--room-b) - 12px - var(--pf-w))))}
  .filter-bar{max-width:calc(100vw - var(--rail) - 48px)}
}
@media(min-width:601px) and (max-width:1100px){
  .search-area{left:calc(50% + var(--rail) / 2);width:min(520px,calc(100vw - var(--rail) - 48px))}
  /* 308px is the song panel's room (DETAIL_ROOM in app.js); the top songs, which the wheel ignores, keep the search clear of them too. */
  body[data-detail=open] .search-area{left:calc(var(--rail) + (100vw - var(--rail) - 308px) / 2);width:min(520px,calc(100vw - var(--rail) - 378px))}
  .player-bar{left:calc(var(--rail) + 8px)}
  .filter-bar{max-width:calc(100vw - var(--rail) - 48px)}
}
/* The stage's middle moves when the column or the song panel opens or shuts. app.js (settleStage) marks only that move, so the pieces
   centred on it glide there with the wheel; a window being resized never lags. */
@media(prefers-reduced-motion:no-preference){
  body[data-stage=glide] :is(.search-area,.clear-near,.player-bar,.player-full){transition:left .26s ease-in-out,width .26s ease-in-out}
}
@media(max-width:600px){.side-toggle{display:inline-flex}.side{top:59px;width:min(320px,86vw)}body[data-side=drawer] .side{z-index:8}}
/* The "+" beside a song, and the menu it opens: as in Spotify, a circle that ticks once the song is saved anywhere. */
.add-button svg{width:20px;height:20px}
.add-button.is-saved{color:var(--accent)}
.plist-menu{display:flex;flex-direction:column;width:340px;max-height:min(78dvh,620px);padding:0;background:#141414}
.plist-menu-top{padding:16px 14px 6px}
.plist-menu:focus{outline:none}
.plist-menu-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.plist-menu-title{margin:0;font-size:17px;font-weight:700;color:var(--text)}
.plist-menu-what{margin:4px 0 10px;overflow:hidden;font-size:12px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}
.plist-menu-search{margin:0 0 6px}
.plist-menu-create{flex:none;padding:6px 2px;font-size:13px;font-weight:500;color:var(--accent)}
.plist-menu-create:hover{text-decoration:underline}
.plist-menu .plist-menu-new{margin:4px 0 6px}
.plist-menu .sheet-body{padding:0 8px 6px;border-top:1px solid #ffffff12}
.plist-menu .sheet-body{padding-top:6px}
.plist-menu-divider{height:1px;margin:6px;border:0;background:#ffffff14}
.plist-menu-item{display:flex;align-items:center;gap:12px;width:100%;padding:6px;border-radius:4px;text-align:left}
.plist-menu-item:hover{background:#ffffff0f}
.plist-menu-item .side-tile{width:36px;height:36px}
.plist-menu-item .side-tile svg{width:16px;height:16px;color:inherit}
.plist-menu-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.plist-menu-text strong{overflow:hidden;font-size:14px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.plist-menu-text small{font-size:12px;color:var(--muted)}
.plist-menu-mark{flex:none;display:grid;place-items:center;width:24px;height:24px;border:1.5px solid #8a8a8a;border-radius:50%}
.plist-menu-mark.is-on{border-color:var(--accent);background:var(--accent)}
.plist-menu-item .plist-menu-mark svg{width:14px;height:14px;stroke-width:2.5;color:#bdbdbd}
.plist-menu-item .plist-menu-mark.is-on svg{stroke-width:3;color:#000}
.plist-menu-status{margin:4px 14px}
.plist-menu-status:empty{display:none}
.plist-menu-foot{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:12px 14px;border-top:1px solid #ffffff12}
.plist-menu-done{height:34px;padding:0 18px}
/* On a phone, Spotify's "Saved in" sheet: a handle, a bold title, big covers, and a round Done. */
@media(max-width:600px){
  .plist-menu{width:auto;max-height:82dvh}
  .plist-menu-top{position:relative;padding:24px 16px 8px}
  .plist-menu-top::before{content:'';position:absolute;left:50%;top:8px;width:36px;height:4px;margin-left:-18px;border-radius:2px;background:#ffffff30}
  .plist-menu-title{font-size:21px}
  .plist-menu-create{font-size:14px}
  .plist-menu-what{font-size:13px}
  .plist-menu-search input{font-size:16px}
  .plist-menu-item{padding:8px}
  .plist-menu-item .side-tile{width:52px;height:52px}
  .plist-menu-item .side-tile svg{width:22px;height:22px}
  .plist-menu-text{gap:3px}
  .plist-menu-text strong{font-size:16px;font-weight:400}
  .plist-menu-text small{font-size:13px}
  .plist-menu-mark{width:28px;height:28px}
  .plist-menu-item .plist-menu-mark svg{width:16px;height:16px}
  .plist-menu-foot{padding:12px 16px}
  .plist-menu-done{height:42px;padding:0 28px;border-radius:21px;background:var(--accent);color:#000;font-size:14px;font-weight:500}
}
/* Dragging a song: a card under the pointer, and the places that take it outlined. */
.drag-ghost{position:fixed;left:0;top:0;z-index:40;max-width:300px;padding:7px 12px;overflow:hidden;border-radius:6px;background:#242424;box-shadow:0 8px 24px #000a;font-size:13px;color:var(--text);text-overflow:ellipsis;white-space:nowrap;pointer-events:none}
.drag-ghost.is-over{background:var(--accent);color:#000}
body.dragging-song,body.dragging-song *{cursor:grabbing!important;user-select:none!important}
body.dragging-song :is(.side-item[data-drop],.side-new-button,.plist-sheet[data-drop]){outline:1px dashed #ffffff38;outline-offset:-2px}
body.dragging-song :is(.side-item,.side-new-button,.plist-sheet).drop-over{outline:2px solid var(--accent);outline-offset:-2px;background:var(--accent-wash)}
.plist-mixes{margin:28px 0 0}
/* A list shown in the column itself (a playlist, Liked tracks, the saved mixes): the map stays beside it. */
.side-detail{display:flex;flex-direction:column;gap:6px;padding:0 2px 8px;border-bottom:1px solid #ffffff10;margin-bottom:6px}
.side-detail-top{display:flex;align-items:center;gap:4px;min-width:0}
.side-detail-top .icon-button{width:28px;height:28px}
.side-detail-text{min-width:0;display:flex;flex-direction:column;gap:1px}
.side-detail-text strong{overflow:hidden;font-size:13px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.side-detail-text small{font-size:11px;color:var(--muted)}
.side-detail-tools{display:flex;gap:2px;padding-left:30px}
.side-detail-tools .icon-button{width:28px;height:28px;color:var(--muted)}
.side-detail-tools .icon-button:hover{color:var(--text)}
.side-detail .icon-button svg{width:15px;height:15px}
.side-track-row{display:flex;align-items:center;border-radius:4px}
.side-track-row:hover{background:#ffffff0c}
.side-track{flex:1;min-width:0;display:flex;align-items:center;gap:8px;padding:5px 6px;text-align:left}
.side-track-number{flex:none;width:18px;font-size:11px;color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}
.side-track-text{min-width:0;display:flex;flex-direction:column;gap:1px}
.side-track-text strong{overflow:hidden;font-size:12px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}
.side-track-text small{overflow:hidden;font-size:11px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}
.side-track-row.is-playing .side-track-text strong,.side-track-row.is-playing .side-track-number{color:var(--accent)}
.side-track-remove{width:26px;height:26px;opacity:0;color:var(--muted)}
.side-track-row:hover .side-track-remove,.side-track-remove:focus-visible{opacity:1}
@media(hover:none){.side-track-remove{opacity:.7}}
.side-list .library-item{gap:0}
.side-list .library-song{padding:5px 6px}
.side-list .library-song strong{font-size:12px;font-weight:400}
.side-list .library-song small{font-size:11px}
body.dragging-song #side-list[data-drop]{outline:1px dashed #ffffff38;outline-offset:-2px}
body.dragging-song #side-list.drop-over{outline:2px solid var(--accent);outline-offset:-2px;background:var(--accent-wash)}
/* A song's cover beside its name in lists. */
.side-track-art,.plist-art{flex:none;display:block;overflow:hidden;border-radius:3px;background:#161616}
.side-track-art{width:30px;height:30px}
.plist-art{width:40px;height:40px;margin-top:4px}
.side-track-art img,.plist-art img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:600px){.plist-art{width:36px;height:36px}}
/* A song with no cover: a white-label record (white-label.svg: a white disc, its spindle hole, a hairline; Jad's art) on the hatched dark sleeve.
   Nothing is fetched but that one small file. */
.no-cover{background:url(/white-label.svg) center/74% auto no-repeat,repeating-linear-gradient(135deg,#232323 0 3px,#191919 3px 6px)}
/* The listening history in the library column: a line per session, then its songs. */
.side-session{margin:10px 6px 4px;font-size:11px;color:var(--muted);letter-spacing:.02em}
.side-session:first-child{margin-top:2px}
.side-more{width:auto;margin:6px 4px 0;padding:6px 8px}
.side-track:disabled{opacity:.55;cursor:default}
/* A phone's tab bar, as in Spotify: Home (the map), Search and Your library. Everything that stands on the foot of the screen
   (the player bar, the song panel, the map's tools) stands on it instead, through --tabbar and --now-shift. */
.tabbar,.search-browse,.search-cancel,.lib-tabs{display:none}
@media(max-width:600px){
  :root{--tabbar:calc(56px + env(safe-area-inset-bottom))}
  body{--now-shift:var(--tabbar)}
  body[data-now=on]{--now-shift:calc(var(--tabbar) + 80px)}
  .player-bar{bottom:calc(var(--tabbar) + 4px)}
  .tabbar{position:fixed;left:0;right:0;bottom:0;z-index:7;display:grid;grid-template-columns:repeat(3,1fr);height:var(--tabbar);padding-bottom:env(safe-area-inset-bottom);background:#000}
  .tabbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--muted);font-size:11px;letter-spacing:.01em}
  .tabbar button svg{width:23px;height:23px;stroke-width:1.8}
  .tabbar button[aria-current=page]{color:#fff}
  .tabbar button[aria-current=page] svg{stroke-width:2.4}
  .tabbar button:focus-visible{outline:2px solid var(--accent);outline-offset:-4px;border-radius:8px}
  /* Your library, signed in: a row of chips (Collection, Playlists, Mixes, Profile) under the top bar. The column, the Collection and
     the profile start below it, and their own back arrows give way to it. */
  :root{--lib-tabs:52px}
  .lib-tabs:not([hidden]){position:fixed;top:59px;left:0;right:0;z-index:9;display:flex;align-items:center;gap:8px;height:var(--lib-tabs);padding:0 12px;background:#000;overflow-x:auto;scrollbar-width:none}
  .lib-tabs::-webkit-scrollbar{display:none}
  .lib-tabs button{flex:none;height:34px;padding:0 16px;border-radius:17px;background:#1f1f1f;color:#d4d4d4;font-size:14px;font-weight:500;white-space:nowrap}
  .lib-tabs button[aria-current=page]{background:var(--accent);color:#000}
  .lib-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
  body[data-lib] :is(.side,.coll-page,.profile-page){top:calc(59px + var(--lib-tabs))}
  body[data-lib] :is(#coll-back,#close-profile){display:none}
  body[data-lib=mixes] .side-head{display:none}
  .side-detail.is-section .side-detail-tools{padding-left:8px}
  /* The library is the column, full width, from the top bar to the player. The top bar's Library button gives way to the tab. */
  #side-toggle{display:none}
  .side{width:100%;bottom:var(--tabbar);padding-bottom:calc(16px + var(--now-shift) - var(--tabbar));border-right:0}
  /* Read like Spotify's library on a phone: a bold title (a heading here, the tab bar opens and closes the column), covers
     big enough to recognise, text at phone size, one 16px edge for the title, the search and the covers, room between rows.
     The search is 16px so the phone does not zoom in on it. */
  .side{padding-top:12px;padding-left:8px;padding-right:8px}
  .side-head{padding:0 4px 10px 8px}
  .side-title{min-height:40px;padding:0;font-size:22px;font-weight:700;color:var(--text);cursor:default}
  .side-title:hover{color:var(--text)}
  .side-title svg{display:none}
  .side-new-button{width:40px;height:40px}
  .side-new-button svg{width:24px;height:24px}
  .side-search{gap:10px;height:40px;margin:0 8px 10px;padding:0 12px;border-radius:8px}
  .side-search svg{width:18px;height:18px}
  .side-search input{font-size:16px}
  .side-item{gap:12px;padding:6px 8px;border-radius:6px}
  .side-tile{width:56px;height:56px;border-radius:4px;background:#1c1c1c}
  .side-tile svg{width:24px;height:24px}
  .side-text{gap:4px}
  .side-text strong{font-size:16px}
  .side-text small{font-size:13px}
  /* A list opened in it follows at the same size. */
  .side-detail-text strong{font-size:17px}
  .side-detail-text small{font-size:13px}
  .side-detail-top{gap:8px}
  .side-detail-top .icon-button,.side-detail-tools .icon-button{width:40px;height:40px}
  .side-detail .icon-button svg{width:20px;height:20px}
  .side-detail-tools{gap:4px;padding-left:44px}
  .side-track{gap:12px;padding:6px 8px}
  .side-track-number{width:20px;font-size:13px}
  .side-track-art{width:48px;height:48px}
  .side-track-text{gap:3px}
  .side-track-text strong,.side-list .library-song strong{font-size:15px}
  .side-track-text small,.side-list .library-song small{font-size:13px}
  .side-list .library-song{padding:8px}
  .side-session{margin:14px 8px 6px;font-size:12px}
  .side-empty{font-size:14px}
  .profile-page,.coll-page,.plist-page{bottom:var(--tabbar)}
  /* The hint about lines spans the screen above the tools (the rule centring it beside the column is for wider screens). */
  .link-hint{left:12px;right:12px;bottom:calc(var(--now-shift) + 52px);transform:none;width:auto;max-width:none}
  /* Home is the map and its filters; the search box has a tab of its own. */
  body:not([data-tab=search]) .search-box,body:not([data-tab=search]) .search-results,body:not([data-tab=search]) .clear-near{display:none}
  body[data-tab=search] .search-area{position:fixed;top:59px;left:0;right:0;bottom:var(--tabbar);width:auto;padding:12px 14px calc(var(--now-shift) - var(--tabbar));background:#000;overflow:hidden;display:flex;flex-direction:column;z-index:6}
  body[data-tab=search] .search-box{flex:none}
  body[data-tab=search] .search-results{position:static;flex:1 1 auto;min-height:0;max-height:none;margin-top:10px;overflow:auto;box-shadow:none}
  body[data-tab=search] .search-results:not([hidden])~.filter-bar{display:none}
  /* The Search tab, as Spotify's: a big box (16px, so the phone does not zoom), Cancel beside it while it is in use, the
     recent searches and the results as large rows. Under the box, until it is used, browsing by genre takes the place of
     the map's filters (Home has them). */
  body[data-tab=search] .search-box{height:44px;border-radius:8px}
  body[data-tab=search] #search{font-size:16px}
  body[data-tab=search] :is(.filter-bar,.filter-toggle){display:none}
  body[data-tab=search] .search-area.is-active .search-box{margin-right:72px}
  body[data-tab=search] .search-area.is-active .search-cancel{display:block;position:absolute;top:12px;right:8px;height:44px;padding:0 8px;font-size:15px;color:var(--text)}
  body[data-tab=search] .search-results{padding:0;background:none}
  body[data-tab=search] .search-group{padding:16px 0 6px;font-size:19px;font-weight:700;color:var(--text)}
  body[data-tab=search] .search-result{gap:14px;padding:8px 0;min-height:64px}
  body[data-tab=search] .search-result:hover{background:none}
  body[data-tab=search] .search-result .result-cover{width:52px;height:52px}
  body[data-tab=search] .result-copy strong{font-size:16px;font-weight:400}
  body[data-tab=search] .result-copy small{font-size:13px}
  body[data-tab=search] .search-forget{width:44px;height:44px;margin-right:-10px}
  body[data-tab=search] .search-forget svg{width:22px;height:22px}
  body[data-tab=search] .search-browse{order:3;display:flex;flex-direction:column;flex:1 1 auto;min-height:0;margin:14px -14px 0}
  body[data-tab=search] .search-area:has(.search-results:not([hidden])) .search-browse{display:none}
  body[data-tab=search] .filter-bar{order:2;margin-top:12px}
  body[data-tab=search] :is(.canvas-tools,.status-bar,.context-legend,.link-hint,.detail-panel,.top-panel){visibility:hidden}
}
.browse-chips{flex:none;display:flex;gap:8px;overflow-x:auto;padding:0 14px 10px;scrollbar-width:none}
.browse-chips::-webkit-scrollbar{display:none}
.browse-chip{flex:none;height:34px;padding:0 15px;border-radius:17px;background:#ffffff10;box-shadow:inset 0 0 0 1px #ffffff1c;color:var(--text);font-size:14px;white-space:nowrap}
.browse-chip[aria-pressed=true]{background:var(--accent);box-shadow:none;color:#000;font-weight:500}
.browse-chips.is-styles .browse-chip{height:30px;padding:0 13px;background:none;font-size:13px}
.browse-chips.is-styles .browse-chip[aria-pressed=true]{background:#f2f2f2;color:#000}
.browse-body{flex:1;min-height:0;overflow-y:auto;padding:4px 14px 24px}
.browse-section{margin:14px 0 26px}
.browse-head h2{margin:0;font-size:20px;font-weight:700;line-height:1.25}
.browse-head p{margin:3px 0 0;font-size:13px;color:var(--muted)}
.browse-shelf{display:flex;gap:14px;overflow-x:auto;margin:12px -14px 0;padding:0 14px;scrollbar-width:none;scroll-snap-type:x proximity;scroll-padding:0 14px}
.browse-shelf::-webkit-scrollbar{display:none}
.browse-card{flex:none;display:flex;flex-direction:column;gap:3px;width:144px;text-align:left;scroll-snap-align:start}
.browse-card .browse-art{position:relative;flex:none;width:144px;height:144px;margin-bottom:7px;overflow:hidden;border-radius:6px;background:#1a1a1a}
.browse-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.browse-cover{position:absolute;inset:0;display:block}
.result-cover .browse-cover.no-cover{display:none}
.browse-play{position:absolute;right:8px;bottom:8px;z-index:1;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent);color:#000;box-shadow:0 4px 12px #0009}
.browse-play svg{width:16px;height:16px;fill:currentColor}
.browse-card strong{display:-webkit-box;overflow:hidden;font-size:14px;font-weight:500;line-height:1.3;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.browse-card small{overflow:hidden;font-size:12px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}
.browse-card.is-person{width:118px;align-items:center;text-align:center}
.browse-card.is-person .browse-art{width:118px;height:118px;border-radius:50%;font-size:26px}
.browse-songs{display:flex;flex-direction:column;margin-top:8px}
.browse-song{display:flex;align-items:center;gap:12px;padding:7px 0;text-align:left}
.browse-rank{flex:none;width:18px;font-size:13px;color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}
.browse-song .result-cover{width:48px;height:48px}
.browse-song-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.browse-song-text strong{overflow:hidden;font-size:15px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}
.browse-song-text small{overflow:hidden;font-size:13px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}
.browse-song-plays{flex:none;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.browse-map{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:46px;margin:0 0 8px;border-radius:23px;background:#ffffff10;box-shadow:inset 0 0 0 1px #ffffff1c;font-size:14px;font-weight:500;color:var(--text)}
.browse-map svg{width:18px;height:18px}
.browse-note{margin:18px 0;font-size:14px;color:var(--muted)}
/* Minimizing (app.js "The docks"): the Explore panel and the panel on the right (the song, a searched name, the top songs) can be sent down
   to the foot of the screen, in the player bar's own row (bottom 24px, 68px tall): Explore at the left of it, the other at the right. The stage
   takes back their room, and the player bar leaves room for them (--dock-l, --dock-r in its width and place). 1101 px and wider only. */
.dock,.panel-min{display:none}
@media(min-width:1101px){
  .panel-min{display:inline-grid}
  .panel-heading .panel-min{margin-left:auto}
  .explore-top-actions{display:flex;align-items:center;gap:2px}
  .dock:not([hidden]){position:fixed;bottom:24px;height:68px;z-index:6;display:flex;align-items:center;gap:2px;padding:0 6px 0 4px;border-radius:14px;background:#0b0b0b}
  .dock-explore{left:var(--explore-left,10px);width:210px}
  .dock-right{right:24px;width:280px}
  .dock-open{flex:1;min-width:0;height:100%;display:flex;align-items:center;gap:10px;padding:0 6px 0 12px;text-align:left;color:var(--text)}
  .dock-open>svg:first-child{flex:none;width:18px;height:18px;color:#ffb347}
  .dock-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
  .dock-text strong{overflow:hidden;font-size:14px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
  .dock-text small{overflow:hidden;font-size:12px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}
  .dock-up{flex:none;width:16px;height:16px;color:var(--muted)}
  .dock-open:hover .dock-up{color:var(--text)}
  .dock-art{flex:none;width:44px;height:44px;border-radius:8px;background:#1a1a1a center/cover no-repeat;box-shadow:inset 0 0 0 1px #ffffff1a}
  .dock-art[hidden]{display:none}
  body[data-dockr=on] .reset-view{right:calc(var(--dock-r,0px) + 24px)}
  body[data-dockl=on] .context-legend{display:none}
  body[data-profile=open] .dock{visibility:hidden}
}
@media(min-width:1600px){.dock-right{right:30px}body[data-dockr=on] .reset-view{right:calc(var(--dock-r,0px) + 30px)}}
/* The artist in the player (the bar's line and the sheet's) opens their page. */
.pb-artist[role=link],.pf-artist[role=link]{cursor:pointer}
.pf-artist[role=link]{text-decoration:underline dotted #ffffff66;text-underline-offset:3px}
.pb-artist[role=link]:hover,.pf-artist[role=link]:hover,.pb-artist[role=link]:focus-visible,.pf-artist[role=link]:focus-visible{text-decoration:underline;text-underline-offset:2px;color:var(--text)}
/* Resizing (app.js "Panel widths"): a strip over the inside edge of Explore and of the panel on the right (the song, a searched name, the top
   songs), which share one width. 1101 px and wider only. The width is --explore-w and --right-w, set from the script. */
.panel-resize{display:none}
@media(min-width:1101px){
  .panel-resize:not([hidden]){position:fixed;z-index:6;display:block;width:12px;cursor:col-resize;touch-action:none;outline:none}
  .panel-resize::after{content:"";position:absolute;top:14px;bottom:14px;left:5px;width:2px;border-radius:1px;background:#ffffff14;transition:background .15s}
  .panel-resize:hover::after,.panel-resize:focus-visible::after,.panel-resize.is-dragging::after{background:#ffffff80}
  .detail-panel,.top-panel{width:var(--right-w,300px)}
  body[data-resizing]{cursor:col-resize;user-select:none;-webkit-user-select:none}
}
/* Explore (app.js "Explore"): the browse view as a panel beside the map, from the chip before Genre. 1101 px and wider only; a phone has
   the Search tab. It stands on the left, next to the library column (--explore-left), so the right stays free for the song panel; the
   room it takes from the stage is railRoom() in app.js, which --rail carries. Its glass is the song panel's (the block at the end of
   the file lists it with .detail-panel); this base is the solid fallback. */
.explore-chip,.explore-panel{display:none}
.browse-arrows{display:none}
.explore-panel{background:#0b0b0b;border-radius:14px}
@media(min-width:1101px){
  .explore-chip{display:inline-flex;align-items:center;gap:5px;--glass-line:#f2703a99;color:#ffb347}
  .explore-chip svg{width:13px;height:13px;flex:none}
  .explore-chip[aria-pressed=true]{border-color:#ffffff40;background:linear-gradient(90deg,#ffa62bd9,#f2703ad9 55%,#d1493fd9);color:#1a0b05;box-shadow:inset 0 1px 0 #ffffff66,0 2px 14px #f2703a59}
  .explore-panel:not([hidden]){position:absolute;left:var(--explore-left,10px);top:73px;bottom:10px;z-index:4;display:flex;flex-direction:column;width:var(--explore-w,min(480px,36vw));padding:16px 18px 0;animation:panel-in .2s ease-out}
  /* The search box and its chips centre on the room right of the panel, which on a narrow screen puts them under the top right's links
     (a signed-in admin's are about 430px wide): they stop short of those. */
  body[data-explore=open] :is(.search-area,.clear-near){left:min(calc(50% + (var(--rail) - var(--detail-room)) / 2),calc(100vw - 440px - clamp(320px,calc(100vw - var(--rail) - 760px),520px) / 2))}
  .explore-top{display:flex;align-items:center;justify-content:space-between;margin:0 -7px 12px 0}
  .explore-top h2{margin:0;font-size:16px;font-weight:600}
  /* Two rows, one line each, each scrolling sideways: the genres (the big pills), then the styles of the chosen genre (smaller, plain text). */
  .explore-search{height:32px;margin:-4px 0 14px;padding:0 10px;border-radius:6px}
  .explore-search input{font-size:13px}
  .explore-label{margin:0 0 6px;font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
  .explore-chips{flex:none;flex-wrap:nowrap;overflow-x:auto;margin:0 -18px 12px;padding:0 18px;scrollbar-width:none;
    -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent)}
  .explore-chips::-webkit-scrollbar{display:none}
  .explore-panel .browse-chip{height:28px;padding:0 12px;border-radius:14px;font-size:13px;background:#ffffff14;box-shadow:inset 0 1px 0 #ffffff1f,inset 0 0 0 1px #ffffff14}
  .explore-panel .browse-chip:hover{background:#ffffff1f}
  .explore-panel .browse-chip[aria-pressed=true]{background:color-mix(in srgb,var(--accent) 30%,#ffffff10);box-shadow:inset 0 1px 0 #ffffff55,inset 0 0 0 1px color-mix(in srgb,var(--accent) 60%,transparent);color:#fff;font-weight:500}
  .explore-panel .browse-chips.is-styles .browse-chip{height:26px;padding:0 10px;font-size:12px;background:none;box-shadow:none;color:#d4d4d4}
  .explore-panel .browse-chips.is-styles .browse-chip:hover{background:#ffffff14}
  .explore-panel .browse-chips.is-styles .browse-chip[aria-pressed=true]{background:#ffffff26;box-shadow:inset 0 1px 0 #ffffff33,inset 0 0 0 1px #ffffff1f;color:#fff}
  .explore-panel .browse-body{padding:4px 6px 20px 0;scrollbar-width:thin;scrollbar-color:#ffffff40 transparent}
  .explore-panel .browse-head h2{font-size:16px}
  /* The shelves are rows that scroll sideways, as on a phone and in Deezer's: one line of cards (144px, 196px for a pick of ours, 118px
     round for a DJ), the songs in columns of three, each fading out at the panel's edge. The arrows are for a mouse. */
  .explore-panel .browse-shelf{margin:12px 0 0;padding:0;scroll-padding:0;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent)}
  .explore-panel .browse-songs{display:grid;grid-auto-flow:column;grid-template-rows:repeat(3,auto);grid-auto-columns:252px;column-gap:20px;margin-top:8px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;
    -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent)}
  .explore-panel .browse-songs::-webkit-scrollbar{display:none}
  .explore-panel .browse-song{scroll-snap-align:start;min-width:0}
  .explore-panel .browse-head{position:relative;padding-right:68px}
  .explore-panel .browse-arrows{position:absolute;right:0;top:0;display:flex;gap:6px}
  .explore-panel .browse-arrows[hidden]{display:none}
  .explore-label{position:relative}
  .explore-label .browse-arrows{top:-8px}
  .explore-label .browse-arrow{width:24px;height:24px}
  .explore-panel .browse-arrow{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#ffffff14;box-shadow:inset 0 1px 0 #ffffff1f,inset 0 0 0 1px #ffffff14;color:var(--text)}
  .explore-panel .browse-arrow:hover:not(:disabled){background:#ffffff26}
  .explore-panel .browse-arrow:disabled{opacity:.35;cursor:default}
  .explore-panel .browse-arrow svg{width:16px;height:16px}
  .explore-panel .browse-card .browse-art,.explore-panel .browse-card.is-gem .browse-art{border-radius:10px;box-shadow:inset 0 0 0 1px #ffffff1a}
  .explore-panel .browse-card.is-person .browse-art{border-radius:50%}
  .explore-panel .browse-song .result-cover{border-radius:8px}
  .explore-panel .browse-map{height:40px;margin-top:6px;border-radius:20px;background:#ffffff14;box-shadow:inset 0 1px 0 #ffffff1f,inset 0 0 0 1px #ffffff14}
}

/* A DJ's page: the songs they play most beside their mixes, then where and with whom they play. */
.dj-head{display:flex;align-items:center;gap:24px;padding:4px 0 18px}
.dj-head-text{min-width:0}
.dj-photo{position:relative;flex:none;width:132px;height:132px;margin:0;border-radius:50%;overflow:hidden;background:#161616;display:grid;place-items:center}
.dj-photo img{width:100%;height:100%;object-fit:cover;display:block}
.dj-initials{font:400 40px/1 var(--brand-font);letter-spacing:.04em;color:#f1f1ee}
.dj-photo-credit{position:absolute;left:50%;bottom:6px;transform:translateX(-50%);padding:1px 6px;border-radius:999px;background:#000a;color:#ddd;font-size:10px;text-decoration:none;opacity:0;transition:opacity .2s}
.dj-photo:hover .dj-photo-credit,.dj-photo-credit:focus-visible{opacity:1}
.dj-bio{max-width:760px;margin:0 0 26px}
.dj-bio-text{margin:0;font-size:14px;line-height:1.6;color:#d6d6d6;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}
.dj-bio-text.is-open{display:block;-webkit-line-clamp:unset}
.dj-bio .text-button{margin:4px 0 0;padding:0}
.dj-credit{margin:8px 0 0;font-size:12px;color:var(--muted)}
.dj-credit a{color:inherit}
@media(max-width:600px){.dj-head{flex-direction:column;align-items:flex-start;gap:14px}.dj-photo{width:108px;height:108px}.dj-initials{font-size:32px}}
.dj-kind{margin:0 0 4px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.dj-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;align-items:start}
.dj-main{min-width:0}
.dj-songs{margin-bottom:28px}
.dj-song{grid-template-columns:24px 20px 40px minmax(0,1fr) auto;align-items:center;padding-top:4px;padding-bottom:4px}
.dj-song .plist-tools{opacity:1;align-items:center;gap:6px}
.dj-song .plist-art{width:40px;height:40px}
.dj-locked{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 8px;color:var(--muted);font-size:14px}
.dj-when{display:block;margin:2px 0 0 8px;font-size:12px;color:var(--muted)}
.dj-count{min-width:22px;text-align:right;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.dj-mixes{margin:0 0 12px;padding:0}
.dj-mix{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;column-gap:10px;padding:2px 0}
.dj-mix>svg{width:15px;height:15px;color:var(--muted)}
.dj-mix .library-song{min-width:0}
.dj-with{grid-column:2;margin:-2px 0 6px 8px;font-size:12px;color:var(--muted)}
.dj-link{color:var(--accent-ink);text-decoration:none}
.dj-link:hover{text-decoration:underline}
.dj-more{list-style:none;padding:6px 8px}
.dj-partners{list-style:none;margin:0 8px 6px;padding:0}
.dj-partners li{display:flex;justify-content:space-between;gap:10px;padding:5px 0;font-size:13px}
.dj-partners small{color:var(--muted);font-size:12px}
.dj-caveat{margin-top:28px}
.result-dot.is-dj{border-radius:2px}
@media(max-width:900px){.dj-columns{grid-template-columns:minmax(0,1fr);gap:20px}}
@media(max-width:600px){.dj-song{grid-template-columns:18px 40px minmax(0,1fr) auto;gap:2px 8px}.dj-song .plist-grip-space{display:none}.dj-song .plist-tools{grid-column:auto;justify-content:flex-end}}
/* The player bar: frosted glass with a soft wash of the cover's colour, rather than a solid slab. The map shows through,
   blurred; where the browser cannot blur, it stays the solid bar it was. The 15-second jumps sit either side of previous and
   next (a phone keeps them in the open player, where there is room). */
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .player-bar{background:linear-gradient(105deg,color-mix(in srgb,var(--tint,#000) 38%,rgba(12,12,12,.35)) 0%,color-mix(in srgb,var(--tint,#000) 16%,rgba(12,12,12,.55)) 50%,rgba(12,12,12,.66) 100%);
    -webkit-backdrop-filter:blur(24px) saturate(150%);backdrop-filter:blur(24px) saturate(150%);box-shadow:0 10px 36px #0008,inset 0 1px 0 #ffffff14,inset 0 0 0 1px #ffffff0d}
}
@media(min-width:1101px){.player-bar{border-radius:14px;clip-path:inset(-40px 0 0 0 round 14px)}}
@media(max-width:1100px){.player-bar{border-radius:14px}}
/* On a phone the bar is only slightly see-through, as Spotify's is. While a song plays the wheel sits to one side and the bar
   mostly floats over empty black, where a black wash can show nothing through (that is why a first, darker version still read
   as solid on a real phone). So the wash is a lifted grey with the cover's colour in it: a pane lighter than the page, and
   where dots pass behind it they show through under a 3px blur instead of melting into a smear (24px above). */
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  @media(max-width:600px){
    .player-bar{background:linear-gradient(105deg,color-mix(in srgb,var(--tint,#000) 36%,rgba(70,70,74,.42)) 0%,color-mix(in srgb,var(--tint,#000) 20%,rgba(58,58,62,.5)) 55%,rgba(52,52,56,.56) 100%);
      -webkit-backdrop-filter:blur(3px) saturate(130%);backdrop-filter:blur(3px) saturate(130%)}
  }
}
/* The phone's tab bar over the map (the Graph tab) fades in instead of cutting the map off with a black slab: dark glass, lighter
   at its top edge and darker at the foot where the labels sit, with a 12px blur so dots become a soft glow rather than specks
   behind the icons. Only on the Graph tab: Search, Library and the profile are opaque black screens that end at the bar, and a
   see-through bar there would leak the map's glow into them. Everywhere else it stays the solid black above. */
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  @media(max-width:600px){
    body[data-tab=home] .tabbar{background:linear-gradient(180deg,rgba(0,0,0,.4),rgba(0,0,0,.72) 40%,rgba(0,0,0,.84));
      -webkit-backdrop-filter:blur(12px) saturate(130%);backdrop-filter:blur(12px) saturate(130%)}
  }
}
.pb-jump{width:38px}
.pb-jump svg{width:22px;height:22px}
.pb-jump b{font-size:7.5px}
@media(max-width:600px){.pb-jump{display:none}}
/* One's most listened songs on one's own profile: the covers, big, in a row that wraps; the rank on the cover, a play button
   that comes up on hover, the listens under the name. */
.profile-top{margin:0 0 34px}
.profile-top-head{display:flex;align-items:baseline;gap:14px;margin:0 0 14px}
.profile-top-head .profile-section-title{margin:0}
.top-tile{min-width:0}
.top-tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:22px 18px}
.top-tile-open{display:flex;flex-direction:column;gap:3px;width:100%;padding:0;text-align:left;color:var(--text);background:none;border:0;cursor:pointer}
.top-cover{position:relative;display:block;margin:0 0 8px;transition:transform .2s ease}
.top-art{display:block;aspect-ratio:1;width:100%;border-radius:6px;overflow:hidden;background-color:#161616;box-shadow:0 10px 30px #0009}
.top-art.no-cover{background:url(/white-label.svg) center/74% auto no-repeat,repeating-linear-gradient(135deg,#232323 0 3px,#191919 3px 6px) #0d0d0d}
.top-art img{display:block;width:100%;height:100%;object-fit:cover}
.top-tile-open:hover .top-cover,.top-tile-open:focus-visible .top-cover{transform:translateY(-3px)}
.top-rank{position:absolute;left:8px;top:8px;min-width:28px;padding:4px 7px;border-radius:999px;background:#000b;font:600 15px/1 var(--font, 'DM Sans', sans-serif);
color:#fff;text-align:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.top-play{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;
background:var(--accent);color:#000;box-shadow:0 6px 18px #000a;opacity:0;transform:translateY(6px);transition:opacity .18s,transform .18s}
.top-play svg{width:20px;height:20px;fill:currentColor;margin-left:2px}
.top-tile-open:hover .top-play,.top-tile-open:focus-visible .top-play,.top-tile.is-playing .top-play{opacity:1;transform:none}
.top-tile strong{overflow:hidden;font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.top-tile small{overflow:hidden;font-size:12.5px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}
.top-tile .top-plays{color:#8a8a8a;font-size:12px}
.top-tile.is-playing strong{color:var(--accent)}
@media(hover:none){.top-play{opacity:.95;transform:none;width:38px;height:38px}}
@media(max-width:600px){.top-tiles{display:flex;overflow-x:auto;gap:14px;margin:0 -14px;padding:0 14px 6px;scroll-snap-type:x mandatory}
.top-tile{flex:0 0 42vw;width:42vw;min-width:0;scroll-snap-align:start}}
/* The profile's top, kept small: a little picture of one's world beside the name, the explored line, the actions, and the
   figures in one quiet row, so what was played comes first. */
.profile-hero{grid-template-columns:auto minmax(0,1fr);gap:22px;padding:6px 0 16px}
.profile-hero .world-picture{width:128px;max-width:128px}
.profile-hero .world-empty{max-width:128px;font-size:12px}
.profile-hero .profile-head{margin:0 0 10px}
.profile-hero .profile-head h3{font-size:24px;font-weight:600}
.profile-hero .profile-head .profile-handle{margin-top:2px;font-size:13px}
.profile-hero .profile-head .profile-bio{margin-top:6px;font-size:13.5px}
.profile-hero .explored{margin:0 0 10px;max-width:360px}
.profile-hero .explored-line{font-size:11px}
.profile-hero .explored-line strong{font-size:16px}
.profile-hero-actions .invite-button{height:32px;font-size:12px}
.profile-stats{gap:8px;margin:0 0 22px}
.profile-stat{flex:0 1 auto;display:flex;align-items:baseline;gap:6px;padding:7px 12px;border-radius:999px}
.profile-stat strong{display:inline;font-size:15px}
.profile-stat span{font-size:12px}
.site-credit{margin:28px 8px 8px;font-size:12px;line-height:1.5;color:#8a8a8a}
.site-credit a{color:inherit}
@media(max-width:600px){.profile-hero{grid-template-columns:auto minmax(0,1fr);gap:14px}.profile-hero .world-picture{width:88px;max-width:88px}
.profile-hero .profile-head h3{font-size:21px}.profile-stat{flex:0 1 auto;padding:6px 10px}}
/* A wide screen: the map's tools sit at the very foot, level with the genre strip on the left, whether a mix plays or not
   (the player bar, narrower here, stays between them); the song panel and the top songs then run down to just above them. */
@media(min-width:1250px){
  .canvas-tools{bottom:16px}
  .status-bar{bottom:22px}
  .context-legend{bottom:42px}
  .detail-panel,.top-panel{max-height:calc(100dvh - 158px)}
  .player-bar,.player-full{--bar-w:max(360px,min(clamp(440px,calc(100vw - var(--rail-b) - max(820px,var(--room-b) + 600px)),960px),calc(100vw - var(--rail-b) - var(--room-b) - 312px)))}
}
/* One family of surfaces on the web: the search box and its results, the song panel and the top songs, and the map's tools
   are frosted glass like the player bar, with the same soft wash of the playing cover's colour, rounded corners and a hairline
   edge. The panels carry more text over the map, so they are a little more opaque. Where the browser cannot blur, they keep
   their solid black. */
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  @media(min-width:601px){
    .search-box,.canvas-tools{
      background:linear-gradient(105deg,color-mix(in srgb,var(--tint,#000) 38%,rgba(12,12,12,.35)) 0%,color-mix(in srgb,var(--tint,#000) 16%,rgba(12,12,12,.55)) 50%,rgba(12,12,12,.66) 100%);
      -webkit-backdrop-filter:blur(24px) saturate(150%);backdrop-filter:blur(24px) saturate(150%);
      border-radius:14px;box-shadow:0 10px 36px #0008,inset 0 1px 0 #ffffff14,inset 0 0 0 1px #ffffff0d}
    .search-results,.detail-panel,.top-panel,.explore-panel,.dock{
      background:linear-gradient(180deg,color-mix(in srgb,var(--tint,#000) 34%,rgba(10,10,10,.6)) 0%,color-mix(in srgb,var(--tint,#000) 12%,rgba(10,10,10,.74)) 45%,rgba(10,10,10,.8) 100%);
      -webkit-backdrop-filter:blur(28px) saturate(150%);backdrop-filter:blur(28px) saturate(150%);
      border-radius:14px;box-shadow:0 10px 36px #0008,inset 0 1px 0 #ffffff14,inset 0 0 0 1px #ffffff0d}
    .canvas-tools{padding:6px 8px}
    /* The pages (a profile, a DJ's or an artist's page, a playlist) are the same glass over the map, not a black slab. */
    .profile-page{
      background:linear-gradient(180deg,color-mix(in srgb,var(--tint,#000) 30%,rgba(10,10,10,.62)) 0%,color-mix(in srgb,var(--tint,#000) 10%,rgba(10,10,10,.76)) 45%,rgba(10,10,10,.82) 100%);
      -webkit-backdrop-filter:blur(28px) saturate(150%);backdrop-filter:blur(28px) saturate(150%);box-shadow:inset 0 1px 0 #ffffff14}
    /* The library column is the same glass, floated off the edge, and its search box is a smaller glass bar of its own. */
    .side{left:10px;top:73px;bottom:10px;border-radius:14px;
      background:linear-gradient(180deg,color-mix(in srgb,var(--tint,#000) 34%,rgba(10,10,10,.6)) 0%,color-mix(in srgb,var(--tint,#000) 12%,rgba(10,10,10,.74)) 45%,rgba(10,10,10,.8) 100%);
      -webkit-backdrop-filter:blur(28px) saturate(150%);backdrop-filter:blur(28px) saturate(150%);
      box-shadow:0 10px 36px #0008,inset 0 1px 0 #ffffff14,inset 0 0 0 1px #ffffff0d}
    .side-search{height:34px;border-radius:12px;background:#ffffff0f;box-shadow:inset 0 1px 0 #ffffff14,inset 0 0 0 1px #ffffff0d}
    .side-item{border-radius:10px}
    .side-tile{border-radius:6px;background:#ffffff12}
  }
}

/* Someone who is not signed in: the sign-in link where the account sits, the personal buttons out of the way, and the library
   column as a short invitation. */
.sign-in{display:inline-flex;align-items:center;height:34px;padding:0 16px;border-radius:17px;background:var(--accent);color:#000;font-size:13px;font-weight:500;text-decoration:none}
.sign-in:hover{filter:brightness(1.08)}
.sign-in[hidden]{display:none}
body[data-guest=true] :is(#profile-toggle,#side-new,#pb-add,#pf-add){display:none!important}
.side-guest{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:6px 4px;padding:14px;border-radius:12px;background:#ffffff0c;box-shadow:inset 0 0 0 1px #ffffff0d;list-style:none}
.side-guest strong{font-size:14px;font-weight:500}
.side-guest p{margin:0;font-size:12px;line-height:1.5;color:var(--muted)}
.side-guest-button{display:inline-flex;align-items:center;height:32px;padding:0 14px;border-radius:16px;background:var(--accent);color:#000;font-size:12px;font-weight:500;text-decoration:none}
body[data-side=rail] .side-guest{display:none}

/* The first-visit tour (app.js "The first-visit tour"): an invitation, then a card per step, and a ring on what the step is about. */
.tour-panel{position:fixed;left:calc(var(--rail,0px) + 28px);bottom:150px;width:min(310px,calc(100vw - 32px));padding:18px 18px 14px;border:1px solid var(--edge);border-radius:var(--r-card);background:#0b0b0bd9;-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);box-shadow:0 18px 50px #000a;z-index:30;color:var(--text)}
.tour-panel.is-in{animation:tour-in .45s cubic-bezier(.2,.8,.2,1) both}
.tour-title{margin:0 0 6px;font:600 16px/1.25 var(--font);color:var(--text)}
.tour-text{margin:0 0 14px;font-size:13px;line-height:1.5;color:var(--muted)}
.tour-foot{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.tour-primary,.tour-quiet{height:32px;padding:0 14px;border-radius:6px;font:500 13px var(--font);cursor:pointer}
.tour-primary{background:var(--accent);color:#000}
.tour-primary:hover{background:var(--accent-ink)}
.tour-quiet{color:var(--muted)}
.tour-quiet:hover{color:var(--text);background:var(--fill-2)}
.tour-dots{display:flex;gap:6px;margin-right:auto}
.tour-dots i{width:6px;height:6px;border-radius:50%;background:var(--fill-hover);transition:background .3s,transform .3s}
.tour-dots i.is-on{background:var(--accent);transform:scale(1.35)}
.tour-ring{position:fixed;left:0;top:0;border:2px solid var(--accent);box-shadow:0 0 0 6px color-mix(in srgb,var(--accent) 18%,transparent),0 0 28px color-mix(in srgb,var(--accent) 55%,transparent);pointer-events:none;z-index:29;animation:tour-pulse 1.7s ease-in-out infinite;transition:opacity .3s}
/* On a dot the ring is moved every frame, with the camera; on a panel or a control it glides from the last place. */
.tour-ring[data-mode=box]{transition:opacity .3s,transform .55s cubic-bezier(.4,0,.2,1),width .55s cubic-bezier(.4,0,.2,1),height .55s cubic-bezier(.4,0,.2,1),border-radius .55s}
@keyframes tour-in{from{opacity:0;translate:0 14px}to{opacity:1;translate:0 0}}
@keyframes tour-pulse{0%,100%{box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 22%,transparent),0 0 18px color-mix(in srgb,var(--accent) 40%,transparent)}50%{box-shadow:0 0 0 12px color-mix(in srgb,var(--accent) 6%,transparent),0 0 36px color-mix(in srgb,var(--accent) 65%,transparent)}}
@media(prefers-reduced-motion:reduce){.tour-panel.is-in,.tour-ring{animation:none}.tour-ring[data-mode=box],.tour-dots i{transition:none}}
/* A tour card in the middle of the stage (between the library column and the song panel), not tucked at the left; the first card, the
   invitation, in the middle of the screen, over a soft dim of the page. */
@media(min-width:601px){
  .tour-panel{left:calc(var(--rail,0px) + (100vw - var(--rail,0px) - var(--detail-room,0px) - 360px) / 2);width:min(360px,calc(100vw - 32px));bottom:132px}
  #tour-offer.tour-panel{bottom:auto;top:calc(50% - 96px);width:min(420px,calc(100vw - 32px));left:calc(var(--rail,0px) + (100vw - var(--rail,0px) - var(--detail-room,0px) - 420px) / 2);padding:24px 24px 18px}
  #tour-offer .tour-title{font-size:20px}
  #tour-offer .tour-text{font-size:14px}
}
.tour-dim{position:fixed;inset:0;z-index:27;background:rgba(0,0,0,.42);opacity:0;pointer-events:none;transition:opacity .6s ease}
body[data-tour-dim=on] .tour-dim{opacity:1}
/* Until the tour is done or declined the Explore chip is as plain as the others: the card is what to look at. */
body[data-welcome] .explore-chip,body[data-tour] .explore-chip{--glass-line:#ffffff2e;color:#e4e4e4}
@media(prefers-reduced-motion:reduce){.tour-dim{transition:none}}
@media(max-width:600px){
  .tour-panel{left:12px;right:12px;width:auto;bottom:calc(var(--now-shift,56px) + 12px)}
  .tour-panel[data-place=high]{bottom:auto;top:132px}
}
/* The tour's own song cards: the map's song card (#song-card) in classes, placed by app.js placeTour and larger than a selection's at the
   fitted zoom, so they read. While the tour runs the map's own card and the hover card stay out of the way. */
.tour-song{z-index:28;max-width:260px}
.tour-song.is-in{animation:tour-in .5s cubic-bezier(.2,.8,.2,1) both}
.tour-song-cover{width:36px;height:36px;flex-shrink:0;border-radius:2px;object-fit:cover;background:#1a1a1a}
.tour-song-title{font-size:12px;font-weight:500;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tour-song-artist{font-size:12px;color:var(--accent);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tour-song-year{font-size:12px;color:var(--muted)}
body[data-tour] :is(#song-card,#hover-tip){display:none!important}
@media(prefers-reduced-motion:reduce){.tour-song.is-in{animation:none}}

/* "Reset view": appears once the map is zoomed well in or out, where the toolbar's Fit used to be (app.js updateResetView). */
.reset-view{position:absolute;right:24px;bottom:calc(18px + var(--now-shift,0px));z-index:4;display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 11px;border-radius:999px;background:#0b0b0bd9;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid var(--edge);color:var(--text);font:500 13px var(--font);cursor:pointer;animation:tour-in .35s cubic-bezier(.2,.8,.2,1) both}
.reset-view:hover{background:var(--panel-hover)}
.reset-view svg{width:16px;height:16px;color:var(--accent)}
body[data-detail=open] .reset-view{right:calc(var(--detail-room,308px) + 24px)}
@media(max-width:600px){.reset-view{display:none}}
@media(prefers-reduced-motion:reduce){.reset-view{animation:none}}

/* The Genre sheet's ring of the wheel's sectors (sector-pie.js): an arc is a checkbox, lit when all its genres are chosen. */
.sector-pie-host{margin:0 0 8px;padding-bottom:6px;border-bottom:1px solid #ffffff12}
.sector-pie{display:flex;flex-direction:column;align-items:center}
.sector-pie svg{width:min(260px,100%);height:auto;overflow:visible}
.sector-pie text{pointer-events:none}
.sp-rim{fill:none;stroke:#ffffff17;stroke-width:1}
.sp-arc{--c:#8c8c8c;fill:var(--c);fill-opacity:.2;stroke:var(--c);stroke-opacity:.6;stroke-width:1;cursor:pointer;outline:none;transform-origin:130px 130px;transition:fill-opacity .2s,stroke-opacity .2s,transform .28s cubic-bezier(.2,.8,.2,1),filter .28s}
.sp-arc[data-state=partly]{fill-opacity:.5;stroke-opacity:.95}
.sp-arc[data-state=on]{fill-opacity:.95;stroke:#fff;stroke-opacity:.6;filter:drop-shadow(0 0 7px var(--c))}
.sp-arc.is-hover,.sp-arc:focus-visible{transform:scale(1.05);fill-opacity:.7;stroke-opacity:1}
.sp-arc[data-state=on].is-hover{fill-opacity:1}
.sp-arc:focus-visible{stroke:#fff}
.sp-arc.is-none{cursor:default;fill-opacity:.06;stroke-opacity:.25;stroke-dasharray:2 3}
.sp-arc.is-none.is-hover{transform:none;fill-opacity:.1}
.sp-title{font:600 15px var(--font);fill:var(--text)}
.sp-title.is-long{font-size:13px}
.sp-note{font:400 11px var(--font);fill:var(--muted)}
.sector-pie-foot{display:flex;justify-content:center;min-height:28px}
.sector-pie-clear{font-size:12px;color:var(--muted)}
.sector-pie-clear:hover{color:var(--text)}
@media(prefers-reduced-motion:reduce){.sp-arc{transition:none}.sp-arc.is-hover,.sp-arc:focus-visible{transform:none}}

/* The Plays sheet: a histogram of the map's songs by play count with a two-thumb slider under it (plays-range.js). */
.plays-range-host{margin:2px 0 14px}
.plays-range{padding:0 6px}
.plays-readout{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 8px}
.plays-readout strong{font:500 13px var(--font);color:var(--text)}
.plays-readout span{font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.plays-bars{height:38px;display:flex;align-items:flex-end;gap:1px}
.plays-bars i{flex:1;height:var(--h);border-radius:1px;background:#ffffff1f;transition:background .2s}
.plays-bars i.is-in{background:color-mix(in srgb,var(--accent) 80%,transparent)}
.plays-track{position:relative;height:18px;margin-top:3px;cursor:pointer;touch-action:none}
.plays-track::before{content:"";position:absolute;left:0;right:0;top:50%;height:2px;margin-top:-1px;border-radius:1px;background:#ffffff26}
.plays-fill{position:absolute;top:50%;height:2px;margin-top:-1px;border-radius:1px;background:var(--accent)}
.plays-thumb{position:absolute;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;padding:0;border:0;border-radius:50%;background:#f2f2f2;box-shadow:0 0 0 2px #0b0b0b,0 1px 4px #000a;cursor:grab;transition:transform .15s,background .15s;touch-action:none}
.plays-thumb:hover,.plays-thumb:focus-visible,.plays-thumb.is-held{background:#fff;transform:scale(1.25);outline:none}
.plays-thumb:focus-visible{box-shadow:0 0 0 2px #0b0b0b,0 0 0 3.5px var(--accent)}
.plays-thumb.is-held{cursor:grabbing}
.plays-scale{position:relative;height:14px;font-size:10px;color:var(--faint);font-variant-numeric:tabular-nums}
.plays-scale span{position:absolute;top:0;transform:translateX(-50%)}
.plays-scale span:first-child{transform:none}
.plays-scale span:last-child{transform:translateX(-100%)}
/* The quick picks and the number boxes: small and quiet. */
.bucket-row button{height:30px;border-color:#ffffff1f;border-radius:15px;background:#ffffff0a;font-size:12px;transition:border-color .2s,background .2s,color .2s}
.bucket-row button:hover{border-color:#ffffff40;background:#ffffff14}
.bucket-row button[aria-pressed=true]{border-color:color-mix(in srgb,var(--accent) 70%,transparent);color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent)}
.range-inputs{margin-top:10px}
.range-inputs input{height:28px;border-radius:14px;font-size:12px;text-align:center;border-color:#ffffff1f;background:#ffffff08}
@media(prefers-reduced-motion:reduce){.plays-bars i,.plays-thumb{transition:none}}

/* ---- Liquid glass on phones ---------------------------------------------------------------------------------------------------
   The phone's pages (Search, Library, Profile, DJ and playlist pages, Collection) and its tab bar are frosted panels: a dark tint over
   a blur of the map behind them (the wheel is frozen while a page is open, app.js anyPageOpen), a light edge along the top. Pages carry
   the blur; what sits inside them is a lighter fill and an edge only, because a blur inside a blur would see only its parent.
   The boxes of the pages and of the tab bar are unchanged (--tabbar stays 56px, as TAB_BAR in app.js says). Delete this block to go
   back to solid black. Phones only. */
@media(max-width:600px){
  :root{--glass:linear-gradient(180deg,#0c0c0f52,#0c0c0f85);--glass-blur:blur(26px) saturate(2);--glass-edge:inset 0 1px 0 #ffffff38,inset 0 0 0 1px #ffffff12;--glass-card:#ffffff0f;--glass-card-on:#ffffff1f}
  body[data-tab=search] .search-area,.side,.lib-tabs:not([hidden]),.profile-page{background:var(--glass);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);box-shadow:inset 0 1px 0 #ffffff2e}
  /* The tab bar: a frosted strip along the foot, and a pill floating in it. */
  /* The strip is the pages' own glass (the tint their gradient ends on, the same blur), so a page runs into it without a seam; the pill
     floats in it. body[data-tab] outranks the older Home-only rule that gave the strip a different, lighter wash. */
  body[data-tab] .tabbar{padding:4px 12px calc(4px + env(safe-area-inset-bottom));background:#0c0c0f9e;-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);-webkit-mask-image:none;mask-image:none;box-shadow:none}
  body[data-tab=home] .tabbar{box-shadow:inset 0 1px 0 #ffffff24}
  /* The Search sheet can be pulled down to Home: a handle says so. */
  body[data-tab=search] .search-area{overscroll-behavior:contain}
  body[data-tab=search] .search-area::before{content:"";position:absolute;top:5px;left:50%;width:36px;height:4px;margin-left:-18px;border-radius:2px;background:#ffffff40;pointer-events:none}
  body[data-tab=search] :is(.browse-body,.search-results){overscroll-behavior-y:contain}
  /* The Library and the pages that open from it pull down to Home too: the same handle, and a sheet that may not refresh the browser. */
  .side,.profile-page{overscroll-behavior-y:contain}
  .side::before,.profile-page::before{content:"";position:absolute;top:5px;left:50%;width:36px;height:4px;margin-left:-18px;border-radius:2px;background:#ffffff40;pointer-events:none}
  /* The bar that plays stands above the pages it is on: the Search page, later in the document at the same level, used to cover it and leave
     its reserved room looking like an empty player. (Below the tab-bar chips, which are above everything.) */
  .player-bar{z-index:8}
  .tabbar::before{content:"";position:absolute;left:12px;right:12px;top:4px;height:48px;border-radius:24px;background:linear-gradient(180deg,#ffffff24,#ffffff0d);box-shadow:var(--glass-edge),0 8px 24px #0009;pointer-events:none}
  .tabbar button{position:relative;z-index:1;border-radius:24px}
  .tabbar button[aria-current=page]::after{content:"";position:absolute;inset:2px 8px;z-index:-1;border-radius:22px;background:#ffffff26;box-shadow:inset 0 1px 0 #ffffff47,inset 0 0 0 1px #ffffff14}
  /* Search. */
  body[data-tab=search] .search-box{border-radius:22px;background:var(--glass-card);box-shadow:var(--glass-edge)}
  body[data-tab=search] .search-box:focus-within{background:var(--glass-card-on)}
  .browse-chip{background:var(--glass-card);box-shadow:var(--glass-edge);color:var(--text)}
  .browse-chip[aria-pressed=true]{background:color-mix(in srgb,var(--accent) 30%,#ffffff10);box-shadow:inset 0 1px 0 #ffffff55,inset 0 0 0 1px color-mix(in srgb,var(--accent) 60%,transparent);color:#fff;font-weight:500}
  .browse-chips.is-styles .browse-chip{background:none;box-shadow:none}
  .browse-chips.is-styles .browse-chip[aria-pressed=true]{background:var(--glass-card-on);box-shadow:var(--glass-edge);color:#fff}
  .browse-card .browse-art{border-radius:14px;box-shadow:inset 0 0 0 1px #ffffff1a}
  .browse-map{background:var(--glass-card);box-shadow:var(--glass-edge)}
  body[data-tab=search] .search-result{margin:0 -10px;padding:8px 10px;border-radius:14px}
  body[data-tab=search] .search-result:active,body[data-tab=search] .search-result[aria-selected=true]{background:var(--glass-card-on)}
  body[data-tab=search] .search-result .result-cover,.browse-song .result-cover{border-radius:10px}
  /* The library: its chips, its search, its rows. */
  .lib-tabs button{background:var(--glass-card);box-shadow:var(--glass-edge);color:#e4e4e4}
  .lib-tabs button[aria-current=page]{background:color-mix(in srgb,var(--accent) 26%,#ffffff14);box-shadow:inset 0 1px 0 #ffffff55,inset 0 0 0 1px color-mix(in srgb,var(--accent) 55%,transparent);color:#fff}
  .side-search{height:42px;border-radius:21px;background:var(--glass-card);box-shadow:var(--glass-edge)}
  .side-item{border-radius:14px}
  .side-item:active,.side-item:hover{background:var(--glass-card)}
  .side-tile{border-radius:10px;background:#ffffff14}
  /* The profile, a DJ's page, a playlist: cards and rows are lighter glass. */
  .profile-page .card,.profile-page .profile-stat{background:var(--glass-card);box-shadow:var(--glass-edge)}
  .profile-page .card{border-radius:16px}
  .profile-page .plist-row{background:var(--glass-card);border-top:0;border-radius:12px;margin-bottom:4px}
  .top-tile .top-art,.top-tile img{border-radius:12px}
  /* The collection's own canvas stays opaque; its bar and its card are glass over it. */
  .coll-top{background:var(--glass);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);box-shadow:inset 0 -1px 0 #ffffff12}
  .coll-card{background:#101013c7;-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);box-shadow:var(--glass-edge),0 12px 40px #000c;border-radius:16px}
  /* The player's sheet (half open or full) is the collapsed bar's glass, grown: the same lifted-grey wash with the cover's colour in
     it and the same light blur (see "On a phone the bar is only slightly see-through" above), so the bar and the sheet it opens into
     are as see-through as each other. */
  .player-full{background:linear-gradient(105deg,color-mix(in srgb,var(--tint,#000) 36%,rgba(70,70,74,.42)) 0%,color-mix(in srgb,var(--tint,#000) 20%,rgba(58,58,62,.5)) 55%,rgba(52,52,56,.56) 100%);-webkit-backdrop-filter:blur(3px) saturate(130%);backdrop-filter:blur(3px) saturate(130%);box-shadow:inset 0 1px 0 #ffffff33,0 -10px 40px #000c}
}
/* Without a blur to lean on, or for someone who asked for less transparency: solid, as before. */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  @media(max-width:600px){:root{--glass:#0b0b0bf5;--glass-blur:none}body[data-tab] .tabbar{background:#000;-webkit-backdrop-filter:none;backdrop-filter:none}.player-full{background:linear-gradient(180deg,color-mix(in srgb,var(--tint,#000) 34%,#000) 0,color-mix(in srgb,var(--tint,#000) 12%,#000) 60%,#000 100%)}}
}
@media(max-width:600px) and (prefers-reduced-transparency:reduce){
  :root{--glass:#0b0b0bf5;--glass-blur:none}
  body[data-tab] .tabbar{background:#000;-webkit-backdrop-filter:none;backdrop-filter:none}
  .player-full{background:linear-gradient(180deg,color-mix(in srgb,var(--tint,#000) 34%,#000) 0,color-mix(in srgb,var(--tint,#000) 12%,#000) 60%,#000 100%);-webkit-backdrop-filter:none;backdrop-filter:none}
}

/* On a desktop the open player is the bar's glass, grown: the same tinted, blurred pane with the same edge and corners, a little
   more opaque because it carries more text. (Phones have their own glass above.) */
@media(min-width:1101px){
  @supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
    .player-full{border:0;border-radius:14px;background:linear-gradient(105deg,color-mix(in srgb,var(--tint,#000) 38%,rgba(12,12,12,.5)) 0%,color-mix(in srgb,var(--tint,#000) 16%,rgba(12,12,12,.68)) 50%,rgba(12,12,12,.78) 100%);-webkit-backdrop-filter:blur(24px) saturate(150%);backdrop-filter:blur(24px) saturate(150%);box-shadow:0 10px 36px #0008,inset 0 1px 0 #ffffff14,inset 0 0 0 1px #ffffff0d}
  }
}

/* The genre strip under the wheel (the row of bars, its caption) is no longer shown, on any screen. Its markup and script stay: the
   wheel's own arcs still light under the pointer, and the Genre sheet's ring lights the same sectors. To bring it back, delete this. */
.context-legend{display:none!important}

/* A set someone decided matters (gems.csv): wider than a plain card, the kind of set as a glass tag on its cover, a line of why. */
.browse-card.is-gem{width:196px}
.browse-card.is-gem .browse-art{width:196px}
.browse-gem{position:absolute;left:8px;top:8px;z-index:1;max-width:calc(100% - 16px);padding:3px 9px;border-radius:999px;background:#0b0b0bb3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:inset 0 0 0 1px #ffffff2e;color:var(--accent);font-size:11px;font-weight:500;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.browse-card .browse-blurb{display:-webkit-box;margin-top:2px;overflow:hidden;font-size:12px;line-height:1.4;color:#cfcfcf;white-space:normal;-webkit-line-clamp:3;-webkit-box-orient:vertical}

/* An essential set in the search box's dropdown (gems.csv): the type of set in the accent, then why, in up to two lines. */
.search-result .result-blurb{display:-webkit-box;overflow:hidden;white-space:normal;line-height:1.4;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.result-gem{margin-right:2px;color:var(--accent);font-weight:500}
.search-group+.search-result{margin-top:0}
/* The small menu a credit of several artists opens from the player's artist line (app.js openPlayerArtist): one row per artist that has a page. */
.artist-menu{position:fixed;z-index:75;width:min(280px,calc(100vw - 16px));padding:6px}
.artist-menu[hidden]{display:none}
.artist-menu-title{margin:6px 10px 4px;font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.artist-menu button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px;border-radius:8px;text-align:left;color:var(--text)}
.artist-menu button:hover,.artist-menu button:focus-visible{background:#ffffff1a;outline:none}
.artist-menu strong{overflow:hidden;font-size:14px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.artist-menu small{flex:none;font-size:12px;color:var(--muted)}

.profile-stat-button{all:unset;display:inherit;align-items:inherit;gap:inherit;cursor:pointer;width:100%}
.profile-stat-button:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:999px}
.profile-stat:has(.profile-stat-button):hover{background:#ffffff1a}
#profile-friends.flash{animation:friends-flash 1.2s ease-out}
@keyframes friends-flash{from{color:#fff;text-shadow:0 0 12px #fff}to{text-shadow:none}}

/* ---- Where am I: one line on where the song (or the view) is on the map; for a song the map does not draw it says so ------------------ */
.where{position:absolute;left:calc(var(--rail,0px) + 26px);bottom:calc(52px + var(--now-shift,0px));z-index:3;display:inline-flex;align-items:center;gap:8px;max-width:min(420px,calc(100% - 180px));min-height:30px;padding:0 13px 0 11px;border-radius:999px;background:#0b0b0bd9;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid var(--edge);color:var(--muted);font:500 12px var(--font);text-align:left;cursor:pointer;animation:tour-in .35s cubic-bezier(.2,.8,.2,1) both}
.where[hidden]{display:none}
.where:hover{background:var(--panel-hover)}
.where:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.where-dot{flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:var(--muted)}
.where-dot[hidden]{display:none}
#where-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#where-text strong{font-weight:600;color:var(--text)}
.where[data-off=true]{border-color:var(--accent);color:var(--text)}
.where[data-off=true] .where-dot{background:transparent;border:1.5px dashed var(--accent)}
body[data-profile=open] .where,body[data-tab=search] .where{visibility:hidden}
@media(max-width:600px){
  .where{left:16px;bottom:calc(112px + var(--now-shift,0px));max-width:calc(100% - 32px)}
  body[data-detail=open] .where{bottom:calc(39dvh + 112px + var(--now-shift,0px))}
}

/* The top bar's right-hand group must never run under the centred search box: the account's email (it is in the profile panel too) is not
   shown there, and between 1101 and 1300 px the gaps and the labels of the quiet buttons are tighter. */
#account-email{display:none}
@media(min-width:1101px) and (max-width:1300px){.topbar-end{gap:12px}.account{gap:10px}#bug-toggle .library-label{display:none}.search-area{width:clamp(320px,calc(100vw - 860px),520px)}}
@media(min-width:1101px) and (max-width:1200px){#tour-toggle .library-label{display:none}}

/* The player's glide (morphPlayer in app.js): below the desktop width a tap that opens, closes or resizes the sheet is a view transition. The
   cover, the song's lines and the buttons carry the same name in the bar and in the sheet, so each one moves from the one to the other; the
   sheet itself rises from below (or falls back) and resizes between its two levels, with no fade-in. The page behind is not cross-faded. */
@media(max-width:1100px){
  html[data-morph=bar] .pb-art,html[data-morph=sheet] .pf-card{view-transition-name:p-cover}
  html[data-morph=bar] #now-title,html[data-morph=sheet] #pf-title{view-transition-name:p-title}
  html[data-morph=bar] #pb-artist,html[data-morph=sheet] #pf-artist{view-transition-name:p-artist}
  html[data-morph=bar] #pb-play,html[data-morph=sheet] #pf-play{view-transition-name:p-play}
  html[data-morph=bar] #pb-prev,html[data-morph=sheet] #pf-prev{view-transition-name:p-prev}
  html[data-morph=bar] #pb-next,html[data-morph=sheet] #pf-next{view-transition-name:p-next}
  html[data-morph=bar] #pb-back15,html[data-morph=sheet] #pf-back15{view-transition-name:p-back}
  html[data-morph=bar] #pb-fwd15,html[data-morph=sheet] #pf-fwd15{view-transition-name:p-fwd}
  html[data-morph] .player-full{view-transition-name:p-sheet;animation:none}
  html[data-morph]::view-transition-group(*){animation-duration:.36s;animation-timing-function:cubic-bezier(.22,.9,.24,1)}
  html[data-morph]::view-transition-old(root){display:none}
  html[data-morph]::view-transition-new(root){animation:none}
  html[data-morph]::view-transition-old(p-sheet),html[data-morph]::view-transition-new(p-sheet){width:100%;height:100%}
  html[data-morph]::view-transition-new(p-sheet):only-child{animation:p-sheet-in .36s cubic-bezier(.22,.9,.24,1) both}
  html[data-morph]::view-transition-old(p-sheet):only-child{animation:p-sheet-out .3s cubic-bezier(.4,0,.8,.4) both}
}
@keyframes p-sheet-in{from{transform:translateY(60%)}}
@keyframes p-sheet-out{to{transform:translateY(60%)}}
