/* Accounts, the upload studio, your music, comments and notifications.
   Same surfaces, reds and type as app.css; corners in the app's 6-10px. */

/* ------------------------------------------------------------- shared form */
.form-page, .up-page { padding-bottom: 120px; }
.form-page.narrow, .narrow-page { max-width: 760px; }
.card-s { background: var(--s1); border-radius: var(--r-lg); padding: 20px; margin-bottom: 14px; }
.card-s > h2 { margin: 0 0 14px; font-family: var(--f-display); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.card-s.danger { border: 1px solid rgba(229, 72, 77, .22); background: rgba(229, 72, 77, .04); }
.card-s.danger p { margin: 0 0 12px; font-size: 14px; }

.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.fld-l { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fld-l label { font-size: 13px; font-weight: 700; }
.fld .cnt { font-size: 12px; color: var(--dimmer); font-variant-numeric: tabular-nums; }
.fld-h { margin: 2px 0 0; font-size: 12.5px; color: var(--dimmer); line-height: 1.45; }
.fld-e { margin: 2px 0 0; font-size: 13px; color: #ff8a80; }
.fld input, .fld textarea, .big-in, .ly-text, .feat-search input, .pre-in {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 8px; background: var(--panel); border: 1px solid var(--s3);
  color: var(--text); outline: none; font: inherit; transition: border-color .15s, background .15s;
}
.fld textarea, .ly-text { resize: vertical; line-height: 1.5; }
.fld input:focus, .fld textarea:focus, .big-in:focus, .ly-text:focus, .feat-search input:focus, .pre-in:focus-within { border-color: #6a6a6a; }
.fld.bad input { border-color: #b2433f; }
.fld input[type="datetime-local"] { color-scheme: dark; max-width: 320px; }
.pre-in { display: flex; align-items: center; padding: 0 0 0 12px; gap: 0; }
.pre-in span { color: var(--dimmer); font-size: 14px; white-space: nowrap; }
.pre-in input { border: 0; background: none; min-height: 42px; padding-left: 1px; }
.pre-in input:focus { border: 0; }

.lnk { color: var(--dim); font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.lnk:hover { color: var(--text); text-decoration: underline; }
button.lnk { padding: 0; }
button.lnk:disabled { color: var(--dimmer); text-decoration: none; cursor: default; }
.btn.full { width: 100%; height: 46px; }
.btn.xs { height: 28px; padding: 0 10px; font-size: 12.5px; }
.btn.line:disabled, .btn.red:disabled { opacity: .45; cursor: default; transform: none; }
.btn.red:disabled:hover { background: var(--red); }
.dangerb { border-color: rgba(229, 72, 77, .5) !important; color: #ff8a80 !important; }
.dangerb:hover { border-color: #e5484d !important; }
.btn.dangerf { background: #b3262b; color: #fff; }
.btn.dangerf:hover { background: #c92f35; }
.pill { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 5px; background: var(--s2); color: var(--dim); }
kbd { font-family: var(--f-mono); font-size: 11px; padding: 1px 6px; border-radius: 4px; background: var(--s2); border: 1px solid var(--s3); color: var(--text); }

/* Switch */
.sw-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; cursor: pointer; border-top: 1px solid rgba(255,255,255,.05); }
.sw-row:first-of-type { border-top: 0; }
.sw-row.off { opacity: .5; cursor: default; }
.sw-t { display: flex; flex-direction: column; min-width: 0; }
.sw-t b { font-weight: 600; font-size: 14.5px; }
.sw-t i { font-style: normal; font-size: 12.5px; color: var(--dimmer); margin-top: 2px; }
.sw { width: 42px; height: 24px; border-radius: 12px; background: #3a3a3a; position: relative; flex: none; transition: background .2s; }
.sw span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #e8e8e8; transition: transform .2s cubic-bezier(.3,.9,.3,1.2); box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.sw.on { background: var(--red); }
.sw.on span { transform: translateX(18px); background: #fff; }

/* Segmented */
.seg { display: inline-flex; padding: 3px; border-radius: 8px; background: var(--panel); border: 1px solid var(--s3); gap: 2px; }
.seg button { padding: 6px 14px; border-radius: 6px; font-size: 13.5px; font-weight: 600; color: var(--dim); transition: background .15s, color .15s; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--s3); color: var(--text); }

/* Choice cards */
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.choice button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; border-radius: var(--r-lg); border: 1px solid var(--s3); background: var(--panel); text-align: left; transition: border-color .15s, background .15s; }
.choice button:hover { border-color: #555; }
.choice button.on { border-color: var(--red-hi); background: rgba(149, 6, 6, .14); }
.choice b { font-weight: 700; font-size: 15px; }
.choice i { font-style: normal; color: var(--dim); font-size: 13px; line-height: 1.4; }
.choice .ci { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; background: var(--s2); color: var(--red-hi); margin-bottom: 6px; }
.choice .ci svg { width: 18px; height: 18px; }
.choice button.on .ci { background: var(--red); color: #fff; }

/* Genre chips */
.gchips, .gpick { display: flex; flex-wrap: wrap; gap: 7px; }
.gchip { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 6px; background: var(--s2); font-size: 13.5px; font-weight: 600; color: #ddd; transition: background .15s, color .15s; }
.gchip:hover { background: var(--s3); color: #fff; }
.gchip.on { background: var(--red); color: #fff; }
.gchip:disabled { opacity: .4; cursor: default; }

/* Password, code */
.pw { position: relative; }
.pw input { width: 100%; padding-right: 64px !important; }
.field .pw input { height: 44px; padding-left: 12px; border-radius: 8px; background: var(--panel); border: 1px solid var(--s3); outline: none; transition: border-color .15s; }
.field .pw input:focus { border-color: #777; }
.pw-t { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 12.5px; font-weight: 700; color: var(--dim); padding: 6px; }
.pw-t:hover { color: var(--text); }
.code { position: relative; cursor: text; margin: 6px 0 14px; }
.code input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; }
.code-boxes { display: flex; gap: 8px; justify-content: center; pointer-events: none; }
.code-boxes span { width: 48px; height: 58px; border-radius: 8px; border: 1px solid var(--s3); background: var(--panel); display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 26px; transition: border-color .15s; }
.code-boxes span.full { border-color: #555; }
.code:focus-within .code-boxes span.cur { border-color: var(--red-hi); box-shadow: 0 0 0 3px rgba(196, 36, 28, .2); }
@media (max-width: 420px) { .code-boxes { gap: 6px; } .code-boxes span { width: 40px; height: 50px; font-size: 22px; } }

/* Save bar */
.savebar {
  position: fixed; left: 50%; bottom: calc(var(--bar) + var(--gap) * 2 + 10px); z-index: 40; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; border-radius: 10px; background: #262626; border: 1px solid #353535;
  box-shadow: 0 18px 50px rgba(0,0,0,.6); transition: transform .25s cubic-bezier(.2,.9,.3,1.1), opacity .2s; white-space: nowrap;
}
.savebar.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.savebar span { font-size: 14px; color: #ddd; margin-right: 10px; }

/* ---------------------------------------------------------------- auth */
.modal.auth { width: min(420px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; }
.modal .back { position: absolute; left: 12px; top: 12px; }
.modal .back ~ .si-mark { margin-top: 30px; }
.modal.auth .si-mark { margin-top: 4px; }
.fl-row { display: flex; justify-content: space-between; align-items: baseline; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--dim); margin: 4px 0 14px; cursor: pointer; line-height: 1.45; }
.agree input { margin-top: 2px; accent-color: var(--red-hi); width: 16px; height: 16px; flex: none; }
.agree a { color: var(--text); text-decoration: underline; }
.ok { color: #7fd6a8; font-size: 13.5px; margin: 0 0 12px; }
.ts { display: flex; justify-content: center; margin: 4px 0 10px; min-height: 0; }
.ts:empty { display: none; }
.modal .sub b { color: var(--text); }
.fine .lnk { font-size: 12.5px; text-decoration: underline; }

/* --------------------------------------------------------- onboarding */
.onb { position: fixed; inset: 0; z-index: 70; background: radial-gradient(120% 80% at 50% 0%, #3a0606 0%, #120707 45%, #070707 100%); overflow-y: auto; animation: fade .3s ease-out; }
.onb-in { max-width: 560px; margin: 0 auto; padding: max(48px, 8vh) 20px 60px; }
.onb-mark { width: 44px; height: 44px; display: block; }
.onb-steps { display: flex; gap: 6px; margin: 26px 0 18px; }
.onb-steps i { width: 26px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); }
.onb-steps i.on { background: var(--red-hi); }
.onb h1 { margin: 0 0 8px; font-family: var(--f-display); font-weight: 900; font-size: clamp(32px, 6vw, 46px); letter-spacing: -.035em; line-height: 1; }
.onb .sub { color: #cdb8b5; margin: 0 0 24px; font-size: 15.5px; }
.onb-h2 { margin: 26px 0 12px; font-size: 15px; font-weight: 700; }
.big-in { min-height: 56px; font-size: 20px; font-weight: 600; }
.onb .choice button { background: rgba(0,0,0,.35); }

/* ---------------------------------------------------------- profile edit */
.pf-grid, .up-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.pf-side, .up-side { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 12px; }
@container (max-width: 860px) {
  .pf-grid, .up-grid { grid-template-columns: minmax(0, 1fr); }
  .pf-side, .up-side { position: static; order: 2; }
}
.pf-pics { position: relative; padding-bottom: 46px; }
.pf-banner { position: relative; aspect-ratio: 16 / 5; border-radius: 8px; overflow: hidden; background: var(--s2); }
.pf-banner img { width: 100%; height: 100%; object-fit: cover; }
.pf-chg { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.6); border-color: rgba(255,255,255,.3); }
.pf-av { position: absolute; left: 22px; bottom: 0; width: 104px; height: 104px; border-radius: 50%; background: var(--s3); border: 4px solid var(--s1); overflow: hidden; display: grid; place-items: center; }
.pf-av img { width: 100%; height: 100%; object-fit: cover; }
.pf-av > span { font-family: var(--f-display); font-weight: 800; font-size: 40px; color: var(--dim); }
.pf-avb { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .15s; color: #fff; }
.pf-av:hover .pf-avb, .pf-avb:focus-visible { opacity: 1; }
.pf-avb svg { width: 26px; height: 26px; }
@media (hover: none) { .pf-avb { opacity: 1; background: rgba(0,0,0,.25); } }
.pf-up { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); }
.pf-prev { border-radius: var(--r-lg); overflow: hidden; background: var(--s1); }
.pf-prev-bn { aspect-ratio: 16 / 7; background: var(--s2); }
.pf-prev-bn img { width: 100%; height: 100%; object-fit: cover; }
.pf-prev-in { padding: 0 16px 18px; margin-top: -38px; position: relative; display: flex; flex-direction: column; gap: 6px; }
.pf-prev-in .pic { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid var(--s1); background: var(--s3); display: grid; place-items: center; font-weight: 800; font-size: 28px; color: var(--dim); }
.pf-prev-in b { font-family: var(--f-display); font-weight: 900; font-size: 26px; letter-spacing: -.03em; line-height: 1.05; word-break: break-word; }
.pf-prev-in p { margin: 0; color: var(--dim); font-size: 13.5px; white-space: pre-line; }
.pf-prev-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-prev-links span { font-size: 12px; padding: 3px 8px; border-radius: 5px; background: var(--s2); color: #ddd; }

/* Settings */
.kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.05); font-size: 14px; }
.kv:first-of-type { border-top: 0; }
.kv span { color: var(--dim); }
.kv b { font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.row-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.links-col { display: flex; flex-direction: column; gap: 10px; }
.links-col a { color: #ddd; font-size: 14.5px; }
.links-col a:hover { color: #fff; text-decoration: underline; }

/* ---------------------------------------------------------------- cropper */
.crop-m { width: min(500px, 100%); }
.crop-frame { position: relative; margin: 0 auto 14px; overflow: hidden; border-radius: 8px; background: #000; cursor: grab; touch-action: none; user-select: none; }
.crop-frame:active { cursor: grabbing; }
.crop-frame.round { border-radius: 50%; }
.crop-frame img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.crop-grid { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255,255,255,.18) 33.33%, transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.18) 66.66%, transparent calc(66.66% + .5px)),
  linear-gradient(0deg, transparent calc(33.33% - .5px), rgba(255,255,255,.18) 33.33%, transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.18) 66.66%, transparent calc(66.66% + .5px)); }
.crop-zoom { display: flex; align-items: center; gap: 10px; color: var(--dim); margin-bottom: 16px; }
.crop-zoom input { flex: 1; accent-color: var(--red-hi); }
.m-acts { display: flex; justify-content: flex-end; gap: 8px; }

/* Rings: progress drawn with the mark. */
.rings { flex: none; display: block; }
.rings.done { animation: ringsIn .5s cubic-bezier(.2,.9,.3,1.3); }
@keyframes ringsIn { from { transform: scale(.85); } }

/* ---------------------------------------------------------------- upload */
.up-start { padding-top: 6px; }
.up-hero { padding: 26px 0 22px; }
.up-hero .mono { color: var(--red-hi); }
.up-hero h1 { margin: 8px 0 8px; font-family: var(--f-display); font-weight: 900; font-size: clamp(36px, 6cqw, 64px); letter-spacing: -.045em; line-height: .95; }
.up-hero p { margin: 0; color: var(--dim); font-size: 16px; }
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@container (max-width: 720px) { .kinds { grid-template-columns: minmax(0, 1fr); } }
.kindc { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid transparent; transition: border-color .2s, transform .2s, background .2s; }
.kindc:hover { border-color: rgba(196, 36, 28, .6); background: #1d1414; transform: translateY(-2px); }
.kindc b { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin-top: 14px; }
.kindc i { font-style: normal; color: var(--dim); font-size: 13.5px; line-height: 1.45; padding-right: 28px; }
.kc-go { position: absolute; right: 16px; bottom: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .2s; }
.kc-go svg { width: 16px; height: 16px; }
.kindc:hover .kc-go { transform: translateX(3px); }
.kc-art { height: 92px; display: flex; align-items: center; }
.kc-stack { position: relative; width: 92px; height: 82px; }
.kc-stack span { position: absolute; left: calc(var(--i) * 9px); top: calc(var(--i) * -3px + 12px); width: 66px; height: 66px; border-radius: 6px;
  background: linear-gradient(135deg, hsl(calc(0 + var(--i) * 6) 70% calc(22% + var(--i) * 4%)), hsl(calc(355 - var(--i) * 4) 75% calc(38% + var(--i) * 3%)));
  box-shadow: -6px 6px 14px rgba(0,0,0,.45); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.kindc:hover .kc-stack span { transform: translateX(calc(var(--i) * 4px)) rotate(calc(var(--i) * 1.5deg)); }
.up-rules { display: flex; gap: 8px; align-items: center; color: var(--dimmer); font-size: 13px; margin: 18px 0 0; }
.up-start.over { outline: 2px dashed var(--red-hi); outline-offset: -8px; border-radius: 10px; }

.drafts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.draftc { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r); background: var(--s1); cursor: pointer; transition: background .15s; min-width: 0; }
.draftc:hover { background: var(--s2); }
.dc-art { width: 52px; height: 52px; border-radius: 5px; object-fit: cover; flex: none; background: var(--s2); }
.draftc .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.draftc .t b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.draftc .t i { font-style: normal; font-size: 12.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.up-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 18px; }
.up-head h1 { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(26px, 4cqw, 38px); letter-spacing: -.035em; line-height: 1; flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
.up-head .lnk { width: 100%; }
.up-head .seg { margin-left: auto; }

.adrop { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 30px 18px; border-radius: 10px;
  border: 2px dashed #3a3a3a; cursor: pointer; transition: border-color .15s, background .15s; }
.adrop:hover, .adrop.over { border-color: var(--red-hi); background: rgba(196, 36, 28, .06); }
.adrop.busy { cursor: default; border-style: solid; border-color: #3a3a3a; background: none; }
.adrop b { margin-top: 8px; font-size: 16px; }
.adrop span { color: var(--dim); font-size: 13.5px; }
.adrop u { color: var(--text); }
.adrop-err { margin: 8px 0 0; color: #ff8a80; font-size: 13.5px; max-width: 52ch; }
.afile { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--s3); }
.afile .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.afile .t b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.afile .t i { font-style: normal; color: var(--dim); font-size: 13px; font-family: var(--f-mono); letter-spacing: .02em; }

.tag-box { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 44px; padding: 6px 8px; border-radius: 8px; background: var(--panel); border: 1px solid var(--s3); }
.tag-box:focus-within { border-color: #6a6a6a; }
.tag-box input { flex: 1; min-width: 140px; border: 0 !important; background: none !important; min-height: 30px !important; padding: 0 4px !important; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 9px; border-radius: 5px; background: var(--s2); font-size: 13px; font-weight: 600; }
.tag button { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 4px; color: var(--dim); }
.tag button:hover { color: #fff; background: var(--s3); }
.tag-sugg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag-sugg button { padding: 4px 9px; border-radius: 5px; border: 1px dashed #444; font-size: 12.5px; color: #ddd; display: inline-flex; gap: 6px; }
.tag-sugg button:hover { border-color: var(--red-hi); color: #fff; }
.tag-sugg i { font-style: normal; color: var(--dimmer); }

.feat-list { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fchip { display: inline-flex; align-items: center; gap: 7px; padding: 3px 4px 3px 3px; border-radius: 6px; background: var(--s2); font-size: 13.5px; font-weight: 600; }
.fchip .av { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.fchip i { font-style: normal; font-size: 11px; font-weight: 700; color: #F0B43C; text-transform: uppercase; letter-spacing: .04em; }
.fchip i.no { color: #ff8a80; }
.fchip button { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 4px; color: var(--dim); }
.fchip button:hover { color: #fff; background: var(--s3); }
.feat-search { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.feat-search input { flex: 1; min-width: 200px; }
.feat-res { width: 100%; display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow-y: auto; padding: 4px; border-radius: 8px; background: var(--panel); border: 1px solid var(--s3); }
.feat-res button { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; text-align: left; }
.feat-res button:hover { background: var(--s2); }
.feat-res .av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.feat-res b { font-weight: 600; flex: 0 1 auto; }
.feat-res svg:last-child { margin-left: auto; color: var(--red-hi); }
.feat-res p { margin: 8px; font-size: 13.5px; }

.coverbox { position: relative; width: 200px; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--panel); border: 2px dashed #3a3a3a; flex: none; display: grid; place-items: center; transition: border-color .15s; }
.coverbox.has { border: 0; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.coverbox.over { border: 2px dashed var(--red-hi); }
.coverbox img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cb-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 14px; color: var(--dim); margin-bottom: 30px; }
.cb-empty b { color: var(--text); font-size: 14px; margin-top: 4px; }
.cb-empty span { font-size: 12px; color: var(--dimmer); line-height: 1.35; }
.cb-btn { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: rgba(0,0,0,.65); white-space: nowrap; }
.coverbox.has .cb-btn { opacity: 0; transition: opacity .15s; }
.coverbox.has:hover .cb-btn, .coverbox .cb-btn:focus-visible { opacity: 1; }
@media (hover: none) { .coverbox.has .cb-btn { opacity: 1; } }
.cb-up { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); }
.rel-top { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 6px; }
@container (max-width: 560px) { .rel-top { flex-direction: column; } .coverbox { width: min(240px, 100%); } }

/* The sleeve: the release as listeners will see it. */
.sleeve { padding: 14px; border-radius: var(--r-lg); background: linear-gradient(180deg, #1f1f1f, #161616); }
.sl-cover { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--s2); box-shadow: 0 14px 34px rgba(0,0,0,.5); }
.sl-cover img { width: 100%; height: 100%; object-fit: cover; }
.sl-ph { width: 100%; height: 100%; display: grid; place-items: center; color: #4a4a4a; background: repeating-linear-gradient(135deg, #1c1c1c 0 12px, #202020 12px 24px); }
.sl-meta { display: flex; flex-direction: column; gap: 3px; margin-top: 12px; min-width: 0; }
.sl-meta .kind { font-size: 12px; font-weight: 700; color: var(--dim); }
.sl-meta .sl-when { color: #F0B43C; font-weight: 700; }
.sl-title { font-family: var(--f-display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; line-height: 1.1; overflow-wrap: anywhere; }
.sl-by { font-size: 14px; font-weight: 600; display: flex; align-items: center; flex-wrap: wrap; gap: 3px; }
.sl-sub { font-size: 12.5px; color: var(--dim); }
.ai { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .05em; padding: 1px 5px; border-radius: 3px; background: #2c2c2c; color: #cfcfcf; border: 1px solid #444; vertical-align: 1px; }
.sl-tracks { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow-y: auto; }
.sl-tracks li { display: flex; align-items: center; gap: 8px; font-size: 13px; min-width: 0; }
.sl-tracks span:first-child { width: 16px; text-align: right; color: var(--dimmer); font-variant-numeric: tabular-nums; flex: none; }
.sl-tracks b { font-weight: 600; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-tracks i { font-style: normal; color: var(--dimmer); font-variant-numeric: tabular-nums; }
.check { list-style: none; margin: 0; padding: 4px 2px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.check li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--dim); }
.check li span { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #4a4a4a; display: grid; place-items: center; flex: none; transition: background .2s, border-color .2s; }
.check li.ok { color: var(--text); }
.check li.ok span { background: var(--ok); border-color: var(--ok); color: #0b2a1a; }
.up-side .err { margin: 0; }

.tdrop { border-radius: 10px; transition: background .15s, outline-color .15s; outline: 2px dashed transparent; outline-offset: 4px; }
.tdrop.over { outline-color: var(--red-hi); background: rgba(196, 36, 28, .05); }
.trows { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.trow { display: grid; grid-template-columns: 12px 20px 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 8px 8px 6px; border-radius: 8px; background: var(--panel); border: 1px solid var(--s3); }
.trow.bad { border-color: rgba(229, 72, 77, .5); }
.trow .grip { color: #555; font-size: 12px; letter-spacing: -2px; cursor: grab; user-select: none; }
.trow .no { color: var(--dimmer); font-variant-numeric: tabular-nums; text-align: right; font-size: 13px; }
.trow .tr-art { width: 30px; height: 30px; border-radius: 4px; object-fit: cover; background: var(--s2); }
.tr-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tr-main input { width: 100%; background: none; border: 0; border-bottom: 1px solid transparent; outline: none; font-weight: 600; font-size: 14.5px; padding: 2px 0; color: var(--text); }
.tr-main input:focus { border-bottom-color: #555; }
.tr-main > b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-main > i { font-style: normal; font-size: 12.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-main .bad { color: #ff8a80; white-space: normal; }
.tr-acts { display: flex; align-items: center; gap: 4px; }
.tr-acts .ibtn { width: 28px; height: 28px; }
.tr-acts .ibtn svg { width: 17px; height: 17px; }
.tr-acts .ibtn:disabled { opacity: .3; cursor: default; }
.tbtn { height: 26px; min-width: 26px; padding: 0 7px; border-radius: 5px; border: 1px solid #3a3a3a; font-size: 11.5px; font-weight: 800; color: var(--dim); }
.tbtn:hover { border-color: #666; color: var(--text); }
.tbtn.on { background: var(--s3); border-color: #666; color: #fff; }
.tbtn.e-t.on { background: #9a9a9a; border-color: #9a9a9a; color: #121212; }
.mv { display: inline-flex; }
@container (max-width: 620px) {
  .trow { grid-template-columns: 20px 26px minmax(0, 1fr); grid-template-rows: auto auto; }
  .trow .grip { display: none; }
  .tr-acts { grid-column: 1 / -1; justify-content: flex-end; flex-wrap: wrap; }
}
.tadd { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 10px; border: 2px dashed #3a3a3a; text-align: left; transition: border-color .15s, background .15s; }
.tadd:hover { border-color: var(--red-hi); background: rgba(196, 36, 28, .06); }
.tadd span { display: flex; flex-direction: column; }
.tadd b { font-size: 15px; }
.tadd i { font-style: normal; color: var(--dim); font-size: 13px; }

.pub { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 6vh; }
.pub-art { position: relative; width: 220px; aspect-ratio: 1; margin-bottom: 26px; }
.pub-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; box-shadow: 0 24px 60px rgba(149, 6, 6, .45), 0 10px 30px rgba(0,0,0,.6); animation: pubIn .7s cubic-bezier(.2,.9,.3,1.15); }
.pub-art .rings { position: absolute; right: -18px; bottom: -18px; background: #121212; border-radius: 50%; padding: 6px; }
@keyframes pubIn { from { transform: translateY(16px) scale(.94); opacity: 0; } }
.pub h1 { margin: 0 0 10px; font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 6cqw, 56px); letter-spacing: -.04em; line-height: 1; }
.pub p { margin: 0 0 24px; color: var(--dim); max-width: 52ch; }
.pub-acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ------------------------------------------------------------ your music */
.st-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 10px 0 18px; }
.st-head h1 { margin: 4px 0 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 5cqw, 48px); letter-spacing: -.04em; line-height: 1; }
.st-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.tile { padding: 14px 16px; border-radius: var(--r-lg); background: var(--s1); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.tile b { font-family: var(--f-display); font-weight: 800; font-size: 30px; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tile em { font-style: normal; font-size: 12.5px; color: var(--dimmer); }
.tile em.up { color: var(--ok); } .tile em.down { color: #ff8a80; }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tab { padding: 10px 0 11px; font-weight: 700; font-size: 14.5px; color: var(--dim); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .15s; }
.tab:hover { color: var(--text); }
.tab.on { color: var(--text); border-bottom-color: var(--red-hi); }
.rels { display: flex; flex-direction: column; }
.rel { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 76px 76px auto; align-items: center; gap: 14px; padding: 8px; border-radius: var(--r); cursor: pointer; transition: background .15s; }
.rel:hover { background: var(--s1); }
.r-art { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; background: var(--s2); }
.r-art.sm { width: 40px; height: 40px; border-radius: 4px; }
.rel .t { min-width: 0; display: flex; flex-direction: column; }
.rel .t b { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rel .t i { font-style: normal; font-size: 13px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-num { text-align: right; display: flex; flex-direction: column; }
.r-num b { font-weight: 700; font-variant-numeric: tabular-nums; }
.r-num i { font-style: normal; font-size: 11.5px; color: var(--dimmer); }
.r-acts { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.stp { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 5px; white-space: nowrap; }
.stp.live { background: rgba(76, 195, 138, .12); color: #6fd3a2; }
.stp.sched { background: rgba(240, 180, 60, .13); color: #F0B43C; }
.stp.wait { background: rgba(229, 72, 77, .13); color: #ff8a80; }
@container (max-width: 700px) {
  .rel { grid-template-columns: 52px minmax(0, 1fr) auto; }
  .rel .r-num, .rel .r-acts .ibtn { display: none; }
  .rel .stp { grid-column: 2; grid-row: 2; justify-self: start; margin-top: -6px; }
  .rel .r-acts { grid-column: 3; grid-row: 1 / span 2; }
  .r-art { grid-row: 1 / span 2; }
}
.ins-bar { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.chart-c { padding: 18px 18px 14px; border-radius: var(--r-lg); background: var(--s1); }
.chart-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.chart-read { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; min-height: 30px; margin: 6px 0 12px; }
.chart-read b { font-family: var(--f-display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.chart-read span { color: var(--red-hi); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.chart-plot { position: relative; padding: 8px 0 0 34px; }
.chart-grid { position: absolute; top: 8px; bottom: 0; left: 0; right: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.chart-grid span { position: relative; display: block; width: 100%; height: 0; font-size: 11px; color: var(--dimmer); font-variant-numeric: tabular-nums; }
.chart-grid span { line-height: 0; }
.chart-grid span::after { content: ""; position: absolute; left: 34px; right: 0; top: 0; border-top: 1px dashed rgba(255,255,255,.07); }
.bars-c { position: relative; height: 190px; display: flex; align-items: flex-end; gap: clamp(1px, calc(240px / var(--n)), 6px); outline-offset: 4px; }
.bar { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; cursor: pointer; padding: 0; min-width: 0; border-radius: 4px 4px 0 0; }
.bar i { width: 100%; max-width: 48px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--red-hi), var(--red)); transition: filter .15s, opacity .2s, height .3s; transform-origin: bottom; animation: barUp .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); }
.bar.zero i { background: #3a3a3a; }
.bar:hover i { filter: brightness(1.3); }
.bars-c.picking .bar i { opacity: .38; }
.bars-c.picking .bar.on i { opacity: 1; filter: brightness(1.2); box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 0 24px rgba(196,36,28,.45); }
@keyframes barUp { from { transform: scaleY(.04); opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .bar i { animation: none; } }
.chart-x { display: flex; gap: clamp(1px, calc(240px / var(--n)), 6px); padding-left: 34px; margin-top: 8px; }
.chart-x span { flex: 1; min-width: 0; text-align: center; font-size: 11.5px; color: var(--dimmer); white-space: nowrap; overflow: visible; }
.chart-x span.on { color: var(--text); font-weight: 700; }
.rank { display: flex; flex-direction: column; }
.rk { display: grid; grid-template-columns: 22px 40px minmax(0, 1fr) minmax(60px, 180px) 64px 64px; align-items: center; gap: 12px; padding: 6px 8px; border-radius: var(--r); cursor: pointer; }
.rk:hover { background: var(--s1); }
.rk .n { color: var(--dimmer); text-align: right; font-variant-numeric: tabular-nums; }
.rk b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk .num { text-align: right; font-variant-numeric: tabular-nums; font-size: 14px; }
.meter { height: 6px; border-radius: 3px; background: var(--s2); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--red-hi); border-radius: 3px; }
@container (max-width: 640px) { .rk { grid-template-columns: 22px 40px minmax(0, 1fr) 56px; } .rk .meter, .rk .num.muted { display: none; } }

/* Lyrics editor and the sync tool */
.ly-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
@container (max-width: 820px) { .ly-grid { grid-template-columns: minmax(0, 1fr); } }
.ly-text { min-height: 420px; font-size: 15.5px; font-weight: 500; }
.ly-side { position: sticky; top: 76px; padding: 4px 4px 0; display: flex; flex-direction: column; gap: 8px; }
.ly-times { list-style: none; margin: 0; padding: 0; max-height: 420px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.ly-times li { display: flex; gap: 10px; }
.ly-times span { font-family: var(--f-mono); font-size: 12px; color: var(--red-hi); width: 40px; flex: none; padding-top: 2px; }
.ly-times i { color: var(--dimmer); }
.sync { display: flex; flex-direction: column; gap: 14px; }
.sync-bar { display: flex; align-items: center; gap: 14px; }
.sync-prog { flex: 1; height: 4px; border-radius: 2px; background: #3a3a3a; overflow: hidden; }
.sync-prog i { display: block; height: 100%; background: var(--red-hi); }
.sync-bar .num { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--dim); }
.sync-lines { height: min(46vh, 420px); overflow-y: auto; padding: 30% 0; border-radius: var(--r-lg); background: var(--s1); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.sync-lines p { margin: 0; padding: 6px 22px; font-size: 22px; font-weight: 700; color: rgba(245,245,245,.32); display: flex; gap: 14px; align-items: baseline; transition: color .2s; }
.sync-lines p span { font-family: var(--f-mono); font-size: 12px; font-weight: 500; width: 40px; flex: none; color: var(--red-hi); }
.sync-lines p.done { color: rgba(245,245,245,.62); }
.sync-lines p.next { color: #fff; }
.sync-lines p i { font-style: normal; font-size: 15px; color: var(--dimmer); }
.sync-acts { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.sync-acts p { margin: 0; font-size: 13.5px; }
.tapbig { width: min(360px, 100%); height: 64px; border-radius: 10px; background: var(--red); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -.01em; transition: transform .08s, background .15s; }
.tapbig:hover { background: #a80808; }
.tapbig:active { transform: scale(.97); }
.tapbig:disabled { opacity: .5; }

/* ---------------------------------------------------------------- comments */
.song-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px; align-items: start; }
@container (max-width: 980px) { .song-cols { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.cmts .sec-h h2 .muted { font-size: 16px; font-weight: 700; margin-left: 4px; }
.cm-signin { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--s1); font-size: 14px; color: var(--dim); }
.cm-new { display: flex; gap: 12px; align-items: flex-start; }
.cm-new.reply { margin-top: 10px; }
.cm-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; background: var(--s2); display: grid; place-items: center; font-weight: 700; color: var(--dim); }
.cm-new.reply .cm-av, .cm-one.r .cm-av { width: 28px; height: 28px; font-size: 12px; }
.cm-box { flex: 1; min-width: 0; border-radius: 10px; background: var(--s1); border: 1px solid transparent; padding: 10px 12px 8px; transition: border-color .15s; }
.cm-box:focus-within { border-color: #4a4a4a; }
.cm-box textarea { width: 100%; resize: none; background: none; border: 0; outline: none; color: var(--text); font: inherit; font-size: 14.5px; line-height: 1.45; min-height: 22px; max-height: 220px; }
.cm-tools { display: flex; align-items: center; gap: 8px; justify-content: flex-end; margin-top: 6px; }
.cm-tools .cm-at { margin-right: auto; }
.cm-cnt, .cm-warn { font-size: 12px; color: var(--dimmer); }
.cm-warn { color: #ff8a80; margin-right: auto; }
.cm-at { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .02em; padding: 2px 7px; border-radius: 5px; border: 1px solid #3a3a3a; color: var(--dim); white-space: nowrap; }
.cm-at.on { background: rgba(196, 36, 28, .16); border-color: transparent; color: #ff7b72; }
.cm-one .cm-at { cursor: pointer; vertical-align: 1px; }
.cm-one .cm-at:hover { background: rgba(196, 36, 28, .3); }
.cm-none { margin: 16px 0 0; }
.cm-list { margin-top: 18px; display: flex; flex-direction: column; gap: 18px; }
.cm.pinned { padding: 12px; margin: -12px; border-radius: var(--r-lg); background: rgba(149, 6, 6, .08); }
.cm-one { display: flex; gap: 12px; }
.cm-avl { flex: none; }
.cm-body { flex: 1; min-width: 0; }
.cm-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.cm-meta b { font-weight: 700; font-size: 14px; }
.cm-meta a:hover b { text-decoration: underline; }
.cm-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; background: var(--red); color: #fff; }
.cm-tag.pin { background: var(--s3); color: #ddd; }
.cm-body p { margin: 4px 0 6px; font-size: 14.5px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.cm-acts { display: flex; gap: 14px; align-items: center; }
.cm-acts button { font-size: 12.5px; font-weight: 700; color: var(--dimmer); display: inline-flex; align-items: center; gap: 5px; }
.cm-acts button:hover { color: var(--text); }
.cm-like.on { color: var(--red-hi); }
.cm-replies { margin: 12px 0 0 48px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 600px) { .cm-replies { margin-left: 24px; } }

/* ----------------------------------------------------------- notifications */
.nt-g { margin-bottom: 18px; }
.nt-g h3 { margin: 10px 0 6px; font-weight: 500; }
.note { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: var(--r); cursor: pointer; transition: background .15s; }
.note:hover { background: var(--s1); }
.note.new::before { content: ""; position: absolute; left: -2px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--red-hi); }
.nt-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--s2); }
.nt-av.mark { display: grid; place-items: center; background: var(--red); }
.nt-av.mark svg { width: 24px; height: 24px; }
.nt-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nt-t p { margin: 0; font-size: 14.5px; line-height: 1.4; }
.nt-t b { font-weight: 700; }
.nt-t q { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; color: #cfcfcf; padding-left: 10px; border-left: 2px solid #3a3a3a; quotes: none; }
.nt-t i { font-style: normal; font-size: 12.5px; color: var(--dimmer); }
.nt-t u { color: var(--dim); }
.nt-body { font-size: 13.5px; color: #ddd; padding: 10px 12px; border-radius: 8px; background: var(--s1); white-space: pre-line; margin: 4px 0; }
.nt-art { width: 44px; height: 44px; border-radius: 4px; object-fit: cover; flex: none; }

/* ------------------------------------------------------------- chrome bits */
.navi.up svg { color: var(--red-hi); }
.navi.up:hover svg { color: #ff5a4f; }
.bell { position: relative; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.55); display: grid; place-items: center; flex: none; color: var(--dim); transition: color .15s; }
.bell:hover, .bell.on { color: var(--text); }
.bell svg { width: 19px; height: 19px; }
.bell .badge { position: absolute; top: -3px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red-hi); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--panel); animation: pop .25s cubic-bezier(.2,.9,.3,1.4); }
.stat-l { color: inherit; }
.stat-l:hover { text-decoration: underline; color: #fff; }
.slinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.slinks a { display: flex; flex-direction: column; padding: 8px 12px; border-radius: 8px; background: var(--s2); min-width: 0; transition: background .15s; }
.slinks a:hover { background: var(--s3); }
.slinks b { font-size: 12px; color: var(--dim); font-weight: 600; }
.slinks i { font-style: normal; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.empty-about { flex-direction: column; align-items: flex-start; gap: 12px; }
.empty-about p { margin: 0; }
.actions .btn svg { width: 16px; height: 16px; }
.btn { gap: 6px; }

@media (max-width: 760px) {
  .topbar .su { display: none; }
  .savebar { bottom: calc(var(--mbottom, 132px) + 10px); left: 12px; right: 12px; transform: translateY(30px); justify-content: flex-end; }
  .savebar.show { transform: none; }
  .savebar span { margin-right: auto; font-size: 13px; }
  .card-s { padding: 16px; }
  .st-head .btn { height: 38px; }
  .check { grid-template-columns: 1fr 1fr; }
}

/* On very wide screens the forms stop growing: a 1500 px text field is
   harder to use, not easier. */
.up-page, .form-page:not(.narrow), .studio, .up-start { max-width: 1280px; }

/* Phones */
@media (max-width: 760px) {
  /* The search box needs the room more than the Home/Listen switch does. */
  .topbar.has-box .msw { display: none; }
  /* Your own artist page: Edit profile and the link; Your music is a tab away. */
  .actions .btn.ghost { display: none; }
  .actions { gap: 12px; }
}
@container (max-width: 560px) { .rel-top > div { width: 100%; } }
/* The single form: on a phone the cover stays a cover-sized square above the title. */
@container (max-width: 560px) { .single-top > .coverbox { width: min(240px, 100%); } }
@container (max-width: 720px) {
  .kinds { gap: 8px; }
  .kindc { display: grid; grid-template-columns: 76px minmax(0, 1fr) 30px; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px; }
  .kc-art { grid-row: 1 / span 2; height: 64px; }
  .kc-stack { transform: scale(.72); transform-origin: left center; }
  .kindc b { margin-top: 0; font-size: 19px; align-self: end; }
  .kindc i { padding-right: 0; align-self: start; }
  .kc-go { position: static; grid-column: 3; grid-row: 1 / span 2; }
}

/* Search: the box on the left, the switch and account on the right, where
   they sit on every other page. */
.topbar.has-box .searchbox { flex: 0 1 460px; }
.topbar.has-box .grow { flex: 1 1 0; min-width: 0; }
@media (max-width: 760px) { .topbar.has-box .searchbox { flex: 1 1 auto; } .topbar.has-box .grow { display: none; } }

/* ------------------------------------------------------------------ report */
.modal.rp { width: min(480px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; }
.rp-steps { display: flex; justify-content: center; gap: 6px; margin: 2px 0 18px; }
.rp-steps i { width: 26px; height: 4px; border-radius: 2px; background: var(--s3); }
.rp-steps i.on { background: var(--red-hi); }

.rp-subj { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r); background: var(--panel); margin-bottom: 16px; min-width: 0; }
.rp-subj > div { display: flex; flex-direction: column; min-width: 0; }
.rp-subj b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-img { width: 40px; height: 40px; border-radius: 5px; object-fit: cover; flex: none; }
.rp-img.round { border-radius: 50%; }
.rp-list { display: flex; flex-direction: column; gap: 4px; max-height: min(46vh, 420px); overflow-y: auto; margin: 0 -6px; padding: 0 6px; }
.rp-opt { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; text-align: left; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.rp-opt:hover { background: var(--s2); }
.rp-opt.on { background: rgba(149, 6, 6, .14); border-color: var(--red-hi); }
.rp-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #5a5a5a; flex: none; margin-top: 1px; transition: border .15s; }
.rp-opt.on .rp-dot { border: 5px solid var(--red-hi); background: #fff; }
.rp-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rp-t b { font-weight: 700; font-size: 14.5px; }
.rp-t i { font-style: normal; font-size: 13px; color: var(--dim); line-height: 1.4; }
.rp-urgent { margin-top: 12px; padding: 12px 14px; border-radius: 8px; background: rgba(240, 180, 60, .1); border: 1px solid rgba(240, 180, 60, .3); font-size: 13.5px; color: #f3d9a4; }
.rp-urgent b { color: #ffe7b5; }
.rp textarea, .rp .fld input { width: 100%; padding: 10px 12px; border-radius: 8px; background: var(--panel); border: 1px solid var(--s3); color: var(--text); font: inherit; outline: none; }
.rp textarea:focus, .rp .fld input:focus { border-color: #6a6a6a; }
.rp-done { text-align: center; padding: 8px 0 0; }
.rp-ok { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #0b2a1a; display: grid; place-items: center; margin: 4px auto 16px; animation: pop .3s cubic-bezier(.2,.9,.3,1.4); }
.rp-ok svg { width: 28px; height: 28px; }
.actions .rp-b { color: var(--dimmer); }
.actions .rp-b:hover { color: var(--text); }

/* Scheduling a release */
.sched { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.sched-pre { display: flex; flex-wrap: wrap; gap: 7px; }
.sched-in { display: flex; gap: 10px; flex-wrap: wrap; }
.sched-in label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 700; }
.sched-in input { height: 44px; padding: 0 12px; border-radius: 8px; background: var(--panel); border: 1px solid var(--s3); color: var(--text); font: inherit; color-scheme: dark; outline: none; min-width: 150px; }
.sched-in input:focus { border-color: #6a6a6a; }
.sched-out { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 8px; background: rgba(240, 180, 60, .08); border: 1px solid rgba(240, 180, 60, .25); }
.sched-out b { font-weight: 700; color: #F0B43C; }
.sched-out span { font-size: 13px; color: var(--dim); }
.sched-out.bad { background: rgba(229, 72, 77, .08); border-color: rgba(229, 72, 77, .3); color: #ff8a80; font-size: 14px; }

/* ------------------------------------------------- early member badge */
.ah-pills { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.early { position: relative; display: inline-flex; }
.early-b { position: relative; display: inline-flex; align-items: stretch; height: 18px; padding: 0; border: 0; border-radius: 4px; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(196, 36, 28, .55), 0 2px 8px rgba(0, 0, 0, .35); transition: transform .1s, box-shadow .15s, filter .15s; }
.early-m { display: grid; place-items: center; width: 18px; border-radius: 4px 0 0 4px; background: var(--red-hi); color: #fff; }
.early-m svg { width: 11px; height: 11px; }
.early-b b { display: flex; align-items: center; padding: 0 6px 0 5px; border-radius: 0 4px 4px 0; background: rgba(18, 12, 12, .82); color: #f6e7e5;
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.early-b:hover { filter: brightness(1.12); box-shadow: 0 0 0 1px rgba(226, 70, 60, .8), 0 2px 10px rgba(0, 0, 0, .4); }
.early-b:active { transform: scale(.96); }
.early-b:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* The first hundred: red on both halves, a shade apart, and a faint glow. */
.early-b.first100 { box-shadow: 0 0 0 1px var(--red-hi), 0 0 16px rgba(196, 36, 28, .35); }
.early-b.first100 b { background: var(--red); color: #fff; }
.early-pop { position: fixed; z-index: 75; padding: 14px 16px; border-radius: 10px;
  background: #1f1f1f; border: 1px solid #353535; box-shadow: 0 18px 40px rgba(0,0,0,.55); display: flex; flex-direction: column; gap: 3px;
  animation: rise .18s cubic-bezier(.2,.9,.3,1.2); }
.early-num { font-family: var(--f-display); font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: -.03em; color: var(--red-hi); margin-bottom: 4px; }
.early-pop b { font-weight: 700; font-size: 14.5px; color: var(--text); }
.early-pop i { font-style: normal; font-size: 13px; color: var(--dim); line-height: 1.45; }

/* --------------------------------------------------- a listener's page */
.ls-note { font-size: 12.5px; }
.ls-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.ls-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--s1); min-width: 0; transition: background .15s; }
.ls-tile.link:hover { background: var(--s2); }
.ls-tile > span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.ls-tile > b, .ls-who b { font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-tile > i { font-style: normal; font-size: 13px; color: var(--dimmer); }
.ls-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ls-who b { font-size: 20px; }
.ls-av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; background: var(--s2); }
.ls-av.lg { width: 48px; height: 48px; }
.ls-genres { margin-top: 14px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--s1); display: flex; flex-direction: column; gap: 10px; }
.ls-g { display: grid; grid-template-columns: minmax(90px, 150px) minmax(0, 1fr) 44px; align-items: center; gap: 14px; font-size: 14px; }
.ls-g:hover .ls-gn { text-decoration: underline; }
.ls-gn { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-bar { height: 8px; border-radius: 4px; background: var(--s3); overflow: hidden; }
.ls-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--red), var(--red-hi)); transform-origin: left; animation: lsGrow .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); }
@keyframes lsGrow { from { transform: scaleX(0); } }
.ls-pc { text-align: right; color: var(--dim); font-variant-numeric: tabular-nums; }
.ls-rank { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 14px; }
.ls-rk { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r); min-width: 0; transition: background .15s; }
.ls-rk:hover { background: var(--s1); }
.ls-rk .n { width: 20px; text-align: right; font-family: var(--f-display); font-weight: 800; font-size: 17px; color: var(--dimmer); flex: none; }
.ls-rk:first-child .n { color: var(--red-hi); }
.ls-rk .t { display: flex; flex-direction: column; min-width: 0; }
.ls-rk .t b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-rk .t i { font-style: normal; font-size: 13px; color: var(--dim); }
.ls-private { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--s1); color: var(--dim); font-size: 14px; }
.ls-private svg { width: 20px; height: 20px; }
.ls-private span { flex: 1; min-width: 180px; }
.ls-empty { margin-top: 10px; padding: 26px 22px; border-radius: var(--r-lg); background: var(--s1); }
.ls-empty b { font-family: var(--f-display); font-weight: 800; font-size: 19px; }
.ls-empty p { margin: 6px 0 0; max-width: 56ch; }
@media (prefers-reduced-motion: reduce) { .ls-bar i { animation: none; } }

@media (max-width: 760px) { .ahead .hseal { display: none; } }

/* ===================================================== home: signed in */
/* Your Feed and Shuffle All, side by side, as on the app's Home. */
.acards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 6px; max-width: 760px; }
.acard { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-lg); text-align: left; overflow: hidden;
  background: linear-gradient(135deg, rgba(149, 6, 6, .22), rgba(255,255,255,.03) 60%), var(--s1); border: 1px solid rgba(255,255,255,.05);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), background .2s, border-color .2s; animation: hmIn .45s cubic-bezier(.2,.8,.2,1) both; }
.acard + .acard { animation-delay: .06s; }
.acard:hover { transform: translateY(-2px); border-color: rgba(196, 36, 28, .35); }
.acard:active { transform: scale(.98); }
.acard:disabled { opacity: .8; cursor: progress; }
.ac-ic { position: relative; width: 44px; height: 44px; border-radius: 8px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 6px 18px rgba(149, 6, 6, .4); }
.ac-ic svg { width: 24px; height: 24px; overflow: visible; }
.ac-dot { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #fff; color: var(--red); font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--panel); animation: pop .3s cubic-bezier(.2,.9,.3,1.4); }
.ac-t { display: flex; flex-direction: column; min-width: 0; }
.ac-t b { font-family: var(--f-display); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.ac-t i { font-style: normal; font-size: 13px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The feed's waveform moves when you point at it. */
.acard .ac-ic path { transform-box: fill-box; transform-origin: center; }
.acard:hover .ac-ic .w1, .acard:hover .ac-ic .w5 { animation: wave .9s ease-in-out infinite; }
.acard:hover .ac-ic .w2, .acard:hover .ac-ic .w4 { animation: wave .9s ease-in-out -.3s infinite; }
.acard:hover .ac-ic .w3 { animation: wave .9s ease-in-out -.6s infinite; }
@keyframes wave { 50% { transform: scaleY(.45); } }
/* Shuffle: the two lines start straight and cross, like the button in the player. */
.ac-ic svg.cross .s1 { animation: crossA .55s cubic-bezier(.3,1.5,.5,1) both; }
.ac-ic svg.cross .s2 { animation: crossB .55s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes crossA { from { transform: translateY(5px) scaleY(.2); } }
@keyframes crossB { from { transform: translateY(-5px) scaleY(.2); } }
@keyframes hmIn { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 760px) { .acards { gap: 8px; } .acard { padding: 10px 12px; gap: 10px; } .ac-ic { width: 38px; height: 38px; } .ac-t b { font-size: 15px; } }

/* Jump back in: quick tiles, one tap to play. */
.jump .sec-h { align-items: flex-end; }
.jk { display: block; font-size: 13px; color: var(--dim); margin-bottom: 2px; }
.jgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 8px; }
.jtile { position: relative; display: flex; align-items: center; gap: 12px; height: 64px; padding-right: 12px; border-radius: 6px; overflow: hidden; cursor: pointer;
  background: rgba(255,255,255,.06); transition: background .2s; animation: hmIn .4s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 35ms); }
.jtile.sk { animation: sk 1.3s ease-in-out infinite; }
.jtile:hover { background: rgba(255,255,255,.12); }
.jtile.on { background: rgba(149, 6, 6, .22); }
.jart { width: 64px; height: 64px; object-fit: cover; flex: none; background: var(--s2); box-shadow: 4px 0 14px rgba(0,0,0,.3); }
.jt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.jt b { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jtile.on .jt b { color: #ff6b62; }
.jt i { font-style: normal; font-size: 12.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jplay { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex: none;
  opacity: 0; transform: translateX(6px) scale(.9); transition: opacity .18s, transform .22s cubic-bezier(.2,.9,.3,1.3); box-shadow: 0 6px 16px rgba(0,0,0,.45); }
.jplay svg { width: 16px; height: 16px; }
.jtile:hover .jplay, .jtile.on .jplay, .jplay:focus-visible { opacity: 1; transform: none; }
.jeq { margin-right: 4px; }
.jtile:hover .jeq { display: none; }
@media (hover: none) { .jplay { opacity: 1; transform: none; } .jeq { display: none; } }
@media (max-width: 760px) { .jgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .jtile { height: 52px; gap: 8px; padding-right: 6px; } .jart { width: 52px; height: 52px; } .jt b { font-size: 13px; } .jt i { font-size: 11.5px; } .jplay { display: none; } }

/* The made-for-you covers (MixCover.kt): art, the mark, the name on a chip. */
.mixc { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--s2); }
.mixc > img, .mixc > .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.mixc-mark { position: absolute; left: 6%; top: 6%; width: 12%; height: 12%; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.mixc-chip { position: absolute; left: 5.5%; right: 5.5%; bottom: 5.5%; padding: 5.5% 6%; border-radius: 4px; background: var(--mc); color: #fff;
  font-family: var(--f-display); font-weight: 800; font-size: 8.4cqw; letter-spacing: -.01em; line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 6px 16px rgba(0,0,0,.35); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.mixcard:hover .mixc > img { transform: scale(1.05); }
.mixcard:hover .mixc-chip { transform: translateY(-2px); }
.mixcard .art { box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.mixc.big { width: 220px; height: 220px; flex: none; box-shadow: 0 16px 44px rgba(0,0,0,.55); }
@media (max-width: 760px) { .mixc.big { width: 200px; height: 200px; align-self: center; } }

/* Your Feed */
.feed-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 8px; max-width: 900px; }
.feed-g { margin: 14px 0 8px; font-weight: 500; }
.feed-list { display: flex; flex-direction: column; gap: 6px; max-width: 900px; }
.fitem { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--r-lg); background: var(--s1); cursor: pointer;
  transition: background .2s; animation: hmIn .4s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 40ms); }
.fitem:hover { background: var(--s2); }
.fitem.new::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 2px 2px 0; background: var(--red-hi); }
.fart { width: 72px; height: 72px; border-radius: 6px; object-fit: cover; flex: none; background: var(--s2); }
.ft { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ft b { font-family: var(--f-display); font-weight: 800; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft i { font-style: normal; font-size: 13px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft i a { color: var(--text); font-weight: 600; }
.ft i a:hover { text-decoration: underline; }
.fbadge { align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; background: var(--red); color: #fff; }
.fbadge.album, .fbadge.ep { background: #fff; color: #111; }
.fbadge.collab { background: #8322F0; }
.playbig.sm { width: 44px; height: 44px; flex: none; }
.playbig.sm svg { width: 18px; height: 18px; }

/* A listener about to upload */
/* Full width, like the cards around it: as a half-width box it looked like
   something left over. One line on a wide screen, wraps on a narrow one. */
.up-listener { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 14px 18px; border-radius: var(--r-lg); background: var(--s1); font-size: 14px; color: var(--dim); }
.up-listener svg { width: 20px; height: 20px; flex: none; color: var(--red-hi); }
.up-listener b { color: var(--text); }
@media (max-width: 720px) { .up-listener { align-items: flex-start; } .up-listener svg { margin-top: 1px; } }
@media (prefers-reduced-motion: reduce) { .acard, .jtile, .fitem { animation: none; } }

/* Your Feed in the sidebar, with its count */
.feednav .fw { width: 22px; height: 22px; flex: none; }
.feednav:hover .fw path:nth-child(odd) { animation: wave .9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.feednav:hover .fw path:nth-child(even) { animation: wave .9s ease-in-out -.45s infinite; transform-box: fill-box; transform-origin: center; }
.fcount { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red-hi); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; animation: pop .3s cubic-bezier(.2,.9,.3,1.4); }
@media (max-width: 980px) { .side .fcount { position: absolute; margin: 0; transform: translate(14px, -10px); min-width: 16px; height: 16px; font-size: 9.5px; padding: 0 4px; } .side .feednav { position: relative; } }

/* Shuffle all, beside the bell */
.shufall svg { width: 19px; height: 19px; overflow: visible; }
.shufall:hover { color: var(--text); }
.shufall svg.cross { animation: shufSpin .6s cubic-bezier(.3,1.4,.5,1); }
.shufall svg.cross .s1 { animation: crossA .55s cubic-bezier(.3,1.5,.5,1) both; }
.shufall svg.cross .s2 { animation: crossB .55s cubic-bezier(.3,1.5,.5,1) both; }
.shufall.busy { color: var(--red-hi); }
@keyframes shufSpin { 40% { transform: rotate(-14deg) scale(1.12); } }

/* Phones: Your Feed at the top of Home */
.mfeed { display: none; }
@media (max-width: 760px) {
  .mfeed { display: flex; align-items: center; gap: 10px; margin: 2px 0 6px; padding: 12px 14px; border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(149, 6, 6, .25), rgba(255,255,255,.03) 70%), var(--s1); }
  .mfeed svg:first-child { width: 22px; height: 22px; color: var(--red-hi); flex: none; }
  .mfeed b { font-weight: 800; font-size: 15px; }
  .mfeed span { flex: 1; min-width: 0; font-size: 13px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ------------------------------------------------- a listener's taste */
.taste-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; }
@container (max-width: 860px) { .taste-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .tc-sound { grid-column: 1 / -1; order: -1; } }
@container (max-width: 520px) { .taste-grid { grid-template-columns: minmax(0, 1fr); } }
.tcard { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 12px; background: var(--s1); min-height: 210px;
  animation: hmIn .5s cubic-bezier(.2,.8,.2,1) both; }
.tcard:nth-child(2) { animation-delay: .07s; } .tcard:nth-child(3) { animation-delay: .14s; }
.tc-k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.tc-foot { margin-top: auto; font-size: 12px; color: var(--dimmer); }
.tc-sub { font-size: 13px; color: var(--dim); }
/* No. 1 artist: their picture, blurred, as the card itself. */
.tc-top { align-items: flex-start; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.tc-top:hover { transform: translateY(-3px); }
.tc-bg { position: absolute; inset: -20%; width: 140%; height: 140%; object-fit: cover; z-index: -2; filter: blur(30px) saturate(1.4) brightness(.55); }
.tc-top::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55)); }
.tc-top .tc-k { color: rgba(255,255,255,.75); }
.tc-av { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 8px 0 4px; box-shadow: 0 10px 30px rgba(0,0,0,.5); border: 3px solid rgba(255,255,255,.2); }
.tc-name { font-family: var(--f-display); font-weight: 900; font-size: 26px; letter-spacing: -.03em; line-height: 1.05; color: #fff; overflow-wrap: anywhere; }
.tc-top .tc-sub { color: rgba(255,255,255,.75); }
/* Their sound: one bar split by genre, and a key. */
.tc-big { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1.15; }
.tc-big a:hover { text-decoration: underline; }
.tc-stack { display: flex; gap: 3px; height: 14px; margin: 8px 0 6px; }
.tc-stack i { border-radius: 4px; min-width: 6px; transform-origin: left; animation: lsGrow .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d); }
.tc-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.tc-legend a { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; }
.tc-legend a:hover { text-decoration: underline; }
.tc-legend span { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.tc-legend b { color: var(--dim); font-weight: 600; font-variant-numeric: tabular-nums; }
/* This week: a number that counts up, over a little equaliser. */
.tc-week { background: linear-gradient(160deg, rgba(149, 6, 6, .35), rgba(149, 6, 6, .05) 60%), var(--s1); }
.tc-num { font-family: var(--f-display); font-weight: 900; font-size: 46px; letter-spacing: -.04em; line-height: 1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.tc-num small { font-size: .42em; font-weight: 800; letter-spacing: 0; margin-left: 2px; color: var(--dim); }
.tc-eq { position: absolute; right: 16px; bottom: 14px; display: flex; gap: 4px; align-items: flex-end; height: 44px; opacity: .55; z-index: -1; }
.tc-eq i { width: 6px; border-radius: 2px; background: var(--red-hi); height: 30%; animation: eq 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -.17s); }
/* Taste match: a ring that fills to the number. */
.match { display: flex; align-items: center; gap: 18px; margin-top: 12px; padding: 16px 18px; border-radius: 12px; background: var(--s1); animation: hmIn .5s .2s cubic-bezier(.2,.8,.2,1) both; }
.match-ring { --p: 0; width: 76px; height: 76px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: radial-gradient(closest-side, var(--s1) 78%, transparent 80% 100%), conic-gradient(var(--red-hi) calc(var(--p) * 1%), var(--s3) 0); }
.match-ring b { font-family: var(--f-display); font-weight: 900; font-size: 22px; letter-spacing: -.02em; }
.match-ring small { font-size: 12px; color: var(--dim); margin-left: 1px; }
.match-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.match-t b { font-family: var(--f-display); font-weight: 800; font-size: 19px; }
.match-t p { margin: 0; color: var(--dim); font-size: 14px; }
/* Most played, with a meter that grows in. */
.ls-rk .t { flex: 1; }
.ls-meter { display: block; height: 4px; border-radius: 2px; background: var(--s2); margin-top: 6px; overflow: hidden; }
.ls-meter i { display: block; height: 100%; border-radius: 2px; background: var(--red-hi); transform-origin: left; animation: lsGrow .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) { .tcard, .match, .tc-stack i, .ls-meter i, .tc-eq i { animation: none; } }

/* Upload: what to have ready, and what happens after */
.up-more { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
@container (max-width: 860px) { .up-more { grid-template-columns: minmax(0, 1fr); } }
.up-card { padding: 20px 22px; border-radius: var(--r-lg); background: var(--s1); animation: hmIn .5s .1s cubic-bezier(.2,.8,.2,1) both; }
.up-card + .up-card { animation-delay: .18s; }
.up-card h2 { margin: 0 0 14px; font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.up-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.up-check li { display: flex; gap: 14px; align-items: flex-start; }
.uc-i { width: 34px; height: 34px; border-radius: 8px; background: rgba(149, 6, 6, .2); color: #ff6b62; display: grid; place-items: center; flex: none; }
.up-check b, .up-steps b { display: block; font-weight: 700; font-size: 14.5px; }
.up-check i, .up-steps i { display: block; font-style: normal; font-size: 13.5px; color: var(--dim); line-height: 1.45; margin-top: 1px; }
.up-check a { color: var(--text); text-decoration: underline; }
.up-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; }
.up-steps li { position: relative; counter-increment: s; padding: 0 0 18px 46px; }
.up-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 14px; }
.up-steps li:not(:last-child)::after { content: ""; position: absolute; left: 14.5px; top: 32px; bottom: 4px; width: 1px; background: linear-gradient(var(--red-hi), transparent); }
.up-note { margin: 2px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); font-size: 13px; color: var(--dimmer); }
.up-start { max-width: 1280px; }

/* Listening history */
.hist-tile { background: linear-gradient(135deg, #1f1f1f, #3a1010); display: grid; place-items: center; }
.hist-tile svg { width: 42%; height: 42%; color: #fff; }
.hist-day { margin-top: 22px; max-width: 1000px; }
.hist-day h3 { margin: 0 0 6px; font-weight: 500; }
.hist-list { display: flex; flex-direction: column; }
.hist-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; }
.hist-at { font-size: 12.5px; color: var(--dimmer); font-variant-numeric: tabular-nums; }
.hist .feed-h { max-width: 1000px; }
@media (max-width: 760px) { .hist-row { grid-template-columns: 40px minmax(0, 1fr); } }

/* Settings: theme choice, each drawn as a little preview of itself */
.thm-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.thm { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px; border-radius: 10px; border: 1px solid var(--s3); background: var(--panel); text-align: left; transition: border-color .15s, transform .15s; }
.thm:hover { transform: translateY(-1px); }
.thm.on { border-color: var(--red-hi); box-shadow: 0 0 0 1px var(--red-hi); }
.thm b { font-weight: 700; font-size: 14px; margin-top: 6px; }
.thm-sub { font-style: normal; font-size: 12px; color: var(--dim); }
.thm-pv { width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; padding: 8px; display: grid; grid-template-columns: 26% 1fr; grid-template-rows: 1fr 22%; gap: 5px; overflow: hidden; }
.thm-pv i { border-radius: 3px; }
.thm-pv i:nth-child(1) { grid-row: 1 / span 2; }
.thm-pv i:nth-child(3) { grid-column: 1 / -1; }
.thm-dark .thm-pv { background: #070707; } .thm-dark .thm-pv i { background: #1d1d1d; } .thm-dark .thm-pv i:nth-child(2) { background: linear-gradient(135deg, #5e0404, #1d1d1d 70%); }
.thm-light .thm-pv { background: #ECE9E8; } .thm-light .thm-pv i { background: #fff; } .thm-light .thm-pv i:nth-child(2) { background: linear-gradient(135deg, #f2c7c5, #fff 70%); }
.thm-system .thm-pv { background: linear-gradient(110deg, #070707 50%, #ECE9E8 50%); } .thm-system .thm-pv i { background: linear-gradient(110deg, #1d1d1d 50%, #fff 50%); }
@media (max-width: 520px) { .thm-row { gap: 6px; } .thm { padding: 7px; } .thm-sub { display: none; } }
.hist-list .tr .n { display: none; }
.hist-list .tr { grid-template-columns: minmax(0, 1fr) 90px 104px !important; }
@media (max-width: 760px) { .hist-list .tr { grid-template-columns: minmax(0, 1fr) 40px !important; } }
.kc-go { color: #fff; }
/* ==================================================================
   Queue you can reorder, Share, Artist Pick, About, playlist editing
   ================================================================== */

/* ---- Reordering (sortable.js) ---------------------------------- */
.sgrip { width: 28px; height: 32px; display: grid; place-items: center; flex: none; border-radius: 6px; color: var(--dimmer); cursor: grab; touch-action: none; transition: color .15s, opacity .15s, background .15s; }
.sgrip svg { width: 18px; height: 18px; }
.sgrip:hover, .sgrip:focus-visible { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }
.sort-shift { transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.sort-lift { position: relative; z-index: 3; scale: 1.015; background: var(--s2) !important; box-shadow: 0 12px 32px rgba(0, 0, 0, .45), 0 0 0 1px color-mix(in srgb, var(--text) 8%, transparent); border-radius: 8px; cursor: grabbing; }
.sort-lift .sgrip { color: var(--red-hi); cursor: grabbing; }
:root.sorting, :root.sorting * { user-select: none; -webkit-user-select: none; cursor: grabbing !important; }
@media (hover: hover) and (pointer: fine) {
  .qrow .sgrip, .qrow .q-x { opacity: 0; }
  .qrow:hover .sgrip, .qrow:hover .q-x, .qrow .sgrip:focus-visible, .qrow .q-x:focus-visible, .sort-lift .sgrip { opacity: 1; }
}

/* ---- The queue -------------------------------------------------- */
.q-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 8px; }
.queue > .q-h:first-child { margin-top: 4px; }
.q-clear { font-size: 12.5px; font-weight: 700; color: var(--dim); padding: 4px 8px; border-radius: 6px; }
.q-clear:hover { color: var(--text); background: var(--s1); }
.qrow { cursor: pointer; padding-right: 2px; }
.qrow .t { flex: 1; }
.qrow .q-x svg { width: 17px; height: 17px; }
.qrow .eq { margin-right: 8px; }
.qlist { display: flex; flex-direction: column; }
.q-tip { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--dimmer); }
.q-tip svg { color: var(--dim); vertical-align: -3px; }
.np-sheet .qrow .sgrip { color: rgba(255, 255, 255, .55); }

/* ---- Share ------------------------------------------------------ */
.share-m { width: min(470px, 100%); }
.sh-prev { padding: 14px; border-radius: 10px; background: color-mix(in srgb, var(--ground) 70%, var(--s1)); }
.sh-bubble { display: flex; gap: 12px; align-items: center; max-width: 340px; padding: 10px; border-radius: 14px 14px 14px 4px; background: var(--s2); animation: shPop .35s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes shPop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.sh-img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; flex: none; }
.sh-img.round { border-radius: 50%; }
.sh-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sh-site { font-family: var(--f-mono); font-size: 11px; color: var(--dimmer); letter-spacing: .02em; }
.sh-meta b { font-size: 14.5px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sh-meta i { font-style: normal; font-size: 12.5px; color: var(--dim); }
.sh-meta em { font-style: normal; color: var(--red-hi); font-weight: 700; }
.sh-link { display: flex; gap: 8px; margin-top: 16px; }
.sh-link input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--s3); background: var(--panel); color: var(--dim); font: 13px var(--f-mono); text-overflow: ellipsis; }
.sh-link input:focus { outline: none; border-color: var(--dim); color: var(--text); }
.sh-copy { height: 38px; min-width: 96px; justify-content: center; }
.sh-copy.done { background: var(--ok); color: #fff; }
.sh-copy.done svg { animation: pop .38s cubic-bezier(.3, 1.6, .5, 1); }
.sh-at { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.sh-at > input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sh-box { width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid var(--dimmer); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.sh-box svg { width: 13px; height: 13px; opacity: 0; color: #fff; }
.sh-at.on .sh-box { background: var(--red); border-color: var(--red); }
.sh-at.on .sh-box svg { opacity: 1; }
.sh-at > input[type=checkbox]:focus-visible + .sh-box { outline: 2px solid var(--text); outline-offset: 2px; }
.sh-time { width: 66px; height: 30px; text-align: center; border-radius: 6px; border: 1px solid var(--s3); background: var(--panel); color: var(--text); font: 600 14px var(--f-body); font-variant-numeric: tabular-nums; }
.sh-time:focus { outline: none; border-color: var(--dim); }
.sh-time.bad { border-color: #e5484d; }
.sh-err { font-size: 12.5px; font-weight: 500; color: #ff8a80; }
.sh-to { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 4px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.sh-t { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 2px; border-radius: 10px; transition: background .15s; }
.sh-t:hover { background: var(--s2); }
.sh-t span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .2s cubic-bezier(.3, 1.4, .5, 1); }
.sh-t:hover span { transform: translateY(-2px); }
.sh-t svg { width: 22px; height: 22px; }
.sh-t b { font-size: 12px; font-weight: 600; color: var(--dim); }

/* ---- Artist Pick ------------------------------------------------ */
.pop-grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 32px; }
.pick-sec { order: -1; margin-bottom: 26px; min-width: 0; }
@container (min-width: 960px) {
  .pop-grid:has(.pick-sec) { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); }
  .pick-sec { order: 2; margin-bottom: 0; }
}
.pick-h { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; min-height: 30px; }
.pick-h h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.pick-ed { width: 28px; height: 28px; }
.pick { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 18px; width: 100%; padding: 18px; border-radius: var(--r-lg); background: var(--s1); transition: background .2s; animation: pickIn .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes pickIn { from { opacity: 0; transform: translateY(10px); } }
a.pick:hover { background: var(--s2); }
.pick-wash { position: absolute; inset: -30%; width: 160%; height: 160%; object-fit: cover; z-index: -1; filter: blur(42px) saturate(1.35); opacity: .2; transition: opacity .35s; pointer-events: none; }
a.pick:hover .pick-wash { opacity: .3; }
.pick-cov { position: relative; flex: none; padding: 6px 0 0 6px; }
.pick-art { width: 112px; height: 112px; border-radius: 5px; object-fit: cover; box-shadow: 0 12px 28px rgba(0, 0, 0, .45); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
a.pick:hover .pick-art { transform: translateY(-3px) rotate(-1.5deg); }
.pick-av { position: absolute; left: -4px; top: -4px; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 3px solid var(--s1); box-shadow: 0 4px 10px rgba(0, 0, 0, .35); animation: pinIn .55s .2s cubic-bezier(.3, 1.5, .5, 1) both; transition: border-color .2s; }
a.pick:hover .pick-av { border-color: var(--s2); }
@keyframes pinIn { from { opacity: 0; transform: translateY(-10px) scale(.6); } }
.pick-meta { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.pick-by { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 7px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--dim); background: color-mix(in srgb, var(--text) 8%, transparent); max-width: 100%; min-width: 0; }
.pick-by > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pick-by svg { color: var(--red-hi); flex: none; }
.pick-title { font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; line-height: 1.12; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.pick-kind { display: flex; align-items: center; flex-wrap: wrap; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.pick-kind.soon { color: var(--red-hi); }
.pick-kind .dot::before { color: inherit; }
.pick-play { width: 44px; height: 44px; margin-top: 6px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(149, 6, 6, .4); transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), background .15s; }
.pick-play:hover { transform: scale(1.07); background: #a80808; }
.pick-play svg { width: 20px; height: 20px; }
.pick-count { display: flex; gap: 6px; margin-top: 6px; }
.pick-count span { display: flex; flex-direction: column; align-items: center; min-width: 52px; padding: 6px 10px; border-radius: 6px; background: color-mix(in srgb, var(--text) 8%, transparent); font-size: 11px; color: var(--dim); }
.pick-count b { font: 800 19px var(--f-display); color: var(--text); font-variant-numeric: tabular-nums; }
.pick-empty { text-align: left; background: transparent; border: 1.5px dashed var(--s3); animation: none; }
.pick-empty:hover { border-color: var(--dimmer); background: var(--s1); }
.pke-ic { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: var(--red-hi); }
.pke-ic svg { width: 22px; height: 22px; }
.pke-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pe-row .pe-t { min-width: 0; display: flex; flex-direction: column; }
.pe-t i { font-style: normal; font-size: 13px; color: var(--dim); }
.pke-t b { font-size: 15px; font-weight: 700; }
.pke-t i { font-style: normal; font-size: 13px; color: var(--dim); }
@container (max-width: 520px) {
  .pick { gap: 14px; padding: 14px; }
  .pick-art { width: 92px; height: 92px; }
  .pick-title { font-size: 18px; }
  .pick-empty { flex-wrap: wrap; }
}

/* The picker */
.pick-m { width: min(540px, 100%); max-height: min(700px, calc(100dvh - 32px)); display: flex; flex-direction: column; }
.pk-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.pk-search { flex: 1; min-width: 160px; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 8px; background: var(--panel); border: 1px solid var(--s3); color: var(--dim); }
.pk-search:focus-within { border-color: var(--dim); }
.pk-search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font: 14px var(--f-body); }
.pk-list { flex: 1; min-height: 180px; overflow-y: auto; margin: 0 -8px; padding: 0 8px; scrollbar-width: thin; }
.pk-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; text-align: left; transition: background .15s; }
.pk-row:hover { background: var(--s2); }
.pk-row.on { background: var(--red-soft); }
.pk-img { border-radius: 4px; }
.pk-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pk-t b { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-t i { font-style: normal; font-size: 12.5px; color: var(--dim); }
.pk-t i.soon { color: var(--red-hi); font-weight: 600; }
.pk-dot { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.5px solid var(--dimmer); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.pk-row.on .pk-dot { background: var(--red); border-color: var(--red); color: #fff; }
.pk-dot svg { width: 13px; height: 13px; animation: pop .3s cubic-bezier(.3, 1.6, .5, 1); }
.pk-none { padding: 22px 6px; margin: 0; font-size: 14px; }
.pk-acts { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.pk-rm { color: #ff8a80; }
.pk-rm:hover { color: #ffb3ad; }

/* ---- About ------------------------------------------------------ */
.ab-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center; padding: 24px; border-radius: var(--r-lg); background: var(--s1); max-width: 1000px; animation: pickIn .5s cubic-bezier(.2, .8, .2, 1) both; }
/* The photo, blurred and darkened, behind the whole card. The tokens are
   redefined on the card so everything in it reads light on that, in either
   theme -- the way the artist header keeps the dark palette. */
.ab-card.has-photo { background: #141010; color: #F5F5F5;
  --text: #F5F5F5; --dim: rgba(255, 255, 255, .72); --dimmer: rgba(255, 255, 255, .55);
  --s2: rgba(255, 255, 255, .1); --s3: rgba(255, 255, 255, .17); --line: rgba(255, 255, 255, .14); }
.ab-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ab-bg img { position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(46px) saturate(1.5) brightness(.62); }
/* Darker toward the text, so white stays readable on even the brightest photo. */
.ab-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 6, 6, .18), rgba(8, 6, 6, .52) 55%, rgba(8, 6, 6, .62)), linear-gradient(180deg, transparent 60%, rgba(8, 6, 6, .35)); }
.ab-photo { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--s2); align-self: start; }
.ab-card.has-photo .ab-photo { box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
.ab-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.ab-card:hover .ab-photo img { transform: scale(1.03); }
.ab-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--dimmer); }
.ab-main { min-width: 0; }
.ab-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ab-name { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(24px, 3.2cqw, 34px); letter-spacing: -.03em; line-height: 1.05; overflow-wrap: anywhere; }
.ab-loc { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 14px; color: var(--dim); }
.ab-loc svg { color: var(--red-hi); }
.ab-edit { flex: none; }
/* The numbers as one quiet line: "39 plays · 1 follower · 2 releases". */
.ab-stats { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; margin-top: 10px; font-size: 14.5px; color: var(--dim); }
.ab-stat { white-space: nowrap; }
.ab-stat + .ab-stat::before { content: "·"; margin: 0 9px; color: var(--dimmer); }
.ab-stat b { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.ab-text { margin-top: 16px; max-height: 10.2em; overflow: hidden; font-size: 15.5px; line-height: 1.65; color: color-mix(in srgb, var(--text) 84%, var(--dim)); -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent); mask-image: linear-gradient(180deg, #000 62%, transparent); }
.ab-text.open { max-height: none; -webkit-mask-image: none; mask-image: none; }
.ab-text:not(.open):has(> p:only-child) { max-height: 10.2em; }
.ab-text p { margin: 0 0 .8em; white-space: pre-line; max-width: 68ch; overflow-wrap: anywhere; }
.ab-text p:last-child { margin-bottom: 0; }
.ab-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 13px; font-weight: 700; }
.ab-more svg { transition: transform .25s; }
.ab-text.open + .ab-more svg { transform: rotate(180deg); }
.ab-answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-top: 16px; }
.ab-ans { padding: 12px 14px; border-radius: 8px; background: var(--s2); }
.ab-ans span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--red-hi); }
.ab-ans p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.ab-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ab-link { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 11px; border-radius: 999px; background: var(--s2); font-size: 13.5px; transition: background .15s, transform .15s; max-width: 100%; }
.ab-link b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab-link svg { width: 17px; height: 17px; flex: none; color: var(--dim); }
a.ab-link:hover { background: var(--s3); transform: translateY(-1px); }
a.ab-link:hover svg { color: var(--text); }
.ab-empty { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding: 18px; border-radius: var(--r-lg); border: 1.5px dashed var(--s3); max-width: 1000px; }
.ab-empty > div { flex: 1; min-width: 200px; }
.ab-empty .ab-ph { width: 60px; height: 60px; border-radius: 50%; background: var(--s2); flex: none; }
.ab-empty b { font-size: 15px; }
.ab-empty p { margin: 2px 0 0; font-size: 13.5px; }
/* The editor's preview: the same card, narrow */
.ab-card.preview { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 14px; animation: none; }
.ab-card.preview .ab-photo { width: 120px; }
.ab-card.preview .ab-name { font-size: 20px; }
.ab-card.preview .ab-text { font-size: 13.5px; max-height: 8.6em; }
.ab-card.preview .ab-answers { grid-template-columns: minmax(0, 1fr); }
.ab-card.preview .ab-ans p { font-size: 13px; }
@container (max-width: 720px) {
  .ab-card { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 18px; align-items: start; }
  .ab-photo { width: min(100%, 150px); }
}

/* The About editor */
.ab-ed-photo { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.ab-ed-pic { position: relative; width: 96px; height: 96px; flex: none; border-radius: 8px; overflow: hidden; background: var(--s2); display: grid; place-items: center; color: var(--dimmer); }
.ab-ed-pic img { width: 100%; height: 100%; object-fit: cover; }
.ab-ed-pt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ab-ed-pt b { font-size: 14.5px; }
.ab-ed-pt > span { font-size: 12.5px; color: var(--dimmer); line-height: 1.4; }
.ab-ed-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ab-meter { position: relative; margin: -6px 0 16px; padding-top: 9px; }
.ab-meter::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: var(--s3); }
.ab-meter i { position: absolute; left: 0; top: 0; height: 3px; border-radius: 2px; background: var(--dim); transition: width .35s cubic-bezier(.2, .8, .2, 1), background .3s; }
.ab-meter i.full { background: var(--ok); }
.ab-meter span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--dimmer); }
.ab-meter i.full + span { color: var(--ok); }
.ab-prompts { margin: 0 0 16px; }
.ab-prompts > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ab-prompt { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; border: 1px solid var(--s3); background: transparent; animation: pickIn .3s both; }
.ab-prompt:hover { border-color: var(--dimmer); background: var(--s2); }
.ab-prompt svg { color: var(--red-hi); }

/* ---- Editing a playlist ----------------------------------------- */
.pe { padding: 22px 24px 0; max-width: 1000px; }
.pe-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pe-cover { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pe-cov-btn { position: relative; width: 220px; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--s2); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.pe-cov-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pe-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--dimmer); }
.pe-cov-o { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(0, 0, 0, .58); color: #fff; opacity: 0; transition: opacity .2s; }
.pe-cov-o b { font-size: 13.5px; }
.pe-cov-btn:hover .pe-cov-o, .pe-cov-btn:focus-visible .pe-cov-o, .pe-cov-btn:disabled .pe-cov-o { opacity: 1; }
.pe-auto { font-size: 12px; color: var(--dimmer); text-align: center; }
.pe-fields { min-width: 0; display: flex; flex-direction: column; }
.pe-fields > .mono { margin-bottom: 10px; }
.pe-title { font: 800 20px var(--f-display) !important; letter-spacing: -.01em; }
.pe-priv { border-top: 1px solid var(--line); }
.pe-list-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 22px 0 10px; }
.pe-list-h h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: 20px; }
.pe-list-h .muted { font-size: 13px; }
.pe-list { display: flex; flex-direction: column; gap: 2px; }
.pe-row { display: grid; grid-template-columns: 30px 26px 40px minmax(0, 1fr) 50px 64px; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; transition: background .15s; }
.pe-row:hover { background: var(--s1); }
.pe-n { font-size: 13px; color: var(--dim); text-align: center; font-variant-numeric: tabular-nums; }
.pe-art { border-radius: 4px; }
.pe-row .pe-t b { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pe-dur { font-size: 13px; color: var(--dim); text-align: right; font-variant-numeric: tabular-nums; }
.pe-x, .pe-undo { justify-self: end; }
.pe-row.off :is(.pe-n, .pe-art, .pe-t, .pe-dur) { opacity: .38; }
.pe-row.off .pe-t b { text-decoration: line-through; }
.pe-danger { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; margin-top: 30px; padding: 16px; border-radius: var(--r-lg); border: 1px solid rgba(229, 72, 77, .22); background: rgba(229, 72, 77, .04); }
.pe-danger > div { display: flex; flex-direction: column; gap: 2px; }
.pe-danger b { font-size: 14.5px; }
.pe-danger .muted { font-size: 13px; }
.pe-del { color: #ff8a80; border-color: rgba(229, 72, 77, .4); }
.pe-del:hover { border-color: #e5484d; }
.pe-foot { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; padding: 16px 0 20px; background: linear-gradient(180deg, transparent, var(--panel) 35%); }
@container (max-width: 640px) {
  .pe { padding: 16px 16px 0; }
  .pe-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pe-cov-btn { width: min(200px, 64vw); }
  .pe-row { grid-template-columns: 30px 40px minmax(0, 1fr) 56px; gap: 8px; padding: 6px 4px; }
  .pe-n, .pe-dur { display: none; }
  .pe-danger .btn { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pick, .pick-av, .ab-card, .sh-bubble, .ab-prompt { animation: none; }
  .sort-shift, .pick-art, .ab-photo img { transition: none; }
}
.share-m:focus, .pick-m:focus { outline: none; }

/* Brand logos (brands.js) */
.brand-badge { display: grid; place-items: center; border-radius: 50%; overflow: hidden; flex: none; }
.brand-badge.dark { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.pre-in span { display: inline-flex; align-items: center; gap: 8px; }
.pre-in span svg { color: var(--dim); }
.pf-prev-links span { display: inline-flex; align-items: center; gap: 5px; }
a.ab-link:hover svg { color: var(--brand, var(--text)); }

/* Featured artist sits a section's distance below Jump back in, not flush to it */
.jump + .spot { margin-top: 30px; }

/* ==================================================================
   Featured on, Coming soon, pre-save and the countdown page
   ================================================================== */

/* A third line under a card's title */
.card i.card-note { font-size: 12.5px; color: var(--dimmer); margin-top: 1px; }

/* ---- Featured on -------------------------------------------------- */
.card .art .fo-faces { position: absolute; left: 8px; bottom: 8px; display: flex; z-index: 1; }
.card .art .fo-faces .fo-face { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(12, 10, 10, .85); box-shadow: 0 3px 8px rgba(0, 0, 0, .45); background: var(--s3); }
.card .art .fo-faces .fo-face + .fo-face { margin-left: -9px; }
.card .art .fo-faces .fo-face.ph { display: grid; }
.fo-card:hover .fo-faces .fo-face + .fo-face { margin-left: -4px; }
.card .art .fo-faces .fo-face { transition: margin .25s cubic-bezier(.2, .8, .2, 1); }
.fo-with { color: var(--text); font-weight: 600; }

/* ---- Coming soon cards ---------------------------------------------- */
.card .art .cs-chip { position: absolute; left: 8px; top: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px 4px 6px; border-radius: 999px; background: rgba(10, 8, 8, .78); color: #fff; font: 700 11.5px var(--f-body); font-variant-numeric: tabular-nums; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card .art .cs-chip svg { color: var(--red-hi); }
.card .art .cs-ps { position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), background .15s; }
.card .art .cs-ps:hover { transform: scale(1.08); }
.card .art .cs-ps.on { background: rgba(10, 8, 8, .82); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7), 0 6px 16px rgba(0, 0, 0, .45); }
.card .art .cs-ps svg { width: 18px; height: 18px; animation: swap .3s cubic-bezier(.3, 1.6, .5, 1); }
.cs-card .fab { display: none; }
.cs-when { color: var(--red-hi); font-weight: 600; }

/* ---- Pre-save button ------------------------------------------------ */
.psv { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.psv-b { min-width: 150px; justify-content: center; }
.psv-b svg { animation: swap .3s cubic-bezier(.3, 1.6, .5, 1); }
.psv:not(.on) .psv-b { box-shadow: 0 10px 26px rgba(149, 6, 6, .38); }
.psv-n { font-size: 12.5px; color: var(--dim); }
.psv.sm .psv-b { min-width: 0; }
.psv.on .psv-n { color: var(--ok); }

/* ---- Pick card, when it is a record on its way ---------------------- */
.pick-soon { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pick-soon .pick-count { margin-top: 0; }

/* ---- The countdown page --------------------------------------------- */
.cdp-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -64px; padding: 88px 24px 26px; background: linear-gradient(180deg, var(--tint, #3a0b0b) 0%, rgba(18, 18, 18, 0) 100%); }
.cdp-wash { position: absolute; inset: -20%; width: 140%; height: 140%; object-fit: cover; z-index: -1; filter: blur(60px) saturate(1.3); opacity: .28; animation: spotDrift 22s ease-in-out infinite alternate; pointer-events: none; }
.cdp-in { display: flex; align-items: flex-end; gap: 26px; }
.cdp-cover { position: relative; flex: none; }
.cdp-art { width: 232px; height: 232px; border-radius: var(--r); object-fit: cover; box-shadow: 0 18px 48px rgba(0, 0, 0, .55); display: block; animation: pickIn .6s cubic-bezier(.2, .8, .2, 1) both; }
.cdp-ribbon { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 8px; border-radius: 999px; background: var(--red); color: #fff; font: 800 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(149, 6, 6, .45); }
.cdp-meta { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cdp-kind { font-size: 13px; font-weight: 700; }
.cdp-meta h1 { margin: 0; font-family: var(--f-display); font-weight: 900; letter-spacing: -.04em; line-height: .95; overflow-wrap: anywhere; }
.cdp-by { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 14px; }
.cdp-by img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.cdp-by:hover b { text-decoration: underline; }
.cdp-date { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0; font-size: 14.5px; font-weight: 600; }
.cdp-date svg { color: var(--red-hi); }
.cdp-cd { margin-top: 26px; }

.cd { display: inline-flex; align-items: flex-start; gap: 8px; }
.cd-u { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cd-n { position: relative; overflow: hidden; display: grid; place-items: center; width: 78px; height: 74px; border-radius: 10px; background: rgba(12, 10, 10, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cd-n::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .35); }
.cd-n b { font: 900 38px var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; animation: cdRoll .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes cdRoll { from { transform: translateY(-60%); opacity: 0; } }
.cd-u i { font: 500 11px var(--f-mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.cd-sep { font: 900 30px var(--f-display); color: rgba(255, 255, 255, .35); line-height: 74px; }

.cdp-acts { flex-wrap: wrap; align-items: flex-start; }
.cdp-mine { display: flex; flex-direction: column; gap: 2px; padding: 4px 0; }
.cdp-mine b { font-size: 15px; }
.cdp-mine .muted { font-size: 13px; }

.cdp-list { max-width: 760px; }
.cdp-lock-note { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.cdp-list ol { list-style: none; margin: 0; padding: 0; }
.cdp-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr) 24px; align-items: center; gap: 12px; height: 50px; padding: 0 12px; border-radius: 6px; color: var(--dim); animation: item-in .4s calc(var(--i) * 40ms) both; }
.cdp-list li:nth-child(odd) { background: color-mix(in srgb, var(--text) 3%, transparent); }
.cdp-list li .n { text-align: right; font-variant-numeric: tabular-nums; }
.cdp-list li b { font-weight: 600; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cdp-list li svg { color: var(--dimmer); }
.cdp-bar { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--s2), var(--s3), var(--s2)); background-size: 200% 100%; animation: sk 2.2s linear infinite; }
.cdp-desc { max-width: 70ch; margin-top: 22px; white-space: pre-line; }

@container (max-width: 640px) {
  .cdp-hero { padding: 80px 16px 22px; }
  .cdp-in { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cdp-art { width: min(220px, 62vw); height: auto; aspect-ratio: 1; }
  .cd { gap: 5px; }
  .cd-n { width: 62px; height: 60px; }
  .cd-n b { font-size: 30px; }
  .cd-sep { font-size: 24px; line-height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .cd-n b, .cdp-art, .cdp-list li, .cdp-wash { animation: none; }
}

/* ==================================================================
   Feature requests (requests.js) and credit status on Edit track
   ================================================================== */
.rq-sec { margin: 0 0 26px; }
.rq-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 12px; }
.rq-h h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.rq-h p { flex-basis: 100%; margin: 0; font-size: 13.5px; }
.rq-n { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; transform: translateY(-2px); }
.rq-list { display: flex; flex-direction: column; gap: 10px; }

.rq-card { position: relative; display: flex; gap: 18px; padding: 16px; border-radius: var(--r-lg); background: var(--s1); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red-hi) 28%, transparent); animation: pickIn .45s cubic-bezier(.2, .8, .2, 1) both; overflow: hidden; }
.rq-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red-hi); }
.rq-cover { position: relative; flex: none; width: 112px; height: 112px; }
.rq-art { width: 112px; height: 112px; border-radius: 6px; object-fit: cover; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); display: block; }
.rq-play { position: absolute; right: 8px; bottom: 8px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--ground); box-shadow: 0 6px 16px rgba(0, 0, 0, .45); transition: transform .2s cubic-bezier(.3, 1.4, .5, 1); }
.rq-play:hover { transform: scale(1.08); }
.rq-play.on { background: var(--red); color: #fff; }
.rq-play svg { width: 18px; height: 18px; }
.rq-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.rq-who { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--dim); }
.rq-from { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.rq-from:hover b { text-decoration: underline; }
.rq-av { border-radius: 50%; }
.rq-ago { color: var(--dimmer); }
.rq-title { margin: 2px 0 0; font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; display: flex; align-items: center; gap: 8px; }
.rq-meta { display: flex; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.rq-meta b { color: var(--text); font-weight: 600; margin-left: 4px; }
.rq-sched { color: #F0B43C; font-weight: 600; }
.rq-means { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0 2px; font-size: 13px; color: var(--dimmer); line-height: 1.45; }
.rq-means svg { flex: none; margin-top: 2px; color: var(--dim); }
.rq-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.rq-acts .btn { min-width: 112px; justify-content: center; }
.rq-no:hover { border-color: #e5484d; color: #ff8a80; }
.rq-confirm { margin-top: 8px; padding: 10px 12px; border-radius: 8px; background: rgba(229, 72, 77, .07); box-shadow: inset 0 0 0 1px rgba(229, 72, 77, .25); font-size: 13.5px; animation: pickIn .25s both; }
.rq-confirm .rq-acts { margin-top: 8px; }
.rq-confirm .rq-no { border-color: rgba(229, 72, 77, .55); color: #ff8a80; }

.rq-card.done { align-items: center; gap: 14px; padding: 14px 16px; box-shadow: none; animation: pickIn .3s both; }
.rq-card.done::before { display: none; }
.rq-done-ic { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.rq-done-ic svg { width: 18px; height: 18px; animation: pop .4s cubic-bezier(.3, 1.6, .5, 1); }
.rq-card.yes .rq-done-ic { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.rq-card.no .rq-done-ic { background: var(--s2); color: var(--dim); }
.rq-done-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rq-done-t b { font-size: 15px; }
.rq-done-t span { font-size: 13px; color: var(--dim); }

/* "Your music": a line at the top while something is waiting */
.rq-banner { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 12px 14px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--red) 14%, var(--s1)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red-hi) 35%, transparent); font-size: 14px; transition: background .15s; }
.rq-banner:hover { background: color-mix(in srgb, var(--red) 22%, var(--s1)); }
.rq-banner > svg { width: 20px; height: 20px; flex: none; color: var(--red-hi); }
.rq-banner > span { flex: 1; min-width: 0; color: var(--dim); }
.rq-banner > span b { color: var(--text); }
.rq-banner-go { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; white-space: nowrap; }

@container (max-width: 560px) {
  .rq-card { gap: 14px; padding: 14px; }
  .rq-cover, .rq-art { width: 84px; height: 84px; }
  .rq-play { width: 34px; height: 34px; right: 6px; bottom: 6px; }
  .rq-title { font-size: 19px; }
  .rq-acts .btn { flex: 1; min-width: 0; }
}

/* Credit status on Edit track */
.fchip i { display: inline-flex; align-items: center; gap: 4px; }
.fchip i.wait { color: #F0B43C; }
.fchip i.yes { color: var(--ok); }
.fdot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: fdot 1.6s ease-in-out infinite; }
@keyframes fdot { 50% { opacity: .3; transform: scale(.7); } }
.feat-wait { display: flex; align-items: flex-start; gap: 6px; margin: 10px 0 0; font-size: 12.5px; color: var(--dimmer); line-height: 1.45; }
.feat-wait svg { flex: none; margin-top: 2px; color: #F0B43C; }
@media (prefers-reduced-motion: reduce) { .fdot, .rq-card, .rq-confirm { animation: none; } }

/* Request cards: out now, and "Always accept from" */
.rq-live { color: var(--ok); font-weight: 600; }
.rq-always { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; font-size: 13px; color: var(--dim); cursor: pointer; user-select: none; }
.rq-always input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rq-box { width: 17px; height: 17px; border-radius: 4px; border: 1.5px solid var(--dimmer); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.rq-box svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.rq-always.on { color: var(--text); }
.rq-always.on .rq-box { background: var(--red); border-color: var(--red); }
.rq-always.on .rq-box svg { opacity: 1; }
.rq-always input:focus-visible + .rq-box { outline: 2px solid var(--text); outline-offset: 2px; }
@container (max-width: 560px) { .rq-always { margin: 4px 0 0; flex-basis: 100%; } }

/* Search filter chips (Spotify's row under the box) */
.schips { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 4px; }
.schips .chip { animation: pickIn .25s both; }

/* Song page: the cover's colour washing in behind the header */
.song-wrap.tinted { margin-top: -64px; padding-top: 74px; padding-bottom: 8px; background: linear-gradient(180deg, var(--tint, #3a0b0b) 0, rgba(18, 18, 18, 0) 440px); }
@media (max-width: 760px) { .song-wrap.tinted { padding-top: 64px; } }

/* ==================================================================
   Lyrics: sized for where they are shown, the current line clearly lit
   ================================================================== */
.lyr { font-size: 18px; gap: 12px; line-height: 1.35; }
.lyr p { color: rgba(245, 245, 245, .34); transition: color .3s, transform .3s, opacity .3s; }
.lyr p.past { color: rgba(245, 245, 245, .5); }
.lyr p.now { color: #fff; transform: scale(1.025); }
.lyr.big { font-size: 23px; gap: 14px; }
.np-body .lyr { padding-top: 4px; }

/* On a song page: a card that scrolls itself */
.lyr-box { position: relative; max-width: 640px; max-height: 460px; overflow-y: auto; padding: 18px 22px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--s1) 85%, transparent); scrollbar-width: thin; scrollbar-color: #3a3a3a transparent; }
.lyr-box .lyrics-static { font-size: 17px; line-height: 1.7; }
.lyr-box.live { -webkit-mask-image: linear-gradient(transparent 0, #000 40px, #000 calc(100% - 60px), transparent 100%); mask-image: linear-gradient(transparent 0, #000 40px, #000 calc(100% - 60px), transparent 100%); }
.lyr-box.live .lyr { font-size: 20px; padding: 30px 0 200px; }

/* The sync screen: fits the window, and the line to tap is unmistakable */
.sync-lines { height: clamp(200px, calc(100dvh - 560px), 400px); padding: 18% 0; }
.sync-lines p { border-radius: 6px; transition: color .2s, background .2s; }
.sync-lines p.next { background: color-mix(in srgb, var(--red-hi) 14%, transparent); box-shadow: inset 3px 0 0 var(--red-hi); color: #fff; }
.sync-lines p span { text-transform: uppercase; letter-spacing: .06em; }
.sync-lines p.gap i { font-size: 15px; font-weight: 600; }
.sync-lines p.next.gap i { color: #fff; }

/* ==================================================================
   Story maker (story.js)
   ================================================================== */
.modal.stm { width: min(920px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 30px; padding: 24px; }
.stm-prev { display: flex; justify-content: center; align-items: flex-start; }
.stm-frame { position: relative; height: min(72dvh, 640px); aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06); animation: pickIn .4s cubic-bezier(.2, .8, .2, 1) both; }
.stm-canvas { display: block; width: 100%; height: 100%; }
.stm-canvas.sk { height: min(72dvh, 640px); width: auto; aspect-ratio: 9 / 16; border-radius: 16px; }
.stm-sticker { position: absolute; left: 17%; right: 17%; display: flex; align-items: center; justify-content: center; gap: 6px; border: 2px dashed rgba(255, 255, 255, .55); border-radius: 10px; background: rgba(0, 0, 0, .22); color: rgba(255, 255, 255, .9); font-size: 11.5px; font-weight: 600; pointer-events: none; }
.stm-side { display: flex; flex-direction: column; min-width: 0; padding-top: 6px; }
.stm-side h2 { margin: 0 0 6px; font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.stm-side .sub { margin: 0 0 6px; }
.stm-label { margin: 18px 0 9px; font: 500 11.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.stm-label span { margin-left: 6px; font-family: var(--f-body); letter-spacing: 0; text-transform: none; color: var(--dimmer); font-size: 12px; }
.stm-styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.stm-style { display: flex; align-items: center; gap: 12px; padding: 9px 12px 9px 9px; border-radius: 10px; background: var(--s2); box-shadow: inset 0 0 0 1.5px transparent; font-size: 14px; font-weight: 600; text-align: left; transition: box-shadow .15s, background .15s; }
.stm-style:hover { background: var(--s3); }
.stm-style.on { box-shadow: inset 0 0 0 1.5px var(--red-hi); background: color-mix(in srgb, var(--red) 14%, var(--s2)); }
/* Tiny drawings of each style */
.stm-ic { width: 27px; height: 48px; flex: none; border-radius: 5px; position: relative; overflow: hidden; background: #1d1818; }
.stm-ic.signal { background: radial-gradient(circle at 50% 36%, #d9d4d3 0 6px, transparent 7px), radial-gradient(circle at 50% 36%, transparent 0 9px, rgba(255,255,255,.35) 10px 11px, transparent 12px 14px, rgba(255,255,255,.2) 15px 16px, transparent 17px), linear-gradient(#3b2a2a, #120d0d); }
.stm-ic.signal::after { content: ""; position: absolute; left: 6px; right: 6px; top: 31px; height: 4px; border-radius: 2px; background: #fff; }
.stm-ic.poster { background: #950606; }
.stm-ic.poster::before { content: ""; position: absolute; left: 4px; top: 7px; width: 12px; height: 12px; border-radius: 2px; background: #2a1414; }
.stm-ic.poster::after { content: ""; position: absolute; left: 4px; top: 25px; width: 18px; height: 11px; background: repeating-linear-gradient(#fff 0 3px, transparent 3px 5px); }
.stm-ic.lyrics { background: #261d3d; }
.stm-ic.lyrics::after { content: ""; position: absolute; left: 6px; top: 14px; width: 16px; height: 18px; border-left: 2px solid #C4241C; padding-left: 2px; background: repeating-linear-gradient(transparent 0 2px, #fff 2px 4px, transparent 4px 6px); background-clip: content-box; }
.stm-ic.soon { background: linear-gradient(#2c1f1f, #110c0c); }
.stm-ic.soon::before { content: ""; position: absolute; left: 8px; top: 7px; width: 11px; height: 11px; border-radius: 2px; background: #6b6060; }
.stm-ic.soon::after { content: "17"; position: absolute; left: 0; right: 0; top: 24px; text-align: center; font: 900 12px var(--f-display); color: #fff; }
.stm-shades { display: flex; gap: 10px; }
.stm-shade { width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); transition: transform .15s; }
.stm-shade:hover { transform: scale(1.06); }
.stm-shade.on { box-shadow: 0 0 0 2px var(--s1), 0 0 0 4px var(--text); }
.stm-lines { max-height: 230px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding-right: 4px; scrollbar-width: thin; }
.stm-line { text-align: left; padding: 6px 10px; border-radius: 6px; font-size: 14px; color: var(--dim); transition: background .12s, color .12s; }
.stm-line:hover { background: var(--s2); color: var(--text); }
.stm-line.on { background: color-mix(in srgb, var(--red) 18%, transparent); color: var(--text); font-weight: 600; box-shadow: inset 3px 0 0 var(--red-hi); }
.stm-gap { height: 8px; flex: none; }
.stm-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stm-go { flex: 1; min-width: 180px; justify-content: center; }
.stm-tip { margin: 10px 0 0; font-size: 12.5px; color: var(--dimmer); line-height: 1.45; }
.sh-story span { box-shadow: 0 6px 16px rgba(255, 0, 105, .3); }
@media (max-width: 720px) {
  .modal.stm { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 18px 16px; }
  .stm-frame, .stm-canvas.sk { height: min(58dvh, 520px); }
}

/* ------------------------------------------------- confirm dialog (confirm.js) */
/* Above any other dialog: a question can be asked from inside one. */
.cf-scrim { z-index: 80; }
.modal.cf { width: min(400px, 100%); padding: 24px 24px 20px; }
.cf-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(229, 72, 77, .12); color: #ff8a80; }
.cf-ic svg { width: 20px; height: 20px; }
.modal.cf h2 { font-size: 20px; line-height: 1.25; margin: 0 0 8px; padding-right: 8px; overflow-wrap: anywhere; text-wrap: balance; }
.modal.cf .sub { margin: 0; line-height: 1.5; }
.cf-acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
@media (max-width: 480px) {
  .cf-acts { flex-direction: column-reverse; }
  .cf-acts .btn { width: 100%; height: 44px; }
}

/* Edit profile, opened straight after signing up (?welcome). */
.pf-welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin: 0 0 20px; }
.pf-welcome .greet { margin-bottom: 6px; }
.pf-welcome p { margin: 0; color: var(--dim); max-width: 52ch; }

/* The pages with a width limit sit in the middle of the main area rather
   than against its left edge, which left a dead strip on the right on wide
   screens. Only the block moves; text inside stays left-aligned. Full-width
   music pages (Home, Search, Top 100, artist pages) are not touched. */
.up-start, .up-page, .form-page, .narrow-page, .studio { margin-inline: auto; }

/* ------------------------------------------------ comments, second pass */
/* The moment in the track: a clock and the time, with a cross while it is
   attached -- "at 0:43" alone did not say it could be switched off. */
.cm-at { display: inline-flex; align-items: center; gap: 4px; }
.cm-at svg { flex: none; }
.cm-at-x { margin-left: 2px; font-family: var(--f-body); font-size: 13px; line-height: 1; opacity: .75; }
.cm-at:hover .cm-at-x { opacity: 1; }
/* Grey until there is something to post, then the brand red. A dark red
   disabled button read as broken rather than as "not yet". */
.btn.cm-post { background: var(--red); color: #fff; }
.btn.cm-post:hover:not(:disabled) { background: #a80808; }
.btn.cm-post:disabled { background: var(--s3); color: var(--dimmer); cursor: default; transform: none; }
/* Top / Newest, from SORT_FROM comments on. */
.cm-sort { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: var(--s1); }
.cm-sort button { padding: 5px 11px; border-radius: 6px; font-size: 12.5px; font-weight: 700; color: var(--dim); }
.cm-sort button:hover { color: var(--text); }
.cm-sort button.on { background: var(--s3); color: var(--text); }
/* The artist's heart: their picture with a small heart on it, under the
   comments they hearted. They give it with "Heart" in the action row and
   take it back by pressing the picture. */
.cm-heart { display: inline-flex; align-items: center; }
.cm-hb { position: relative; width: 20px; height: 20px; flex: none; display: inline-block; }
.cm-hb img, .cm-hb b { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--s3); color: var(--text); font-size: 10px; font-weight: 800; }
.cm-hb i { position: absolute; right: -4px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--red-hi); color: #fff; display: grid; place-items: center; }
.cm-hb i svg { width: 7px; height: 7px; }


span.cm-heart { cursor: default; }

/* ------------------------------------------ Embed, in the share window */
.modal.em { width: min(560px, 100%); }
.em-h { display: flex; align-items: center; gap: 6px; margin: -8px -8px 6px; }
.em-h h2 { flex: 1; margin: 0; }
.em-lead { margin: 0 0 14px; font-size: 14px; color: var(--dim); }
.em-seg { margin-bottom: 12px; }
.em-prev { display: block; width: 100%; border: 0; border-radius: 12px; background: var(--s1); transition: height .2s ease; }
.em-code { display: block; width: 100%; height: 88px; margin-top: 12px; padding: 10px 12px; resize: none; border-radius: 8px; border: 1px solid var(--s3); background: var(--panel); color: var(--dim); font: 12px/1.5 var(--f-mono); }
.em-code:focus { outline: none; border-color: var(--dim); }
.em-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.em-row span { font-size: 12.5px; color: var(--dimmer); }

/* ------------------------------------------------ collaborative playlists
 * collab.js. The people building a playlist under its title, the picture of
 * whoever added each track, the people window, and the invitation. */
.pc-by { display: inline-flex; align-items: center; gap: 10px; padding: 2px 8px 2px 2px; margin-left: -2px; border-radius: 999px; color: var(--text); transition: background .15s; min-width: 0; }
.pc-by:hover { background: rgba(255, 255, 255, .08); }
.pc-by b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-faces { display: inline-flex; flex: none; }
.pc-faces .pc-face { border-radius: 50%; box-shadow: 0 0 0 2px var(--ground); }
.pc-faces .pc-face + .pc-face { margin-left: -8px; }
.pc-who { display: inline-grid; flex: none; }
.pc-who img, .pc-who .ph { border-radius: 50%; }

.pc-banner-wrap { padding-top: 18px; padding-bottom: 0; }
.pc-banner { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--s1); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red-hi) 30%, transparent); animation: pickIn .4s cubic-bezier(.2, .8, .2, 1) both; }
.pc-banner-av { border-radius: 50%; }
.pc-banner p { flex: 1; min-width: 0; margin: 0; font-size: 14px; line-height: 1.4; }
.pc-banner p span { display: block; font-size: 13px; color: var(--dim); }
.pc-banner-acts { display: flex; gap: 8px; flex: none; }
.pc-banner-acts .btn { min-width: 96px; justify-content: center; }
.pc-pending { padding-bottom: 6px; margin-top: -10px; }
.pc-pending button { font-size: 13px; color: var(--dim); }
.pc-pending button:hover { color: var(--text); text-decoration: underline; }

.pc-cover { display: block; }
.pc-noart { display: grid; place-items: center; background: var(--s2); color: var(--dimmer); }
.pc-noart svg { width: 40px; height: 40px; }
.pc-card .rq-title a:hover { text-decoration: underline; }
.pc-open { color: var(--text); font-weight: 600; text-decoration: underline; margin-left: 4px; }

.pc-m { display: flex; flex-direction: column; max-height: min(640px, calc(100dvh - 32px)); }
.pc-list { list-style: none; margin: 0 -8px; padding: 0; overflow-x: hidden; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; min-height: 0; }
.pc-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border-radius: 8px; text-align: left; }
.pc-person { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.pc-person img, .pc-person .ph { border-radius: 50%; }
.pc-person > span { display: flex; flex-direction: column; min-width: 0; }
.pc-person b, .pc-person > span > span { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-person i { font-style: normal; font-size: 12.5px; color: var(--dim); }
a.pc-person:hover b, a.pc-person:hover > span > span { text-decoration: underline; }
.pc-x { flex: none; color: var(--dim); }
.pc-x:hover { color: #ff8a80; }
.pc-invite, .pc-leave { align-self: flex-start; margin-top: 14px; }
.pc-leave:hover { border-color: #e5484d; color: #ff8a80; }

.pc-search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 12px; border-radius: 8px; background: var(--panel); border: 1px solid var(--s3); color: var(--dim); transition: border-color .15s; flex: none; }
.pc-search:focus-within { border-color: var(--dim); }
.pc-search > svg { width: 18px; height: 18px; flex: none; }
.pc-search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; color: var(--text); font-size: 14.5px; }
.pc-search .ibtn { width: 30px; height: 30px; }
.pc-search .ibtn svg { width: 16px; height: 16px; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; flex: none; }
.pc-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px 0 4px; border-radius: 999px; background: var(--s2); font-size: 13px; font-weight: 600; animation: pickIn .2s both; }
.pc-chip img, .pc-chip .ph { border-radius: 50%; }
.pc-chip svg { color: var(--dim); }
.pc-chip:hover svg { color: var(--text); }
.pc-cap { margin: 14px 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--dimmer); }
.pc-pick { margin-top: 8px; min-height: 120px; max-height: 340px; }
.pc-opt { transition: background .12s; }
.pc-opt:hover:not(:disabled) { background: var(--s2); }
.pc-opt:disabled { cursor: default; }
.pc-opt.off .pc-person { opacity: .55; }
.pc-tick { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--dimmer); color: transparent; transition: background .12s, box-shadow .12s, color .12s; }
.pc-tick svg { width: 14px; height: 14px; stroke-width: 2.6; }
.pc-opt.on .pc-tick { background: var(--red-hi); box-shadow: none; color: #fff; }
.pc-wait, .pc-none { padding: 22px 0; text-align: center; font-size: 13.5px; color: var(--dim); }
.pc-m .em-row { margin-top: 14px; flex: none; }

@media (max-width: 640px) {
  .pc-banner { flex-wrap: wrap; }
  .pc-banner p { flex-basis: calc(100% - 50px); }
  .pc-banner-acts { width: 100%; }
  .pc-banner-acts .btn { flex: 1; height: 40px; }
  .pc-m .em-row { flex-direction: column; align-items: stretch; }
  .pc-m .em-row .btn { height: 44px; justify-content: center; }
}
.face { border-radius: 50%; object-fit: cover; flex: none; display: block; background: var(--s2); }
.face.ini { display: grid; place-items: center; color: rgba(255, 255, 255, .92); font-weight: 700; line-height: 1; user-select: none; }
.tr .end .pc-who { margin: 0 2px 0 0; }

/* ------------------------------------------------- installing the app (pwa.js) */
.pwa-btn { gap: 6px; color: var(--text); }
.pwa-btn svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .pwa-btn { display: none; } }

.pwa-hint { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 12px 8px 12px 14px; border-radius: var(--r-lg); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); animation: pickIn .4s cubic-bezier(.2, .8, .2, 1) both; }
.pwa-hint-ic { width: 40px; height: 40px; flex: none; border-radius: 10px; background: #000; display: grid; place-items: center; }
.pwa-hint-ic svg { width: 26px; height: 26px; }
.pwa-hint p { flex: 1; min-width: 0; margin: 0; font-size: 13px; color: var(--dim); line-height: 1.35; }
.pwa-hint p b { display: block; font-size: 14px; color: var(--text); }
.pwa-hint .btn { flex: none; }

.pwa-scrim { align-items: end; }
@media (min-width: 641px) { .pwa-scrim { align-items: center; } }
.pwa-how { text-align: left; }
.pwa-icon { display: block; width: 56px; height: 56px; border-radius: 13px; margin-bottom: 14px; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.pwa-how h2 { font-size: 22px; margin-bottom: 16px; text-wrap: balance; }
.pwa-steps { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pwa-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.pwa-n { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--s2); font-size: 12.5px; font-weight: 700; margin-top: -1px; }
.pwa-glyph { display: inline-grid; place-items: center; width: 26px; height: 26px; margin: 0 5px; vertical-align: middle; border-radius: 7px; background: var(--s2); color: #4ea1ff; }
.pwa-glyph svg { width: 16px; height: 16px; }
.pwa-note { margin: 0 0 18px; font-size: 13px; color: var(--dim); }

/* Inside the installed app: no switch to the website (it would open inside
   the app window with no way back), and nothing offering to install. */
@media (display-mode: standalone) {
  .topbar .msw { display: none; }
}

/* "Block Lxvz?" (0109): what they lose, one line each, then the rest quietly. */
.blk { display: grid; gap: 12px; }
.blk-l { display: grid; gap: 10px; }
.blk-l > span { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 14px; }
.blk-l svg { width: 18px; height: 18px; flex: none; color: var(--dim); }
.blk-f { font-size: 13px; color: var(--dimmer); line-height: 1.5; }

/* Settings -> Blocked accounts. */
.blk-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.blk-row + .blk-row { border-top: 1px solid var(--line); }
.blk-row .who { flex: 1; min-width: 0; }
.blk-row .who b, .blk-row .who span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blk-row .who span { font-size: 13px; color: var(--dim); }

/* Under a takedown notice: Dispute, or where a dispute stands (0110). */
.dp-line { font-size: 13px; color: var(--dim); margin: 6px 0 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dp-line a { color: var(--text); text-decoration: underline; }
.dp { display: grid; gap: 8px; justify-items: start; margin-top: 4px; cursor: default; }
.dp-form { justify-items: stretch; background: var(--s1); border-radius: 8px; padding: 12px; gap: 10px; }
.dp-form .chips { padding: 0; flex-wrap: wrap; }
.dp-form textarea { width: 100%; resize: vertical; font: inherit; font-size: 14px; color: var(--text); background: var(--s2); border: 1px solid var(--line); border-radius: 6px; padding: 10px; }
.dp-sure { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text); }
.dp-sure input { margin-top: 2px; accent-color: var(--red-hi); }
.dp-acts { display: flex; justify-content: flex-end; gap: 8px; }

/* The upload start page, when a second strike has paused uploading. */
.up-paused { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); margin: 0 0 18px; }
.up-paused span { font-size: 13.5px; color: var(--dim); }

/* "Also on": the platforms a song or release is on too (listen.js, 0112).
   One button in the page's button row -- the first logos stacked -- and a
   short menu (a sheet from the bottom on a phone). Only the logos carry the
   platforms' colours, as the platforms ask. */
.ao-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 6px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--s3); color: var(--text); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: background .15s, box-shadow .15s; }
.ao-btn:hover, .ao-btn.on { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px #5a5a5a; }
.ao-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.ao-btn > svg:last-child { color: var(--dim); transition: transform .15s; }
.ao-btn.on > svg:last-child { transform: rotate(180deg); }
.ao-stack { display: inline-flex; }
.ao-dot { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--s2); box-shadow: 0 0 0 2px var(--s1); color: var(--brand, var(--dim)); }
.ao-stack .ao-dot + .ao-dot { margin-left: -5px; }
.ao-ic { display: inline-grid; place-items: center; flex: none; color: var(--brand, var(--dim)); }
.ao-menu, .ao-sheet { position: fixed; z-index: 75; background: #262626; padding: 4px; box-shadow: 0 16px 40px rgba(0,0,0,.6); }
.ao-menu { width: 240px; border-radius: 8px; animation: ao-pop .12s ease-out; }
.ao-mh { padding: 8px 12px 4px; font-size: 12px; color: var(--dimmer); font-family: var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.ao-menu a, .ao-sheet a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 5px; font-size: 14px; color: #eee; }
.ao-menu a b, .ao-sheet a b { flex: 1; font-weight: 600; }
.ao-menu a > svg:last-child, .ao-sheet a > svg:last-child { color: var(--dimmer); }
.ao-menu a:hover, .ao-menu a:focus-visible, .ao-sheet a:active { background: #343434; outline: none; }
.ao-scrim { position: fixed; inset: 0; z-index: 74; background: rgba(0,0,0,.5); animation: ao-fade .15s ease-out; }
.ao-sheet { left: 0; right: 0; bottom: 0; border-radius: 14px 14px 0 0; padding: 6px 8px calc(14px + env(safe-area-inset-bottom)); animation: ao-up .2s ease-out; }
.ao-sheet a { padding: 13px 12px; font-size: 15px; }
.ao-grab { display: block; width: 36px; height: 4px; border-radius: 2px; background: #555; margin: 4px auto 6px; }
@keyframes ao-up { from { transform: translateY(100%); } }
@keyframes ao-fade { from { opacity: 0; } }
@keyframes ao-pop { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 420px) { .ao-btn .ao-t { display: none; } .ao-btn { padding: 0 8px 0 6px; gap: 6px; } }
:root[data-theme="light"] .ao-btn:hover, :root[data-theme="light"] .ao-btn.on { background: rgba(22,18,18,.05); box-shadow: inset 0 0 0 1px #c9c2c1; }
:root[data-theme="light"] :is(.ao-menu, .ao-sheet) { background: #fff; box-shadow: 0 18px 50px rgba(30,20,20,.18), 0 0 0 1px #E4DFDE; }
:root[data-theme="light"] :is(.ao-menu, .ao-sheet) a { color: #221c1c; }
:root[data-theme="light"] .ao-menu a:hover, :root[data-theme="light"] .ao-menu a:focus-visible, :root[data-theme="light"] .ao-sheet a:active { background: #F3EFEE; }
:root[data-theme="light"] .ao-grab { background: #d6d0cf; }

/* The editor: the links added, one box to paste the next, and which
   platforms are possible (lit once added). */
.ao-ed { display: flex; flex-direction: column; gap: 10px; }
.ao-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ao-list li { display: flex; align-items: center; gap: 12px; padding: 8px 6px 8px 12px; border-radius: 8px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); }
.ao-li { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.ao-li b { font-size: 14px; font-weight: 600; }
.ao-li a { font-size: 12.5px; color: var(--dimmer); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ao-li a:hover { color: var(--text); text-decoration: underline; }
.ao-list .ibtn { color: var(--dimmer); width: 34px; height: 34px; }
.ao-list .ibtn:hover { color: var(--text); }
.ao-add { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 3px 4px 3px 12px; border-radius: 8px; background: var(--panel); border: 1px solid var(--s3); transition: border-color .15s; }
.ao-add:focus-within { border-color: #6a6a6a; }
.ao-add.bad { border-color: #b2433f; }
.ao-add input { flex: 1; min-width: 0; min-height: 38px; border: 0; background: none; outline: none; color: var(--text); font: inherit; padding: 0 2px; }
.ao-add .btn { flex: none; }
.ao-avail { display: flex; flex-wrap: wrap; gap: 10px; padding: 2px 2px 0; }
.ao-avail span { display: inline-grid; place-items: center; color: var(--dimmer); opacity: .55; transition: color .15s, opacity .15s; }
.ao-avail span.on { color: var(--brand); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ao-menu, .ao-sheet, .ao-scrim { animation: none; } .ao-btn > svg:last-child { transition: none; } }

/* ------------------------------------------------------------- Halloween
   halloween.js puts .halloween on the page from 17 October to 1 November
   2026: a cobweb in the sidebar's corner with a spider hanging from it
   (in the main panel's corner on a phone), and the ghost that floats up
   from a like. Delete this block with halloween.js to retire it. */
.halloween .snav { position: relative; }
.halloween .snav::before { content: ""; position: absolute; top: 0; right: 0; width: 112px; height: 112px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M120 0L120.0 126.0M120 0L81.1 119.8M120 0L45.9 101.9M120 0L18.1 74.1M120 0L0.2 38.9M120 0L-6.0 0.0M120.0 18.0Q117.6 15.3 114.4 17.1M114.4 17.1Q113.0 13.8 109.4 14.6M109.4 14.6Q109.1 10.9 105.4 10.6M105.4 10.6Q106.2 7.0 102.9 5.6M102.9 5.6Q104.7 2.4 102.0 0.0M120.0 34.0Q115.4 28.9 109.5 32.3M109.5 32.3Q106.7 26.1 100.0 27.5M100.0 27.5Q99.3 20.7 92.5 20.0M92.5 20.0Q93.9 13.3 87.7 10.5M87.7 10.5Q91.1 4.6 86.0 0.0M120.0 52.0Q113.0 44.2 103.9 49.5M103.9 49.5Q99.7 39.8 89.4 42.1M89.4 42.1Q88.4 31.6 77.9 30.6M77.9 30.6Q80.2 20.3 70.5 16.1M70.5 16.1Q75.8 7.0 68.0 0.0M120.0 72.0Q110.3 61.2 97.8 68.5M97.8 68.5Q91.9 55.2 77.7 58.2M77.7 58.2Q76.2 43.8 61.8 42.3M61.8 42.3Q64.8 28.1 51.5 22.2M51.5 22.2Q58.8 9.7 48.0 0.0M120.0 94.0Q107.4 79.8 91.0 89.4M91.0 89.4Q83.3 72.0 64.7 76.0M64.7 76.0Q62.8 57.2 44.0 55.3M44.0 55.3Q48.0 36.7 30.6 29.0M30.6 29.0Q40.2 12.6 26.0 0.0M120.0 116.0Q104.4 98.5 84.2 110.3M84.2 110.3Q74.7 88.9 51.8 93.8M51.8 93.8Q49.5 70.5 26.2 68.2M26.2 68.2Q31.1 45.3 9.7 35.8M9.7 35.8Q21.5 15.6 4.0 0.0' fill='none' stroke='%239a908e' stroke-width='.7' stroke-linecap='round'/%3E%3C/svg%3E") top right / contain no-repeat; opacity: .38; pointer-events: none; border-top-right-radius: var(--r-lg); }
.halloween .snav::after { content: ""; position: absolute; top: 0; right: 46px; width: 16px; height: 58px; pointer-events: none; opacity: .75;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%239a908e' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M9.5 11 5 8 3 9.5M9.5 12.5 4.5 12 2.5 14M10 14 6 16.5 5 19.5M10.5 15 8.5 19 9 21.5M14.5 11 19 8 21 9.5M14.5 12.5 19.5 12 21.5 14M14 14 18 16.5 19 19.5M13.5 15 15.5 19 15 21.5'/%3E%3C/g%3E%3Cellipse cx='12' cy='14.5' rx='3.2' ry='4' fill='%239a908e'/%3E%3Ccircle cx='12' cy='9.6' r='2.2' fill='%239a908e'/%3E%3C/svg%3E") bottom center / 16px 16px no-repeat, linear-gradient(#9a908e, #9a908e) top center / 1px calc(100% - 12px) no-repeat;
  animation: hw-dangle 5.5s ease-in-out infinite alternate; transform-origin: top center; }
@keyframes hw-dangle { 0% { height: 52px; transform: rotate(2deg); } 50% { transform: rotate(-2deg); } 100% { height: 66px; transform: rotate(1deg); } }
@media (max-width: 980px) {
  .halloween .snav::before { width: 56px; height: 56px; }
  .halloween .snav::after { display: none; }
}
@media (max-width: 760px) {
  .halloween .main::before { content: ""; position: absolute; top: 0; left: 0; z-index: 0; width: 62px; height: 62px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M120 0L120.0 126.0M120 0L81.1 119.8M120 0L45.9 101.9M120 0L18.1 74.1M120 0L0.2 38.9M120 0L-6.0 0.0M120.0 18.0Q117.6 15.3 114.4 17.1M114.4 17.1Q113.0 13.8 109.4 14.6M109.4 14.6Q109.1 10.9 105.4 10.6M105.4 10.6Q106.2 7.0 102.9 5.6M102.9 5.6Q104.7 2.4 102.0 0.0M120.0 34.0Q115.4 28.9 109.5 32.3M109.5 32.3Q106.7 26.1 100.0 27.5M100.0 27.5Q99.3 20.7 92.5 20.0M92.5 20.0Q93.9 13.3 87.7 10.5M87.7 10.5Q91.1 4.6 86.0 0.0M120.0 52.0Q113.0 44.2 103.9 49.5M103.9 49.5Q99.7 39.8 89.4 42.1M89.4 42.1Q88.4 31.6 77.9 30.6M77.9 30.6Q80.2 20.3 70.5 16.1M70.5 16.1Q75.8 7.0 68.0 0.0M120.0 72.0Q110.3 61.2 97.8 68.5M97.8 68.5Q91.9 55.2 77.7 58.2M77.7 58.2Q76.2 43.8 61.8 42.3M61.8 42.3Q64.8 28.1 51.5 22.2M51.5 22.2Q58.8 9.7 48.0 0.0M120.0 94.0Q107.4 79.8 91.0 89.4M91.0 89.4Q83.3 72.0 64.7 76.0M64.7 76.0Q62.8 57.2 44.0 55.3M44.0 55.3Q48.0 36.7 30.6 29.0M30.6 29.0Q40.2 12.6 26.0 0.0M120.0 116.0Q104.4 98.5 84.2 110.3M84.2 110.3Q74.7 88.9 51.8 93.8M51.8 93.8Q49.5 70.5 26.2 68.2M26.2 68.2Q31.1 45.3 9.7 35.8M9.7 35.8Q21.5 15.6 4.0 0.0' fill='none' stroke='%239a908e' stroke-width='.7' stroke-linecap='round'/%3E%3C/svg%3E") top right / contain no-repeat; transform: scaleX(-1); opacity: .32; pointer-events: none; }
}
.hw-ghost { position: fixed; z-index: 90; pointer-events: none; transform: translate(-50%, -50%); animation: hw-rise 1.5s cubic-bezier(.2,.7,.3,1) forwards; filter: drop-shadow(0 3px 8px rgba(0,0,0,.45)); }
.hw-sway { animation: hw-sway .75s ease-in-out infinite alternate; }
.hw-ghost svg { display: block; }
@keyframes hw-rise {
  0% { opacity: 0; transform: translate(-50%, -30%) scale(.35); }
  18% { opacity: .96; transform: translate(-50%, -70%) scale(1); }
  70% { opacity: .9; }
  100% { opacity: 0; transform: translate(-50%, -260%) scale(.92); }
}
@keyframes hw-sway { from { transform: translateX(-5px) rotate(-7deg); } to { transform: translateX(5px) rotate(7deg); } }
@media (prefers-reduced-motion: reduce) { .halloween .snav::after { animation: none; } .hw-ghost { display: none; } }

/* "Also on" on the upload page (listen.js AlsoOnUpload): folded to one line. */
.ao-up { padding-top: 0; padding-bottom: 0; }
.ao-up-h { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 0; text-align: left; }
.ao-up-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ao-up-t b { font-family: var(--f-display); font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.ao-up-t i { font-style: normal; font-size: 13px; color: var(--dimmer); }
.ao-up-logos { display: inline-flex; gap: 8px; }
.ao-up-logos span { display: inline-grid; place-items: center; color: var(--brand); opacity: .8; }
.ao-up-h > svg:last-child { color: var(--dim); flex: none; transition: transform .15s; }
.ao-up-h[aria-expanded="true"] > svg:last-child { transform: rotate(180deg); }
.ao-up-h:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; border-radius: 6px; }
.ao-up-b { padding: 0 0 18px; }
@media (max-width: 520px) { .ao-up-logos { display: none; } }

/* ------------------------------------------------------------ closing
   exit.js keeps a closed pop-up on screen for a moment with .leaving, and
   these play it out: about three quarters as long as its way in, easing
   away. Nothing on it can be pressed while it goes. */
.leaving { pointer-events: none !important; }
.scrim.leaving, .ao-scrim.leaving { animation: x-fade .16s ease-in forwards; }
.ao-scrim.leaving { animation-duration: .19s; }
.scrim.leaving .modal { animation: x-sink .16s ease-in forwards; }
.menu.leaving, .ao-menu.leaving, .early-pop.leaving { animation: x-sink .11s ease-in forwards; }
.ao-sheet.leaving { animation: x-down .19s cubic-bezier(.4, 0, 1, 1) forwards; }
.npfull.leaving { animation: x-down .24s cubic-bezier(.4, 0, 1, 1) forwards; }
.toast.leaving { animation: x-toast .15s ease-in forwards; }
@keyframes x-fade { to { opacity: 0; } }
@keyframes x-sink { to { opacity: 0; transform: translateY(6px) scale(.97); } }
@keyframes x-down { to { transform: translateY(100%); } }
@keyframes x-toast { to { opacity: 0; transform: translate(-50%, 8px); } }
