:root {
  --bg: #0b0c0f;
  --panel: #13151a;
  --panel2: #1a1d24;
  --line: #262a33;
  --line2: #323743;
  --text: #ecebe6;
  --muted: #9aa0ab;
  --faint: #626875;
  --accent: #ffa64d;
  --accent-ink: #1b1206;
  --low: #ff5a7a;
  --mid: #ffb54d;
  --high: #63cdff;
  --good: #63e0a6;
  --radius: 12px;
  --head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -0.01em; margin: 0; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; height: 60px; padding: 0 28px; background: rgba(11,12,15,.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: 700 18px var(--head); letter-spacing: -0.02em; }
.brand svg { width: 26px; height: 19px; color: var(--accent); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 6px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.nav a.on { color: var(--text); background: var(--panel2); }
.search { margin-left: auto; position: relative; width: min(380px, 40vw); }
.search input { width: 100%; height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; outline: none; }
.search input:focus { border-color: var(--line2); background: var(--panel2); }
.results { position: absolute; top: 42px; right: 0; width: 460px; max-height: 70vh; overflow: auto; background: var(--panel2); border: 1px solid var(--line2); border-radius: 12px; padding: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.results .grp { padding: 8px 10px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.results a { display: block; padding: 7px 10px; border-radius: 8px; }
.results a:hover, .results a.sel { background: var(--line); color: var(--text); }
.results small { color: var(--muted); margin-left: 6px; }

main { padding: 28px 28px 140px; max-width: 1440px; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 8px 0 22px; }
.page-head h1 { font-size: 34px; }
.page-head p { margin: 6px 0 0; color: var(--muted); }

/* drive census */
.census { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(120deg, #17140f, var(--panel) 60%); margin-bottom: 28px; }
.census .big { font: 600 40px/1 var(--head); color: var(--accent); }
.census .what { color: var(--muted); }
.census .what b { color: var(--text); font-weight: 600; }
.census .folders { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.census .folders span { font-size: 12px; padding: 2px 8px; border-radius: 99px; background: var(--panel2); color: var(--muted); }

/* set cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--line2); transform: translateY(-2px); color: inherit; }
.art { background: #222 center 22% / cover; width: 100%; height: 100%; }
.art.typo { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(120% 90% at 20% 10%, hsl(var(--h) 55% 30%), transparent 60%), linear-gradient(140deg, hsl(var(--h) 40% 17%), hsl(calc(var(--h) + 45) 45% 8%)); }
.art.typo::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 1px, transparent 1px 9px); }
.art.typo span { position: relative; font: 700 64px/1 var(--head); letter-spacing: -.04em; color: rgba(255,255,255,.22); }
.cardart { position: relative; height: 150px; }
.cardart::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,15,0) 30%, rgba(19,21,26,.96)); }
.cardart .dj { position: absolute; left: 16px; bottom: 10px; z-index: 1; font: 600 20px var(--head); }
.cardart .yr { position: absolute; right: 14px; top: 12px; z-index: 1; font: 500 12px var(--mono); padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.55); }
.card .body { padding: 6px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .t { font: 600 16px var(--head); }
.card .where { color: var(--muted); font-size: 13px; }
.card .spark { height: 34px; width: 100%; display: block; margin-top: auto; }
.card .foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; padding: 2px 9px; border-radius: 99px; border: 1px solid var(--line2); color: var(--muted); white-space: nowrap; }
.chip.genre { color: var(--text); border-color: transparent; background: var(--panel2); }
.chip.warn { color: var(--mid); border-color: #4a3a1e; }

/* set page */
.set-head { display: grid; grid-template-columns: 96px 1fr auto; gap: 22px; align-items: center; margin-bottom: 22px; }
.set-head .photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 2px solid var(--line2); display: block; }
.art.round.typo span { font-size: 30px; }
.set-head .djs { font: 500 15px var(--head); color: var(--accent); }
.set-head h1 { font-size: 32px; margin: 2px 0 4px; }
.set-head .meta { color: var(--muted); }
.set-head .chips { margin-top: 10px; }
.set-head .side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.bigplay { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px 0 18px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 600 15px var(--head); }
.bigplay svg { width: 18px; height: 18px; fill: currentColor; }
.bigplay:hover { filter: brightness(1.08); color: var(--accent-ink); }
.facts { display: flex; gap: 18px; font-size: 13px; color: var(--muted); }
.facts b { color: var(--text); font-weight: 500; font-family: var(--mono); }
.srcs { display: flex; gap: 10px; font-size: 12px; }
.srcs a { color: var(--muted); border-bottom: 1px dotted var(--line2); }

.timeline { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 10px; margin-bottom: 10px; }
.timeline canvas { display: block; width: 100%; cursor: pointer; }
.timeline .tip { position: absolute; pointer-events: none; transform: translate(-50%, -100%); background: #0d0e12; border: 1px solid var(--line2); border-radius: 8px; padding: 6px 10px; font-size: 12px; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.timeline .tip b { font-family: var(--mono); color: var(--accent); font-weight: 500; margin-right: 6px; }
.lanes { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); margin-top: 6px; }
.lanes .key { display: flex; gap: 14px; }
.lanes i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 5px; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--muted); margin: 0 2px 18px; }
.legend .note { color: var(--mid); }

.cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.tracklist { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tr { display: grid; grid-template-columns: 30px 78px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); cursor: pointer; position: relative; }
.tr:first-child { border-top: 0; }
.tr:hover { background: var(--panel2); }
.tr.sel { background: #1d1a15; }
.tr.now::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.tr .n { color: var(--faint); font: 12px var(--mono); text-align: right; }
.tr .tm { font: 13px var(--mono); color: var(--muted); display: flex; align-items: center; gap: 6px; }
.tr .tm .src { font-size: 10px; width: 14px; text-align: center; }
.src.cue { color: var(--good); }
.src.est { color: var(--mid); }
.src.you { color: var(--high); }
.tr .who { font-weight: 600; }
.tr .who a:hover { text-decoration: underline; }
.tr .ttl { color: var(--text); }
.tr .mix { color: var(--muted); }
.tr .unk { color: var(--faint); font-style: italic; }
.tr .sub { font-size: 12px; color: var(--muted); margin-top: 2px; display: flex; gap: 10px; flex-wrap: wrap; }
.tr .sub a { color: var(--muted); }
.tr .sub a:hover { color: var(--accent); }
.tr .right { display: flex; align-items: center; gap: 10px; }
.tr .bpm { font: 12px var(--mono); color: var(--faint); width: 44px; text-align: right; }
.tr .else { font-size: 12px; padding: 2px 9px; border-radius: 99px; background: var(--panel2); color: var(--muted); white-space: nowrap; }
.tr .fix { opacity: 0; font-size: 11px; color: var(--high); border: 1px solid #234457; border-radius: 6px; padding: 2px 7px; }
.tr:hover .fix { opacity: 1; }
.tr.now .tm { color: var(--accent); }
.tr.now .n { color: var(--accent); }

.panel { position: sticky; top: 78px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; max-height: calc(100vh - 180px); overflow: auto; }
.panel .kicker { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.panel h2 { font-size: 20px; margin: 4px 0 2px; }
.panel .by { font-size: 15px; }
.panel .by a { color: var(--accent); }
.panel section { margin-top: 18px; }
.panel h3 { font-size: 13px; color: var(--muted); font-family: var(--body); font-weight: 600; margin-bottom: 8px; }
.links { display: flex; flex-wrap: wrap; gap: 6px; }
.links a { font-size: 12px; padding: 4px 10px; border-radius: 7px; background: var(--panel2); color: var(--muted); }
.links a:hover { color: var(--text); background: var(--line); }
.mixlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mixlist li { display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.mixlist li:first-child { border-top: 0; }
.mixlist .d { font: 12px var(--mono); color: var(--faint); padding-top: 1px; }
.mixlist .lib { color: var(--accent); }
.mixlist .w { color: var(--muted); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 13px; }
.kv dt { color: var(--faint); }
.kv dd { margin: 0; }

/* DJ page */
.dj-hero { display: grid; grid-template-columns: 260px 1fr; gap: 32px; margin-bottom: 30px; }
.dj-hero .photo { width: 260px; height: 300px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.art.tall.typo span { font-size: 110px; }
.dj-hero h1 { font-size: 48px; line-height: 1.05; }
.dj-hero .desc { color: var(--accent); font: 500 15px var(--head); margin: 6px 0 14px; }
.dj-hero .bio { color: #cfcdc6; max-width: 760px; font-size: 15px; line-height: 1.6; }
.dj-hero .credit { font-size: 12px; color: var(--faint); margin-top: 8px; }
.stats { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; min-width: 130px; }
.stat b { display: block; font: 600 22px var(--head); }
.stat span { font-size: 12px; color: var(--muted); }
.block { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.block h2 { font-size: 17px; margin-bottom: 4px; }
.block .hint { font-size: 12px; color: var(--faint); margin-bottom: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
.bars { display: flex; flex-direction: column; gap: 5px; }
.barrow { display: grid; grid-template-columns: minmax(0, 1fr) 36px; gap: 10px; align-items: center; font-size: 13px; }
.barrow .lbl { position: relative; padding: 3px 8px; border-radius: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.barrow .lbl i { position: absolute; inset: 0 auto 0 0; background: #2a2418; z-index: 0; border-radius: 5px; }
.barrow .lbl span { position: relative; z-index: 1; }
.barrow .lbl.inlib span { color: var(--accent); }
.barrow .c { font: 12px var(--mono); color: var(--faint); text-align: right; }
.years svg { width: 100%; height: 150px; display: block; }
.decades { display: flex; flex-direction: column; gap: 10px; }
.decade { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: baseline; }
.decade b { font: 500 13px var(--mono); color: var(--muted); }

/* list pages */
.index { columns: 3 280px; column-gap: 28px; }
.index a { display: flex; justify-content: space-between; gap: 10px; padding: 6px 2px; border-bottom: 1px solid var(--line); break-inside: avoid; }
.index a small { color: var(--faint); font-family: var(--mono); }
.djcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.djcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.djcard .art { height: 220px; }
.djcard .b { padding: 12px 14px; }
.djcard .b b { font: 600 17px var(--head); display: block; }
.djcard .b span { font-size: 12px; color: var(--muted); }
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; padding: 9px 4px; border-top: 1px solid var(--line); align-items: center; cursor: pointer; }
.row:hover { background: var(--panel2); }
.row .tm { font: 12px var(--mono); color: var(--muted); }

/* player */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: minmax(240px, 1fr) minmax(420px, 1.6fr) minmax(240px, 1fr); gap: 24px; align-items: center; height: 84px; padding: 0 24px; background: rgba(15,16,20,.96); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.np { display: flex; align-items: center; gap: 12px; min-width: 0; }
.npart { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex: none; }
.npart .art { width: 100%; height: 100%; }
.npart .art.typo span { font-size: 20px; }
.np-text { min-width: 0; display: flex; flex-direction: column; }
.np-track { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-set { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.transport { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.buttons { display: flex; justify-content: center; align-items: center; gap: 14px; }
.icon svg { width: 20px; height: 20px; fill: var(--muted); }
.icon.small svg { width: 17px; height: 17px; }
.icon:hover svg { fill: var(--text); }
.play { width: 38px; height: 38px; border-radius: 50%; background: var(--text); display: grid; place-items: center; }
.play svg { width: 18px; height: 18px; fill: #111; }
.play .i-pause { display: none; }
.playing .play .i-pause { display: block; }
.playing .play .i-play { display: none; }
.scrub { display: grid; grid-template-columns: 64px 1fr 64px; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
.scrub span:first-child { text-align: right; }
.bar { position: relative; height: 16px; cursor: pointer; }
.bar::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 4px; border-radius: 2px; background: var(--line2); }
#bar-fill { position: absolute; left: 0; top: 6px; height: 4px; border-radius: 2px; background: var(--accent); width: 0; }
#bar-head { position: absolute; top: 3px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--text); left: 0; }
#bar-ticks i { position: absolute; top: 4px; width: 1px; height: 8px; background: #555b66; }
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.ghost { font-size: 12px; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line2); color: var(--muted); }
.ghost:hover { color: var(--text); border-color: var(--muted); }
#vol { width: 90px; accent-color: var(--accent); }
.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); background: var(--panel2); border: 1px solid var(--line2); padding: 10px 16px; border-radius: 10px; z-index: 40; font-size: 13px; }
.empty { color: var(--faint); font-size: 13px; }
@media (max-width: 1100px) {
  .cols { grid-template-columns: 1fr; }
  .panel { position: static; max-height: none; }
  .two, .three { grid-template-columns: 1fr; }
  .dj-hero { grid-template-columns: 1fr; }
}

.disco { columns: 2 320px; column-gap: 28px; display: block; }
.disco li { break-inside: avoid; }
.page-head .links { max-width: 520px; justify-content: flex-end; }

.small { font-size: 12px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.toolbar input[type=search], .toolbar select, .ixq { height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; padding: 0 12px; outline: none; }
.toolbar input[type=search] { width: 280px; }
.toolbar select { max-width: 220px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.seg button { padding: 7px 11px; font-size: 13px; color: var(--muted); border-right: 1px solid var(--line); }
.seg button:last-child { border-right: 0; }
.seg button.on { background: var(--panel2); color: var(--text); }
.tog { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); cursor: pointer; }
.tog input { accent-color: var(--accent); }
.count { font-size: 12px; color: var(--faint); margin: 4px 2px 14px; }
.more { text-align: center; color: var(--faint); font-size: 13px; padding: 24px; }
.spark.empty { height: 30px; margin-top: auto; }
.timeline.pending { color: var(--muted); font-size: 13px; padding: 26px 20px; text-align: center; margin-bottom: 18px; }
.emptybox { padding: 26px 22px; }
.emptybox h3 { font-size: 17px; margin-bottom: 6px; }
.emptybox p { color: var(--muted); margin: 0 0 14px; }
.ixq { width: 260px; }
.embedbox { position: fixed; right: 16px; bottom: 98px; z-index: 35; background: #000; border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.55); }
.embedbox.video { width: 320px; height: 180px; }
.embedbox.video iframe, .embedbox.video > div { width: 320px; height: 180px; display: block; }
.embedbox.bar { width: 360px; height: 120px; background: var(--panel); }
.embedbox.bar iframe { width: 100%; height: 120px; border: 0; display: block; }
.mixlist .lib { color: var(--accent); }
.aboutweb { font-size: 12px; color: var(--muted); margin: 2px 2px 8px; }

/* photo editing */
.dj-hero .photo.editable { cursor: crosshair; }
.drop { outline: 2px dashed var(--accent); outline-offset: -6px; }
.phototools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; }
.phototools button { font-size: 12px; padding: 5px 10px; border-radius: 7px; background: var(--panel2); color: var(--muted); border: 1px solid var(--line2); }
.phototools button:hover { color: var(--text); border-color: var(--muted); }
.djcard.editing .ph { cursor: crosshair; }
.djcard .ph { height: 220px; }
.djcard .ph .art { height: 100%; }
.dj-hero > div:first-child { width: 260px; }

/* toolbar layout */
.toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(150px, 210px)); gap: 10px; }
.toolbar input[type=search] { width: 100%; }
.toolbar select { max-width: none; width: 100%; }
.toolbar .seg { grid-column: 1 / span 2; justify-self: start; }
.toolbar .tog { grid-column: auto; }
#lf-sort { grid-column: 4; grid-row: 1; }

/* credits */
.credits { max-width: 1440px; margin: 0 auto; padding: 0 28px 120px; color: var(--faint); font-size: 12px; }
.credits a { color: var(--muted); }

/* phones */
@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; height: auto; padding: 10px 14px; gap: 8px 14px; }
  .nav a { padding: 5px 8px; font-size: 13px; }
  .search { order: 3; width: 100%; margin: 0; }
  .results { width: 100%; }
  main { padding: 16px 14px 190px; }
  .page-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-head h1 { font-size: 28px; }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .toolbar input[type=search] { grid-column: 1 / -1; }
  #lf-sort { grid-column: auto; grid-row: auto; }
  .toolbar .seg { grid-column: 1 / -1; overflow-x: auto; max-width: 100%; }
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .cardart { height: 120px; }
  .census { grid-template-columns: 1fr; }
  .set-head { grid-template-columns: 64px 1fr; gap: 14px; }
  .set-head .photo { width: 64px; height: 64px; }
  .set-head h1 { font-size: 24px; }
  .set-head .side { grid-column: 1 / -1; align-items: flex-start; }
  .facts { flex-wrap: wrap; gap: 10px; }
  .srcs { flex-wrap: wrap; }
  .timeline { padding: 10px; }
  .lanes .key span:first-child { display: none; }
  .lanes .key { gap: 8px; flex-wrap: wrap; }
  .tr { grid-template-columns: 22px 64px minmax(0, 1fr); padding: 10px 12px; gap: 8px; }
  .tr .right { display: none; }
  .cols { grid-template-columns: 1fr; }
  .panel { position: static; max-height: none; }
  .dj-hero { grid-template-columns: 1fr; gap: 18px; }
  .dj-hero > div:first-child, .dj-hero .photo { width: 100%; }
  .dj-hero .photo { height: 280px; }
  .dj-hero h1 { font-size: 34px; }
  .two, .three { grid-template-columns: 1fr; }
  .index { columns: 1; }
  .djcards { grid-template-columns: 1fr 1fr; }
  .djcard .ph { height: 160px; }
  .player { grid-template-columns: 1fr; height: auto; gap: 6px; padding: 10px 14px 14px; }
  .player .tools { display: none; }
  .scrub { grid-template-columns: 52px 1fr 52px; }
  .embedbox { left: 10px; right: 10px; bottom: 150px; }
  .embedbox.video { width: auto; height: 190px; }
  .embedbox.video iframe, .embedbox.video > div { width: 100%; height: 190px; }
  .embedbox.bar { width: auto; }
  .credits { padding: 0 14px 200px; }
}
.seg button { white-space: nowrap; }

/* polish */
select { appearance: none; -webkit-appearance: none; padding-right: 32px !important; cursor: pointer;
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239aa0ab' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center / 11px 8px !important; }
select:hover, input[type=search]:hover { border-color: var(--line2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.toolbar input:focus, .toolbar select:focus, .ixq:focus { border-color: var(--accent); outline: none; }
.card { position: relative; }
.cardplay { position: absolute; z-index: 2; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: grid; place-items: center;
  opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.cardplay svg { width: 17px; height: 17px; fill: var(--accent-ink); margin-left: 2px; }
.card:hover .cardplay, .cardplay:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .cardplay { opacity: .92; transform: none; width: 36px; height: 36px; } }
.card .foot span:last-child { color: var(--faint); }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--faint); margin: -6px 0 16px; white-space: nowrap; overflow: hidden; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs b { font-weight: 500; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.loading { color: var(--faint); padding: 60px 0; text-align: center; }
.headtools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 18px; position: sticky; top: 60px; z-index: 5; background: var(--bg); padding: 8px 0; }
.letters a { min-width: 28px; text-align: center; padding: 4px 6px; border-radius: 6px; font: 500 13px var(--mono); color: var(--muted); background: var(--panel); }
.letters a:hover { color: var(--accent-ink); background: var(--accent); }
.lh { font: 600 22px var(--head); color: var(--accent); margin: 18px 0 6px; }
.djcard { display: block; transition: border-color .15s, transform .15s; }
.djcard:hover { border-color: var(--line2); transform: translateY(-2px); color: inherit; }
.djcard[hidden] { display: none; }
.page-head p { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .letters { top: 104px; } .headtools { width: 100%; } .ixq { flex: 1; width: auto; } }

/* B2B split portraits */
.art.split { display: flex; position: relative; overflow: hidden; background: #111; }
.art.split .slice { flex: 1; position: relative; overflow: hidden; }
.art.split .slice .art { position: absolute; inset: 0; }
.art.split.n2 .slice:first-child { clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); margin-right: -6%; }
.art.split.n2 .slice:last-child { clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); margin-left: -6%; }
.art.split.n3 .slice + .slice { border-left: 2px solid #0b0c0f; }
.art.split.n2 .slice:last-child::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(97deg, rgba(11,12,15,.95) 0, rgba(11,12,15,.95) 1.5%, transparent 2.6%); }
.art.split .art.typo span { font-size: 40px; }
.b2btag { position: absolute; left: 12px; top: 12px; z-index: 2; font: 600 10px var(--mono); letter-spacing: .12em;
  padding: 3px 7px; border-radius: 5px; background: rgba(11,12,15,.8); color: var(--accent); border: 1px solid rgba(255,166,77,.35); }
.npart .b2btag { display: none; }
.b2bword { color: var(--muted); font-family: var(--mono); font-size: 13px; }
/* stacked avatars on the set page */
.set-head { grid-template-columns: auto 1fr auto; }
.avatars { display: flex; }
.avatars .photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line2); }
.avatars.n2 .photo + .photo, .avatars.n3 .photo + .photo { margin-left: -26px; }
.avatars .photo:hover { z-index: 2; transform: translateY(-2px); }
.avatars .art { width: 100%; height: 100%; }
/* photos fade in as they load */
.art[data-bg] { background-color: #1a1d24; transition: opacity .3s; }
.art[data-bg]:not(.loaded) { opacity: .0; }
.src.rel { color: #c9a7ff; }
@media (max-width: 760px) { .avatars .photo { width: 64px; height: 64px; } .avatars.n2 .photo + .photo { margin-left: -18px; } .set-head { grid-template-columns: auto 1fr; } }
.src.sz { color: #7fe0ff; }
