/* =============================== Upload a beat =============================
   Producer upload studio: numbered cards on the left (files, details,
   licenses, rights), a sticky live preview + checklist on the right. */
.up-page{
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --line: rgba(255,255,255,0.09);
  max-width:1180px; margin:0 auto; padding:120px 20px 100px;
}
.up-head{ margin-bottom:28px; }
.up-back{ display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:600; color:var(--text-secondary); text-decoration:none; transition:color 150ms ease; }
.up-back svg{ width:14px; height:14px; }
@media (hover:hover) and (pointer:fine){ .up-back:hover{ color:var(--amber-text); } }
.up-title{ margin:14px 0 0; font-family:var(--font-display); font-size:clamp(28px, 4vw, 40px); line-height:1.1; }
.up-sub{ margin:10px 0 0; max-width:560px; font-size:15.5px; line-height:1.6; color:var(--text-secondary); }

.up-layout{ display:grid; grid-template-columns:minmax(0, 1fr) 320px; gap:22px; align-items:start; }
.up-main{ display:flex; flex-direction:column; gap:16px; min-width:0; }

/* Cards */
.up-card{ padding:22px; border-radius:16px; border:1px solid var(--line); background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)), var(--panel); }
.up-card-head{ display:flex; align-items:flex-start; gap:14px; margin-bottom:18px; }
.up-card-head h2{ margin:2px 0 0; font-family:var(--font-sans); font-size:18px; font-weight:700; color:#fff; }
.up-card-head p{ margin:4px 0 0; font-size:14px; color:var(--text-secondary); }
.up-step{ width:30px; height:30px; flex-shrink:0; display:flex; align-items:center; justify-content:center; border-radius:9px; border:1px solid rgba(232,134,44,0.45); background:rgba(232,134,44,0.08); color:var(--amber-text); font-family:var(--font-display); font-size:13px; font-weight:700; }
.up-group-title{ display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; margin:22px 0 10px; font-family:var(--font-sans); font-size:14px; font-weight:700; color:#fff; }
.up-group-title span{ font-size:13px; font-weight:500; color:var(--text-muted); }

/* File rows */
.up-files{ display:flex; flex-direction:column; gap:8px; }
.up-file{
  position:relative; display:grid; grid-template-columns:auto minmax(0, 1fr) auto; align-items:center; gap:14px;
  min-height:64px; padding:10px 12px; border-radius:12px; border:1px dashed rgba(255,255,255,0.14); background:rgba(255,255,255,0.015);
  transition:border-color 150ms ease, background-color 150ms ease;
}
.up-file.is-drag{ border-color:var(--accent); border-style:solid; background:rgba(232,134,44,0.08); }
.up-file.is-done{ border-style:solid; border-color:rgba(76,201,122,0.35); background:rgba(76,201,122,0.04); }
.up-file.is-error{ border-color:rgba(255,99,71,0.5); }
.up-file-icon{ width:42px; height:42px; display:flex; align-items:center; justify-content:center; border-radius:10px; border:1px solid var(--line); background:rgba(255,255,255,0.03); color:var(--text-secondary); font-family:var(--font-sans); font-size:11px; font-weight:800; letter-spacing:0.5px; }
.up-file-icon svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.up-file-text{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.up-file-text b{ font-size:14.5px; font-weight:700; color:#fff; }
.up-file-text b em{ margin-left:6px; font-style:normal; font-size:11px; font-weight:700; letter-spacing:0.4px; color:var(--amber-text); }
.up-file-text small{ font-size:13px; color:var(--text-muted); }
.up-file-ctrl{ display:flex; align-items:center; gap:10px; justify-content:flex-end; min-width:0; }
.up-file-err{ font-size:12.5px; color:#ff8a70; text-align:right; }

.up-art-thumb{ position:relative; width:64px; height:64px; border-radius:10px; overflow:hidden; display:flex; align-items:center; justify-content:center; border:1px solid var(--line); background:#090908; color:var(--text-muted); }
.up-art-thumb svg{ width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.up-art-thumb img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.up-file-art{ min-height:84px; }

.up-btn{
  height:34px; display:inline-flex; align-items:center; gap:7px; padding:0 13px; border-radius:9px; white-space:nowrap;
  border:1px solid rgba(232,134,44,0.5); background:rgba(232,134,44,0.1); color:var(--amber-text);
  font-family:var(--font-sans); font-size:13px; font-weight:600; cursor:pointer;
  transition:border-color 150ms ease, background-color 150ms ease, transform 160ms var(--ease-out);
}
.up-btn svg{ width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.up-btn:active{ transform:scale(0.96); }
.up-btn-ghost{ border-color:var(--line); background:transparent; color:var(--text-secondary); }
@media (hover:hover) and (pointer:fine){
  .up-btn:hover{ border-color:var(--accent); background:rgba(232,134,44,0.18); }
  .up-btn-ghost:hover{ border-color:var(--border-strong); background:rgba(255,255,255,0.04); color:var(--text); }
}

.up-progress{ display:grid; grid-template-columns:minmax(0, 1fr) auto; grid-template-rows:auto auto; gap:6px 10px; width:220px; }
.up-progress-name{ grid-column:1; font-size:12.5px; color:var(--text-secondary); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.up-progress-pct{ grid-column:2; grid-row:1; font-size:12.5px; font-weight:700; color:var(--amber-text); font-variant-numeric:tabular-nums; }
.up-progress-track{ grid-column:1 / -1; height:4px; border-radius:2px; background:rgba(255,255,255,0.08); overflow:hidden; }
.up-progress-fill{ display:block; height:100%; background:var(--accent); transform-origin:left; transform:scaleX(0); transition:transform 200ms linear; }

.up-file-done{ display:flex; align-items:center; gap:10px; min-width:0; max-width:240px; }
.up-file-done svg{ width:22px; height:22px; flex-shrink:0; padding:4px; border-radius:50%; background:rgb(76,201,122); fill:none; stroke:#0a0a09; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; animation:upPop 300ms var(--ease-out) both; }
@keyframes upPop{ from{ transform:scale(0.5); opacity:0; } to{ transform:none; opacity:1; } }
.up-file-done span{ display:flex; flex-direction:column; min-width:0; }
.up-file-done b{ font-size:13px; font-weight:600; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.up-file-done small{ font-size:12px; color:var(--text-muted); }

/* Details */
.up-grid{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:14px; }
.up-field{ grid-column:span 2; display:flex; flex-direction:column; gap:7px; min-width:0; }
.up-field-s{ grid-column:span 1; }
.up-field-wide{ grid-column:1 / -1; }
.up-field > span{ font-size:13px; font-weight:600; color:var(--text-secondary); }
.up-field > span i{ margin-left:6px; font-style:normal; font-weight:500; color:var(--text-muted); }
.up-field input, .up-field select, .up-field textarea{
  width:100%; height:42px; padding:0 12px; border-radius:10px; border:1px solid rgba(255,255,255,0.12); background:#0a0a09;
  color:var(--text); font-family:var(--font-sans); font-size:14.5px; outline:none; transition:border-color 150ms ease, box-shadow 150ms ease;
}
.up-field textarea{ height:auto; padding:10px 12px; line-height:1.5; resize:vertical; }
.up-field select{ appearance:none; padding-right:32px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%238a877e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 10px center; background-size:16px; }
.up-field input::placeholder, .up-field textarea::placeholder{ color:var(--text-muted); }
.up-field input:focus, .up-field select:focus, .up-field textarea:focus{ border-color:var(--accent); box-shadow:0 0 0 3px rgba(232,134,44,0.15); }
.up-field input[type=number]{ -moz-appearance:textfield; appearance:textfield; }
.up-field input::-webkit-outer-spin-button, .up-field input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

/* Licenses */
.up-tiers{ display:flex; flex-direction:column; gap:8px; }
.up-tier{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 14px; border-radius:12px; border:1px solid var(--line); transition:border-color 150ms ease, background-color 150ms ease, opacity 150ms ease; }
.up-tier.is-on{ border-color:rgba(232,134,44,0.5); background:rgba(232,134,44,0.05); }
.up-tier.is-locked{ opacity:0.6; }
.up-switch{ display:flex; align-items:center; gap:14px; cursor:pointer; min-width:0; }
.up-tier.is-locked .up-switch{ cursor:not-allowed; }
.up-switch input{ position:absolute; opacity:0; pointer-events:none; }
.up-switch-ui{ position:relative; width:38px; height:22px; flex-shrink:0; border-radius:11px; background:rgba(255,255,255,0.14); transition:background-color 200ms ease; }
.up-switch-ui::after{ content:''; position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:#fff; transition:transform 200ms var(--ease-out); }
.up-switch input:checked + .up-switch-ui{ background:var(--accent); }
.up-switch input:checked + .up-switch-ui::after{ transform:translateX(16px); }
.up-switch input:focus-visible + .up-switch-ui{ outline:2px solid var(--accent); outline-offset:2px; }
.up-tier-text{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.up-tier-text b{ font-size:14.5px; font-weight:700; color:#fff; }
.up-tier-text b em{ margin-left:6px; font-style:normal; font-size:11px; font-weight:700; color:var(--amber-text); }
.up-tier-text small{ font-size:12.5px; color:var(--text-muted); }
.up-tier-lock{ color:var(--text-secondary) !important; }
.up-price{ position:relative; flex-shrink:0; }
.up-price-cur{ position:absolute; left:11px; top:50%; transform:translateY(-50%); font-size:14px; font-weight:600; color:var(--text-muted); pointer-events:none; }
.up-price input{
  width:118px; height:38px; padding:0 10px 0 26px; border-radius:9px; border:1px solid rgba(255,255,255,0.12); background:#0a0a09;
  color:var(--text); font-family:var(--font-sans); font-size:14.5px; font-weight:600; font-variant-numeric:tabular-nums; outline:none;
  -moz-appearance:textfield; appearance:textfield; transition:border-color 150ms ease, opacity 150ms ease;
}
.up-price input::-webkit-outer-spin-button, .up-price input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.up-price input:disabled{ opacity:0.4; }
.up-price input:focus{ border-color:var(--accent); }

/* Rights */
.up-check{ display:flex; align-items:flex-start; gap:12px; cursor:pointer; font-size:14.5px; line-height:1.55; color:var(--text-secondary); }
.up-check input{ position:absolute; opacity:0; pointer-events:none; }
.up-check-box{ width:20px; height:20px; flex-shrink:0; margin-top:2px; border-radius:6px; border:1.5px solid rgba(255,255,255,0.3); display:flex; align-items:center; justify-content:center; transition:background-color 150ms ease, border-color 150ms ease; }
.up-check-box svg{ width:12px; height:12px; fill:none; stroke:#0a0a09; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; opacity:0; transform:scale(0.5); transition:opacity 150ms ease, transform 200ms var(--ease-out); }
.up-check input:checked + .up-check-box{ background:var(--accent); border-color:var(--accent); }
.up-check input:checked + .up-check-box svg{ opacity:1; transform:none; }
.up-check input:focus-visible + .up-check-box{ outline:2px solid var(--accent); outline-offset:2px; }

/* Sidebar */
.up-side{ position:sticky; top:100px; display:flex; flex-direction:column; gap:14px; }
.up-preview{ border-radius:16px; overflow:hidden; border:1px solid var(--line); background:var(--panel); }
.up-preview-cover{ position:relative; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; background:radial-gradient(120% 90% at 18% 12%, rgba(232,134,44,0.55), rgba(232,134,44,0.12) 40%, transparent 65%), linear-gradient(160deg, #141210, #050504); }
.up-preview-cover img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; animation:upFade 300ms ease both; }
@keyframes upFade{ from{ opacity:0; } to{ opacity:1; } }
.up-preview-empty{ font-size:13px; font-weight:600; letter-spacing:0.4px; color:rgba(255,255,255,0.45); }
.up-preview-cover.has-art .up-preview-empty{ display:none; }
.up-preview-body{ padding:14px 16px 16px; display:flex; flex-direction:column; gap:4px; }
.up-preview-title{ font-family:var(--font-display); font-size:17px; font-weight:700; color:#fff; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.up-preview-producer{ font-size:14px; color:var(--text-secondary); }
.up-preview-chips{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; min-height:0; }
.up-preview-chips span{ height:26px; display:inline-flex; align-items:center; padding:0 9px; border-radius:7px; border:1px solid var(--line); font-size:12.5px; font-weight:600; color:var(--text-secondary); }
.up-preview-price{ display:flex; align-items:baseline; gap:8px; margin-top:12px; padding-top:12px; border-top:1px solid var(--line); }
.up-preview-price small{ font-size:12.5px; color:var(--text-muted); }
.up-preview-price b{ font-family:var(--font-display); font-size:20px; color:#fff; }

.up-checklist{ list-style:none; margin:0; padding:14px 16px; display:flex; flex-direction:column; gap:10px; border-radius:14px; border:1px solid var(--line); }
.up-checklist li{ display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--text-muted); transition:color 150ms ease; }
.up-checklist li::before{ content:''; width:16px; height:16px; flex-shrink:0; border-radius:50%; border:1.5px solid rgba(255,255,255,0.22); transition:background-color 150ms ease, border-color 150ms ease; }
.up-checklist li.is-ok{ color:var(--text); }
.up-checklist li.is-ok::before{ border-color:rgb(76,201,122); background:rgb(76,201,122) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.4' fill='none' stroke='%230a0a09' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.up-error{ margin:0; padding:10px 12px; border-radius:10px; border:1px solid rgba(255,99,71,0.4); background:rgba(255,99,71,0.08); font-size:13.5px; color:#ffb4a3; }
.up-submit{ width:100%; height:50px; }
.up-submit:disabled{ opacity:0.45; cursor:not-allowed; }

/* Gate + done */
.up-gate, .up-done{ max-width:560px; margin:10px auto 0; padding:36px 28px; text-align:center; border-radius:18px; border:1px solid var(--line); background:var(--panel); }
.up-gate h2, .up-done h2{ margin:0; font-family:var(--font-sans); font-size:22px; font-weight:700; color:#fff; }
.up-gate p, .up-done p{ margin:10px 0 22px; font-size:15px; line-height:1.6; color:var(--text-secondary); }
.up-done-icon{ width:56px; height:56px; margin:0 auto 16px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgb(76,201,122); animation:upPop 400ms var(--ease-out) both; }
.up-done-icon svg{ width:28px; height:28px; fill:none; stroke:#0a0a09; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
.up-done-actions{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }

@media (max-width:980px){
  .up-layout{ grid-template-columns:1fr; }
  .up-side{ position:static; order:-1; display:grid; grid-template-columns:140px minmax(0, 1fr); align-items:start; }
  .up-preview{ grid-row:span 3; }
  .up-preview-body{ display:none; }
}
@media (max-width:640px){
  .up-page{ padding-top:100px; }
  .up-card{ padding:16px; }
  .up-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; }
  .up-field{ grid-column:1 / -1; }
  .up-field-s{ grid-column:span 1; }
  .up-file{ grid-template-columns:auto minmax(0, 1fr); }
  .up-file-ctrl{ grid-column:1 / -1; justify-content:space-between; }
  .up-progress{ width:100%; }
  .up-file-done{ max-width:none; }
  .up-tier{ flex-direction:column; align-items:stretch; }
  .up-price input{ width:100%; }
  .up-side{ grid-template-columns:96px minmax(0, 1fr); gap:12px; }
  .up-field input, .up-field select, .up-field textarea, .up-price input{ font-size:16px; }
}
@media (prefers-reduced-motion: reduce){
  .up-file-done svg, .up-done-icon, .up-preview-cover img{ animation:none; }
}

/* =============================== Producer area ============================== */
.pa-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:18px; flex-wrap:wrap; margin-bottom:24px; }
.pa-stats{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; margin-bottom:16px; }
.pa-stat{ display:flex; flex-direction:column; gap:4px; padding:16px 18px; border-radius:14px; border:1px solid var(--line); background:var(--panel); }
.pa-stat b{ font-family:var(--font-display); font-size:26px; color:#fff; font-variant-numeric:tabular-nums; }
.pa-stat span{ font-size:13px; color:var(--text-muted); }
.pa-list-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.pa-list-head h2{ margin:0; font-family:var(--font-sans); font-size:18px; font-weight:700; color:#fff; }
.pa-filter{ display:flex; gap:4px; padding:3px; border-radius:10px; border:1px solid var(--line); background:#0a0a09; }
.pa-filter button{ height:32px; padding:0 12px; border-radius:7px; border:0; background:none; color:var(--text-secondary); font-family:var(--font-sans); font-size:13px; font-weight:600; cursor:pointer; transition:background-color 150ms ease, color 150ms ease; }
.pa-filter button.is-active{ background:rgba(232,134,44,0.16); color:var(--amber-text); }
@media (hover:hover) and (pointer:fine){ .pa-filter button:not(.is-active):hover{ color:var(--text); } }
.pa-list{ display:flex; flex-direction:column; }
.pa-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 4px; border-top:1px solid var(--line); }
.pa-row:first-child{ border-top:0; }
.pa-row-main{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.pa-row-title{ font-size:15px; font-weight:700; color:#fff; }
.pa-row-meta{ font-size:13px; color:var(--text-muted); }
.pa-row-note{ margin:6px 0 0; padding:8px 10px; border-radius:8px; background:rgba(255,99,71,0.08); font-size:13px; line-height:1.5; color:#ffb4a3; }
.pa-row-side{ display:flex; flex-direction:column; align-items:flex-end; gap:6px; flex-shrink:0; }
.pa-row-side small{ font-size:12px; color:var(--text-muted); }
.pa-status{ height:24px; display:inline-flex; align-items:center; padding:0 9px; border-radius:7px; font-size:12px; font-weight:700; }
.pa-status.is-pending{ background:rgba(255,255,255,0.08); color:var(--text-secondary); }
.pa-status.is-ok{ background:rgba(76,201,122,0.15); color:#7fe0a4; }
.pa-status.is-bad{ background:rgba(255,99,71,0.14); color:#ff9c86; }
.pa-none{ margin:0; padding:18px 4px; font-size:14px; color:var(--text-muted); }
.pa-skel{ height:58px; margin:6px 0; border-radius:10px; background:linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.07), rgba(255,255,255,0.03)); background-size:200% 100%; animation:paSkel 1.4s ease-in-out infinite; }
@keyframes paSkel{ to{ background-position:-200% 0; } }
.pa-empty{ text-align:center; padding:22px 10px 10px; }
.pa-empty-icon{ background:rgba(232,134,44,0.14); }
.pa-empty-icon svg{ stroke:var(--amber-text); }
.pa-empty h3{ margin:0; font-family:var(--font-sans); font-size:18px; color:#fff; }
.pa-empty p{ margin:8px auto 18px; max-width:420px; font-size:14.5px; line-height:1.6; color:var(--text-secondary); }
.pa-how{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; margin-top:16px; }
.pa-how div{ display:flex; flex-direction:column; gap:4px; padding:14px 16px; border-radius:12px; border:1px dashed rgba(255,255,255,0.12); }
.pa-how b{ font-size:14px; color:#fff; }
.pa-how span{ font-size:13px; line-height:1.5; color:var(--text-muted); }
@media (max-width:640px){
  .pa-stats{ gap:8px; }
  .pa-stat{ padding:12px; }
  .pa-stat b{ font-size:22px; }
  .pa-filter{ width:100%; overflow-x:auto; scrollbar-width:none; }
  .pa-filter button{ flex-shrink:0; }
  .pa-row{ flex-direction:column; align-items:flex-start; gap:8px; }
  .pa-row-side{ flex-direction:row; align-items:center; gap:10px; }
  .pa-how{ grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce){ .pa-skel{ animation:none; } }

/* =============================== Track review =============================== */
.rv-tabs{ width:fit-content; margin-bottom:16px; }
.rv-tabs span{ margin-left:4px; padding:1px 7px; border-radius:9px; background:var(--accent); color:#0a0a09; font-size:11.5px; }
.rv-tabs span:empty{ display:none; }
.rv-list{ display:flex; flex-direction:column; gap:14px; }
.rv-skel{ height:220px; }
.rv-top{ display:grid; grid-template-columns:150px minmax(0, 1fr); gap:20px; align-items:start; }
.rv-cover{ aspect-ratio:1/1; border-radius:12px; overflow:hidden; display:flex; align-items:center; justify-content:center; border:1px solid var(--line); background:#090908; font-size:12.5px; color:var(--text-muted); }
.rv-cover img{ width:100%; height:100%; object-fit:cover; }
.rv-info{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.rv-id{ font-size:12px; color:var(--text-muted); }
.rv-info h2{ margin:0; font-family:var(--font-display); font-size:22px; color:#fff; }
.rv-by{ margin:0; font-size:14px; color:var(--text-secondary); }
.rv-by a{ color:var(--amber-text); }
.rv-chips{ margin-top:4px; }
.rv-tags{ margin:4px 0 0; font-size:13px; color:var(--text-muted); }
.rv-audio{ width:100%; max-width:440px; height:36px; margin-top:8px; }
.rv-about{ margin:16px 0 0; font-size:14px; line-height:1.6; color:var(--text-secondary); }
.rv-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:16px; padding-top:16px; border-top:1px solid var(--line); }
.rv-grid h3{ margin:0 0 8px; font-family:var(--font-sans); font-size:13px; font-weight:700; color:var(--text-muted); }
.rv-prices, .rv-files{ display:flex; flex-direction:column; gap:6px; }
.rv-prices span{ display:flex; justify-content:space-between; font-size:14px; color:var(--text-secondary); }
.rv-prices b{ color:#fff; font-variant-numeric:tabular-nums; }
.rv-file{ display:flex; flex-direction:column; padding:8px 10px; border-radius:8px; border:1px solid var(--line); font-size:13.5px; font-weight:600; color:var(--amber-text); text-decoration:none; transition:border-color 150ms ease; }
.rv-file small{ font-weight:500; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rv-file.is-off{ color:var(--text-muted); }
@media (hover:hover) and (pointer:fine){ a.rv-file:hover{ border-color:rgba(232,134,44,0.5); } }
.rv-decide{ margin-top:16px; padding-top:16px; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:12px; }
.rv-actions{ display:flex; justify-content:flex-end; gap:10px; }
.rv-actions .btn{ min-width:140px; }
.rv-actions .btn:disabled{ opacity:0.5; }
.rv-result{ margin:16px 0 0; padding:10px 12px; border-radius:9px; font-size:13.5px; }
.rv-result.is-ok{ background:rgba(76,201,122,0.1); color:#7fe0a4; }
.rv-result.is-bad{ background:rgba(255,99,71,0.1); color:#ff9c86; }
@media (max-width:640px){
  .rv-top{ grid-template-columns:96px minmax(0, 1fr); gap:14px; }
  .rv-info h2{ font-size:18px; }
  .rv-grid{ grid-template-columns:1fr; }
  .rv-actions .btn{ flex:1; min-width:0; }
}

/* Review: custom preview player (amber, matches the store player) */
.rv-player{
  --p:0; display:flex; align-items:center; gap:12px; width:100%; max-width:460px; margin-top:10px;
  padding:6px 14px 6px 6px; border-radius:24px; border:1px solid var(--line); background:#0a0a09;
}
.rv-play{
  width:36px; height:36px; flex-shrink:0; border-radius:50%; border:0; padding:0; cursor:pointer;
  display:flex; align-items:center; justify-content:center; background:var(--accent); color:#0a0a09;
  box-shadow:0 6px 18px -6px rgba(232,134,44,0.7); transition:transform 160ms var(--ease-out), box-shadow 200ms ease;
}
.rv-play svg{ width:16px; height:16px; fill:currentColor; }
.rv-play .rv-ic-pause{ display:none; }
.rv-player.is-playing .rv-ic-play{ display:none; }
.rv-player.is-playing .rv-ic-pause{ display:block; }
.rv-player.is-playing .rv-play{ box-shadow:0 0 0 5px rgba(232,134,44,0.18), 0 6px 18px -6px rgba(232,134,44,0.7); }
.rv-play:active{ transform:scale(0.92); }
.rv-play:focus-visible, .rv-bar:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
@media (hover:hover) and (pointer:fine){ .rv-play:hover{ transform:scale(1.05); } }
.rv-time{ min-width:34px; font-size:12px; font-weight:600; color:var(--text-muted); font-variant-numeric:tabular-nums; text-align:center; }
.rv-player.is-playing .rv-time[data-cur]{ color:var(--amber-text); }
.rv-bar{ position:relative; flex:1; height:22px; cursor:pointer; touch-action:none; }
.rv-bar::before{ content:''; position:absolute; left:0; right:0; top:50%; height:4px; margin-top:-2px; border-radius:2px; background:rgba(255,255,255,0.1); }
.rv-bar-fill{ position:absolute; left:0; top:50%; height:4px; margin-top:-2px; width:100%; border-radius:2px; background:linear-gradient(90deg, #b8601c, var(--accent) 60%, #ffb347); transform-origin:left; transform:scaleX(var(--p)); }
.rv-bar-knob{
  position:absolute; top:50%; left:calc(var(--p) * 100%); width:12px; height:12px; margin:-6px 0 0 -6px; border-radius:50%;
  background:#fff; box-shadow:0 0 0 3px rgba(232,134,44,0.45); opacity:0; transform:scale(0.6); transition:opacity 150ms ease, transform 150ms var(--ease-out);
}
.rv-player.is-playing .rv-bar-knob, .rv-player.is-seeking .rv-bar-knob{ opacity:1; transform:none; }
@media (hover:hover) and (pointer:fine){ .rv-bar:hover .rv-bar-knob{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .rv-play, .rv-bar-knob{ transition:none; } }

/* Review: per-file checks */
.rv-top .rv-prices{ margin-top:10px; max-width:340px; }
.rv-files-wrap{ margin-top:18px; padding-top:16px; border-top:1px solid var(--line); }
.rv-files-wrap h3{ display:flex; align-items:baseline; gap:8px; margin:0 0 10px; font-family:var(--font-sans); font-size:15px; font-weight:700; color:#fff; }
.rv-files-wrap h3 span{ font-size:12.5px; font-weight:500; color:var(--text-muted); }
.rv-files{ display:flex; flex-direction:column; gap:8px; }
.rv-frow{ display:flex; flex-direction:column; gap:8px; padding:12px 14px; border-radius:12px; border:1px solid var(--line); background:rgba(255,255,255,0.015); }
.rv-frow.is-missing{ border-style:dashed; opacity:0.7; }
.rv-fhead{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.rv-fhead b{ font-size:14px; color:#fff; }
.rv-fmeta{ flex:1; min-width:0; font-size:12.5px; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rv-dl{ display:inline-flex; align-items:center; gap:6px; height:30px; padding:0 11px; border-radius:8px; border:1px solid var(--line); font-size:12.5px; font-weight:600; color:var(--text-secondary); text-decoration:none; transition:border-color 150ms ease, color 150ms ease; }
.rv-dl svg{ width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
@media (hover:hover) and (pointer:fine){ .rv-dl:hover{ border-color:rgba(232,134,44,0.5); color:var(--amber-text); } }
.rv-fhint{ margin:-2px 0 0; font-size:12.5px; color:var(--text-muted); }
.rv-frow .rv-player{ margin-top:0; max-width:none; }
.rv-fnote{ margin:0; font-size:13px; color:var(--text-secondary); }
.rv-fnote.is-ok{ color:#7fe0a4; }
.rv-fnote.is-bad{ color:#ff9c86; }
.rv-art{ display:flex; align-items:center; gap:14px; }
.rv-art img{ display:block; width:88px; height:88px; object-fit:cover; border-radius:8px; border:1px solid var(--line); }
.rv-peek{ align-self:flex-start; height:32px; padding:0 12px; border-radius:8px; border:1px solid rgba(232,134,44,0.5); background:rgba(232,134,44,0.08); color:var(--amber-text); font-family:var(--font-sans); font-size:13px; font-weight:600; cursor:pointer; }
@media (hover:hover) and (pointer:fine){ .rv-peek:hover{ background:rgba(232,134,44,0.16); } }
.rv-zip{ display:flex; flex-direction:column; gap:8px; }
.rv-zip-list{ list-style:none; margin:0; padding:0; max-height:240px; overflow-y:auto; border-radius:8px; border:1px solid var(--line); }
.rv-zip-list li{ display:flex; justify-content:space-between; gap:12px; padding:7px 10px; border-top:1px solid var(--line); font-size:12.5px; }
.rv-zip-list li:first-child{ border-top:0; }
.rv-zip-list span{ color:var(--text-secondary); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rv-zip-list small{ flex-shrink:0; color:var(--text-muted); font-variant-numeric:tabular-nums; }

/* Rounded buttons, like the rest of the site */
.up-btn, .rv-dl, .rv-peek, .up-dd-custom-go, .pa-filter, .pa-filter button{ border-radius:999px; }

/* Review: producer verification */
.rv-verify{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:2px; }
.rv-verify-state{ height:24px; display:inline-flex; align-items:center; gap:6px; padding:0 10px; border-radius:999px; background:rgba(255,255,255,0.07); font-size:12.5px; font-weight:600; color:var(--text-secondary); }
.rv-verify-state.is-on{ background:rgba(47,143,255,0.15); color:#8ec3ff; }
.rv-verify-state.is-on::before{ content:''; width:8px; height:8px; border-radius:50%; background:#2f8fff; box-shadow:0 0 6px rgba(47,143,255,0.7); }
.rv-verify-btn{ height:28px; padding:0 12px; border-radius:999px; border:1px solid var(--line); background:none; color:var(--text-secondary); font-family:var(--font-sans); font-size:12.5px; font-weight:600; cursor:pointer; transition:border-color 150ms ease, color 150ms ease; }
.rv-verify-btn:disabled{ opacity:0.5; }
@media (hover:hover) and (pointer:fine){ .rv-verify-btn:hover{ border-color:rgba(47,143,255,0.5); color:#f5f5f7; } }

/* Producer area: verification status next to the name */
.pa-verified{ display:inline-flex; align-items:center; gap:6px; margin-left:8px; height:22px; padding:0 9px; border-radius:999px; background:rgba(255,255,255,0.07); font-size:12px; font-weight:600; color:var(--text-secondary); vertical-align:2px; }
.pa-verified.is-on{ background:rgba(47,143,255,0.15); color:#8ec3ff; }

/* Producer area: verification request */
.pa-verify{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:16px; padding:16px 18px; border-radius:16px; border:1px solid rgba(47,143,255,0.3); background:radial-gradient(80% 140% at 0% 0%, rgba(47,143,255,0.12), transparent 60%), var(--panel); }
.pa-verify[hidden]{ display:none; }
.pa-verify > div{ display:flex; flex-direction:column; gap:4px; min-width:0; flex:1 1 260px; }
.pa-verify b{ font-size:15px; color:#fff; }
.pa-verify span{ font-size:13.5px; line-height:1.5; color:var(--text-secondary); }
.pa-verify.is-done{ flex-direction:column; align-items:flex-start; gap:4px; }
.pa-verify .btn:disabled{ opacity:0.6; cursor:default; }

/* Review: producers tab */
.rv-producer{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.rv-producer-main{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.rv-producer-main b{ font-size:16px; color:#fff; }
.rv-producer-main a{ font-size:13.5px; color:var(--amber-text); text-decoration:none; }
.rv-producer-stats{ font-size:13px; color:var(--text-muted); }
.rv-verify-ask{ height:24px; display:inline-flex; align-items:center; padding:0 10px; border-radius:999px; background:rgba(232,134,44,0.16); color:var(--amber-text); font-size:12.5px; font-weight:700; }
.pa-store-link, .rv-result a{ font-size:12.5px; font-weight:700; color:var(--amber-text); text-decoration:none; }
.pa-store-link:hover, .rv-result a:hover{ text-decoration:underline; }

/* ------------------------------ Producer payouts ----------------------------
   profile-producer.html #payouts: 80/20 split, balances, Stripe or PayPal,
   sales list. Grouped Apple-style blocks, site amber. */
.po-card{ display:flex; flex-direction:column; }
.po-head h2{ margin:0; font-family:var(--font-sans); font-size:22px; font-weight:700; letter-spacing:-0.01em; color:#f5f5f7; }
.po-split{ margin:6px 0 0; font-size:14.5px; line-height:1.5; color:#d6d6db; max-width:620px; }
.po-split b{ color:#f5b06a; font-weight:600; }
.po-stats{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px; margin-top:18px; }
.po-stat{ display:flex; flex-direction:column; gap:4px; padding:14px 16px; border-radius:14px; background:#141413; }
.po-stat span{ font-size:14px; color:#cfcfd4; }
.po-stat b{ font-family:var(--font-sans); font-size:22px; font-weight:700; letter-spacing:-0.01em; color:#f5f5f7; font-variant-numeric:tabular-nums; }
.po-stat:first-child b{ color:#f5b06a; }
.po-label{ margin-left:2px !important; }
.po-methods{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.po-method{ display:flex; flex-direction:column; gap:14px; padding:16px; border-radius:16px; background:#141413; border:1px solid transparent; transition:border-color 150ms ease; }
.po-method.is-on{ border-color:rgba(232,134,44,0.7); background:linear-gradient(180deg, rgba(232,134,44,0.08), #141413 70%); }
.po-method-top{ display:flex; align-items:flex-start; gap:12px; }
.po-method-top > div{ flex:1; display:flex; flex-direction:column; gap:2px; min-width:0; }
.po-method-top b{ font-size:15px; font-weight:600; color:#f5f5f7; }
.po-method-top small{ font-size:14px; line-height:1.4; color:#cfcfd4; }
.po-tile{ width:34px !important; height:34px !important; flex:0 0 34px !important; border-radius:9px !important; }
.po-tile .hm-ic{ width:19px; height:19px; }
.po-badge{ flex-shrink:0; height:22px; display:inline-flex; align-items:center; padding:0 8px; border-radius:11px; background:rgba(232,134,44,0.16); color:#f5b06a; font-size:11.5px; font-weight:600; }
.po-badge.is-warn{ background:rgba(255,255,255,0.08); color:#d2d2d7; }
.po-method-body{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:auto; }
.po-method-body select, .po-paypal input{
  flex:1; min-width:0; height:34px; padding:0 12px; border-radius:10px; border:1px solid rgba(255,255,255,0.12); background:#0a0a09;
  color:#f5f5f7; font-family:var(--font-sans); font-size:14px; outline:none;
}
.po-method-body select:focus, .po-paypal input:focus{ border-color:var(--accent); }
.po-muted{ font-size:14px; color:#cfcfd4; }
.po-status{ min-height:18px; margin:10px 2px 0; font-size:13px; color:#7fe0a4; }
.po-status.is-bad{ color:#ff9c86; }
.po-list{ border-radius:14px; background:#141413; overflow:hidden; }
.po-row{ position:relative; display:flex; align-items:center; gap:12px; padding:12px 16px; }
.po-row + .po-row::before{ content:''; position:absolute; top:0; left:16px; right:0; height:1px; background:rgba(255,255,255,0.07); }
.po-row-main{ flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.po-row-main b{ font-size:14.5px; font-weight:600; color:#f5f5f7; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.po-row-main small{ font-size:14px; color:#cfcfd4; }
.po-row-side{ display:flex; flex-direction:column; align-items:flex-end; gap:4px; }
.po-row-side b{ font-size:15px; font-weight:700; color:#f5f5f7; font-variant-numeric:tabular-nums; }
.po-none{ margin:0; padding:22px 16px; text-align:center; font-size:13.5px; color:#cfcfd4; }
.po-note{ margin:10px 2px 0; font-size:14px; line-height:1.5; color:#c8c8cd; }
@media (max-width:640px){
  .po-stats{ gap:8px; }
  .po-stat{ padding:12px; }
  .po-stat b{ font-size:17px; }
  .po-methods{ grid-template-columns:1fr; }
}

.up-price .up-earn{ position:absolute; right:0; top:calc(100% + 3px); font-size:11.5px; font-weight:600; color:#f5b06a; white-space:nowrap; }
.up-tier.is-on{ padding-bottom:24px; }
.up-share{ color:#f5b06a; font-weight:600; }

/* =========================== Upload page v2 ===============================
   Minimal and easier to follow: a steps bar under the title that ticks as
   each part is done, quieter cards, file groups with clear labels, file rows
   that read as one tappable line, and a calm side summary. */
.up-page .up-title{ font-family:var(--font-sans); font-size:clamp(28px, 4vw, 36px); font-weight:700; letter-spacing:-0.02em; }
.up-page .up-sub{ font-size:15px; color:#cfcfd4; max-width:560px; }
.up-steps{ list-style:none; display:flex; gap:6px; margin:20px 0 0; padding:4px; border-radius:14px; background:#141413; width:max-content; max-width:100%; overflow-x:auto; scrollbar-width:none; }
.up-steps::-webkit-scrollbar{ display:none; }
.up-steps a{ height:34px; display:flex; align-items:center; gap:8px; padding:0 14px 0 6px; border-radius:10px; color:#d6d6db; font-size:13.5px; font-weight:500; text-decoration:none; white-space:nowrap; transition:background-color 150ms ease, color 150ms ease; }
.up-steps i{ width:22px; height:22px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(255,255,255,0.08); color:#d2d2d7; font-style:normal; font-size:12px; font-weight:600; transition:background-color 200ms ease, color 200ms ease; }
.up-steps li.is-ok a{ color:#f5f5f7; }
.up-steps li.is-ok i{ background:var(--accent); color:#0a0a09; font-size:0; }
.up-steps li.is-ok i::before{ content:''; width:10px; height:6px; border:solid #0a0a09; border-width:0 0 2px 2px; transform:translateY(-1px) rotate(-45deg); }
@media (hover:hover) and (pointer:fine){ .up-steps a:hover{ background:rgba(255,255,255,0.05); color:#f5f5f7; } }

.up-page .up-card{ padding:22px; border-radius:20px; border:1px solid rgba(255,255,255,0.06); background:#121211; box-shadow:none; scroll-margin-top:100px; }
.up-page .up-card-head{ gap:12px; margin-bottom:16px; }
.up-page .up-card-head h2{ font-size:19px; font-weight:600; letter-spacing:-0.01em; }
.up-page .up-card-head p{ font-size:13.5px; color:#cfcfd4; }
.up-page .up-step{ width:28px; height:28px; border:0; border-radius:50%; background:rgba(232,134,44,0.16); color:#f5b06a; font-size:13px; font-weight:700; }
.up-page .up-group-title{ display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; margin:18px 2px 8px; font-size:13px; font-weight:600; color:#f5f5f7; }
.up-page .up-card-head + .up-group-title{ margin-top:0; }
.up-page .up-group-title span{ font-size:14px; font-weight:400; color:#cfcfd4; }
.up-page .up-files{ border-radius:14px; background:rgba(255,255,255,0.025); overflow:hidden; gap:0; }
.up-page .up-file{ position:relative; margin:0; padding:12px 14px; border:0; border-radius:0; background:none; gap:12px; transition:background-color 150ms ease; }
.up-page .up-file + .up-file::before{ content:''; position:absolute; top:0; left:62px; right:0; height:1px; background:rgba(255,255,255,0.06); }
@media (hover:hover) and (pointer:fine){ .up-page .up-file:not(.is-busy):hover{ background:rgba(255,255,255,0.03); } }
.up-page .up-file.is-drag{ background:rgba(232,134,44,0.08); box-shadow:inset 0 0 0 1.5px rgba(232,134,44,0.6); }
.up-page .up-file.is-done .up-file-icon, .up-page .up-file.is-done .up-art-thumb{ box-shadow:inset 0 0 0 1.5px rgba(76,201,122,0.7); }
.up-page .up-file-icon{ width:36px; height:36px; border-radius:10px; border:0; background:rgba(255,255,255,0.06); color:#d2d2d7; font-size:10.5px; font-weight:700; letter-spacing:0.02em; }
.up-page .up-art-thumb{ width:36px; height:36px; border-radius:10px; border:0; background:rgba(255,255,255,0.06); }
.up-page .up-file-text b{ font-size:14.5px; font-weight:600; color:#f5f5f7; }
.up-page .up-file-text b em{ margin-left:6px; padding:1px 7px; border-radius:9px; background:rgba(232,134,44,0.14); color:#f5b06a; font-size:10.5px; font-style:normal; font-weight:600; vertical-align:1px; }
.up-page .up-file-text small{ font-size:14px; color:#cfcfd4; }
.up-page .up-btn{ height:32px; padding:0 12px; border-radius:16px; border:0; background:rgba(255,255,255,0.08); color:#f5f5f7; font-size:12.5px; font-weight:500; }
.up-page .up-btn svg{ width:14px; height:14px; }
@media (hover:hover) and (pointer:fine){ .up-page .up-btn:hover{ background:rgba(232,134,44,0.18); color:#f5b06a; } }
.up-page .up-btn-ghost{ background:none; color:#d6d6db; }

.up-page .up-field > span{ font-size:14px; font-weight:500; color:#d6d6db; }
.up-page .up-field input, .up-page .up-field select, .up-page .up-field textarea{ border-radius:12px; border:1px solid rgba(255,255,255,0.1); background:#0a0a09; font-size:15px; }
.up-page .up-tier{ padding:12px 14px; border-radius:14px; border:1px solid rgba(255,255,255,0.06); background:rgba(255,255,255,0.025); }
.up-page .up-tier.is-on{ border-color:rgba(232,134,44,0.6); background:linear-gradient(90deg, rgba(232,134,44,0.1), rgba(232,134,44,0.02)); }
.up-page .up-tier.is-locked{ opacity:0.55; }
.up-page .up-check{ padding:14px; border-radius:14px; background:rgba(255,255,255,0.025); }

.up-page .up-preview{ border-radius:20px; border:1px solid rgba(255,255,255,0.06); background:#121211; }
.up-page .up-checklist{ padding:12px 14px; border-radius:16px; border:1px solid rgba(255,255,255,0.06); background:#121211; gap:9px; }
.up-page .up-checklist li{ font-size:13px; }
.up-page .up-checklist li.is-ok::before{ border-color:var(--accent); background-color:var(--accent); }
.up-page .up-submit{ height:46px; font-size:15px; }
@media (max-width:640px){
  .up-steps{ width:100%; }
  .up-steps a{ padding:0 10px 0 5px; font-size:12.5px; gap:6px; }
  .up-page .up-card{ padding:16px 14px; border-radius:18px; }
  .up-page .up-file{ padding:11px 12px; }
  .up-page .up-file + .up-file::before{ left:12px; }
}
.up-page .up-preview-title{ font-family:var(--font-sans); font-size:17px; font-weight:600; letter-spacing:-0.01em; }
/* Phones and tablets: fill the form first, then preview, checklist and Submit. */
@media (max-width:980px){
  .up-page .up-main{ order:1; }
  .up-page .up-side{ order:2; position:static; }
}
/* Contact panel (optional) inside Details */
.up-page .up-contact{ margin-top:18px; padding-top:16px; border-top:1px solid rgba(255,255,255,0.07); }
.up-page .up-contact-head{ display:flex; flex-direction:column; gap:3px; margin-bottom:12px; }
.up-page .up-contact-head b{ font-size:14.5px; font-weight:600; color:#f5f5f7; }
.up-page .up-contact-head b i{ margin-left:6px; font-style:normal; font-weight:500; font-size:14px; color:#cfcfd4; }
.up-page .up-contact-head small{ font-size:14px; line-height:1.45; color:#cfcfd4; max-width:560px; }

/* ============================== Cover cropper ============================= */
.cc-modal{ width:min(460px, calc(100vw - 24px)); padding:20px; border:1px solid rgba(255,255,255,0.08); border-radius:22px; background:#141413; color:#f5f5f7; box-shadow:0 40px 100px -24px rgba(0,0,0,0.95); }
.cc-modal::backdrop{ background:rgba(5,5,4,0.6); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
.cc-modal[open]{ animation:ccIn 200ms cubic-bezier(0.23, 1, 0.32, 1); }
@keyframes ccIn{ from{ opacity:0; transform:translateY(8px) scale(0.98); } to{ opacity:1; transform:none; } }
.cc-head h2{ margin:0; font-family:var(--font-sans); font-size:19px; font-weight:600; letter-spacing:-0.01em; }
.cc-head p{ margin:4px 0 14px; font-size:13.5px; color:#cfcfd4; }
.cc-stage{ position:relative; width:100%; aspect-ratio:1; overflow:hidden; border-radius:14px; background:#0a0a09; cursor:grab; touch-action:none; outline:none; }
.cc-stage:focus-visible{ box-shadow:0 0 0 2px var(--accent); }
.cc-stage.is-drag{ cursor:grabbing; }
.cc-stage img{ position:absolute; left:0; top:0; max-width:none; user-select:none; pointer-events:none; }
.cc-grid{ position:absolute; inset:0; pointer-events:none; border-radius:14px; box-shadow:inset 0 0 0 1px rgba(255,255,255,0.35);
  background:linear-gradient(to right, transparent calc(33.33% - 0.5px), rgba(255,255,255,0.22) 33.33%, transparent calc(33.33% + 0.5px), transparent calc(66.66% - 0.5px), rgba(255,255,255,0.22) 66.66%, transparent calc(66.66% + 0.5px)),
             linear-gradient(to bottom, transparent calc(33.33% - 0.5px), rgba(255,255,255,0.22) 33.33%, transparent calc(33.33% + 0.5px), transparent calc(66.66% - 0.5px), rgba(255,255,255,0.22) 66.66%, transparent calc(66.66% + 0.5px)); }
.cc-zoom{ display:flex; align-items:center; gap:10px; margin-top:14px; }
.cc-zoom svg{ width:18px; height:18px; flex-shrink:0; fill:none; stroke:#86868b; stroke-width:1.8; stroke-linecap:round; }
.cc-zoom input{ flex:1; accent-color:var(--accent); }
.cc-note{ min-height:18px; margin:8px 0 0; font-size:14px; color:#cfcfd4; text-align:center; }
.cc-note.is-bad{ color:#ff9c86; }
.cc-actions{ display:flex; justify-content:flex-end; gap:8px; margin-top:14px; }
@media (prefers-reduced-motion: reduce){ .cc-modal[open]{ animation:none; } }

/* Tag picker: standard tags as chips, grouped; at least 2 */
.up-page .up-tags-field > span i.is-ok{ color:#7fe0a4; }
.up-tags{ display:flex; flex-direction:column; gap:10px; padding:12px; border-radius:14px; background:rgba(255,255,255,0.025); }
.up-tag-group{ display:flex; flex-direction:column; gap:6px; }
.up-tag-group small{ font-size:13px; font-weight:600; color:#cfcfd4; }
.up-tag-group > div{ display:flex; flex-wrap:wrap; gap:6px; }
.up-tag{ height:30px; padding:0 12px; border:0; border-radius:15px; background:rgba(255,255,255,0.07); color:#d2d2d7; font-family:var(--font-sans); font-size:13px; font-weight:500; cursor:pointer; transition:background-color 150ms ease, color 150ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.up-tag:active{ transform:scale(0.96); }
.up-tag.is-on{ background:rgba(232,134,44,0.2); color:#f5b06a; box-shadow:inset 0 0 0 1px rgba(232,134,44,0.45); }
.up-tag:disabled{ opacity:0.35; cursor:not-allowed; }
.up-tag:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
@media (hover:hover) and (pointer:fine){ .up-tag:not(.is-on):not(:disabled):hover{ background:rgba(255,255,255,0.12); color:#f5f5f7; } }
.up-tags-own{ display:flex; flex-direction:column; gap:7px; margin-top:10px; }
.up-tags-own > span{ font-size:14px; font-weight:500; color:#d6d6db; }
.up-tags-own > span i{ margin-left:6px; font-style:normal; color:#c8c8cd; }
.up-tags-own input{ height:42px; padding:0 12px; border-radius:12px; border:1px solid rgba(255,255,255,0.1); background:#0a0a09; color:#f5f5f7; font-family:var(--font-sans); font-size:15px; outline:none; }
.up-tags-own input:focus{ border-color:var(--accent); box-shadow:0 0 0 3px rgba(232,134,44,0.15); }
/* "You earn" sits under the price inside the card (it used to hang outside). */
.up-page .up-price{ display:flex; flex-direction:column; align-items:flex-end; gap:4px; }
.up-page .up-price .up-earn{ position:static; font-size:11.5px; font-weight:600; color:#f5b06a; white-space:nowrap; }
.up-page .up-price .up-earn:empty{ display:none; }
.up-page .up-tier.is-on{ padding-bottom:12px; }
.up-page .up-price-cur{ top:20px; }
@media (max-width:640px){ .up-page .up-price{ align-items:stretch; } .up-page .up-price .up-earn{ text-align:right; } }

/* Tag input with suggestions (replaces the chip list) */
.up-tags-field{ position:relative; }
.up-tagbox{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; min-height:46px; padding:6px 8px; border-radius:12px; border:1px solid rgba(255,255,255,0.1); background:#0a0a09; cursor:text; transition:border-color 150ms ease, box-shadow 150ms ease; }
.up-tagbox:focus-within{ border-color:var(--accent); box-shadow:0 0 0 3px rgba(232,134,44,0.15); }
.up-tagchips{ display:contents; }
.up-tagchip{ display:inline-flex; align-items:center; gap:2px; height:28px; padding:0 4px 0 10px; border-radius:14px; background:rgba(232,134,44,0.18); color:#f5b06a; font-size:13px; font-weight:500; animation:upChip 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.up-tagchip.is-own{ background:rgba(255,255,255,0.09); color:#e8e8ed; }
.up-tagchip b{ font-weight:500; }
.up-tagchip button{ width:20px; height:20px; display:flex; align-items:center; justify-content:center; border:0; border-radius:50%; background:none; color:inherit; font-size:15px; line-height:1; cursor:pointer; opacity:0.75; }
.up-tagchip button:hover{ opacity:1; background:rgba(255,255,255,0.1); }
@keyframes upChip{ from{ opacity:0; transform:scale(0.92); } to{ opacity:1; transform:none; } }
#up-taginput{ flex:1; min-width:140px; height:32px; padding:0 6px; border:0; background:none; color:#f5f5f7; font-family:var(--font-sans); font-size:15px; outline:none; box-shadow:none; }
#up-taginput::placeholder{ color:#c8c8cd; }
.up-tagsuggest{ position:absolute; left:0; right:0; z-index:20; margin:6px 0 0; padding:6px; list-style:none; border-radius:14px; border:1px solid rgba(255,255,255,0.1); background:#1a1a19; box-shadow:0 24px 60px -20px rgba(0,0,0,0.9); max-height:280px; overflow-y:auto; }
.up-tagsuggest li{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 10px; border-radius:9px; font-size:14px; color:#f5f5f7; cursor:pointer; }
.up-tagsuggest li small{ font-size:13px; color:#cfcfd4; }
.up-tagsuggest li.is-active, .up-tagsuggest li:hover{ background:rgba(232,134,44,0.14); }
.up-tagsuggest li.is-active small{ color:#f5b06a; }
.up-tagsuggest li.is-own{ color:#d2d2d7; }
.up-taghint{ display:block; margin-top:6px; font-size:13.5px; line-height:1.45; color:#cfcfd4; }
@media (prefers-reduced-motion: reduce){ .up-tagchip{ animation:none; } }
/* Listen (pre-listen of an uploaded audio file) */
.up-listen{ height:32px; display:inline-flex; align-items:center; gap:6px; padding:0 12px 0 10px; border:0; border-radius:16px; background:rgba(232,134,44,0.16); color:#f5b06a; font-family:var(--font-sans); font-size:12.5px; font-weight:600; font-variant-numeric:tabular-nums; cursor:pointer; white-space:nowrap; transition:background-color 150ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.up-listen svg{ width:13px; height:13px; fill:currentColor; }
.up-listen .up-ic-pause{ display:none; }
.up-listen.is-on .up-ic-play{ display:none; }
.up-listen.is-on .up-ic-pause{ display:block; }
.up-listen:active{ transform:scale(0.96); }
@media (hover:hover) and (pointer:fine){ .up-listen:hover{ background:rgba(232,134,44,0.26); } }
.up-page .up-file.is-done .up-file-ctrl{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.up-tagbox{ position:relative; }
.up-tagbox .up-tagsuggest{ top:calc(100% + 4px); margin:0; }
/* Position bar under a playing audio row */
.up-page .up-file .up-seek{ grid-column:1 / -1; display:flex; align-items:center; gap:10px; padding:2px 2px 2px 48px; }
.up-page .up-file .up-seek[hidden]{ display:none; }
.up-seek-time{ min-width:34px; font-size:13px; color:#cfcfd4; font-variant-numeric:tabular-nums; }
.up-seek-total{ text-align:right; }
.up-seek input{ --p:0%; flex:1; height:18px; margin:0; background:none; -webkit-appearance:none; appearance:none; cursor:pointer; }
.up-seek input::-webkit-slider-runnable-track{ height:4px; border-radius:2px; background:linear-gradient(90deg, var(--accent) var(--p), rgba(255,255,255,0.14) var(--p)); }
.up-seek input::-moz-range-track{ height:4px; border-radius:2px; background:rgba(255,255,255,0.14); }
.up-seek input::-moz-range-progress{ height:4px; border-radius:2px; background:var(--accent); }
.up-seek input::-webkit-slider-thumb{ -webkit-appearance:none; width:12px; height:12px; margin-top:-4px; border-radius:50%; background:#f5f5f7; box-shadow:0 1px 4px rgba(0,0,0,0.5); transition:transform 120ms ease; }
.up-seek input::-moz-range-thumb{ width:12px; height:12px; border:0; border-radius:50%; background:#f5f5f7; }
.up-seek input:active::-webkit-slider-thumb{ transform:scale(1.25); }
.up-seek input:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }
@media (max-width:640px){ .up-page .up-file .up-seek{ padding-left:0; } }

/* Submit confirmation: ring draws, check draws, text rises (one-time moment) */
.up-sent{ position:fixed; inset:0; z-index:400; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(5,5,4,0.6); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); animation:upSentFade 220ms ease-out both; }
.up-sent.is-leaving{ animation:upSentOut 240ms ease-in forwards; }
.up-sent-card{ display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; max-width:380px; padding:32px 28px 28px; border-radius:24px; background:rgba(22,21,20,0.92); border:1px solid rgba(255,255,255,0.08); box-shadow:0 40px 100px -24px rgba(0,0,0,0.95); animation:upSentCard 420ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.up-sent-mark{ width:96px; height:96px; margin-bottom:10px; overflow:visible; }
.up-sent-ring{ fill:rgba(232,134,44,0.12); stroke:var(--accent); stroke-width:4; stroke-linecap:round; stroke-dasharray:252; stroke-dashoffset:252; transform:rotate(-90deg); transform-origin:48px 48px; animation:upSentDraw 560ms cubic-bezier(0.65, 0, 0.35, 1) 120ms forwards; filter:drop-shadow(0 0 14px rgba(232,134,44,0.45)); }
.up-sent-check{ fill:none; stroke:#f5b06a; stroke-width:6; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:60; stroke-dashoffset:60; animation:upSentDraw 360ms cubic-bezier(0.23, 1, 0.32, 1) 600ms forwards; }
.up-sent-card b{ font-family:var(--font-sans); font-size:20px; font-weight:600; letter-spacing:-0.01em; color:#f5f5f7; opacity:0; animation:upSentRise 380ms cubic-bezier(0.23, 1, 0.32, 1) 780ms forwards; }
.up-sent-card small{ font-size:14px; line-height:1.5; color:#d6d6db; opacity:0; animation:upSentRise 380ms cubic-bezier(0.23, 1, 0.32, 1) 860ms forwards; }
@keyframes upSentFade{ from{ opacity:0; } to{ opacity:1; } }
@keyframes upSentOut{ to{ opacity:0; } }
@keyframes upSentCard{ from{ opacity:0; transform:translateY(10px) scale(0.96); } to{ opacity:1; transform:none; } }
@keyframes upSentDraw{ to{ stroke-dashoffset:0; } }
@keyframes upSentRise{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){
  .up-sent, .up-sent-card, .up-sent.is-leaving{ animation:none; }
  .up-sent-ring, .up-sent-check{ animation:none; stroke-dashoffset:0; }
  .up-sent-card b, .up-sent-card small{ animation:none; opacity:1; }
}
/* Alignment pass for uploaded rows: controls on one line, centred; the
   position bar lines up with the text column (not under the icon). */
.up-page .up-file.is-done .up-file-ctrl{ flex-wrap:nowrap; gap:10px; }
.up-page .up-file-done{ gap:8px; }
.up-page .up-file-done span{ gap:1px; }
.up-page .up-file-done b, .up-page .up-file-done small{ line-height:1.3; }
.up-page .up-file .up-listen, .up-page .up-file .up-btn{ flex-shrink:0; }
.up-page .up-file .up-seek{ grid-column:2 / -1; padding:2px 0 0; gap:10px; }
.up-page .up-seek-time{ min-width:30px; font-size:11.5px; }
.up-page .up-seek-time:first-child{ text-align:left; }
@media (max-width:640px){
  .up-page .up-file.is-done .up-file-ctrl{ flex-wrap:wrap; justify-content:flex-start; }
  .up-page .up-file .up-seek{ grid-column:1 / -1; }
}
/* More room between the uploaded file name and Listen / Replace */
.up-page .up-file.is-done .up-file-ctrl{ gap:8px; }
.up-page .up-file.is-done .up-file-done{ margin-right:10px; padding-right:18px; border-right:1px solid rgba(255,255,255,0.1); }
@media (max-width:640px){ .up-page .up-file.is-done .up-file-done{ width:100%; margin:0 0 6px; padding:0; border-right:0; } }
/* Readability pass: small text slightly larger and lighter on this page */
.up-page .up-sub{ font-size:15.5px; color:#d3d3d8; }
.up-page .up-card-head p{ font-size:14.5px; color:#d3d3d8; }
.up-page .up-group-title{ font-size:14px; }
.up-page .up-group-title span{ font-size:13.5px; color:#d6d6db; }
.up-page .up-file-text b{ font-size:15px; }
.up-page .up-file-text small{ font-size:13.5px; line-height:1.45; color:#d6d6db; }
.up-page .up-file-done b{ font-size:14px; }
.up-page .up-file-done small{ font-size:14px; color:#d6d6db; }
.up-page .up-field > span{ font-size:13.5px; color:#c7c7cc; }
.up-page .up-field > span i{ font-size:14px; color:#cfcfd4; }
.up-page .up-taghint{ font-size:14px; color:#d6d6db; }
.up-page .up-contact-head small{ font-size:13.5px; color:#d6d6db; }
.up-page .up-tier-text b{ font-size:15px; }
.up-page .up-tier-files, .up-page .up-tier-lock{ font-size:14px; color:#d6d6db; }
.up-page .up-price .up-earn{ font-size:12.5px; }
.up-page .up-check span{ font-size:14px; line-height:1.5; color:#d2d2d7; }
.up-page .up-checklist li{ font-size:14px; color:#d6d6db; }
.up-page .up-checklist li.is-ok{ color:#f5f5f7; }
.up-page .up-seek-time{ font-size:13.5px; color:#d6d6db; }
.up-page .up-steps a{ font-size:14px; color:#d3d3d8; }
.up-page .up-preview-producer{ font-size:14px; color:#d6d6db; }
/* Time in the Listen button: a touch smaller, same height and baseline as Replace */
.up-page .up-file .up-listen, .up-page .up-file .up-btn{ height:30px; line-height:1; }
.up-page .up-listen{ font-size:11.5px; padding:0 11px 0 9px; gap:5px; }
.up-page .up-listen svg{ width:11px; height:11px; }
.up-page .up-file .up-btn-ghost{ padding:0 10px; font-size:12.5px; }
/* Readability pass 2: small text brighter and a touch heavier */
.up-page .up-sub, .up-page .up-card-head p{ color:#d1d1d6; }
.up-page .up-group-title span, .up-page .up-file-text small, .up-page .up-file-done small,
.up-page .up-taghint, .up-page .up-contact-head small, .up-page .up-tier-files, .up-page .up-tier-lock,
.up-page .up-checklist li, .up-page .up-seek-time, .up-page .up-preview-producer{ color:#c7c7cc; }
.up-page .up-file-text small, .up-page .up-group-title span, .up-page .up-taghint, .up-page .up-contact-head small, .up-page .up-tier-files{ font-size:14px; font-weight:450; }
.up-page .up-field > span{ color:#e5e5ea; }
.up-page .up-field > span i{ color:#aeaeb2; font-size:13px; }
.up-page .up-checklist li{ font-size:14.5px; }
.up-page .up-steps a{ color:#d1d1d6; }
.up-page .up-field input::placeholder, .up-page .up-field textarea::placeholder, #up-taginput::placeholder, .up-tags-own input::placeholder{ color:#cfcfd4; }
/* Secondary text a little dimmer than pass 2 (still clearly readable) */
.up-page .up-sub, .up-page .up-card-head p{ color:#d8d8dd; }
.up-page .up-group-title span, .up-page .up-file-text small, .up-page .up-file-done small,
.up-page .up-taghint, .up-page .up-contact-head small, .up-page .up-tier-files, .up-page .up-tier-lock,
.up-page .up-checklist li, .up-page .up-seek-time, .up-page .up-preview-producer{ color:#d3d3d8; }
.up-page .up-field > span i{ color:#c8c8cd; }
.up-page .up-steps a{ color:#d8d8dd; }

/* Track review (admin): readable secondary text */
.rv-page .up-title{ font-family:var(--font-sans); font-weight:700; letter-spacing:-0.02em; }
.rv-page .up-sub{ color:#d8d8dd; font-size:15.5px; }
.rv-page .rv-id{ font-size:14px; color:#d3d3d8; }
.rv-page .rv-by{ font-size:15px; color:#d1d1d6; }
.rv-page .rv-tags{ font-size:14px; color:#d3d3d8; }
.rv-page .rv-prices{ font-size:15px; color:#e5e5ea; }
.rv-page .rv-about{ font-size:14.5px; line-height:1.55; color:#c7c7cc; }
.rv-page .rv-files-wrap h3, .rv-page .rv-fhead b{ color:#f5f5f7; }
.rv-page .rv-fmeta{ font-size:13.5px; color:#d3d3d8; }
.rv-page .rv-fnote, .rv-page .rv-fhint{ font-size:13.5px; color:#d3d3d8; }
.rv-page .rv-time{ font-size:14px; color:#d3d3d8; }
.rv-page .rv-decide label, .rv-page .rv-decide > span{ color:#e5e5ea; }
.rv-page .rv-decide textarea{ font-size:15px; }
.rv-page .rv-decide textarea::placeholder{ color:#cfcfd4; }
.rv-page .rv-producer-stats{ font-size:13.5px; color:#d3d3d8; }
.rv-page .rv-tabs button{ font-size:14px; }
/* Track review: small text pass 2 (file notes, results, ZIP lists) */
.rv-page .rv-fhead b{ font-size:15px; }
.rv-page .rv-fmeta{ font-size:14px; color:#d8d8dd; }
.rv-page .rv-fhint{ font-size:14px; color:#d8d8dd; }
.rv-page .rv-fnote, .rv-page .rv-result{ font-size:14px; line-height:1.5; color:#c7c7cc; }
.rv-page .rv-fnote.is-bad, .rv-page .rv-result.is-bad{ color:#ff9c86; }
.rv-page .rv-zip-list{ font-size:13.5px; color:#d8d8dd; }
.rv-page .rv-time{ font-size:13px; color:#c7c7cc; }
.rv-page .rv-dl{ font-size:13.5px; }
.rv-page .rv-tabs button{ color:#d1d1d6; }
.rv-page .rv-fnote.is-ok, .rv-page .rv-result.is-ok{ color:#7fe0a4; }
.rv-page .rv-zip-list li{ font-size:13.5px; }
/* Track review: confirm the voice-tagged preview before publishing */
.rv-tagcheck{ display:flex; flex-direction:column; gap:12px; margin-top:14px; padding:16px; border-radius:16px; border:1px solid rgba(232,134,44,0.45); background:linear-gradient(180deg, rgba(232,134,44,0.08), rgba(232,134,44,0.02)); animation:rvTc 220ms cubic-bezier(0.23, 1, 0.32, 1); }
.rv-tagcheck-head{ display:flex; flex-direction:column; gap:3px; }
.rv-tagcheck-head b{ font-size:15px; font-weight:600; color:#f5f5f7; }
.rv-tagcheck-head small{ font-size:14px; color:#c7c7cc; }
.rv-tagcheck audio{ width:100%; height:40px; color-scheme:dark; }
.rv-tagcheck-actions{ display:flex; justify-content:flex-end; gap:8px; }
@keyframes rvTc{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .rv-tagcheck{ animation:none; } }

/* Upload preview card shows the colour picked from the cover */
.up-page .up-preview.has-accent{ border-color:var(--acc); box-shadow:0 0 0 1px var(--acc), 0 20px 50px -24px var(--acc); transition:border-color 300ms ease, box-shadow 300ms ease; }

/* Move back to review (approved / sent-back cards) */
.rv-reopen{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:12px; }
.rv-reopen .btn{ min-height:32px; padding:6px 14px; font-size:13px; }
.rv-reopen small{ font-size:14px; color:#d6d6db; }

/* Producer area: edit an approved track, status of its changes */
.pa-edit-link{ font-size:13px; font-weight:600; color:#f0a35b; text-decoration:none; }
@media (hover:hover) and (pointer:fine){ .pa-edit-link:hover{ text-decoration:underline; text-underline-offset:3px; } }
.pa-change{ display:inline-flex; align-items:center; height:22px; padding:0 9px; border-radius:11px; font-size:11.5px; font-weight:600; }
.pa-change.is-pending{ background:rgba(232,134,44,0.16); color:#f5b06a; }
.pa-change.is-bad{ background:rgba(255,99,71,0.14); color:#ff9c86; cursor:help; }

/* Track review: changes to an approved track */
.rv-card.is-change{ border-color:rgba(232,134,44,0.45); }
.rv-changes{ display:flex; flex-direction:column; gap:6px; margin:0 0 16px; padding:14px 16px; border-radius:14px; background:rgba(232,134,44,0.08); }
.rv-changes > b{ font-size:15px; color:#f5b06a; }
.rv-changes > small{ font-size:13.5px; color:#d8d8dd; }
.rv-changes ul{ list-style:none; margin:6px 0 0; padding:0; display:flex; flex-direction:column; gap:6px; }
.rv-changes li{ display:grid; grid-template-columns:110px 1fr 1fr; gap:10px; font-size:14px; align-items:baseline; }
.rv-changes li span{ color:#d6d6db; }
.rv-changes del{ color:#cfcfd4; text-decoration:line-through; }
.rv-changes ins{ color:#f5f5f7; text-decoration:none; font-weight:600; }
.rv-changes p{ margin:6px 0 0; font-size:14px; color:#e5e5ea; }
@media (max-width:640px){ .rv-changes li{ grid-template-columns:1fr; gap:2px; } }

/* Files: mixed and mastered requirement */
.up-mix-note{ display:flex; align-items:flex-start; gap:12px; margin:4px 0 6px; padding:13px 15px; border-radius:14px; background:rgba(232,134,44,0.08); border:1px solid rgba(232,134,44,0.22); }
.up-mix-icon{ width:30px; height:30px; flex-shrink:0; border-radius:9px; display:flex; align-items:center; justify-content:center; background:rgba(232,134,44,0.16); }
.up-mix-icon svg{ width:16px; height:16px; fill:none; stroke:#f5b06a; stroke-width:2; stroke-linecap:round; }
.up-mix-note b{ display:block; font-size:14px; font-weight:600; color:#f5f5f7; }
.up-mix-note small{ display:block; margin-top:2px; font-size:14px; line-height:1.5; color:#d8d8dd; }
.up-card .up-check + .up-check{ margin-top:14px; }

/* Upload: Key / Genre / Mood dropdowns, same as the store filters
   (js/select-dd.js). The native select stays in the form, hidden. */
.sd-native{ position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; border:0 !important; opacity:0; pointer-events:none; clip:rect(0 0 0 0); }
.sd{ position:relative; }
.sd-btn{
  width:100%; height:44px; display:flex; align-items:center; gap:8px; padding:0 12px 0 14px; border-radius:12px;
  border:1px solid rgba(255,255,255,0.1); background:#0a0a09; color:#f5f5f7; cursor:pointer;
  font-family:var(--font-sans); font-size:15px; font-weight:500; text-align:left;
  transition:border-color 150ms ease, box-shadow 150ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.sd-btn:active{ transform:scale(0.98); }
.sd-value{ flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sd.is-empty .sd-value{ color:#c8c8cd; font-weight:400; }
.sd-chev{ width:16px; height:16px; flex-shrink:0; fill:none; stroke:#9d9da3; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.sd.is-open .sd-chev{ transform:rotate(180deg); stroke:#f5b06a; }
.sd.is-open .sd-btn, .sd-btn:focus-visible{ border-color:var(--accent); box-shadow:0 0 0 3px rgba(232,134,44,0.15); outline:none; }
@media (hover:hover) and (pointer:fine){ .sd-btn:hover{ border-color:rgba(232,134,44,0.5); } }

.sd-panel{
  position:absolute; top:calc(100% + 8px); left:0; z-index:60; min-width:max(100%, 200px); max-height:300px; overflow-y:auto;
  padding:6px; border-radius:14px; background:rgba(16,15,13,0.96); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,0.14); box-shadow:0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(232,134,44,0.06);
  transform-origin:top left; outline:none; scrollbar-width:thin;
  opacity:0; transform:scale(0.96) translateY(-4px); visibility:hidden; pointer-events:none;
  transition:opacity 150ms ease, transform 180ms cubic-bezier(0.23, 1, 0.32, 1), visibility 0s linear 180ms;
}
.sd-panel::before{ content:''; position:absolute; left:14px; right:14px; top:0; height:1px; background:linear-gradient(90deg, transparent, var(--accent), transparent); transform:scaleX(0); transition:transform 300ms cubic-bezier(0.23, 1, 0.32, 1); }
.sd.is-open .sd-panel{ opacity:1; transform:none; visibility:visible; pointer-events:auto; transition:opacity 150ms ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1), visibility 0s; }
.sd.is-open .sd-panel::before{ transform:scaleX(1); }
.sd-glide{ position:absolute; left:6px; right:6px; top:0; height:40px; border-radius:9px; background:rgba(232,134,44,0.14); opacity:0; pointer-events:none; transition:transform 150ms cubic-bezier(0.23, 1, 0.32, 1), height 150ms cubic-bezier(0.23, 1, 0.32, 1), opacity 150ms ease; }
.sd-opt{
  position:relative; display:flex; align-items:center; gap:10px; min-height:40px; padding:0 12px; border-radius:9px;
  cursor:pointer; font-size:14.5px; color:#f5f5f7;
  opacity:0; transform:translateY(4px); transition:color 120ms ease, opacity 150ms ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.sd.is-open .sd-opt{ opacity:1; transform:none; transition-delay:calc(var(--k, 0) * 14ms); }
.sd-check{ width:16px; height:16px; flex-shrink:0; }
.sd-check path{ fill:none; stroke:var(--accent); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:16; stroke-dashoffset:16; transition:stroke-dashoffset 250ms cubic-bezier(0.23, 1, 0.32, 1); }
.sd-opt[aria-selected="true"]{ font-weight:600; color:#f5b06a; }
.sd-opt[aria-selected="true"] .sd-check path{ stroke-dashoffset:0; }
.sd.is-open .sd-opt[aria-selected="true"] .sd-check path{ transition-delay:120ms; }
@media (max-width:560px){ .sd-panel{ max-height:55dvh; } .sd-btn{ font-size:16px; } }
@media (prefers-reduced-motion: reduce){ .sd-panel, .sd-opt, .sd-check path, .sd-chev{ transition:none; } }

/* Licenses step: free download switch (iOS-style toggle) */
.up-free{ display:flex; align-items:flex-start; gap:14px; margin-top:16px; padding:14px 16px; border-radius:16px; border:1px solid rgba(255,255,255,0.08); background:rgba(255,255,255,0.03); cursor:pointer; }
.up-free input{ position:absolute; opacity:0; pointer-events:none; }
.up-free-switch{ position:relative; width:44px; height:26px; flex:0 0 44px; margin-top:2px; border-radius:13px; background:rgba(255,255,255,0.16); transition:background-color 200ms ease; }
.up-free-switch::after{ content:''; position:absolute; left:3px; top:3px; width:20px; height:20px; border-radius:50%; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,0.4); transition:transform 240ms cubic-bezier(0.23, 1, 0.32, 1); }
.up-free input:checked + .up-free-switch{ background:#34c759; }
.up-free input:checked + .up-free-switch::after{ transform:translateX(18px); }
.up-free input:focus-visible + .up-free-switch{ outline:2px solid var(--accent); outline-offset:2px; }
.up-free-text{ display:flex; flex-direction:column; gap:3px; }
.up-free-text b{ font-size:15px; font-weight:600; color:#f5f5f7; }
.up-free-text small{ font-size:13.5px; line-height:1.5; color:#d6d6db; }
@media (prefers-reduced-motion: reduce){ .up-free-switch, .up-free-switch::after{ transition:none; } }

/* Upload: the producer's own audio tag */
.up-ptag{ display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:14px; border:1px dashed rgba(255,255,255,0.14); background:rgba(255,255,255,0.02); }
.up-ptag.has-tag{ border-style:solid; border-color:rgba(232,134,44,0.35); background:rgba(232,134,44,0.06); }
.up-ptag.is-bad{ border-color:rgba(255,99,71,0.5); }
.up-ptag .up-file-icon svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.up-ptag-text{ display:flex; flex-direction:column; gap:2px; flex:1; min-width:0; }
.up-ptag-text b{ font-size:14.5px; font-weight:600; color:#f5f5f7; }
.up-ptag-text small{ font-size:14px; color:#d6d6db; overflow:hidden; text-overflow:ellipsis; }
.up-ptag.is-bad .up-ptag-text small{ color:#ff8f7e; }
.up-ptag-ctrl{ display:flex; align-items:center; gap:8px; flex-shrink:0; }
.up-ptag-play{ width:34px; height:34px; border:0; border-radius:50%; display:flex; align-items:center; justify-content:center; background:#e8862c; color:#0a0a09; cursor:pointer; }
.up-ptag-play svg{ width:15px; height:15px; fill:currentColor; }
.up-ptag-btn{ height:34px; padding:0 14px; border:0; border-radius:17px; background:rgba(255,255,255,0.1); color:#f5f5f7; font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
.up-ptag-remove{ height:34px; padding:0 10px; border:0; background:none; color:#d6d6db; font:inherit; font-size:14px; cursor:pointer; }
@media (hover:hover) and (pointer:fine){ .up-ptag-btn:hover{ background:rgba(255,255,255,0.16); } .up-ptag-remove:hover{ color:#ff8f7e; } }
@media (max-width:560px){ .up-ptag{ flex-wrap:wrap; } .up-ptag-ctrl{ width:100%; justify-content:flex-end; } }

/* Per-track stats (producer area) */
.pa-st-btn{ height:30px; display:inline-flex; align-items:center; gap:6px; padding:0 11px; border-radius:8px; border:1px solid var(--line); background:rgba(255,255,255,0.03); color:var(--text-secondary); font-family:var(--font-sans); font-size:12.5px; font-weight:600; cursor:pointer; transition:background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
.pa-st-btn svg{ width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; }
.pa-st-btn.is-open{ border-color:rgba(232,134,44,0.45); background:rgba(232,134,44,0.12); color:var(--amber-text); }
@media (hover:hover) and (pointer:fine){ .pa-st-btn:not(.is-open):hover{ color:var(--text); background:rgba(255,255,255,0.06); } }
.pa-st{ margin:0 0 14px; padding:16px; border-radius:14px; border:1px solid var(--line); background:linear-gradient(180deg, rgba(232,134,44,0.05), rgba(255,255,255,0.015)); animation:paStIn 220ms cubic-bezier(0.23, 1, 0.32, 1); }
@keyframes paStIn{ from{ opacity:0; transform:translateY(-4px); } }
.pa-st-tiles{ display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:8px; }
.pa-st-tile{ display:flex; flex-direction:column; gap:2px; padding:11px 12px; border-radius:10px; background:rgba(0,0,0,0.28); border:1px solid rgba(255,255,255,0.05); min-width:0; }
.pa-st-tile b{ font-family:var(--font-display); font-size:22px; color:#fff; font-variant-numeric:tabular-nums; line-height:1.1; }
.pa-st-tile.is-money b{ color:var(--amber-text); }
.pa-st-tile span{ font-size:12.5px; font-weight:600; color:var(--text-secondary); }
.pa-st-tile small{ font-size:11.5px; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pa-st-grid{ display:grid; grid-template-columns:minmax(0, 1.4fr) minmax(0, 1fr); gap:8px; margin-top:8px; }
.pa-st-box{ padding:12px 14px; border-radius:10px; background:rgba(0,0,0,0.28); border:1px solid rgba(255,255,255,0.05); min-width:0; }
.pa-st-head{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; margin-bottom:10px; }
.pa-st-head b{ font-size:13px; color:#fff; }
.pa-st-head span{ font-size:12px; color:var(--text-muted); }
.pa-st-chart{ height:84px; display:flex; align-items:flex-end; gap:3px; }
.pa-st-chart i{ flex:1; height:max(3px, var(--h)); border-radius:3px 3px 1px 1px; background:linear-gradient(180deg, #f0a35b, rgba(232,134,44,0.35)); opacity:0.9; }
.pa-st-chart i[style*="--h:0%"]{ background:rgba(255,255,255,0.08); }
@media (hover:hover) and (pointer:fine){ .pa-st-chart i:hover{ opacity:1; filter:brightness(1.2); } }
.pa-st-axis{ display:flex; justify-content:space-between; margin-top:6px; font-size:11px; color:var(--text-muted); }
.pa-st-src{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.pa-st-src li{ display:grid; grid-template-columns:84px minmax(0, 1fr) 38px; align-items:center; gap:8px; font-size:12.5px; }
.pa-st-src span{ color:var(--text-secondary); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pa-st-src i{ height:6px; border-radius:3px; background:rgba(255,255,255,0.06); position:relative; overflow:hidden; }
.pa-st-src i::after{ content:""; position:absolute; inset:0 auto 0 0; width:var(--w); border-radius:3px; background:#e8862c; }
.pa-st-src b{ text-align:right; color:#fff; font-variant-numeric:tabular-nums; }
.pa-st-none{ margin:0; font-size:13px; line-height:1.5; color:var(--text-muted); }
.pa-st-tip{ margin:10px 2px 0; font-size:12px; line-height:1.5; color:var(--text-muted); }
.pa-st-tip code{ padding:1px 5px; border-radius:4px; background:rgba(255,255,255,0.07); color:var(--text-secondary); font-size:11.5px; }
@media (max-width:900px){ .pa-st-tiles{ grid-template-columns:repeat(3, minmax(0, 1fr)); } .pa-st-grid{ grid-template-columns:minmax(0, 1fr); } }
@media (max-width:640px){ .pa-st{ padding:12px; } .pa-st-tiles{ grid-template-columns:repeat(2, minmax(0, 1fr)); } .pa-st-tile b{ font-size:19px; } .pa-st-chart{ gap:2px; } }
@media (prefers-reduced-motion:reduce){ .pa-st{ animation:none; } }

/* Storefront settings (producer area) */
.sf-set-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.sf-set-head h2{ margin:0; font-family:var(--font-sans); font-size:18px; font-weight:700; color:#fff; }
.sf-set-head p{ margin:6px 0 0; max-width:440px; font-size:13.5px; line-height:1.5; color:var(--text-muted); }
.sf-set-link{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.sf-set-link span{ font-size:13.5px; font-weight:600; color:var(--amber-text); }
.sf-set-link .btn{ min-height:34px; padding:6px 14px; font-size:13px; }
.sf-set-grid{ display:grid; grid-template-columns:minmax(0, 1.2fr) minmax(0, 1fr); gap:24px; margin-top:6px; }
.sf-set .pe-group-label{ margin:18px 0 8px 2px; }
.sf-banner-prev{ --sw:#e8862c; position:relative; aspect-ratio:3 / 1; border-radius:12px; overflow:hidden; display:flex; align-items:flex-end; padding:10px 12px;
  background:radial-gradient(60% 140% at 85% 0%, color-mix(in srgb, var(--sw) 55%, transparent), transparent 65%), radial-gradient(50% 120% at 10% 100%, color-mix(in srgb, var(--sw) 25%, transparent), transparent 70%), #121110 center / cover;
  border:1px solid rgba(255,255,255,0.08); transition:background-color 200ms ease; }
.sf-banner-prev span{ font-size:12px; color:rgba(255,255,255,0.6); }
.sf-banner-prev.has-img span{ display:none; }
.sf-banner-prev.has-img{ background-size:cover; background-position:center; }
.sf-set-row{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:10px; }
.sf-set-row .btn{ min-height:34px; padding:6px 14px; font-size:13px; }
.sf-set-row small{ font-size:12px; color:var(--text-muted); }
.sf-set-link-btn{ border:0; background:none; padding:0; color:#ff9c86; font-family:var(--font-sans); font-size:13px; font-weight:600; cursor:pointer; }
.sf-accents{ display:flex; flex-wrap:wrap; gap:10px; }
.sf-sw{ width:32px; height:32px; padding:0; border-radius:50%; border:0; background:var(--sw); cursor:pointer; box-shadow:0 0 0 1px rgba(255,255,255,0.12) inset;
  transition:transform 140ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 150ms ease; }
.sf-sw.is-on{ box-shadow:0 0 0 2px #121211, 0 0 0 4px var(--sw); }
.sf-sw:active{ transform:scale(0.92); }
@media (hover:hover) and (pointer:fine){ .sf-sw:not(.is-on):hover{ transform:scale(1.08); } }
.sf-set-input{ width:100%; height:44px; padding:0 14px; border-radius:10px; border:1px solid rgba(255,255,255,0.1); background:#0a0a09; color:#f5f5f7; font-family:var(--font-sans); font-size:14.5px; outline:none; transition:border-color 150ms ease; }
.sf-set-input:focus{ border-color:rgba(232,134,44,0.6); }
.sf-pins-label{ display:flex; justify-content:space-between; align-items:baseline; }
.sf-pins-label b{ font-size:12.5px; font-weight:600; color:var(--text-muted); margin-right:4px; }
.sf-pins{ display:flex; flex-direction:column; gap:6px; max-height:360px; overflow-y:auto; padding-right:2px; }
.sf-pinpick{ position:relative; display:flex; align-items:center; gap:10px; padding:6px 10px 6px 6px; border-radius:10px; border:1px solid rgba(255,255,255,0.07); background:rgba(255,255,255,0.02); text-align:left; cursor:pointer;
  font-family:var(--font-sans); transition:background-color 150ms ease, border-color 150ms ease; }
.sf-pinpick:disabled{ opacity:0.45; cursor:not-allowed; }
.sf-pinpick.is-on{ border-color:rgba(232,134,44,0.55); background:rgba(232,134,44,0.1); }
.sf-pinpick-art{ width:40px; height:40px; flex-shrink:0; border-radius:7px; background:#1a1917 center / cover; }
.sf-pinpick-text{ flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
.sf-pinpick-text b{ font-size:14px; color:#f5f5f7; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sf-pinpick-text small{ font-size:12px; color:var(--text-muted); }
.sf-pinpick em{ width:22px; height:22px; flex-shrink:0; display:flex; align-items:center; justify-content:center; border-radius:50%; background:#e8862c; color:#0a0a09; font-style:normal; font-size:12px; font-weight:800; }
@media (hover:hover) and (pointer:fine){ .sf-pinpick:not(.is-on):not(:disabled):hover{ background:rgba(255,255,255,0.05); } }
.sf-set-none{ margin:0; font-size:13px; color:var(--text-muted); }
.sf-set-foot{ display:flex; align-items:center; justify-content:flex-end; gap:14px; margin-top:20px; padding-top:16px; border-top:1px solid var(--line); }
.sf-set-status{ margin:0 auto 0 0; font-size:13px; color:var(--text-muted); }
.sf-set-status.is-ok{ color:#7fe0a4; }
.sf-set-status.is-bad{ color:#ff9c86; }
@media (max-width:760px){ .sf-set-grid{ grid-template-columns:minmax(0, 1fr); gap:4px; } .sf-set-foot{ flex-direction:column-reverse; align-items:stretch; } .sf-set-status{ margin:0; text-align:center; } }

/* Upload: browse all standard tags by group */
.up-tagbrowse{ margin-top:10px; border-radius:12px; border:1px solid rgba(255,255,255,0.08); background:rgba(255,255,255,0.02); }
.up-tagbrowse summary{ display:flex; align-items:center; gap:8px; padding:11px 14px; font-size:13.5px; font-weight:600; color:#f0a35b; cursor:pointer; list-style:none; }
.up-tagbrowse summary::-webkit-details-marker{ display:none; }
.up-tagbrowse summary::after{ content:""; width:7px; height:7px; margin-left:auto; border-right:1.6px solid currentColor; border-bottom:1.6px solid currentColor; transform:rotate(45deg) translateY(-2px); transition:transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.up-tagbrowse[open] summary::after{ transform:rotate(225deg) translateY(-2px); }
.up-tagbrowse summary span{ height:20px; display:inline-flex; align-items:center; padding:0 7px; border-radius:999px; background:rgba(232,134,44,0.14); font-size:11.5px; font-weight:700; }
#up-tagbrowse-groups{ display:flex; flex-direction:column; gap:14px; max-height:340px; overflow-y:auto; padding:2px 14px 14px; }
.up-tagbrowse-group > b{ display:block; margin-bottom:8px; font-size:13px; font-weight:700; letter-spacing:0.6px; text-transform:uppercase; color:#cfcfd4; }
.up-tagbrowse-group > div{ display:flex; flex-wrap:wrap; gap:6px; }
.up-tagpick{ height:30px; padding:0 11px; border-radius:999px; border:1px solid rgba(255,255,255,0.1); background:rgba(255,255,255,0.03); color:#d2d2d7; font-family:var(--font-sans); font-size:13px; cursor:pointer;
  transition:background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
.up-tagpick.is-on{ border-color:rgba(232,134,44,0.65); background:rgba(232,134,44,0.14); color:#f5b06a; }
.up-tagpick:disabled{ opacity:0.4; cursor:not-allowed; }
@media (hover:hover) and (pointer:fine){ .up-tagpick:not(.is-on):not(:disabled):hover{ border-color:rgba(255,255,255,0.24); color:#f5f5f7; } }

/* Producer licenses (producer area) */
.lc-tabs{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:4px; margin-top:18px; padding:4px; border-radius:12px; border:1px solid var(--line); background:#0a0a09; }
.lc-tab{ display:flex; flex-direction:column; align-items:center; gap:1px; padding:8px 6px; border:0; border-radius:9px; background:none; color:var(--text-secondary); font-family:var(--font-sans); cursor:pointer; transition:background-color 150ms ease, color 150ms ease; }
.lc-tab b{ font-size:14px; }
.lc-tab small{ font-size:11.5px; color:var(--text-muted); }
.lc-tab.is-on{ background:rgba(232,134,44,0.16); color:var(--amber-text); }
.lc-tab.is-on small{ color:#f5b06a; }
@media (hover:hover) and (pointer:fine){ .lc-tab:not(.is-on):hover{ color:var(--text); } }
.lc-fields{ display:flex; flex-direction:column; margin-top:10px; }
.lc-row{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:10px 2px; border-bottom:1px solid var(--line); }
.lc-row > span{ font-size:14px; color:#f5f5f7; }
.lc-row select{ min-width:200px; height:38px; padding:0 34px 0 12px; border-radius:10px; border:1px solid rgba(255,255,255,0.1); appearance:none; cursor:pointer;
  background-color:#0a0a09; background-image:linear-gradient(45deg, transparent 50%, #ababb0 50%), linear-gradient(135deg, #ababb0 50%, transparent 50%);
  background-position:calc(100% - 17px) 17px, calc(100% - 12px) 17px; background-size:5px 5px; background-repeat:no-repeat;
  color:#f5f5f7; font-family:var(--font-sans); font-size:13.5px; outline:none; transition:border-color 150ms ease; }
.lc-row select:focus{ border-color:rgba(232,134,44,0.6); }
.lc-clauses{ display:flex; flex-direction:column; gap:8px; }
.lc-clause{ display:flex; align-items:flex-start; gap:10px; }
.lc-clause-n{ width:26px; height:26px; flex-shrink:0; margin-top:8px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(232,134,44,0.16); color:var(--amber-text); font-size:12px; font-weight:800; }
.lc-clause textarea{ flex:1; min-width:0; min-height:62px; padding:10px 12px; border-radius:10px; border:1px solid rgba(255,255,255,0.1); background:#0a0a09; color:#f5f5f7; font-family:var(--font-sans); font-size:14px; line-height:1.5; resize:vertical; outline:none; }
.lc-clause textarea:focus{ border-color:rgba(232,134,44,0.6); }
.lc-clause-x{ width:30px; height:30px; flex-shrink:0; margin-top:6px; border:0; border-radius:50%; background:rgba(255,255,255,0.05); color:#cfcfd4; font-size:18px; line-height:1; cursor:pointer; }
@media (hover:hover) and (pointer:fine){ .lc-clause-x:hover{ background:rgba(255,99,71,0.14); color:#ff9c86; } }
.lc-add{ margin-top:10px; min-height:34px; padding:6px 14px; font-size:13px; }
.lc-note{ margin:10px 2px 0; font-size:12.5px; line-height:1.55; color:var(--text-muted); }
.lc-base{ margin-top:16px; border-radius:12px; border:1px solid rgba(255,255,255,0.08); background:rgba(255,255,255,0.02); }
.lc-base summary{ padding:12px 14px; font-size:13.5px; font-weight:600; color:#f5f5f7; cursor:pointer; }
.lc-base ul{ margin:0; padding:0 18px 14px 32px; display:flex; flex-direction:column; gap:6px; font-size:13px; line-height:1.5; color:var(--text-secondary); }
.lc-reset{ color:var(--text-muted); }
@media (max-width:640px){
  .lc-row{ flex-direction:column; align-items:stretch; gap:6px; }
  .lc-row select{ min-width:0; width:100%; }
  .lc-tab b{ font-size:13px; }
}

/* Upload: co-producers under the producer name */
.up-producers > label{ display:block; }
.up-co-list{ display:flex; flex-direction:column; gap:8px; }
.up-co-list:not(:empty){ margin-top:8px; }
.up-co{ display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:6px; align-items:center; padding:8px; border-radius:12px; border:1px solid rgba(255,255,255,0.08); background:rgba(255,255,255,0.02); }
.up-co-n{ grid-column:1 / -1; font-size:13px; font-weight:700; letter-spacing:0.5px; text-transform:uppercase; color:#cfcfd4; }
.up-co input{ width:100%; min-width:0; }
.up-co-at{ position:relative; display:block; min-width:0; }
.up-co-at i{ position:absolute; left:12px; top:50%; transform:translateY(-50%); font-style:normal; color:#c8c8cd; pointer-events:none; }
.up-co-at input{ padding-left:26px !important; }
.up-co-x{ width:32px; height:32px; border:0; border-radius:50%; background:rgba(255,255,255,0.05); color:#cfcfd4; font-size:18px; line-height:1; cursor:pointer; }
@media (hover:hover) and (pointer:fine){ .up-co-x:hover{ background:rgba(255,99,71,0.14); color:#ff9c86; } }
.up-co-add{ align-self:flex-start; display:inline-flex; align-items:center; gap:6px; margin-top:8px; padding:0; border:0; background:none; color:#f0a35b; font-family:var(--font-sans); font-size:13px; font-weight:600; cursor:pointer; }
.up-co-add svg{ width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; }
.up-co-add[hidden]{ display:none; }
@media (hover:hover) and (pointer:fine){ .up-co-add:hover{ text-decoration:underline; text-underline-offset:3px; } }
.up-co-at{ grid-column:1 / 2; }
.up-co-x{ grid-row:2; grid-column:2; }
.up-producers > label > span{ font-size:13px; font-weight:600; color:var(--text-secondary); }
.up-producers{ gap:7px; }

/* Review: automatic checks summary, prepared store preview, folded history files */
.rv-auto{ display:flex; align-items:flex-start; gap:10px; margin-top:16px; padding:12px 14px; border-radius:12px; border:1px solid rgba(255,255,255,0.08); background:rgba(255,255,255,0.03); font-size:13.5px; line-height:1.5; color:var(--text-secondary); }
.rv-auto b{ color:#f5f5f7; }
.rv-auto-dot{ width:9px; height:9px; flex-shrink:0; margin-top:6px; border-radius:50%; background:#ababb0; animation:rvPulse 1.2s ease-in-out infinite; }
@keyframes rvPulse{ 50%{ opacity:0.35; } }
.rv-auto.is-ok{ border-color:rgba(76,201,122,0.35); background:rgba(76,201,122,0.08); }
.rv-auto.is-ok .rv-auto-dot{ background:#4cc97a; animation:none; }
.rv-auto.is-bad{ border-color:rgba(255,99,71,0.35); background:rgba(255,99,71,0.07); }
.rv-auto.is-bad .rv-auto-dot{ background:#ff7a5c; animation:none; }
.rv-auto ul{ margin:6px 0 8px; padding-left:18px; color:#ffc2b3; }
.rv-auto-note{ padding:0; border:0; background:none; color:#f0a35b; font-family:var(--font-sans); font-size:13px; font-weight:700; cursor:pointer; }
@media (hover:hover) and (pointer:fine){ .rv-auto-note:hover{ text-decoration:underline; text-underline-offset:3px; } }
.rv-prep{ margin:10px 2px 0; font-size:12.5px; color:var(--text-muted); }
.rv-prep.is-ok{ color:#7fe0a4; }
.rv-prep.is-bad{ color:#ff9c86; }
.rv-files-more > summary{ list-style:none; cursor:pointer; }
.rv-files-more > summary::-webkit-details-marker{ display:none; }
.rv-files-more > summary h3{ margin:0; }
.rv-files-more > summary h3::after{ content:"Show"; margin-left:auto; font-size:12.5px; font-weight:600; color:#f0a35b; }
.rv-files-more[open] > summary h3::after{ content:"Hide"; }
.rv-files-more[open] > summary{ margin-bottom:10px; }
@media (prefers-reduced-motion: reduce){ .rv-auto-dot{ animation:none; } }

/* ------------------------- Tax details and statements ------------------------ */
.po-tax-warn{ margin:14px 0 0; padding:12px 14px; border-radius:12px; border:1px solid rgba(232,134,44,0.45); background:rgba(232,134,44,0.08); color:var(--text); font-size:14px; line-height:1.5; }
.po-tax-warn b{ color:var(--amber-text); }
.tx-card{ margin-top:18px; }
.tx-badge.is-ok{ color:#0a0a09; background:rgb(76,201,122); border-color:transparent; }
.tx-badge.is-warn{ color:var(--amber-text); }
.tx-form{ display:flex; flex-direction:column; gap:18px; margin-top:18px; }
.tx-seg{ display:inline-grid; grid-template-columns:1fr 1fr; align-self:flex-start; padding:4px; border-radius:12px; border:1px solid var(--line); background:#0a0a09; }
.tx-seg input{ position:absolute; opacity:0; pointer-events:none; }
.tx-seg span{ display:block; padding:9px 22px; border-radius:9px; font-size:14px; font-weight:600; color:var(--text-muted); cursor:pointer; transition:background-color 150ms ease, color 150ms ease; }
.tx-seg input:checked + span{ background:var(--accent); color:#0a0a09; }
.tx-seg input:focus-visible + span{ outline:2px solid var(--accent); outline-offset:2px; }
.tx-declare{ padding:14px 16px; border-radius:12px; border:1px solid var(--line); background:rgba(255,255,255,0.02); font-size:13.5px; }
.tx-actions{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.tx-status{ font-size:14px; color:var(--text-secondary); }
.tx-status.is-bad{ color:#ff7a7a; }
.tx-status.is-ok{ color:rgb(76,201,122); }
.tx-form [hidden]{ display:none !important; }
.tx-statements{ display:flex; flex-direction:column; gap:10px; margin-top:16px; }
.tx-st-row{ display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; padding:14px 16px; border-radius:12px; border:1px solid var(--line); }
.tx-st-row b{ font-size:15px; color:var(--text); }
.tx-st-row small{ display:block; margin-top:2px; font-size:13px; color:var(--text-muted); }
.tx-st-links{ display:flex; gap:8px; }
.tx-st-links a{ display:inline-flex; align-items:center; height:36px; padding:0 14px; border-radius:10px; border:1px solid var(--border-strong); font-size:13px; font-weight:600; color:var(--text); }
.tx-st-links a:hover{ border-color:var(--accent); color:var(--amber-text); }
@media (max-width:640px){ .tx-seg{ align-self:stretch; } .tx-seg span{ text-align:center; padding:11px 10px; } .tx-st-links{ width:100%; } .tx-st-links a{ flex:1; justify-content:center; height:44px; } }
.tx-card .po-head{ display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:12px; }
@media (max-width:640px){ .tx-card .po-head > div{ flex:1 1 100%; } }
.tx-card .tx-badge{ flex-shrink:0; margin-top:4px; }

/* ------------------------------ Producer area tabs ----------------------------- */
.pa-tabs-wrap{ position:relative; margin:0 0 10px; scroll-margin-top:108px; }
.pa-tabs{ scroll-margin-top:108px; display:flex; gap:6px; margin:0; padding:5px; border-radius:14px; border:1px solid var(--line); background:#0a0a09; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.pa-tabs::-webkit-scrollbar{ display:none; }
.pa-tabs a{ position:relative; flex:1 0 auto; display:inline-flex; align-items:center; justify-content:center; gap:8px; height:42px; padding:0 16px; border-radius:10px; font-size:14px; font-weight:600; color:var(--text-muted); white-space:nowrap; transition:background-color 150ms ease, color 150ms ease; }
.pa-tabs a svg{ width:17px; height:17px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
@media (hover:hover){ .pa-tabs a:hover{ color:var(--text); background:rgba(255,255,255,0.04); } }
.pa-tabs a.is-on{ color:#0a0a09; background:var(--accent); }
.pa-tabs a:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
.pa-tab-dot{ position:absolute; top:7px; right:8px; width:9px; height:9px; border-radius:50%; background:#ff5b5b; box-shadow:0 0 0 2px #0a0a09; }
.pa-tabs a.is-on .pa-tab-dot{ box-shadow:0 0 0 2px var(--accent); }
/* one section at a time (the scripts of each section keep their own hidden state) */
#pa-body[data-active="tracks"] [data-panel]:not([data-panel="tracks"]),
#pa-body[data-active="storefront"] [data-panel]:not([data-panel="storefront"]),
#pa-body[data-active="licenses"] [data-panel]:not([data-panel="licenses"]),
#pa-body[data-active="payouts"] [data-panel]:not([data-panel="payouts"]),
#pa-body[data-active="tax"] [data-panel]:not([data-panel="tax"]){ display:none !important; }
#pa-body [data-panel]{ animation:paPanelIn 260ms ease both; }
@keyframes paPanelIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce){ #pa-body [data-panel]{ animation:none; } }
.pa-tabs-arrow, .pa-dots{ display:none; }
/* Phones: one section name at a time. Swipe the bar (or tap the arrows) to move
   to the next one; no name is ever cut off. */
@media (max-width:640px){
  .pa-tabs{ gap:0; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; }
  .pa-tabs a{ flex:0 0 100%; justify-content:center; padding:0 52px; font-size:15px; scroll-snap-align:center; scroll-snap-stop:always; }
  .pa-tabs a svg{ width:18px; height:18px; }
  .pa-tab-dot{ position:static; flex-shrink:0; margin-left:2px; box-shadow:none; }
  .pa-tabs-arrow{ display:flex; position:absolute; top:5px; bottom:5px; z-index:2; width:46px; align-items:center; justify-content:center; padding:0; border:0; border-radius:10px; background:transparent; color:#0a0a09; cursor:pointer; -webkit-tap-highlight-color:transparent; }
  .pa-tabs-arrow.is-prev{ left:5px; }
  .pa-tabs-arrow.is-next{ right:5px; }
  .pa-tabs-arrow svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
  .pa-tabs-arrow:disabled{ opacity:0.28; cursor:default; }
  .pa-tabs-arrow:focus-visible{ outline:2px solid #0a0a09; outline-offset:-4px; }
  .pa-dots{ display:flex; justify-content:center; gap:6px; margin-top:10px; }
  .pa-dots i{ width:6px; height:6px; border-radius:3px; background:rgba(255,255,255,0.25); transition:width 200ms ease, background-color 200ms ease; }
  .pa-dots i.is-on{ width:20px; background:var(--accent); }
  .pa-tabs-wrap{ margin-bottom:16px; }
}

/* Licenses: what the selected license means, and the one-time sale rule */
.lc-sum{ margin:0 0 14px; padding:14px 16px; border-radius:12px; border:1px solid var(--line); background:rgba(255,255,255,0.02); font-size:14px; line-height:1.6; color:var(--text-secondary); }
.lc-sum b{ color:var(--text); }
.lc-once{ margin:0 0 14px; padding:14px 16px; border-radius:12px; border:1px solid rgba(232,134,44,0.5); background:rgba(232,134,44,0.08); font-size:14px; line-height:1.6; color:var(--text); }
.lc-once b{ color:var(--amber-text); }

@media (max-width:640px){ .pa-filter{ overflow:visible; flex-wrap:wrap; } .pa-filter button{ flex:1 1 auto; } }

.pa-tab-desc{ margin:0 2px 22px; font-size:14px; line-height:1.5; color:var(--text-muted); }
@media (max-width:640px){
  .pa-tabs-wrap{ margin-bottom:0; }
  .pa-dots{ margin-top:22px; }
  .pa-tab-desc{ margin:16px 8px 26px; padding-bottom:22px; text-align:center; font-size:14.5px; border-bottom:1px solid var(--line); }
}

.tx-company{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px 22px; margin:18px 0 16px; }
.tx-company div{ padding:12px 14px; border-radius:12px; border:1px solid var(--line); background:rgba(255,255,255,0.02); min-width:0; }
.tx-company dt{ margin:0 0 3px; font-size:12px; font-weight:600; letter-spacing:0.04em; color:var(--text-muted); text-transform:uppercase; }
.tx-company dd{ margin:0; font-size:14.5px; color:var(--text); overflow-wrap:anywhere; }
@media (max-width:640px){ .tx-company{ grid-template-columns:1fr; } }

/* ----------------------------- Your tracks: the list ----------------------------- */
.pa-list{ gap:12px; }
.pa-row{
  --st:#8a877e;
  position:relative; display:grid; grid-template-columns:64px minmax(0, 1fr) auto; align-items:center; gap:6px 18px;
  padding:16px 20px 16px 22px; border:1px solid var(--border-strong); border-radius:18px; overflow:hidden;
  background:linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0) 55%), #0d0d0c;
  box-shadow:inset 4px 0 0 var(--st); transition:transform 200ms ease, border-color 200ms ease;
}
.pa-row:first-child{ border-top:1px solid var(--border-strong); }
@media (hover:hover){ .pa-row:hover{ border-color:color-mix(in srgb, var(--st) 55%, #2a2825); transform:translateY(-1px); } }
.pa-row.is-approved{ --st:#4cc97a; }
.pa-row.is-pending{ --st:#e8862c; }
.pa-row.is-rejected{ --st:#ff6b57; }
.pa-row.is-sold{ --st:#6ec6ff; }

.pa-row-cover{ position:relative; width:64px; height:64px; border-radius:14px; overflow:hidden; display:flex; align-items:center; justify-content:center; background:radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--st) 28%, #15130f), #0a0a09 75%); border:1px solid rgba(255,255,255,0.08); }
.pa-row-cover img{ width:100%; height:100%; object-fit:cover; display:block; }
.pa-row-cover svg{ width:26px; height:26px; fill:none; stroke:var(--st); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; opacity:0.9; }
.pa-row.is-sold .pa-row-cover img{ filter:saturate(0.55) brightness(0.8); }

.pa-row-main{ display:flex; flex-direction:column; align-items:flex-start; gap:7px; min-width:0; }
.pa-row-top{ display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; min-width:0; }
.pa-row-title{ font-family:var(--font-display); font-size:18px; font-weight:600; letter-spacing:0.02em; line-height:1.25; color:#fff; overflow-wrap:anywhere; }
.pa-row-chips{ display:flex; flex-wrap:wrap; gap:6px; }
.pa-row-chips span{ padding:5px 11px; font-family:var(--font-sans); font-size:13px; font-weight:600; letter-spacing:0.01em; line-height:1.2; color:var(--text); background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.14); border-radius:999px; }
.pa-row-chips .is-price{ font-weight:700; color:var(--amber-text); background:rgba(232,134,44,0.1); border-color:rgba(232,134,44,0.38); }
.pa-row-date{ font-family:var(--font-sans); font-size:13.5px; color:var(--text-secondary); }
.pa-row-note{ margin:4px 0 0; padding:10px 14px; border-radius:14px; border:1px solid rgba(255,107,87,0.35); background:rgba(255,107,87,0.08); font-size:14.5px; line-height:1.55; color:#ffd2c8; max-width:62ch; }
.pa-row-note b{ display:block; margin-bottom:2px; font-family:var(--font-sans); font-size:12px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:#ff8d79; }
.pa-row-note.is-info{ border-color:rgba(110,198,255,0.35); background:rgba(110,198,255,0.08); color:#d6eeff; }
.pa-row-note.is-info b{ color:#8fd2ff; }

/* status: a pill with an LED */
.pa-status{ display:inline-flex; align-items:center; gap:7px; height:28px; padding:0 12px 0 10px; border-radius:14px; font-family:var(--font-sans); font-size:12px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; border:1px solid transparent; }
.pa-status i{ width:7px; height:7px; border-radius:50%; background:currentColor; box-shadow:0 0 8px currentColor; }
.pa-status.is-ok{ color:#7fe0a4; background:rgba(76,201,122,0.12); border-color:rgba(76,201,122,0.35); }
.pa-status.is-pending{ color:#f5b06a; background:rgba(232,134,44,0.12); border-color:rgba(232,134,44,0.38); }
.pa-status.is-pending i{ animation:paLed 1.8s ease-in-out infinite; }
.pa-status.is-bad{ color:#ff9c86; background:rgba(255,107,87,0.12); border-color:rgba(255,107,87,0.38); }
.pa-status.is-sold{ color:#8fd2ff; background:rgba(110,198,255,0.12); border-color:rgba(110,198,255,0.38); }
@keyframes paLed{ 0%,100%{ opacity:1; } 50%{ opacity:0.3; } }
@media (prefers-reduced-motion:reduce){ .pa-status.is-pending i{ animation:none; } .pa-row{ transition:none; } }

/* actions: even HUD buttons instead of loose links */
.pa-row-actions{ display:flex; flex-direction:column; align-items:stretch; gap:8px; min-width:116px; }
.pa-act{
  display:inline-flex; align-items:center; justify-content:flex-start; gap:9px; height:36px; padding:0 14px; cursor:pointer;
  font-family:var(--font-sans); font-size:14px; font-weight:600; color:var(--text); background:rgba(255,255,255,0.03); border:1px solid var(--border-strong); border-radius:999px;
  text-decoration:none; transition:border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}
.pa-act svg{ width:15px; height:15px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
@media (hover:hover){ .pa-act:hover{ color:var(--amber-text); border-color:var(--accent); background:rgba(232,134,44,0.08); } }
.pa-act:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
.pa-act.is-open{ color:var(--amber-text); border-color:rgba(232,134,44,0.55); background:rgba(232,134,44,0.12); }

@media (max-width:760px){
  .pa-row{ grid-template-columns:48px minmax(0, 1fr); column-gap:12px; padding:14px 12px 14px 16px; }
  .pa-row-cover{ width:48px; height:48px; border-radius:12px; }
  .pa-row-actions{ grid-column:1 / -1; flex-direction:row; gap:6px; min-width:0; margin-top:4px; }
  .pa-act{ flex:1 1 auto; justify-content:center; gap:6px; height:44px; padding:0 8px; white-space:nowrap; }
}

/* Co-producer share of the producer's 80% */
.up-co-pct{ position:relative; display:block; grid-column:2; grid-row:3; width:104px; }
.up-co-pct input{ padding-right:28px !important; text-align:right; }
.up-co-pct i{ position:absolute; right:12px; top:50%; transform:translateY(-50%); font-style:normal; color:#c8c8cd; pointer-events:none; }
.up-split-help{ margin:10px 2px 0; font-size:14px; line-height:1.5; color:#cfcfd4; max-width:560px; }
.up-split-help b{ color:#f5f5f7; font-weight:600; }
.up-split{ margin:8px 0 0; padding:10px 12px; border-radius:12px; border:1px solid rgba(232,134,44,0.3); background:rgba(232,134,44,0.08); font-size:13.5px; line-height:1.5; color:#f3d9bd; }
.up-split.is-bad{ border-color:rgba(255,107,87,0.4); background:rgba(255,107,87,0.09); color:#ffb7a8; }
@media (max-width:520px){ .up-co-pct{ width:96px; } }

.up-owner{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:8px; padding:8px 8px 8px 12px; border-radius:12px; border:1px solid rgba(255,255,255,0.08); background:rgba(255,255,255,0.02); font-size:13.5px; color:#d2d2d7; }
.up-owner[hidden]{ display:none; }
.up-owner .up-co-pct{ grid-column:auto; grid-row:auto; }

/* Track review on phones: tidier tabs, header, file rows and buttons */
@media (max-width:600px){
  .rv-tabs{ display:flex; width:100%; max-width:100%; gap:2px; padding:4px; overflow-x:auto; scrollbar-width:none; }
  .rv-tabs button{ flex:0 0 auto; }
  .rv-tabs button{ padding:0 4px !important; font-size:13px !important; white-space:nowrap; justify-content:center; }
  .rv-tabs span{ margin-left:3px; padding:0 6px; }
  .rv-card{ padding:16px 14px; }
  .rv-top{ grid-template-columns:72px minmax(0, 1fr); gap:12px; }
  .rv-by{ overflow-wrap:anywhere; font-size:13px; }
  .rv-info h2{ font-size:17px; line-height:1.25; overflow-wrap:anywhere; }
  .rv-verify{ gap:6px; }
  .rv-verify-btn{ height:30px; }
  .rv-prices{ gap:4px; }
  .rv-fhead{ display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:4px 10px; align-items:center; }
  .rv-fhead b{ grid-column:1; }
  .rv-fhead .rv-dl{ grid-column:2; grid-row:1 / span 2; height:36px; padding:0 14px; }
  .rv-fmeta{ grid-column:1; min-width:0; }
  .rv-frow{ padding:12px; }
  .rv-peek{ height:38px; }
  .rv-actions{ flex-direction:column-reverse; }
  .rv-actions .btn{ width:100%; height:46px; }
  .rv-tagcheck-actions{ flex-direction:column-reverse; }
  .rv-tagcheck-actions .btn{ width:100%; height:46px; }
  .rv-reopen .btn{ width:100%; }
}

/* Producer sale panel */
.pa-act.is-sale{ color:#f3d9bd; border-color:rgba(232,134,44,0.55); background:rgba(232,134,44,0.12); }
.pa-sale{ margin:-4px 0 14px; padding:14px 16px; border-radius:16px; border:1px solid rgba(232,134,44,0.3); background:rgba(232,134,44,0.06); }
.pa-sale-info{ margin:0 0 12px; font-size:14px; line-height:1.5; color:#d8d5ca; }
.pa-sale-info b{ color:#fff; }
.pa-sale-row{ display:flex; flex-wrap:wrap; gap:10px; align-items:flex-end; }
.pa-sale-row label{ display:flex; flex-direction:column; gap:4px; font-size:14px; color:#cdcabf; }

.pa-sale-row .btn{ height:40px; }
@media (max-width:520px){ .pa-sale-row label{ flex:1 1 40%; } .pa-sale-row select{ width:100%; } .pa-sale-row .btn{ flex:1 1 100%; height:44px; } }
@media (max-width:600px){ .pa-row-actions{ flex-wrap:wrap; } }
.pa-sale-row .sd{ min-width:150px; } @media (max-width:520px){ .pa-sale-row .sd{ width:100%; min-width:0; } }
.pa-sale{ position:relative; z-index:5; }
.sd-panel{ background:#12110f; }
.pa-list-card{ position:relative; z-index:3; }

/* Review > Discounts */
.rv-disc{ margin-bottom:14px; }
.rv-disc h2{ margin:0 0 6px; font-family:var(--font-display); font-size:18px; color:#fff; }
.rv-disc-info{ margin:0 0 14px; font-size:14px; line-height:1.5; color:#d8d5ca; }
.rv-disc-info b{ color:#fff; }
.rv-disc-row{ display:flex; flex-wrap:wrap; gap:10px; align-items:flex-end; }
.rv-disc-row label{ display:flex; flex-direction:column; gap:4px; font-size:14px; color:#cdcabf; min-width:130px; }
.rv-disc-row .rv-disc-wide{ flex:1 1 180px; }
.rv-disc-row input{ height:42px; padding:0 14px; border-radius:14px; border:1px solid rgba(255,255,255,0.18); background:#0d0d0c; color:#f5f3ee; font:inherit; font-size:14px; }
.rv-disc-row input:focus{ outline:none; border-color:var(--accent); }
.rv-disc-row .btn{ height:42px; }
.rv-codes{ margin-top:16px; display:flex; flex-direction:column; gap:8px; }
.rv-code{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 14px; border-radius:14px; border:1px solid var(--line); background:rgba(255,255,255,0.02); }
.rv-code div{ display:flex; flex-direction:column; min-width:0; }
.rv-code b{ font-size:15px; color:#fff; letter-spacing:0.5px; }
.rv-code span{ font-size:14px; color:#cdcabf; }
.rv-code.is-off{ opacity:0.55; }
@media (max-width:600px){ .rv-disc-row label{ flex:1 1 40%; min-width:0; } .rv-disc-row .rv-disc-wide{ flex:1 1 100%; } .rv-disc-row .btn{ flex:1 1 100%; height:46px; } }

/* Search your tracks */
.pa-search{ position:relative; display:block; margin:0 0 14px; }
.pa-search svg{ position:absolute; left:14px; top:50%; width:18px; height:18px; margin-top:-9px; fill:none; stroke:#9d9da3; stroke-width:2; stroke-linecap:round; pointer-events:none; }
.pa-search input{ width:100%; height:46px; padding:0 14px 0 42px; border-radius:999px; border:1px solid rgba(255,255,255,0.14); background:#0d0d0c; color:#f5f3ee; font:inherit; font-size:15px; }
.pa-search input::placeholder{ color:#c0bdb4; }
.pa-search input:focus{ outline:none; border-color:var(--accent); }
.pa-search input::-webkit-search-cancel-button{ filter:invert(1); opacity:0.6; }

/* Status filter on phones: an even 2 x 2 grid, same size cells, soft corners that match the group */
@media (max-width:640px){
  .pa-filter:not(.rv-tabs){ display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; border-radius:22px; overflow:visible; }
  .pa-filter:not(.rv-tabs) button{ flex:none; width:100%; height:40px; padding:0 8px; border-radius:18px; white-space:nowrap; display:inline-flex; align-items:center; justify-content:center; }
}

/* Review: queue bar, quick notes, keyboard focus */
.rv-bar{ margin:0 0 14px; }
.rv-bar-row{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.rv-bar-row button{ height:38px; padding:0 14px; border-radius:999px; border:1px solid rgba(255,255,255,0.16); background:rgba(255,255,255,0.04); color:#d8d5ca; font:inherit; font-size:13.5px; font-weight:600; cursor:pointer; }
.rv-bar-row button b{ margin-left:4px; color:#fff; }
.rv-bar-row button.is-on{ border-color:rgba(232,134,44,0.6); background:rgba(232,134,44,0.14); color:#ffd9a8; }
.rv-bar-wait{ font-size:14px; color:#cdcabf; }
.rv-keys{ display:none; margin:10px 2px 0; font-size:14px; color:#c0bdb4; }
.rv-keys kbd{ padding:1px 6px; border-radius:6px; border:1px solid rgba(255,255,255,0.2); background:rgba(255,255,255,0.05); font:inherit; font-size:12px; color:#d8d5ca; }
@media (hover:hover) and (pointer:fine){ .rv-keys{ display:block; } }
.rv-quick{ display:flex; flex-wrap:wrap; gap:6px; }
.rv-quick button{ height:32px; padding:0 12px; border-radius:999px; border:1px dashed rgba(255,255,255,0.22); background:none; color:#c7c7cc; font:inherit; font-size:12.5px; cursor:pointer; }
@media (hover:hover) and (pointer:fine){ .rv-quick button:hover{ border-style:solid; color:#fff; } }
.rv-card.is-focus{ box-shadow:0 0 0 2px rgba(232,134,44,0.55); }
.rv-card[hidden]{ display:none; }
