
:root{
  --paper:#E9ECEF; --sheet:#FFFFFF; --ink:#14161A; --muted:#5A606B; --rule:#CDD2D8; --alert:#B42318; --nokey:#BFC4CB;
  --live:#1E9E5A; --warm:#C27A12;
  --display:"Big Shoulders Display","Arial Narrow",Impact,sans-serif;
  --text:"Schibsted Grotesk",ui-sans-serif,system-ui,sans-serif;
  --max:1200px; --gutter:clamp(16px,3.5vw,32px);
  --stick:var(--top-h,65px);
  color-scheme:light;
}
/* Phones: the top bar slides away on the way down (client.js sets .hdr-off), and whatever was
   sticking under it (the player bar, the date headers) slides up to the top edge with it. */
html.hdr-off{--stick:env(safe-area-inset-top,0px)}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --paper:#1A1C21; --sheet:#24272E; --ink:#ECEEF1; --muted:#9AA1AC; --rule:#363A43; --alert:#F97066; --nokey:#4A4F59;
    --live:#46C784; --warm:#E5A54A;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --paper:#1A1C21; --sheet:#24272E; --ink:#ECEEF1; --muted:#9AA1AC; --rule:#363A43; --alert:#F97066; --nokey:#4A4F59;
    --live:#46C784; --warm:#E5A54A;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.5 var(--text);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:3px}
button,input,select,textarea{font:inherit;color:inherit}
a,button,summary,label,input,select{touch-action:manipulation}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:2px}
.num{font-variant-numeric:tabular-nums}
.muted{color:var(--muted)}
.wrap{max-width:var(--max);margin:0 auto;padding:0 max(var(--gutter),env(safe-area-inset-right,0px)) 0 max(var(--gutter),env(safe-area-inset-left,0px))}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:var(--paper);padding:8px 14px;border-radius:4px;z-index:9}
.skip:focus{left:8px}

/* ---------------------------------------------------------------- app bar */
.top{border-bottom:1px solid var(--rule);position:sticky;top:0;z-index:20;padding-top:env(safe-area-inset-top,0px);background:color-mix(in oklab,var(--paper) 84%,transparent);-webkit-backdrop-filter:saturate(1.6) blur(16px);backdrop-filter:saturate(1.6) blur(16px);view-transition-name:top;transition:transform .28s cubic-bezier(.2,.8,.2,1)}
html.hdr-off .top{transform:translateY(calc(-100% + env(safe-area-inset-top,0px)))}
.top .wrap{display:flex;align-items:center;gap:clamp(14px,3vw,32px);min-height:64px}
.mark{display:flex;align-items:flex-end;gap:7px;font:800 32px/1 var(--display);text-decoration:none;letter-spacing:.005em;padding-bottom:2px;flex:none}
.mark .rb{width:26px;height:9px;border-radius:2px;margin-bottom:5px}
.find{position:relative;flex:1 1 auto;max-width:620px}
.find input{width:100%;height:42px;border:1px solid var(--rule);background:var(--sheet);border-radius:999px;padding:0 44px 0 40px;font-size:15px}
.find input:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.find input::placeholder{color:var(--muted)}
.find>svg{position:absolute;left:15px;top:14px;color:var(--muted);pointer-events:none}
.find>svg.i-l{display:none;left:14px;top:13.5px;color:var(--ink)}
.find.link>svg.i-s{display:none}.find.link>svg.i-l{display:block}
.find.hint input{border-color:var(--ink);box-shadow:0 0 0 4px color-mix(in oklab,var(--ink) 14%,transparent);transition:box-shadow .3s}
.find kbd{position:absolute;right:14px;top:11px;font:500 12px/18px var(--text);color:var(--muted);border:1px solid var(--rule);border-radius:4px;padding:0 6px}
.find input:focus~kbd,.find input:not(:placeholder-shown)~kbd{display:none}
/* Phones, owner: one tap pastes a link from the clipboard (client.js adds .can-paste when the
   browser allows reading it). Only while the bar is empty. */
.paste{display:none;position:absolute;right:0;top:0;height:100%;padding:0 6px 0 4px;border:0;background:none;cursor:pointer;align-items:center}
.paste span{display:block;height:32px;line-height:32px;padding:0 14px;border-radius:999px;background:var(--ink);color:var(--paper);font-size:14px;font-weight:600}
.paste:active span{transform:scale(.95)}
.top .end{margin-left:auto;display:flex;align-items:center;gap:10px;flex:none}
.suggest{position:absolute;left:0;right:0;top:calc(100% + 6px);background:var(--sheet);border:1px solid var(--rule);border-radius:12px;padding:6px;box-shadow:0 12px 32px rgb(0 0 0 / .18);max-height:70vh;overflow:auto}
.suggest h4{margin:8px 10px 4px;font-size:12px;font-weight:600;color:var(--muted)}
.suggest a{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;padding:7px 10px;border-radius:8px;text-decoration:none}
.suggest a.go{grid-template-columns:minmax(0,1fr) auto;font-weight:600}
.suggest a:hover,.suggest a[aria-selected="true"]{background:var(--paper)}
.suggest img,.suggest .av{width:36px;height:36px;border-radius:4px;object-fit:cover;background:var(--paper);font-size:15px}
.suggest .av,.suggest img.dj{border-radius:50%}
.suggest b{display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.suggest span{display:block;font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.suggest .n{font-size:12px;color:var(--muted)}
/* A pasted link, looked up: the mix, what we know about it, and the one thing Enter will do. */
.suggest a.pk{grid-template-columns:96px minmax(0,1fr) auto;gap:12px;padding:8px}
.suggest a.pk img,.suggest a.pk .ph{width:96px;height:auto;aspect-ratio:16/9;border-radius:5px;object-fit:cover;background:var(--paper)}
.suggest a.pk b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.3;font-size:14px}
.suggest a.pk .st{color:var(--ink);font-weight:600;white-space:normal;margin-top:1px}
.suggest a.pk .act{font-size:13px;font-weight:600;color:var(--paper);background:var(--ink);border-radius:999px;padding:7px 15px;white-space:nowrap}
.suggest a.pk.busy{opacity:.65;pointer-events:none}
.suggest div.pk{padding:12px 10px;font-size:14px;color:var(--muted)}
.suggest div.pk.bad{color:var(--alert)}
@media (max-width:640px){.suggest a.pk{grid-template-columns:72px minmax(0,1fr)}.suggest a.pk img,.suggest a.pk .ph{width:72px}.suggest a.pk .act{grid-column:1/-1;justify-self:stretch;text-align:center;padding:10px}}

/* The status light. One dot, a few words. Green and breathing only while a mix is actually
   decoding; every other state sits still, because a still light is the honest one. */
.light{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 12px;border:1px solid var(--rule);border-radius:999px;background:var(--sheet);color:var(--muted);font-size:13px;font-weight:500;font-variant-numeric:tabular-nums;text-decoration:none;white-space:nowrap;opacity:0;transition:opacity .3s,border-color .15s,color .15s}
.light.in{opacity:1}
.light i{width:8px;height:8px;border-radius:50%;background:var(--nokey);flex:none}
.light[href]:hover{border-color:var(--ink);color:var(--ink)}
.light.on,.light.busy,.light.cloud{color:var(--ink)}
.light.on i,.light.busy i{background:var(--live)}
.light.busy{border-color:color-mix(in oklab,var(--live) 45%,var(--rule))}
.light.busy i{animation:breathe 2.4s ease-out infinite}
.light.cloud i{background:var(--warm)}
@keyframes breathe{0%{box-shadow:0 0 0 0 color-mix(in oklab,var(--live) 60%,transparent)}70%,100%{box-shadow:0 0 0 7px color-mix(in oklab,var(--live) 0%,transparent)}}
@media (max-width:640px){
  .top .wrap{flex-wrap:wrap;gap:10px 12px;padding-top:10px;padding-bottom:10px}
  .find{order:3;flex-basis:100%;max-width:none}
  .find kbd{display:none}
}

/* ---------------------------------------------------------------- buttons, chips, fields */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 18px;border:1px solid var(--ink);border-radius:999px;background:transparent;font-weight:600;font-size:15px;text-decoration:none;cursor:pointer;white-space:nowrap}
.btn:hover{background:var(--sheet)}
.btn,.pill,.chip,.dock-b{transition:background-color .15s,border-color .15s,opacity .15s,transform .12s cubic-bezier(.2,.8,.2,1)}
.btn:active,.pill:active,.chip:active,.dock-b:active{transform:scale(.96)}
.ic{flex:none;display:block}
.by-line .ic{display:inline;vertical-align:-1px;margin-left:3px;opacity:.6}
.btn.ink{background:var(--ink);color:var(--paper)}
.btn.ink:hover{background:var(--ink);opacity:.88}
.btn.quiet{border-color:var(--rule)}
.btn.sm{min-height:32px;padding:0 13px;font-size:14px}
.btn.danger{border-color:var(--alert);color:var(--alert)}
.btn[disabled]{opacity:.45;cursor:default}
.row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 14px;border:1px solid var(--rule);border-radius:999px;text-decoration:none;font-size:14px;font-weight:500;background:var(--sheet)}
.chip:hover{border-color:var(--ink)}
.chip[aria-current="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.chip .n{color:var(--muted);font-variant-numeric:tabular-nums}
.chip[aria-current="true"] .n{color:inherit;opacity:.7}
.field{display:grid;gap:6px}
.field label{font-weight:600;font-size:14px}
.input{height:44px;border:1px solid var(--rule);background:var(--sheet);border-radius:8px;padding:0 14px;width:100%}
.input:focus{border-color:var(--ink);outline:none;box-shadow:0 0 0 1px var(--ink)}
select.input{padding-right:30px}
.note{font-size:14px;color:var(--muted)}
.alert{color:var(--alert);font-weight:500}

/* ---------------------------------------------------------------- page heads */
main{padding-bottom:96px}
.head{padding:clamp(36px,6vw,72px) 0 clamp(20px,3vw,32px)}
.h1{font:800 clamp(48px,8.4vw,104px)/.9 var(--display);margin:0;letter-spacing:-.005em;max-width:16ch;text-wrap:balance}
.h1.set{font-size:clamp(38px,5.6vw,72px);max-width:22ch}
.h2{font:800 clamp(30px,3.4vw,42px)/1 var(--display);margin:0 0 16px}
.lede{font-size:clamp(17px,1.6vw,20px);color:var(--muted);max-width:60ch;margin:16px 0 0}
.back{display:inline-flex;align-items:center;gap:6px;color:var(--muted);text-decoration:none;font-weight:500;font-size:15px;margin-top:28px}
.back:hover{color:var(--ink)}
.facts{display:flex;flex-wrap:wrap;gap:10px 32px;margin:22px 0 0;padding:0}
.facts div{display:grid}
.facts dt{font-size:13px;color:var(--muted);order:2}
.facts dd{margin:0;font:700 22px/1.15 var(--text);font-variant-numeric:tabular-nums;order:1}
.facts dd a{text-decoration:none}
.facts .key{font-size:22px;font-weight:700;gap:9px}
.facts .key::before{width:16px;height:16px;border-radius:4px}
.facts dd a:hover{text-decoration:underline}
section.block{margin-top:clamp(44px,6vw,72px)}
.split{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.split .h2{margin:0}

/* ---------------------------------------------------------------- the ribbon */
.rb{position:relative;display:flex;overflow:hidden;background:var(--nokey)}
.rb>i,.rb>button{flex:0 0 auto;height:100%;background:var(--c,var(--nokey));border:0;padding:0;margin:0;box-shadow:inset -1px 0 0 rgb(0 0 0 / .14)}
.rb>.u{background-image:repeating-linear-gradient(135deg,rgb(255 255 255 / .55) 0 2px,transparent 2px 5px)}

/* ---------------------------------------------------------------- the deck (set page player bar) */
.deck{position:sticky;top:var(--stick);z-index:12;margin:24px calc(-1 * var(--gutter)) 0;padding:10px var(--gutter) 8px;background:color-mix(in oklab,var(--paper) 88%,transparent);-webkit-backdrop-filter:saturate(1.6) blur(16px);backdrop-filter:saturate(1.6) blur(16px);border-bottom:1px solid transparent;transition:border-color .2s,top .28s cubic-bezier(.2,.8,.2,1)}
.deck.stuck{border-bottom-color:var(--rule)}
.deck-row{display:flex;align-items:center;gap:6px}
.deck-pp{width:46px;height:46px;border-radius:50%;border:0;background:var(--ink);color:var(--paper);display:grid;place-items:center;cursor:pointer;flex:none;transition:transform .12s cubic-bezier(.2,.8,.2,1)}
.deck-pp .ic{margin-left:2px}
.deck-pp[data-on="true"] .ic{margin-left:0}
.deck-pp:hover{transform:scale(1.05)}
.deck-pp:active{transform:scale(.94)}
.deck-skip{width:38px;height:38px;border-radius:50%;border:0;background:transparent;color:var(--ink);display:grid;place-items:center;cursor:pointer;flex:none;transition:background-color .15s,transform .12s}
.deck-skip:hover{background:var(--sheet)}
.deck-skip:active{transform:scale(.92)}
.deck-now{flex:1;min-width:0;display:flex;gap:12px;align-items:center;margin-left:6px;background:none;border:0;padding:4px 6px;border-radius:8px;text-align:left;cursor:pointer;color:inherit}
.deck-now:hover{background:var(--sheet)}
.deck-now img,.deck-now .ph{width:44px;height:44px;border-radius:5px;object-fit:cover;background:var(--sheet);flex:none}
.deck-now>span{min-width:0}
.deck-now b{display:block;font-weight:700;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.deck-now span span{display:block;font-size:14px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.deck-time{font-size:14px;font-weight:600;white-space:nowrap;padding-left:8px}
.scrub{position:relative;height:24px;margin-top:6px;cursor:pointer;touch-action:none;outline:none;user-select:none}
.scrub-base,.scrub-played{position:absolute;left:0;right:0;top:8px;height:8px;border-radius:4px;overflow:hidden;transition:top .15s,height .15s;pointer-events:none}
.scrub:hover .scrub-base,.scrub:hover .scrub-played,.scrub.drag .scrub-base,.scrub.drag .scrub-played{top:6px;height:12px}
.scrub-base>i,.scrub-base>b,.scrub-played>i,.scrub-played>b{position:absolute;top:0;bottom:0}
.scrub-base>i{background:color-mix(in oklab,var(--rule) 80%,var(--ink) 20%);box-shadow:inset -1px 0 0 var(--paper);transition:background-color .15s}
.scrub-base>i.hov{background:var(--c)}
.scrub-played>i{background:var(--c);box-shadow:inset -1px 0 0 var(--paper)}
.scrub-base>i.u,.scrub-played>i.u{opacity:.6}
.scrub-base>b.gap,.scrub-played>b.gap{background:var(--paper);opacity:.65}
.scrub-hover{position:absolute;top:3px;bottom:3px;width:2px;margin-left:-1px;background:var(--ink);opacity:0;pointer-events:none;transition:opacity .12s}
.scrub:hover .scrub-hover{opacity:.4}
.scrub-knob{position:absolute;top:5px;width:14px;height:14px;margin-left:-7px;border-radius:50%;background:var(--ink);box-shadow:0 0 0 3px var(--paper);left:0;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s}
.scrub.on .scrub-knob,.scrub.drag .scrub-knob{opacity:1}
.scrub:hover .scrub-knob,.scrub.drag .scrub-knob{transform:scale(1.2)}
.scrub-tip{position:absolute;bottom:calc(100% + 8px);left:0;transform:translateX(-50%);background:var(--ink);color:var(--paper);border-radius:8px;padding:7px 10px;font-size:13px;line-height:1.35;white-space:nowrap;max-width:300px;overflow:hidden;text-overflow:ellipsis;pointer-events:none;opacity:0;transition:opacity .12s;z-index:2}
.scrub-tip.on{opacity:1}
.scrub-tip b{font-weight:600;font-variant-numeric:tabular-nums}
.scrub-tip span{opacity:.7;margin-left:6px}
.scrub:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:6px}
@media (max-width:600px){.deck-skip{display:none}.deck-time{font-size:13px}.deck-now img,.deck-now .ph{width:38px;height:38px}.deck-now b{font-size:15px}}

/* ---------------------------------------------------------------- key chip */
.key{display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.key::before{content:"";width:12px;height:12px;border-radius:3px;background:var(--c,var(--nokey))}

/* ---------------------------------------------------------------- set cards */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:36px 24px}
.card{display:block;text-decoration:none;min-width:0}
.card .thumb{display:block;position:relative;aspect-ratio:16/9;background:linear-gradient(135deg,var(--k1,var(--sheet)),var(--k2,var(--sheet)));border-radius:8px;overflow:hidden;transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
.card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .35s}
.card:hover .thumb{box-shadow:0 10px 28px -12px rgb(0 0 0 / .55)}
.card:hover .thumb img{transform:scale(1.05)}
.card:active .thumb{transform:scale(.98)}
.card .play{position:absolute;left:50%;top:46%;width:54px;height:54px;margin:-27px 0 0 -27px;border-radius:50%;background:rgb(20 22 26 / .72);color:#fff;display:grid;place-items:center;opacity:0;transform:scale(.8);transition:opacity .2s,transform .25s cubic-bezier(.2,.8,.2,1);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.card .play .ic{margin-left:3px}
.card:hover .play,.card:focus-visible .play{opacity:1;transform:none}
.card .thumb .rb{position:absolute;left:0;right:0;bottom:0;height:9px}
.card .len{position:absolute;right:8px;top:8px;background:rgb(20 22 26 / .78);color:#fff;font-size:12px;font-weight:600;padding:2px 7px;border-radius:4px;font-variant-numeric:tabular-nums}
.card h3{font-size:16px;font-weight:600;line-height:1.3;margin:12px 0 3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card h3{transition:color .15s}
.card .by{font-size:14px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card .hit{font-size:13px;margin-top:4px}
.card .hit b{font-weight:600}
.nothumb{width:100%;height:100%;display:grid;place-items:center;font:800 28px/1 var(--display);color:var(--muted)}

/* ---------------------------------------------------------------- home: filters + live strip */
.filters{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;justify-content:space-between;padding:22px 0 24px}
.fl,.fr{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.count{font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums;margin-right:4px}
.pill{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px;border:1px solid var(--rule);border-radius:999px;background:var(--sheet);font-size:14px;font-weight:500;text-decoration:none;cursor:pointer;white-space:nowrap;list-style:none;user-select:none}
.pill::-webkit-details-marker{display:none}
.pill:hover{border-color:var(--ink)}
.pill b{font-weight:700;max-width:180px;overflow:hidden;text-overflow:ellipsis}
.pill.on{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.pill svg{opacity:.7}
.pill>span[aria-hidden]{font-size:17px;line-height:1;margin-left:2px;opacity:.8}
.clear{font-size:14px;color:var(--muted);margin-left:4px}
.dd{position:relative}
.dd[open]>.pill{border-color:var(--ink)}
.dd .menu{position:absolute;left:0;top:calc(100% + 6px);z-index:15;min-width:220px;background:var(--sheet);border:1px solid var(--rule);border-radius:12px;padding:6px;box-shadow:0 12px 32px rgb(0 0 0 / .18)}
.dd.end .menu{left:auto;right:0}
.dd.wide .menu{width:300px}
/* The key picker: 24 Camelot chips in wheel order, minor row over major row. */
.dd.keys .menu{width:min(540px,calc(100vw - 32px));padding:12px 12px 8px}
.kr{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:8px;margin-bottom:6px}
.kl{font-size:12px;font-weight:600;color:var(--muted)}
.kg{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:4px}
.kc{display:grid;place-items:center;height:34px;border-radius:7px;background:color-mix(in oklab,var(--c) 30%,var(--sheet));border:1.5px solid transparent;font:700 13px/1 var(--text);font-variant-numeric:tabular-nums;text-decoration:none;color:var(--ink);transition:transform .12s,background-color .12s}
.kc:hover{background:color-mix(in oklab,var(--c) 60%,var(--sheet));transform:translateY(-1px)}
.kc.on{background:var(--c);border-color:var(--ink);color:#14161A}
.kc.mix{background:color-mix(in oklab,var(--c) 70%,var(--sheet));border-color:color-mix(in oklab,var(--ink) 35%,transparent);color:#14161A}
.kf{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px;padding:8px 2px 2px;border-top:1px solid var(--rule)}
.kf .clear{font-size:13px;color:var(--muted)}
.kx{display:inline-flex;align-items:center;gap:10px;font-size:14px;text-decoration:none;min-height:36px}
.kx i{width:30px;height:18px;border-radius:999px;background:var(--rule);position:relative;flex:none;transition:background-color .15s}
.kx i::after{content:"";position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:var(--sheet);transition:transform .15s}
.kx.on i{background:var(--ink)}.kx.on i::after{transform:translateX(12px)}
.kh{margin:0;font-size:13px;color:var(--muted)}
.card .hit .more-n{color:var(--muted)}
@media (max-width:900px){.filters .fl{position:relative}.dd.keys{position:static}.dd.keys .menu{left:0;right:0;width:auto;max-width:560px}}
@media (max-width:640px){.kr{grid-template-columns:1fr;gap:4px}.kg{grid-template-columns:repeat(6,minmax(0,1fr))}.kc{height:40px}}
.dd .menu .input{height:36px;margin:2px 0 6px;font-size:14px}
.dd .mh{display:none}
.dd ul{list-style:none;margin:0;padding:0;max-height:min(380px,60vh);overflow:auto}
.dd li a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;text-decoration:none;font-size:14px}
.dd li a:hover{background:var(--paper)}
.dd li a[aria-current="true"]{font-weight:700}
.dd li a[aria-current="true"]::after{content:"";margin-left:auto;width:8px;height:8px;border-radius:50%;background:var(--ink)}
.dd li .lab{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dd li .n{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}
.dd li .av{width:26px;height:26px;font-size:11px;flex:none}
.dd li[hidden]{display:none}
.more{display:flex;justify-content:center;align-items:center;margin-top:44px;min-height:40px}
.more .dots{display:none;gap:7px}
.more .dots i{width:7px;height:7px;border-radius:50%;background:var(--muted);animation:dot 1s ease-in-out infinite}
.more .dots i:nth-child(2){animation-delay:.15s}.more .dots i:nth-child(3){animation-delay:.3s}
.more.auto .btn{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.more.busy .dots{display:flex}
@keyframes dot{0%,80%,100%{opacity:.25;transform:scale(.75)}40%{opacity:1;transform:scale(1)}}
.grp+.grp{margin-top:36px}
.grp-h{position:sticky;top:var(--stick);transition:top .28s cubic-bezier(.2,.8,.2,1);z-index:6;display:flex;align-items:baseline;gap:12px;margin:0 calc(-1 * var(--gutter)) 14px;padding:12px var(--gutter) 10px;background:color-mix(in oklab,var(--paper) 88%,transparent);-webkit-backdrop-filter:saturate(1.6) blur(16px);backdrop-filter:saturate(1.6) blur(16px);font:800 26px/1 var(--display);letter-spacing:.005em}
.grp-h .n{font:500 14px/1 var(--text);color:var(--muted);font-variant-numeric:tabular-nums}
.flash{border:1px solid var(--rule);background:var(--sheet);border-radius:8px;padding:12px 16px;margin:18px 0 0;font-size:15px}
.flash.bad{border-color:var(--alert)}
.live{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;border:1px solid var(--rule);border-radius:10px;background:var(--sheet);padding:12px 16px;margin-top:18px;overflow:hidden;font-size:14px}
.live .lt{font-weight:700}
.live .ln{font-weight:600;min-width:0;max-width:44ch;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none}
.live .ls{color:var(--muted);flex:1;min-width:0}
.live .lp{position:absolute;left:0;bottom:0;height:3px;background:var(--ink);transition:width .6s}
.dot{width:8px;height:8px;border-radius:50%;background:var(--ink);display:inline-block;flex:none}
.dot.on{animation:pulse 1.6s ease-in-out infinite}
@keyframes pulse{50%{opacity:.25}}
.jobs{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.job{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:14px;align-items:center}
.job .th{aspect-ratio:16/9;border-radius:4px;overflow:hidden;background:var(--paper)}
.job .th img{width:100%;height:100%;object-fit:cover}
.job b{display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.job .jt{text-decoration:none}
.job .jt:hover b{text-decoration:underline}
.job .st{font-size:14px;color:var(--muted)}
.job .st strong{color:var(--ink);font-weight:600}
.bar-p{height:6px;background:var(--paper);border-radius:3px;overflow:hidden;margin-top:8px}
.bar-p i{display:block;height:100%;background:var(--ink);border-radius:3px;transition:width .6s}
@media (max-width:600px){.job{grid-template-columns:72px minmax(0,1fr)}.job .acts{grid-column:1/-1}}

/* ---------------------------------------------------------------- set page */
.set-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;margin-top:18px}
.set-top .acts{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
@media (max-width:860px){.set-top{grid-template-columns:1fr}.set-top .acts{justify-content:flex-start}}
.by-line{font-size:18px;margin-top:14px;color:var(--muted)}
.by-line a{color:var(--ink);font-weight:600;text-decoration:none}
.by-line a:hover{text-decoration:underline}
.set-body{display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:clamp(24px,4vw,56px);margin-top:40px;align-items:start}
.side{position:sticky;top:calc(var(--top-h,65px) + var(--deck-h,96px) + 16px);display:grid;gap:16px}
.player{aspect-ratio:16/9;background:#000;border-radius:8px;overflow:hidden}
.player.sc{aspect-ratio:auto;height:166px;background:var(--sheet)}
.player iframe{width:100%;height:100%;border:0;display:block}
.now{border:1px solid var(--rule);border-radius:8px;padding:12px 14px;display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center;background:var(--sheet);min-height:70px}
.now img,.now .ph{width:44px;height:44px;border-radius:4px;object-fit:cover;background:var(--paper)}
.now b{display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.now span{font-size:14px;color:var(--muted);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:900px){.set-body{grid-template-columns:1fr}.side{position:static}}

.tl{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}
.tl>li{display:grid;grid-template-columns:74px 48px minmax(0,1fr) 70px 36px 32px;gap:14px;align-items:center;padding:10px 8px;border-bottom:1px solid var(--rule);border-radius:0}
.tl>li{cursor:pointer;transition:background-color .15s}
.tl>li:hover{background:color-mix(in oklab,var(--sheet) 60%,transparent)}
.tl>li.on{background:var(--sheet);box-shadow:inset 3px 0 0 var(--c,var(--ink))}
.tl>li.on .nm b{font-weight:700}
.tl>li.flash{animation:rowflash .9s ease-out}
@keyframes rowflash{0%{background:color-mix(in oklab,var(--c,var(--ink)) 35%,var(--sheet))}}
.tl .t .eq{display:none;align-items:flex-end;gap:2px;height:12px;margin-right:6px;vertical-align:-1px}
.tl .t .eq i{width:3px;height:100%;background:var(--ink);border-radius:1px;transform-origin:bottom;transform:scaleY(.35)}
.tl>li.on .t .eq{display:inline-flex}
.is-playing .tl>li.on .t .eq i{animation:eq .9s ease-in-out infinite}
.is-playing .tl>li.on .t .eq i:nth-child(2){animation-delay:-.3s}
.is-playing .tl>li.on .t .eq i:nth-child(3){animation-delay:-.6s}
@keyframes eq{0%,100%{transform:scaleY(.3)}50%{transform:scaleY(1)}}
.tl .t{background:none;border:0;padding:4px 0;text-align:left;cursor:pointer;white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums;font-size:14px;font-weight:500}
.tl .t:hover{color:var(--ink);text-decoration:underline}
.tl>li.on .t{color:var(--ink);font-weight:700}
.tl .art{width:48px;height:48px;border-radius:4px;object-fit:cover;background:var(--paper)}
.tl .nm{min-width:0}
.tl .nm a,.tl .nm b{display:block;font-weight:600;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl .nm a:hover{text-decoration:underline}
.tl .nm span{display:block;color:var(--muted);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* The artist line: the name gives way (…) before the "Not sure" tag does. */
.tl .nm .ar{display:flex;align-items:center;gap:6px;min-width:0}
.tl .nm .an{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl .nm .unsure{display:inline-block;flex:none;font-size:12px;line-height:17px;font-weight:600;color:var(--muted);border:1px dashed var(--muted);border-radius:4px;padding:0 5px}
.tl .more{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:var(--muted);opacity:0;transition:opacity .15s,background-color .15s}
.tl>li:hover .more,.tl .more:focus-visible{opacity:1}
.tl .more:hover{background:var(--paper);color:var(--ink)}
@media (hover:none){.tl .more{opacity:.7}}
.tl .bpm{text-align:right;color:var(--muted);font-variant-numeric:tabular-nums;font-size:14px}
.tl>li.id{background-image:repeating-linear-gradient(135deg,transparent 0 6px,rgb(127 127 127 / .07) 6px 7px)}
.tl>li.id .idm{width:48px;height:48px;border-radius:4px;display:grid;place-items:center;font:800 18px/1 var(--display);border:1px dashed var(--muted);color:var(--muted)}
.tl>li.id form{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.tl>li.id form .input{height:36px;width:auto;flex:1 1 140px}
.tl>li.id details summary{cursor:pointer;color:var(--ink);font-size:14px;font-weight:600;text-decoration:underline;list-style:none;display:inline}
.tl>li.id details summary::-webkit-details-marker{display:none}
@media (max-width:600px){
  .tl>li{grid-template-columns:64px 44px minmax(0,1fr) 32px;gap:10px}
  .tl .k,.tl .bpm{display:none}
  .tl .art,.tl>li.id .idm{width:44px;height:44px}
}
.owner-box{border:1px solid var(--rule);border-radius:8px;padding:14px 16px;display:grid;gap:10px}
.owner-box h3{margin:0;font-size:14px}
.owner-box form{display:inline}

/* ---------------------------------------------------------------- lists (tracks, djs, search) */
.list{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}
.list>li>a,.list>li>.r{display:grid;grid-template-columns:40px 52px minmax(0,1fr) auto;gap:16px;align-items:center;padding:12px 8px;border-bottom:1px solid var(--rule);text-decoration:none}
.list>li>a:hover{background:var(--sheet)}
.list .rk{color:var(--muted);font-variant-numeric:tabular-nums;text-align:right;font-size:14px}
.list .art{width:52px;height:52px;border-radius:4px;object-fit:cover;background:var(--sheet)}
.list b{display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.list span.s{display:block;color:var(--muted);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.list .c{text-align:right;font-variant-numeric:tabular-nums;font-size:14px;color:var(--muted)}
.list .c strong{display:block;color:var(--ink);font-size:18px}
/* Unknown stretches: the stretch, where it is, Listen; the owner's naming form runs underneath. */
.list>li>.r.gp{grid-template-columns:44px minmax(0,1fr) auto;align-items:start}
.gp .gid{font:800 22px/1 var(--display);padding-top:3px}
.gp .gb{min-width:0}
.gp .gform{grid-column:2/-1;display:flex;flex-wrap:wrap;gap:8px}
.gp .gform .input{height:40px;width:auto;flex:1 1 150px}
.list.compact>li>a{grid-template-columns:44px minmax(0,1fr) auto}
.list.compact .art{width:44px;height:44px}
@media (max-width:600px){.list>li>a,.list>li>.r{grid-template-columns:28px 44px minmax(0,1fr) auto;gap:10px}.list .art{width:44px;height:44px}}
.filter{display:flex;gap:8px;max-width:440px;margin-top:24px}
.djs{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.dj{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:center;padding:12px;border:1px solid var(--rule);border-radius:8px;background:var(--sheet);text-decoration:none}
.dj:hover{border-color:var(--ink)}
.av{width:52px;height:52px;border-radius:50%;object-fit:cover;background:var(--paper);display:grid;place-items:center;font:800 22px/1 var(--display);color:var(--muted);overflow:hidden}
.av.lg{width:96px;height:96px;font-size:40px}
.dj b{display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dj span{font-size:13px;color:var(--muted)}
.cover{width:clamp(110px,16vw,180px);height:auto;aspect-ratio:1;border-radius:6px;object-fit:cover;background:var(--sheet)}
.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:clamp(32px,5vw,64px)}
.tagrow{display:flex;flex-wrap:wrap;gap:8px}
.tag{border:1px solid var(--rule);border-radius:999px;padding:4px 12px;font-size:14px;background:var(--sheet)}
.tag .n{color:var(--muted);margin-left:6px;font-variant-numeric:tabular-nums}

/* ---------------------------------------------------------------- export, sheets, owner */
.sheet{background:var(--sheet);border:1px solid var(--rule);border-radius:10px;padding:clamp(20px,3vw,32px)}
.formats{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin-top:20px}
.fmt{display:grid;gap:4px;padding:16px;border:1px solid var(--rule);border-radius:8px;text-decoration:none;background:var(--paper)}
.fmt:hover{border-color:var(--ink)}
.fmt b{font-weight:700}
.fmt span{font-size:14px;color:var(--muted)}
.fmt em{font-style:normal;font-size:13px;font-weight:600;margin-top:6px}
.toggle{display:inline-flex;align-items:center;gap:10px;font-size:15px;cursor:pointer}
.toggle input{width:18px;height:18px;accent-color:var(--ink)}
.prog{height:10px;background:var(--paper);border-radius:5px;overflow:hidden;margin:20px 0 10px}
.prog i{display:block;height:100%;background:var(--ink)}
.misses{list-style:none;padding:0;margin:16px 0 0;border-top:1px solid var(--rule)}
.misses li{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--rule);font-size:15px}
.misses .s{color:var(--muted);font-size:13px;display:block}
.empty{padding:56px 0;max-width:46ch}
.empty h2{font:800 36px/1 var(--display);margin:0 0 10px}
.empty p{color:var(--muted);margin:0 0 20px}
.health{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:14px;color:var(--muted)}
.health strong{color:var(--ink)}
.login{max-width:440px;padding-top:clamp(40px,8vw,96px)}
.login form{display:grid;gap:16px;margin-top:28px}

/* ---------------------------------------------------------------- footer */
.foot{border-top:1px solid var(--rule);padding:28px 0 calc(40px + env(safe-area-inset-bottom,0px));font-size:14px;color:var(--muted)}
.foot .wrap{display:flex;flex-wrap:wrap;gap:12px 24px;justify-content:space-between}
.foot nav{display:flex;flex-wrap:wrap;gap:8px 20px}
.foot a{color:var(--muted)}
.foot a:hover{color:var(--ink)}
.foot form{display:inline}
.foot button{background:none;border:0;padding:0;color:var(--muted);text-decoration:underline;cursor:pointer;text-underline-offset:3px}

/* ---------------------------------------------------------------- live decode view */
.lv{margin-top:20px}
.lv-top{display:grid;grid-template-columns:minmax(220px,400px) minmax(0,1fr);gap:clamp(20px,4vw,48px);align-items:center}
@media (max-width:760px){.lv-top{grid-template-columns:1fr}}
.lv-art{position:relative;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:var(--sheet)}
.lv-art img{width:100%;height:100%;object-fit:cover}
.lv-sweep{position:absolute;inset:0;pointer-events:none;opacity:0}
.lv.running .lv-sweep{opacity:1;background:linear-gradient(90deg,transparent 0,rgb(255 255 255 / .0) 40%,rgb(255 255 255 / .28) 50%,rgb(255 255 255 / 0) 60%,transparent 100%);background-size:250% 100%;animation:sweep 2.4s linear infinite;mix-blend-mode:overlay}
@keyframes sweep{from{background-position:120% 0}to{background-position:-20% 0}}
.lv-state{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px;font-size:15px}
.lv-state b{font-weight:700}
.lv-state span:last-child{color:var(--muted)}
.lv-bar{position:relative;height:8px;border-radius:4px;background:var(--sheet);overflow:hidden;margin-top:22px}
.lv-bar i{position:absolute;left:0;top:0;bottom:0;background:var(--ink);border-radius:4px;transition:width .8s cubic-bezier(.2,.8,.2,1)}
.lv.running .lv-bar i::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgb(255 255 255 / .35),transparent);background-size:200% 100%;animation:sweep 1.6s linear infinite}
.lv-stats{display:flex;justify-content:space-between;gap:12px;margin-top:10px;font-size:14px;color:var(--muted)}
.lv-stats b{color:var(--ink);font-size:20px;font-weight:700;transition:transform .25s}
.lv-stats b.bump{animation:bump .5s cubic-bezier(.2,.8,.2,1)}
@keyframes bump{40%{transform:scale(1.25)}}
.lv-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}
.lv-list li{display:grid;grid-template-columns:74px minmax(0,1fr);gap:14px;align-items:center;padding:12px 8px;border-bottom:1px solid var(--rule)}
.lv-list .t{color:var(--muted);font-size:14px;font-weight:500}
.lv-list .nm b{display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lv-list .nm span{display:block;color:var(--muted);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lv-list li.new{animation:land 1.6s cubic-bezier(.2,.8,.2,1)}
@keyframes land{0%{opacity:0;transform:translateY(-8px);background:var(--sheet)}15%{opacity:1;transform:none;background:var(--sheet)}100%{background:transparent}}
.lv.done .lv-state b{color:var(--ink)}

/* ---------------------------------------------------------------- player slot + dock */
.slot{position:relative;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#000}
.slot.sc{aspect-ratio:auto;height:166px;background:var(--sheet)}
.slot>img{width:100%;height:100%;object-fit:cover;opacity:.9}
.slot noscript iframe,.slot>iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.playbig{position:absolute;left:50%;top:50%;width:68px;height:68px;margin:-34px 0 0 -34px;border-radius:50%;border:0;background:rgb(255 255 255 / .92);color:#14161A;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 30px rgb(0 0 0 / .35);transition:transform .2s cubic-bezier(.2,.8,.2,1)}
.playbig .ic{margin-left:4px}
.playbig:hover{transform:scale(1.06)}
.playbig:active{transform:scale(.95)}
.slot.docked>img,.slot.docked .playbig{visibility:hidden}
.dock{z-index:40;view-transition-name:dock}
.dock[hidden]{display:none}
.dock .dock-v{background:#000;overflow:hidden}
.dock .dock-v iframe{display:block;width:100%;height:100%;border:0}
.dock.big{border-radius:10px;overflow:hidden;z-index:11}
.dock.big .dock-v{width:100%;height:100%}
.dock.big .dock-i{display:none}
.dock.mini{position:fixed;right:16px;bottom:16px;width:min(340px,calc(100vw - 32px));border-radius:12px;overflow:hidden;background:var(--sheet);border:1px solid var(--rule);box-shadow:0 18px 50px -12px rgb(0 0 0 / .5);animation:pop .22s cubic-bezier(.2,.8,.2,1)}
.dock.mini .dock-v{aspect-ratio:16/9}
.dock.mini.sc .dock-v{aspect-ratio:auto;height:120px}
.dock-i{display:flex;align-items:center;gap:4px;padding:8px 8px 8px 10px}
.dock-go{flex:1;min-width:0;display:flex;align-items:center;gap:10px;background:none;border:0;padding:0;text-align:left;cursor:pointer;color:inherit}
.dock-go img{width:38px;height:38px;border-radius:5px;object-fit:cover;flex:none;background:var(--paper)}
.dock-go>span{min-width:0}
.dock-go b{display:block;font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dock-go span span{display:block;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dock-b{width:36px;height:36px;border-radius:50%;border:0;background:transparent;color:var(--ink);display:grid;place-items:center;cursor:pointer;flex:none}
.dock-b:hover{background:var(--paper)}
@media (max-width:600px){.dock.mini{right:8px;left:8px;bottom:calc(8px + env(safe-area-inset-bottom,0px));width:auto;display:grid;grid-template-columns:120px 1fr}.dock.mini .dock-v{aspect-ratio:16/9}.dock.mini.sc{grid-template-columns:1fr}.dock.mini.sc .dock-v{height:0}}

/* ---------------------------------------------------------------- phones
   Written for the phone, not squashed down from the desktop: one-handed, thumbs, nothing tappable
   under 44px, inputs at 16px so iOS doesn't zoom in when you tap them. */
@media (max-width:640px){
  /* App bar: logo and light on one row, the bar under it. */
  .top .wrap{min-height:0}
  .mark{font-size:30px;padding:7px 0 8px}
  .light{height:44px;padding:0 14px 0 13px;max-width:58vw}
  .light span{min-width:0;overflow:hidden;text-overflow:ellipsis}
  .find input{height:44px;font-size:16px;padding-right:16px}
  .find>svg{top:15px}.find>svg.i-l{top:14.5px}
  .find.can-paste input:placeholder-shown{padding-right:84px}
  .find.can-paste input:placeholder-shown~.paste{display:flex}
  .suggest{max-height:62vh}
  .suggest a{min-height:52px}

  /* Everything you tap is at least 44px. */
  .btn,.btn.sm{min-height:44px}
  .btn.sm{padding:0 16px;font-size:15px}
  .chip{min-height:44px;padding:0 16px}
  .back{min-height:44px;margin-top:12px;font-size:16px}
  .toggle{min-height:44px}
  .foot nav{gap:0 20px}
  .foot nav a,.foot button{display:inline-flex;align-items:center;min-height:44px}
  .dock-b{width:44px;height:44px}

  /* Filters: one row you swipe sideways, then the count and Sort. */
  .filters{display:grid;gap:8px;padding:12px 0 18px}
  .fl{flex-wrap:nowrap;overflow-x:auto;margin:0 calc(-1 * var(--gutter));padding:4px var(--gutter);scrollbar-width:none;overscroll-behavior-x:contain}
  .fl::-webkit-scrollbar{display:none}
  .fl>*{flex:none}
  .fr{justify-content:space-between}
  .pill{min-height:44px;padding:0 16px;font-size:15px}
  .pill b{max-width:46vw}
  .clear{display:inline-flex;align-items:center;min-height:44px;padding:0 8px;font-size:15px}

  /* Every menu opens as a sheet from the bottom of the screen. Tapping the dimmed page closes it
     (the dim is part of the menu's own button, so a tap there is a tap on the button). */
  html:has(.dd[open]){overflow:hidden}
  .dd[open]>summary::before{content:"";position:fixed;inset:0;z-index:58;background:rgb(8 10 14 / .44);animation:fade .2s ease-out}
  .dd[open]>.pill,.dd[open]>.pill:active{transform:none}
  .dd .menu,.dd.keys .menu,.dd.wide .menu,.dd.end .menu{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:60;width:auto;max-width:none;min-width:0;max-height:min(80vh,680px);overflow:auto;overscroll-behavior:contain;border:0;border-radius:18px 18px 0 0;padding:8px max(14px,env(safe-area-inset-left,0px)) calc(16px + env(safe-area-inset-bottom,0px));box-shadow:0 -10px 40px rgb(0 0 0 / .22)}
  .dd .menu::before{content:"";display:block;width:38px;height:5px;border-radius:3px;background:var(--rule);margin:2px auto 6px}
  .dd[open] .menu,.dd.end[open] .menu{animation:sheet .3s cubic-bezier(.2,.8,.2,1);transform-origin:bottom center}
  .dd .mh{display:block;margin:4px 10px 8px;font:800 26px/1 var(--display)}
  .dd ul{max-height:none;overflow:visible}
  .dd li a{min-height:50px;padding:10px 12px;font-size:16px;gap:12px}
  .dd li .n{font-size:14px}
  .dd li .av{width:32px;height:32px;font-size:13px}
  .dd .menu .input{position:sticky;top:-8px;z-index:1;height:44px;font-size:16px;margin:0 0 8px}
  .dd.keys .menu{padding-left:16px;padding-right:16px}
  .kg{gap:6px}
  .kc{height:44px;font-size:14px}
  .kx{min-height:44px}
  .kf .clear{min-height:44px}

  /* Sets */
  .grid{gap:30px 16px}
  .grp-h{font-size:24px;padding-top:10px}

  /* Set page, top to bottom: the video, what it is, the player bar, the songs. Owner tools last. */
  .setpg{display:flex;flex-direction:column}
  .setpg>.back{order:1;align-self:flex-start}
  .setpg .set-body,.setpg .side{display:contents}
  .setpg .slot{order:2;margin-top:4px;border-radius:12px}
  .setpg .set-top{order:3;margin-top:18px;gap:16px}
  .setpg .facts{order:4}
  .setpg .deck{order:5}
  .setpg .tlw{order:6}
  .setpg .owner-box{order:7;margin-top:32px}
  .h1.set{font-size:31px;line-height:.98;max-width:none}
  .by-line{font-size:16px;margin-top:10px}
  .set-top .acts .btn{min-height:44px}
  .facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 12px;margin-top:20px}
  .facts dd,.facts .key{font-size:20px}
  .deck{margin-top:22px;padding-top:8px;padding-bottom:6px}
  /* Songs: time, cover, name, and the numbers DJs mix by (key over tempo). The "every set that
     plays this" icon gives way to them; search still finds those sets. */
  .tl>li{grid-template-columns:50px 40px minmax(0,1fr) auto;grid-template-areas:"t art nm k" "t art nm bpm";gap:0 9px;padding:9px 2px 9px 6px;min-height:64px}
  .tl>li>.t{grid-area:t;min-height:44px;padding:0;font-size:13px}
  .tl>li>.art,.tl>li>.idm{grid-area:art}
  .tl>li>.nm{grid-area:nm}
  .tl .k,.tl .bpm{display:block}
  .tl>li>.k{grid-area:k;align-self:end;justify-self:end}
  .tl>li>.bpm{grid-area:bpm;align-self:start;justify-self:end;font-size:13px;line-height:1.6}
  .tl>li>:nth-child(6){display:none}
  .tl .t .eq{display:none!important}
  .tl .art,.tl>li.id .idm{width:40px;height:40px}
  .tl>li.id .idm{font-size:16px}
  .tl>li.id details summary{display:inline-flex;align-items:center;min-height:44px}
  .tl>li.id form .input{height:44px;flex-basis:100%}
  .tl>li.id form .btn{flex:1}
  /* While its set's page is open, the player bar has the controls, so the corner player is
     just the picture. */
  .dock.mini.here{left:auto;width:156px;grid-template-columns:1fr;border-radius:10px}
  .dock.mini.here .dock-i{display:none}
  .dock.mini.sc.here{opacity:0;pointer-events:none}

  /* Unknown stretches */
  .list>li>.r.gp{grid-template-columns:30px minmax(0,1fr) auto;gap:10px;padding:14px 0}
  .gp .gform .input{flex-basis:100%;height:44px}
  .gp .gform .btn{flex:1}
}
@keyframes sheet{from{transform:translateY(100%)}}
@keyframes fade{from{opacity:0}}

/* ---------------------------------------------------------------- motion */
.navbar{position:fixed;left:0;top:0;height:2px;width:0;background:var(--ink);z-index:100;opacity:0;pointer-events:none}
.navbar.on{opacity:1;width:72%;transition:width 6s cubic-bezier(.08,.7,.2,1)}
.navbar.done{opacity:0;width:100%;transition:width .18s ease-out,opacity .3s .12s}
img.fade{opacity:0;transition:opacity .35s ease-out}
img.fade.in{opacity:1}
@keyframes pop{from{opacity:0;transform:translateY(-4px) scale(.98)}}
.dd[open] .menu,.suggest:not([hidden]){animation:pop .16s cubic-bezier(.2,.8,.2,1);transform-origin:top left}
.dd.end[open] .menu{transform-origin:top right}
::view-transition-old(root),::view-transition-new(root){animation-duration:.2s;animation-timing-function:ease-out}
::view-transition-group(hero){animation-duration:.34s;animation-timing-function:cubic-bezier(.2,.8,.2,1)}
::view-transition-old(hero),::view-transition-new(hero){height:100%;object-fit:cover;border-radius:10px}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
