/*! Dapstrem Mixtapes - upload form, /mixtapes/ and /mixtape/12345/ */
.dmx-form, .dmx-page {
 --dmx-accent: var(--dap-accent, #f500a8);
 --dmx-accent-2: var(--dap-accent-2, #7b5cff);
 --dmx-bg: #000;
 --dmx-surface: #111;
 --dmx-line: var(--dap-border, rgba(255, 255, 255, .1));
 --dmx-text: var(--dap-text, #fff);
 --dmx-muted: var(--dap-muted, #aab3c5);
 --dmx-display: var(--dap-display, var(--dap-font, "Familjen Grotesk", Inter, system-ui, -apple-system, "Segoe UI", sans-serif));
}

/* ---------- Upload form ---------- */
.dmx-form, .dmx-form *, .dmx-page, .dmx-page * { box-sizing: border-box; }
.dmx-form { display: grid; gap: 16px; color: var(--dmx-text); }
.dmx-grid { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 14px; }
.dmx-drop, .dmx-cover { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 170px; padding: 18px; border: 2px dashed var(--dmx-line); border-radius: 18px; background: rgba(255, 255, 255, .02); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; overflow: hidden; }
.dmx-drop:hover, .dmx-drop.is-over, .dmx-cover:hover { border-color: var(--dmx-accent); }
.dmx-drop.has-file { border-style: solid; border-color: #22c55e; background: rgba(34, 197, 94, .06); }
.dmx-drop__icon { font-size: 34px; line-height: 1; color: var(--dmx-accent); }
.dmx-drop strong { font-size: 15px; word-break: break-all; }
.dmx-drop small, .dmx-cover small { display: block; color: var(--dmx-muted); font-size: 12.5px; font-weight: 500; }
.dmx-cover { padding: 0; font-weight: 700; color: var(--dmx-muted); }
.dmx-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dmx-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.dmx-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--dmx-muted); }
.dmx-fields .dmx-wide { grid-column: 1 / -1; }
.dmx-fields input, .dmx-fields textarea { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--dmx-line); background: rgba(255, 255, 255, .04); color: var(--dmx-text); font: inherit; font-size: 15px; }
.dmx-fields input:focus, .dmx-fields textarea:focus { outline: 0; border-color: var(--dmx-accent); }
.dmx-check { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--dmx-muted); line-height: 1.45; }
.dmx-check input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--dmx-accent); flex-shrink: 0; }
.dmx-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.dmx-progress { display: grid; gap: 8px; }
.dmx-progress__bar { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.dmx-progress__bar i { display: block; height: 100%; width: 0; border-radius: 10px; background: var(--dmx-accent); transition: width .3s; }
.dmx-progress span { font-size: 13.5px; font-weight: 600; color: var(--dmx-muted); }
.dmx-msg { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: 14.5px; }
.dmx-msg.is-ok { background: rgba(34, 197, 94, .12); color: #86efac; }
.dmx-msg.is-error { background: rgba(239, 68, 68, .12); color: #fca5a5; }
.dmx-msg a { margin-left: 6px; color: #fff; font-weight: 700; }
.dmx-msg[hidden], .dmx-progress[hidden] { display: none; }

/* ---------- Buttons ---------- */
.dmx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--dmx-accent); color: #fff !important; font: 700 15px/1 var(--dmx-display); text-decoration: none !important; cursor: pointer; transition: transform .2s, filter .2s; }
.dmx-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.dmx-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.dmx-btn--ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--dmx-line); }
.dmx-btn--big { height: 54px; padding: 0 30px; font-size: 16.5px; }

.dmx-btn--outline { background: transparent; border: 2px solid var(--dmx-accent); color: #fff !important; }
.dmx-btn--outline:hover { background: var(--dmx-accent); }

/* ---------- shared ---------- */
.dmx-page { padding-bottom: 56px; background: #000; }
.dmx-page [hidden], .dmx-bar[hidden] { display: none !important; }
#dmx-app { transition: opacity .2s; }
#dmx-app.is-loading { opacity: .45; pointer-events: none; }
.dmx-ph { display: grid; place-items: center; width: 100%; height: 100%; font-size: 48px; color: var(--dmx-accent); background: #1a1a1a; }
.dap .dmx-eyebrow { display: inline-block; font: 700 12px/1.2 var(--dap-mono, monospace); letter-spacing: .16em; text-transform: uppercase; color: var(--dmx-accent) !important; text-decoration: none !important; }
.dmx-meta { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0 !important; padding: 0 !important; color: var(--dmx-muted); font-size: 13.5px; }
.dmx-meta li { margin: 0 !important; }
.dmx-meta li + li::before { content: "•"; margin: 0 9px; opacity: .6; }
.dap .dmx-meta a { color: inherit !important; }

/* Search bar */
.dmx-search { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 700px; height: 60px; padding: 0 7px 0 22px; border-radius: 999px; border: 1px solid #2a2a2a; background: #0d0d0d; color: #8a8a8a; transition: border-color .2s; }
.dmx-search:hover { border-color: #3a3a3a; }
.dmx-search:focus-within { border-color: #f500a8; color: #f500a8; }
.dmx-search svg { flex-shrink: 0; }
.dap .dmx-search input { flex: 1; min-width: 0; height: 100%; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; color: #fff !important; font: 500 16px/1 inherit; outline: 0; }
.dmx-search input::placeholder { color: var(--dmx-muted); opacity: .85; }
.dmx-search input::-webkit-search-cancel-button { filter: invert(1); }
/* Premium search button: solid pink pill, spaced caps, white arrow disc that slides on hover. */
.dmx-search button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 6px 0 22px; border: 0; border-radius: 999px; background: #f500a8; color: #fff; font: 800 13px/1 var(--dmx-display); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .2s, transform .15s; }
.dmx-search__go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #f500a8; transition: transform .25s ease; }
.dmx-search button:hover { background: #d10090; }
.dmx-search button:hover .dmx-search__go { transform: translateX(3px); }
.dmx-search button:active { transform: scale(.97); }
.dmx-search button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Share */
.dmx-share { position: relative; display: inline-flex; }
.dmx-pill { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--dmx-line); background: rgba(255, 255, 255, .05); color: #fff; font: 600 14px/1 var(--dmx-display); cursor: pointer; }
.dmx-pill:hover { border-color: var(--dmx-accent); }
.dmx-share__menu { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; display: grid; min-width: 170px; padding: 6px; border-radius: 14px; border: 1px solid var(--dmx-line); background: #111; }
.dap .dmx-share__menu a, .dmx-share__menu button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 9px; background: none; color: #fff !important; font: 600 14px/1.2 inherit; text-align: left; text-decoration: none !important; cursor: pointer; }
.dmx-share__menu a:hover, .dmx-share__menu button:hover { background: rgba(255, 255, 255, .07); }

/* ---------- Banner (list pages) ---------- */
.dmx-banner { position: relative; z-index: 3; padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 60px); background: #000; border-bottom: 1px solid var(--dmx-line); } /* z-index: the Share menu opens over the content below */
.dmx-banner::after { display: none; }
.dmx-banner__in { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.dap .dmx-banner__title { margin: 0 !important; font: 900 clamp(40px, 7vw, 92px)/.95 var(--dmx-display) !important; letter-spacing: -.02em; text-transform: uppercase; color: #fff !important; }
.dmx-banner__text { margin: 0 0 10px !important; max-width: 620px; color: #dfe4f0; font-size: clamp(15.5px, 1.4vw, 19px); }
.dmx-banner--dj { padding: clamp(28px, 4vw, 48px) 0; background: #000; }
.dmx-banner--dj::after { display: none; }
.dmx-banner--dj .dmx-banner__in { align-items: stretch; text-align: left; gap: 26px; }
.dmx-banner__dj { display: grid; grid-template-columns: clamp(130px, 18vw, 220px) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: center; }
.dmx-banner__art { aspect-ratio: 1; border-radius: 18px; overflow: hidden; }
.dap .dmx-banner__art img { width: 100%; height: 100%; object-fit: cover; }
.dmx-banner--dj .dmx-banner__title { font-size: clamp(32px, 5vw, 64px) !important; margin-top: 6px !important; }
.dmx-banner--dj .dmx-banner__text { margin: 10px 0 12px !important; color: var(--dmx-muted); }
.dmx-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.dmx-banner__actions .dap-social { margin: 0 !important; }

/* ---------- Browse: genres + grid ---------- */
.dmx-browse { padding-top: clamp(24px, 3vw, 40px); }
.dmx-genres { position: sticky; top: 96px; align-self: start; }
.dmx-genres__h { display: block; margin-bottom: 10px; font: 700 12px/1 var(--dap-mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--dmx-muted); }
.dmx-genres ul { list-style: none; display: grid; gap: 6px; margin: 0 !important; padding: 0 !important; }
.dmx-genres li { margin: 0 !important; }
.dap .dmx-genres a { display: block; padding: 9px 13px; border-radius: 10px; border: 1px solid var(--dmx-line); background: rgba(255, 255, 255, .03); color: #dfe4f0 !important; font: 700 13px/1.2 var(--dmx-display); letter-spacing: .04em; text-transform: uppercase; text-decoration: none !important; transition: background .2s, border-color .2s; }
.dap .dmx-genres a:hover { border-color: var(--dmx-accent); }
.dap .dmx-genres a[aria-current] { background: var(--dmx-accent); border-color: var(--dmx-accent); color: #fff !important; }

.dmx-feed__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-bottom: 18px; }
.dap .dmx-feed__h { margin: 0 !important; font: 800 clamp(20px, 2vw, 26px)/1.2 var(--dmx-display) !important; color: #fff !important; }
.dmx-feed__h small { margin-left: 6px; font: 600 13px/1 var(--dap-mono, monospace); color: var(--dmx-muted); }
.dmx-sorts { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.dap .dmx-sorts a { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: #dfe4f0 !important; font-size: 13.5px; font-weight: 600; text-decoration: none !important; }
.dap .dmx-sorts a:hover { background: rgba(255, 255, 255, .12); }
.dap .dmx-sorts a[aria-current] { background: #fff; color: #000 !important; }

.dmx-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px) clamp(12px, 1.6vw, 20px); }
.dmx-tile { min-width: 0; }
.dmx-tile__art { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #111; }
.dmx-tile__art > a { display: block; width: 100%; height: 100%; }
.dap .dmx-tile__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.dmx-tile:hover .dmx-tile__art img { transform: scale(1.05); }

.dmx-tile__dur { position: absolute; z-index: 1; right: 8px; bottom: 8px; padding: 3px 7px; border-radius: 6px; background: #000; color: #fff; font: 600 12px/1.2 var(--dap-mono, monospace); }
.dmx-tile.is-current .dmx-tile__art { outline: 3px solid var(--dmx-accent); outline-offset: -3px; }
.dmx-tile__body { padding: 11px 2px 0; }
.dap .dmx-tile__title { margin: 0 !important; font: 700 15.5px/1.3 var(--dmx-display) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dap .dmx-tile__title a { color: #fff !important; text-decoration: none !important; }
.dap .dmx-tile__title a:hover { color: var(--dmx-accent) !important; }
.dmx-tile__meta { display: flex; flex-direction: column; gap: 2px; margin: 5px 0 0 !important; color: var(--dmx-muted); font-size: 13px; line-height: 1.35; }
.dap .dmx-tile__dj { color: #dfe4f0 !important; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dap .dmx-tile__dj a { color: inherit !important; text-decoration: none !important; }
.dap .dmx-tile__dj a:hover { color: var(--dmx-accent) !important; }
/* DJ and MC shown as two people: "DJ Ocheezy · MC Hype Ninja" */
.dmx-artist abbr { display: inline-block; margin-right: 2px; padding: 1px 5px; border-radius: 5px; background: var(--dmx-accent); color: #fff; font: 800 10.5px/1.5 var(--dap-mono, monospace); letter-spacing: .06em; text-decoration: none; vertical-align: 1px; }
.dmx-amp { color: var(--dmx-muted); font-weight: 500; margin: 0 2px; }
.dmx-hint { display: block; margin-top: 2px; color: #fbbf24; font-size: 12.5px; font-weight: 600; }
.dmx-hint[hidden] { display: none; }

/* Round play buttons */
.dmx-play { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--dmx-accent); color: #fff !important; cursor: pointer; transition: transform .2s, filter .2s; }
.dmx-play:hover { transform: scale(1.06); filter: brightness(1.08); }
.dmx-play svg { grid-area: 1 / 1; }
.dmx-play svg:first-child { margin-left: 2px; }
.dmx-play svg + svg, .dmx-play.is-playing svg:first-child, .dmx-btn[data-dmx-play] svg + svg, .dmx-btn[data-dmx-play].is-playing svg:first-child { display: none; }
.dmx-play.is-playing svg + svg, .dmx-btn[data-dmx-play].is-playing svg + svg { display: block; }
.dmx-play.is-loading::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; border-top-color: #fff; animation: dmx-spin .8s linear infinite; }
@keyframes dmx-spin { to { transform: rotate(360deg); } }
.dmx-tile__play { position: absolute; z-index: 2; left: 10px; bottom: 10px; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.dmx-tile:hover .dmx-tile__play, .dmx-tile__play:focus-visible, .dmx-tile__play.is-playing { opacity: 1; transform: none; }

/* Pager */
.dmx-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; }
.dap .dmx-pager__btn { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--dmx-line); background: rgba(255, 255, 255, .05); color: #fff !important; font: 700 15px/1 var(--dmx-display); text-decoration: none !important; }
.dap .dmx-pager__btn:hover { border-color: var(--dmx-accent); }
.dap .dmx-pager__btn--next { background: var(--dmx-accent); border-color: var(--dmx-accent); }
.dmx-pager__at { color: var(--dmx-muted); font-size: 13.5px; }
.dmx-empty { display: grid; justify-items: center; gap: 14px; padding: 48px 0; text-align: center; color: var(--dmx-muted); }
.dmx-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 44px; padding: 22px 26px; border-radius: 20px; border: 1px solid var(--dmx-line); background: #1a1a1a; }
.dmx-cta strong { display: block; color: #fff; font: 800 20px/1.2 var(--dmx-display); }
.dmx-cta span { color: var(--dmx-muted); }

/* ---------- One mix ---------- */
.dmx-topbar { padding: 18px 0; border-bottom: 1px solid var(--dmx-line); background: #000; }
.dmx-topbar .dmx-search { margin: 0 auto; }
.dmx-now { padding-top: 22px; }
.dmx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font: 700 12px/1.4 var(--dap-mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--dmx-muted); }
.dap .dmx-crumbs a { color: var(--dmx-accent) !important; text-decoration: none !important; }
.dmx-crumbs [aria-current] { color: #dfe4f0; }
.dmx-now__head { display: grid; grid-template-columns: clamp(200px, 26vw, 330px) minmax(0, 1fr); gap: clamp(20px, 3.5vw, 44px); align-items: start; }
.dmx-now__art { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #111; }
.dap .dmx-now__art img { width: 100%; height: 100%; object-fit: cover; }
.dmx-now__info { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dap .dmx-now__title { margin: 0 !important; font: 800 clamp(28px, 3.6vw, 48px)/1.06 var(--dmx-display) !important; letter-spacing: -.02em; color: #fff !important; }
.dap .dmx-now__dj { margin: 0 !important; color: var(--dmx-muted); font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; }
.dap .dmx-now__dj a { color: var(--dmx-accent) !important; font-weight: 700; text-decoration: none !important; }
.dap .dmx-now__dj a:hover { text-decoration: underline !important; }
.dmx-now__notes { max-width: 760px; color: #c7cede; font-size: 15.5px; line-height: 1.7; }
.dmx-now__notes p { margin: 0 0 10px !important; }
.dmx-now__notes > :last-child { margin-bottom: 0 !important; }
.dmx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.dmx-btn[data-dmx-play] svg { flex-shrink: 0; }

/* Player bar */
.dmx-player { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 18px; margin-top: clamp(20px, 3vw, 30px); padding: 14px 18px 14px 14px; border-radius: 22px; border: 0; background: #385796; }
.dmx-play--big { width: 64px; height: 64px; }
.dmx-player__mid { display: grid; gap: 6px; min-width: 0; }
.dmx-player__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.dmx-player__name strong { color: #fff; font: 700 15px/1.3 var(--dmx-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.dmx-player__name span { color: var(--dmx-muted); font-size: 13px; }
.dmx-wave { --p: 0%; position: relative; height: 46px; cursor: pointer; touch-action: none; border-radius: 6px; }
.dmx-wave:focus-visible { outline: 2px solid var(--dmx-accent); outline-offset: 3px; }
.dmx-wave__base, .dmx-wave__done { position: absolute; inset: 0; }
.dmx-wave svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.dmx-wave__base { color: rgba(255, 255, 255, .22); }
.dmx-wave__done { color: var(--dmx-accent); clip-path: inset(0 calc(100% - var(--p)) 0 0); transition: clip-path .25s linear; }
.dmx-controls { display: flex; align-items: center; gap: 6px; }
.dmx-ctl { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 6px; border: 0; border-radius: 10px; background: none; color: #dfe4f0; font: 700 14px/1 var(--dmx-display); cursor: pointer; }
.dmx-ctl:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.dmx-time { margin: 0 6px; color: var(--dmx-muted); font: 600 13px/1 var(--dap-mono, monospace); white-space: nowrap; }
.dmx-time i { margin: 0 5px; font-style: normal; opacity: .5; }
.dap .dmx-player__dl { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff !important; font: 700 13.5px/1 var(--dmx-display); text-decoration: none !important; white-space: nowrap; }
.dap .dmx-player__dl:hover { background: var(--dmx-accent); }
.dmx-player__err { grid-column: 1 / -1; margin: 0 !important; padding: 10px 14px; border-radius: 12px; background: rgba(239, 68, 68, .12); color: #fca5a5; font-size: 14px; }

.dmx-rec { margin-top: clamp(36px, 5vw, 56px); }
.dmx-tiles--wide { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* ---------- Mini player ---------- */
.dmx-bar { position: fixed; z-index: 9990; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; max-width: 980px; margin: 0 auto; padding: 10px 12px; border-radius: 18px; border: 1px solid var(--dmx-accent, #f500a8); background: #000; color: #fff; font-family: var(--dmx-display, system-ui, sans-serif); animation: dmx-up .3s ease; }
@keyframes dmx-up { from { transform: translateY(20px); opacity: 0; } }
.dmx-bar__line { position: absolute; left: 16px; right: 16px; top: -1px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); cursor: pointer; }
.dmx-bar__line::before { content: ""; position: absolute; inset: -8px 0; }
.dmx-bar__fill { display: block; height: 100%; width: 0; border-radius: 4px; background: #f500a8; }
.dmx-bar__art { flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px; overflow: hidden; background: #111; }
.dmx-bar__art img { width: 100%; height: 100%; object-fit: cover; }
.dmx-bar__meta { display: grid; flex: 1; min-width: 0; }
.dmx-bar__title { color: #fff !important; font-weight: 700; font-size: 14.5px; text-decoration: none !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dmx-bar__dj { color: #aab3c5; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dmx-bar .dmx-ctl { color: #dfe4f0; }
.dmx-bar .dmx-play { width: 44px; height: 44px; background: #f500a8; }
.dmx-bar__time { color: #aab3c5; font: 600 12.5px/1 monospace; white-space: nowrap; }
body.dmx-has-bar { padding-bottom: 92px; }

@media (max-width: 1200px) { .dmx-tiles--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .dmx-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .dmx-browse { grid-template-columns: minmax(0, 1fr); }
  .dmx-genres { position: static; margin: 0 -16px; }
  .dmx-genres__h { display: none; }
  .dmx-genres ul { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 4px !important; scrollbar-width: none; }
  .dmx-genres ul::-webkit-scrollbar { display: none; }
  .dap .dmx-genres a { white-space: nowrap; border-radius: 999px; padding: 8px 14px; }
  .dmx-player { grid-template-columns: auto minmax(0, 1fr); }
  .dmx-controls { grid-column: 1 / -1; flex-wrap: wrap; }
  .dmx-player__dl { margin-left: auto; }
}
@media (max-width: 760px) {
  .dmx-now__head { grid-template-columns: minmax(0, 1fr); }
  .dmx-now__art { max-width: 240px; width: 100%; justify-self: center; }
  .dmx-banner__dj { grid-template-columns: 110px minmax(0, 1fr); align-items: start; }
  .dmx-bar__time, .dmx-bar__skip { display: none; }
}
@media (max-width: 600px) {
  .dmx-tiles, .dmx-tiles--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dmx-tile__play { opacity: 1; transform: none; width: 40px; height: 40px; left: 8px; bottom: 8px; }
  .dmx-search { height: 54px; padding-left: 16px; }
  .dmx-search button { padding: 0 6px; gap: 0; height: 42px; }
  .dmx-search__txt { display: none; }
  .dmx-player { padding: 12px; border-radius: 18px; gap: 10px 12px; }
  .dmx-play--big { width: 54px; height: 54px; }
  .dmx-actions .dmx-btn { flex: 1 1 auto; }
  .dmx-pager__at { display: none; }
}
/* ---------- Edit a posted mix (staff dashboard) ---------- */
.dmx-modal { width: min(680px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--dmx-line, rgba(255, 255, 255, .1)); border-radius: 22px; background: #111; color: #fff; overflow: auto; }
.dmx-modal::backdrop { background: rgba(5, 8, 18, .85); }
.dmx-modal .dmx-form { --dmx-accent: #f500a8; --dmx-accent-2: #7b5cff; --dmx-line: rgba(255, 255, 255, .1); --dmx-text: #fff; --dmx-muted: #aab3c5; --dmx-display: "Familjen Grotesk", Inter, system-ui, sans-serif; padding: 20px 22px 22px; }
.dmx-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dmx-modal__head h2 { margin: 0; font: 800 21px/1.2 var(--dmx-display); color: #fff; }
.dmx-modal__x { width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .07); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.dmx-modal__x:hover { background: rgba(255, 255, 255, .14); }
.dmx-fields--stack { grid-template-columns: minmax(0, 1fr); align-content: start; }
.dmx-fields select { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--dmx-line); background: #000; color: var(--dmx-text); font: inherit; font-size: 15px; }
.dmx-replace { border: 1px solid var(--dmx-line); border-radius: 14px; padding: 12px 14px; }
.dmx-replace summary { cursor: pointer; font-weight: 700; color: var(--dmx-text); }
.dmx-replace[open] { display: grid; gap: 12px; }
.dmx-replace[open] summary { margin-bottom: 2px; }
.dmx-drop--small { min-height: 110px; }
.dmx-modal__foot { display: flex; justify-content: flex-end; gap: 10px; }

@media (max-width: 560px) {
  .dmx-grid, .dmx-fields { grid-template-columns: minmax(0, 1fr); }
  .dmx-cover { min-height: 140px; }
}

/* ---------- Site header on mixtape pages: black, solid, mixtapes menu ---------- */
body.post-type-archive-dap_mix, body.single-dap_mix, body:has(#dmx-app) { background-color: #000 !important; } /* #id beats the site-wide body colour */
main#primary.dmx-page { background: #000 !important; }
:is(body.post-type-archive-dap_mix, body.single-dap_mix) .dapm-hd { background: #000; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none !important; }
:is(body.post-type-archive-dap_mix, body.single-dap_mix) .dapm-hd__drop { background: #111; box-shadow: none; }
:is(body.post-type-archive-dap_mix, body.single-dap_mix) .dapm-hd__drop.dapm-mega::before { background: #f500a8; }
:is(body.post-type-archive-dap_mix, body.single-dap_mix) .dapm-mega__icon { background: #1a1a1a; border-color: #2a2a2a; }
:is(body.post-type-archive-dap_mix, body.single-dap_mix) .dapm-hd .dapm-mega__all { background: #1a1a1a; }
:is(body.post-type-archive-dap_mix, body.single-dap_mix) .dapm-hd__mobile { background: #000; }
.dapm-hd__nav li.dmx-menu-upload { margin-left: 6px; }
.dapm-hd__nav li.dmx-menu-upload > a { background: #f500a8; color: #fff !important; border-radius: 999px; padding: 0 16px; }
.dapm-hd__nav li.dmx-menu-upload > a:hover { background: #d10090; color: #fff !important; }
.dapm-hd__mlink[href$="#dmx-upload"] { color: #f500a8 !important; }

/* ---------- Upload pop-up ---------- */
.dmx-modal--upload { --dmx-accent: #f500a8; --dmx-line: rgba(255, 255, 255, .12); --dmx-text: #fff; --dmx-muted: #aaa; --dmx-display: "Familjen Grotesk", Inter, system-ui, sans-serif; }
.dmx-modal__in { padding: 20px 22px 22px; display: grid; gap: 14px; }
.dmx-modal__in .dmx-form { padding: 0; }
.dmx-modal__lead { margin: 0; color: var(--dmx-muted); font-size: 14.5px; }

/* ---------- /mixtapes/djs/ and /mixtapes/mcs/ ---------- */
.dmx-people-wrap { padding-top: clamp(24px, 3vw, 40px); }
.dap .dmx-person { display: grid; gap: 4px; color: #fff !important; text-decoration: none !important; text-align: center; }
.dmx-person__art { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #111; border: 3px solid #1a1a1a; transition: border-color .2s; }
.dap .dmx-person__art img { width: 100%; height: 100%; object-fit: cover; }
.dmx-person:hover .dmx-person__art { border-color: #f500a8; }
.dmx-person__name { margin-top: 8px; font: 700 15.5px/1.25 var(--dmx-display); }
.dmx-person__count { color: var(--dmx-muted); font-size: 13px; }
/* ---------- "Upload your mixtape" (public form): three friendly steps ---------- */
.dmx-pub { gap: 0; }
.dmx-pub__body { display: grid; gap: 14px; }
.dmx-pub__body[hidden], .dmx-pub__done[hidden] { display: none; }
.dmx-step { display: grid; gap: 14px; padding: 18px; border-radius: 18px; background: #0d0d0d; border: 1px solid #222; }
.dmx-step__h { display: flex; align-items: center; gap: 12px; }
.dmx-step__n { flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #f500a8; color: #fff; font: 800 14px/1 var(--dmx-display); }
.dmx-step__h strong { display: block; color: #fff; font: 800 16.5px/1.2 var(--dmx-display); }
.dmx-step__h small { display: block; margin-top: 3px; color: #9a9a9a; font-size: 13px; }
.dmx-pub__media { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 12px; }
.dmx-drop--pub { min-height: 150px; border-radius: 16px; border: 2px dashed #333; background: #000; }
.dmx-drop__disc { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #1a1a1a; color: #f500a8; transition: background .2s, color .2s; }
.dmx-drop--pub:hover .dmx-drop__disc, .dmx-drop--pub.is-over .dmx-drop__disc { background: #f500a8; color: #fff; }
.dmx-drop--pub u { color: #f500a8; text-decoration: none; font-weight: 700; }
.dmx-drop--pub.has-file { border-style: solid; border-color: #f500a8; background: #000; }
.dmx-drop--pub.has-file .dmx-drop__disc { background: #f500a8; color: #fff; }
.dmx-cover--pub { min-height: 150px; border-radius: 16px; border: 2px dashed #333; background: #000; font-weight: 700; color: #ddd; }
.dmx-cover--pub b { display: block; font-size: 26px; line-height: 1; color: #f500a8; margin-bottom: 6px; }
.dmx-pub .dmx-fields label > span, .dmx-pub .dmx-label { color: #e8e8e8; font-size: 13.5px; font-weight: 700; }
.dmx-pub .dmx-fields i, .dmx-pub .dmx-label i { color: #8a8a8a; font-style: normal; font-weight: 500; }
.dmx-pub .dmx-fields input, .dmx-pub .dmx-fields textarea, .dmx-genre-pick input { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid #2a2a2a; background: #000; color: #fff; font: inherit; font-size: 15.5px; transition: border-color .2s; }
.dmx-pub .dmx-fields input:focus, .dmx-pub .dmx-fields textarea:focus, .dmx-genre-pick input:focus { outline: 0; border-color: #f500a8; }
.dmx-pub ::placeholder { color: #666; }
.dmx-tip { display: block; margin-top: 2px; color: #8a8a8a; font-size: 12.5px; font-style: normal; font-weight: 500; }
.dmx-genre-pick { display: grid; gap: 10px; }
.dmx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dmx-chip { padding: 8px 14px; border-radius: 999px; border: 1px solid #2a2a2a; background: #000; color: #ddd; font: 600 13.5px/1 var(--dmx-display); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.dmx-chip:hover { border-color: #f500a8; color: #fff; }
.dmx-chip.is-on { background: #f500a8; border-color: #f500a8; color: #fff; }
.dmx-check--card { align-items: center; padding: 14px; border-radius: 12px; border: 1px solid #2a2a2a; background: #000; color: #ddd; cursor: pointer; }
.dmx-check--card input { margin-top: 0; width: 20px; height: 20px; }
.dmx-check--card:has(input:checked) { border-color: #f500a8; }
.dmx-pub .dmx-progress { margin-top: 4px; }
.dmx-pub .dmx-progress__bar { height: 8px; background: #1a1a1a; }
.dmx-pub .dmx-progress span { color: #ddd; }
.dmx-pub .dmx-msg.is-error { background: #2a0a1a; color: #ff9bd2; }
.dmx-pub__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; padding-top: 4px; }
.dmx-pub__note { margin: 0; max-width: 340px; color: #9a9a9a; font-size: 13px; line-height: 1.5; }
.dmx-pub__send { gap: 10px; background: #f500a8; }
.dmx-pub__send:hover { background: #d10090; filter: none; }
.dmx-pub__send svg { transition: transform .2s; }
.dmx-pub__send:hover svg { transform: translateX(3px); }
.dmx-pub__done { display: grid; justify-items: center; gap: 12px; padding: 34px 18px 26px; text-align: center; border-radius: 18px; background: #0d0d0d; border: 1px solid #222; }
.dmx-pub__tick { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: #f500a8; color: #fff; animation: dmx-pop .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes dmx-pop { from { transform: scale(.4); opacity: 0; } }
.dmx-pub__done h3 { margin: 6px 0 0; color: #fff; font: 900 28px/1.1 var(--dmx-display); }
.dmx-pub__done p { margin: 0; max-width: 440px; color: #bbb; font-size: 15px; line-height: 1.6; }
.dmx-pub__done p strong { color: #fff; }
@media (max-width: 560px) {
  .dmx-pub__media { grid-template-columns: minmax(0, 1fr) 110px; }
  .dmx-step { padding: 14px; }
  .dmx-pub__send { width: 100%; }
}
/* ---------- No hero: plain listing; search lives in the site header ---------- */
.dmx-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dmx-feed__bar--plain { justify-content: flex-end; }
.dmx-pagehead { padding-top: clamp(22px, 3vw, 36px); }
.dap .dmx-pagehead h1 { margin: 0 !important; font: 900 clamp(28px, 3.6vw, 44px)/1.05 var(--dmx-display) !important; letter-spacing: -.02em; color: #fff !important; }
.dmx-now { padding-top: clamp(22px, 3vw, 34px); }
/* The mixtapes search inside the header's search panel. */
.dapm-hd__search .dmx-search { margin: 0 auto; max-width: 760px; }
/* Player on its blue background: lighter text and controls so everything reads clearly. */
.dmx-player { --dmx-muted: rgba(255, 255, 255, .78); }
.dmx-player .dmx-wave__base { color: rgba(255, 255, 255, .35); }
.dmx-player .dmx-ctl { color: #fff; }
.dmx-player .dmx-ctl:hover { background: rgba(255, 255, 255, .15); }
.dmx-player .dmx-time { color: rgba(255, 255, 255, .85); }
/* "Recommended": 3/4 of the usual section heading size. */
.dap .dmx-rec .dmx-feed__h { font-size: clamp(15px, 1.5vw, 19.5px) !important; }

/* Inside the blue player: no pink and no borders (the theme outlines buttons in pink). */
.dmx-player button, .dmx-player .dmx-ctl, .dmx-player .dmx-play { border: 0 !important; outline-color: #fff; }
.dmx-player .dmx-ctl { background: transparent !important; }
.dmx-player .dmx-ctl:hover { background: rgba(255, 255, 255, .15) !important; }
.dmx-player .dmx-play { background: transparent !important; color: #fff !important; border-radius: 50% !important; padding: 0 !important; }
.dmx-play { border-radius: 50% !important; padding: 0 !important; } /* The theme squares off buttons. */
.dmx-player .dmx-play:hover { background: rgba(255, 255, 255, .15) !important; }
.dmx-player .dmx-play.is-loading::after { border-top-color: #fff; }
.dmx-player .dmx-wave__done { color: #fff; }
/* Mix page actions: borderless bold Share, a smaller Download button. */
.dmx-share .dmx-pill { border: 0 !important; background: transparent !important; font-weight: 800 !important; padding: 0 8px !important; }
.dmx-share .dmx-pill:hover { color: #f500a8 !important; }
.dmx-now .dmx-actions .dmx-btn--big { height: 40px; padding: 0 18px; font-size: 14px; border-width: 1.5px; }
.dmx-now .dmx-actions .dmx-btn--big svg { width: 16px; height: 16px; }
@media (max-width: 600px) { .dmx-now .dmx-actions .dmx-btn { flex: 0 0 auto; } }