.mix-shelf,.listener-desk,.pub-room { container-type:inline-size; width:100%; max-width:1100px; min-width:0; margin-inline:auto; }
.record-label { display:block; color:var(--muted); font:530 13px/1.4 Onest,sans-serif; }
.mix-shelf-head { min-height:clamp(194px,24cqw,265px); padding:clamp(22px,4cqw,45px); display:flex; flex-direction:column; justify-content:center; align-items:start; border-radius:14px; color:#261e17; background:#edd3a8 url('/mixtapes.webp') center 52% / cover; }
.mix-shelf-head h1,.pub-sheet h1 { margin:0; color:inherit; font:570 clamp(28px,5.1cqw,58px)/1.1 var(--display); letter-spacing:-.055em; }
.mix-shelf-head p { margin:9px 0 18px; max-width:min(34ch,49%); color:#4a3827; line-height:1.45; }
.mix-shelf-head .studio-action { color:#fff6e5; background:#2b211a; border-color:#2b211a; }
.mix-shelf>.librarytabs { margin:14px 0; }
.mix-tools,.mix-shelf section h2,.mix-tools .textbtn,.mix-create { display:flex; align-items:center; gap:9px; }
.mix-tools { justify-content:space-between; flex-wrap:wrap; }
.mix-tools .dl-search { width:min(420px,100%); }
.mix-tools .dl-search:focus-within { outline:2px solid var(--accent); outline-offset:2px; border-radius:5px; }
.mix-tools .dl-search input:focus-visible { outline:none; }
.mix-note { padding:16px 0; color:var(--soft); border-block:1px solid var(--line); }
.mix-shelf section { margin:25px 0; }
.mix-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr)); gap:0 22px; }
.mix-card { min-width:0; display:grid; grid-template-columns:64px minmax(0,1fr) auto; gap:13px; align-items:center; min-height:86px; border-block-end:1px solid var(--line); }
.mix-card strong,.mix-preview strong { display:block; color:var(--ink); font:630 18px/1.24 Onest,sans-serif; overflow-wrap:anywhere; }
.mix-card small,.mix-pick-track small { display:block; color:var(--muted); margin-top:4px; font-size:13px; }
.mix-card>svg { color:var(--soft); margin-right:7px; }
.mix-sleeve,.mix-preview-art { display:block; overflow:hidden; border-radius:6px; aspect-ratio:1; background:var(--panel); }
.mix-sleeve img,.mix-sleeve .coverprint,.mix-preview-art img { display:block; width:100%; height:100%; object-fit:cover; }
.mix-detail,.mix-preview,.mix-pick-track { display:flex; align-items:center; gap:14px; min-width:0; }
.mix-detail { padding-bottom:20px; border-bottom:1px solid var(--line); }
.mix-detail .mix-sleeve { width:clamp(76px,14vw,156px); flex:none; }
.mix-detail h1 { margin:0; overflow-wrap:anywhere; }
.mix-detail p,.mix-detail small { color:var(--soft); }
dialog:has(.mix-form,.release-form,.mix-pick-track) { width:min(510px,calc(100% - 22px)); max-height:calc(100dvh - 24px); border-radius:15px; }
.modal :is(.mix-form,.release-form) { display:grid; gap:16px; }
.mix-form .mix-preview,.mix-pick-track { padding:13px; border:1px solid var(--line); background:var(--bg); border-radius:9px; }
.mix-preview-art { width:64px; flex:none; }
.mix-preview-art img { object-position:right; }
.mix-preview strong { margin-top:4px; }
.mix-first-track { display:block; margin-top:5px; color:var(--soft); overflow-wrap:anywhere; }
.mix-options { border-block:1px solid var(--line); }
.mix-options summary,.release-genre summary { cursor:pointer; min-height:44px; padding:11px 2px; font-weight:600; }
.mix-options>div { display:grid; gap:12px; padding:0 2px 16px; }
.mix-options textarea { min-height:66px; }
.modal :is(.mix-form,.release-form) :is(input:not([type=checkbox],[type=file],[type=hidden]),textarea) { min-width:0; width:100%; font:inherit; color:var(--ink); background:var(--bg); border:1px solid var(--line); border-radius:7px; padding:11px 12px; }
.modal :is(.mix-form,.release-form)>.primary,.choices .mix-create { min-height:46px; border-radius:7px; justify-content:center; }
.modal :is(.mix-form,.release-form)>.primary { width:100%; }
.choices .mix-create { color:var(--bg); background:var(--ink); font-weight:630; }
.mix-pick .mix-sleeve { width:44px; flex:none; }
.mix-pick-track strong { overflow-wrap:anywhere; }
.mix-pick > span:nth-child(2) { flex:1; text-align:start; overflow-wrap:anywhere; }
.listener-card { position:relative; isolation:isolate; display:grid; align-content:end; gap:16px; min-height:200px; overflow:hidden; padding:clamp(18px,3cqw,34px); border-radius:14px; background:#181411; color:#fff2e0; }
.listener-card .profilebanner { position:absolute; z-index:-2; inset:0; height:auto; border-radius:0; }
.listener-card::after { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#14100df5,#15100dd6 45%,#15100d26); }
.listener-card .profileidentity { display:flex; align-items:center; flex-wrap:wrap; gap:15px; margin:0; }
.listener-card .profileidentity>img { height:74px; width:74px; border:2px solid #f0e3cf; }
.listener-card .profileidentity>div { min-width:0; }
.listener-card .profileidentity h2 { margin:0; font:560 clamp(23px,4.5cqw,47px)/1.18 var(--display); color:inherit; overflow-wrap:anywhere; }
.listener-card .profileidentity p { color:#e1d5c7; margin:4px 0 0; }
.listener-links { margin:0; flex-wrap:wrap; }
.listener-links .pill { min-height:41px; background:#25201c; border:1px solid #7c7368; color:#fff0dc; border-radius:7px; }
.listener-desk .profilestats { padding:15px 0; margin:0; gap:0; border-bottom:1px solid var(--line); }
.listener-desk .profilestats div { padding:4px 13px; background:transparent; border:0; border-radius:0; }
.listener-desk .profilestats div+div { border-left:1px solid var(--line); }
.listener-desk .profilestats small { display:block; overflow-wrap:anywhere; }
.listener-desk .profilefields { margin-top:20px; padding:0; background:none; border:none; display:grid; grid-template-columns:minmax(140px,23%) minmax(0,1fr); align-items:start; gap:16px clamp(16px,3cqw,34px); }
.listener-sections { grid-column:1; grid-row:1/span 3; display:grid; gap:3px; padding-right:15px; border-right:1px solid var(--line); }
.listener-sections h2 { font:650 18px/1.3 Onest,sans-serif; margin:2px 0 10px; }
.listener-sections button { min-height:42px; text-align:left; padding:9px 11px; border-radius:6px; color:var(--soft); }
.listener-sections button[aria-pressed=true] { color:var(--ink); background:var(--raised); box-shadow:inset 3px 0 var(--accent); }
.listener-desk .profilefields>:not(.listener-sections) { grid-column:2; }
.listener-fields:not([hidden]) { display:grid; gap:13px; }
.profilefields [hidden] { display:none!important; }
.listener-desk .profilefields .primary { min-height:44px; border-radius:7px; }
.listener-desk .profilefields input[type=search] { width:100%; background:var(--bg); color:var(--ink); border:1px solid var(--line); border-radius:7px; padding:10px; margin:3px 0 8px; }
.listener-desk .bannerchoices .coverprint { height:clamp(48px,6vw,74px); }
.listener-desk .pill[aria-pressed=true] { color:var(--bg); background:var(--ink); }
.pub-room .pub-sheet { position:relative; isolation:isolate; display:flex; align-items:center; min-height:clamp(220px,29cqw,307px); margin:4px 0 0; color:#fff4e4; background:#162520; }
.pub-photo { position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#111e19f5,#111e19c7 42%,transparent 83%),url('/mixing-desk.webp') center 52% / cover; }
.pub-sheet>div:last-child { padding:clamp(20px,3.8cqw,42px); }
.pub-sheet h1 { max-width:16ch; }
.pub-sheet p { color:#e4e3d6; max-width:42ch; line-height:1.45; }
.pub-sheet .pub-submit { background:#f4e9d5; color:#231d16; border-radius:7px; }
.pub-ledger>span { font-size:14px; }
.release-credit { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding-bottom:10px; border-bottom:1px solid var(--line); }
.release-credit span,.release-file small,.release-rights p { color:var(--soft); font-size:13px; }
.release-credit strong { overflow-wrap:anywhere; }
.release-file .filepicker { display:flex; justify-content:center; min-height:70px; width:100%; border-style:dashed; border-radius:9px; background:var(--bg); }
.release-genre>span { display:block; margin-bottom:5px; }
.release-genre details { background:var(--bg); border:1px solid var(--line); border-radius:8px; padding:0 11px; }
.release-genre summary { display:flex; align-items:center; justify-content:space-between; }
.release-genre details[open] summary svg { transform:rotate(180deg); }
.genre-results { display:grid; grid-template-columns:1fr 1fr; gap:3px; margin-block:8px; max-height:174px; overflow:auto; }
.genre-results button { min-height:38px; display:flex; align-items:center; justify-content:space-between; padding:7px; color:var(--ink); text-align:left; }
.genre-results button[aria-pressed=true] { background:var(--raised); color:var(--accent); }
.release-rights { border-top:1px solid var(--line); padding-top:10px; }
.release-rights p { display:flex; align-items:center; gap:8px; margin:0 0 8px; }
footer .now .dock-add { display:inline-flex; flex:none; }
@media(hover:hover) { .mix-card:hover strong,.genre-results button:hover { color:var(--accent); } }
@container(max-width:600px) {
  .mix-shelf-head { background-image:linear-gradient(90deg,#f1d7af 0%,#f1d7aff0 41%,#f1d7af70 60%,transparent 74%),url('/mixtapes.webp'); background-position:center; }
  .mix-shelf-head p { max-width:54%; font-size:13px; }
  .mix-card { grid-template-columns:52px minmax(0,1fr) auto; min-height:69px; }
  .listener-card { min-height:170px; }
  .listener-card .profileidentity>img { width:52px; height:52px; }
  .listener-desk .profilefields { grid-template-columns:minmax(0,1fr); }
  .listener-sections { grid-row:auto; grid-column:1; display:flex; flex-wrap:wrap; padding:0; border:0; }
  .listener-sections h2 { flex-basis:100%; }
  .listener-sections button[aria-pressed=true] { box-shadow:inset 0 -2px var(--accent); }
  .listener-desk .profilefields>:not(.listener-sections) { grid-column:1; }
  .listener-desk .profilegrid { grid-template-columns:1fr; }
  .pub-photo { background-image:linear-gradient(90deg,#111e19ee,#111e19a6),url('/mixing-desk.webp'); }
}

.profilebanner .listener-photo { display:block;width:100%;height:100%;object-fit:cover; }
.portrait-editor { display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line);padding:8px 0 20px; }
.portrait-editor img { width:80px;height:80px;border-radius:50%;object-fit:cover; }
.portrait-editor div { min-width:0;display:grid;gap:4px; }
.portrait-editor strong { font:600 24px/1.15 var(--display);overflow-wrap:anywhere; }
.portrait-tools { display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0; }
.portrait-tools .portrait-pick { display:inline-flex;position:relative;align-items:center;min-height:40px;padding:0 16px;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:8px;overflow:hidden;cursor:pointer; }
.portrait-pick input { position:absolute;inset:0;opacity:0;width:100%;cursor:pointer; }
.portrait-pick:focus-within { outline:2px solid currentColor; }
