/* ---- base.css ---- */
/* Unbounded ExtraBold (SIL Open Font License, free for commercial use): ONLY for the MixMint wordmark/logo. */
@font-face {
    font-family: 'Unbounded';
    src: url("../fonts/unbounded-extrabold.490665fa6feb.woff2") format('woff2'), url("../fonts/unbounded-extrabold.97b7d75da498.ttf") format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Site-wide base styles (moved out of base.html so browsers cache them). */
/* ── Design Tokens ── */
:root[data-theme="dark"] {
    --bg-base: #0A0A0F;
    --bg-surface: #111118;
    --bg-elevated: #1A1A25;
    --border: rgba(255, 255, 255, 0.06);
    --border-focus: #10B981;
    --text-primary: #F0F0F5;
    --text-muted: #9494A8;
    --text-inverse: #0A0A0F;
    --accent-mint: #10B981;
    --accent-amber: #FFB800;
    --accent-red: #FF3355;
    --accent-blue: #4D9CFF;
    --grain-opacity: 0.04;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(16,185,129, 0.2);
}

:root[data-theme="light"] {
    --bg-base: #F5F0E8;
    --bg-surface: #FDFAF4;
    --bg-elevated: #EDE8DC;
    --border: rgba(0, 0, 0, 0.08);
    --border-focus: #006B4A;
    --text-primary: #1A1410;
    --text-muted: #5A5040;
    --text-inverse: #F5F0E8;
    --accent-mint: #006B4A;
    --accent-amber: #8F5B00;
    --accent-red: #CC1F3A;
    --accent-blue: #1A6FCC;
    --grain-opacity: 0.025;
    --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 16px rgba(0, 143, 100, 0.15);
}

:root {
    --font-display: 'Clash Display', 'Satoshi', sans-serif;  /* titles (Fontshare, free for commercial use) */
    --font-logo: 'Unbounded', 'Clash Display', sans-serif;      /* the MixMint wordmark only */
    --font-mono: 'DM Mono', monospace;
    --font-body: 'Satoshi', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* Theme transition is applied only while switching (html.theme-switching, see ux.css). */

/* ── Base ── */
html, body {
    overscroll-behavior-x: none !important;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
    overscroll-behavior-x: none !important;
}

/* ── Skip to content (a11y) ── */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 99999;
    padding: 12px 24px;
    background: var(--accent-mint);
    color: var(--text-inverse);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.skip-to-content:focus {
    top: 16px;
}

/* ── Focus rings (a11y) ── */
:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

/* ── Background Effects ── */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: var(--grain-opacity);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.mesh-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.06;
    animation: drift 20s infinite alternate ease-in-out;
}

[data-theme="light"] .mesh-blob {
    opacity: 0.03;
}

@keyframes drift {
    from {
        transform: translate(-10%, -10%) scale(1);
    }

    to {
        transform: translate(10%, 10%) scale(1.1);
    }
}

/* ── UI Components ── */
.btn-mm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-size: 15px;
    height: 44px;
    padding: 0 24px;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-mm:hover {
    transform: scale(1.02);
}

.btn-mint {
    background: var(--accent-mint);
    color: var(--text-inverse);
}

.btn-mint:hover {
    box-shadow: var(--shadow-glow);
}

.btn-amber {
    background: var(--accent-amber);
    color: var(--text-inverse);
}

.btn-amber:hover {
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.3);
}

.btn-ghost {
    background: transparent;
    border: 1.5px solid var(--accent-mint);
    color: var(--accent-mint);
}

.btn-ghost:hover {
    background: rgba(16,185,129, 0.08);
}

[data-theme="light"] .btn-ghost:hover {
    background: rgba(0, 122, 85, 0.06);
}

.btn-danger {
    background: var(--accent-red);
    color: #fff;
}

.btn-danger:hover {
    box-shadow: 0 0 20px rgba(255, 51, 85, 0.3);
}

.btn-disabled {
    background: var(--bg-elevated);
    color: var(--text-muted);
    cursor: not-allowed;
    pointer-events: none;
}

.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

.glow-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-card);
}

.glow-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent-mint) 40%, transparent);
}

/* ── Status Pills ── */
.pill-success {
    background: color-mix(in srgb, var(--accent-mint) 15%, transparent);
    color: var(--accent-mint);
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 4px;
}

.pill-warning {
    background: color-mix(in srgb, var(--accent-amber) 15%, transparent);
    color: var(--accent-amber);
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 4px;
}

.pill-error {
    background: color-mix(in srgb, var(--accent-red) 15%, transparent);
    color: var(--accent-red);
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 4px;
}

.pill-neutral {
    background: var(--border);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 4px;
}

/* ── Info/Notice Boxes ── */
.notice-info {
    background: var(--bg-elevated);
    border-left: 3px solid var(--accent-mint);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-primary);
}

.notice-warning {
    background: var(--bg-elevated);
    border-left: 3px solid var(--accent-amber);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-primary);
}

.notice-danger {
    background: var(--bg-elevated);
    border-left: 3px solid var(--accent-red);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-primary);
}

/* ── Inputs ── */
.input-mm {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    height: 48px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    width: 100%;
    transition: border-color 0.2s ease;
}

.input-mm::placeholder {
    color: var(--text-muted);
}

.input-mm:focus {
    border-color: var(--border-focus);
    border-width: 1.5px;
}

.input-mm.input-error {
    border-color: var(--accent-red);
    border-width: 1.5px;
}

/* ── Typography Helpers ── */
.font-display {
    font-family: var(--font-display);
}

.font-mono {
    font-family: var(--font-mono);
}

.font-body {
    font-family: var(--font-body);
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    word-spacing: 0.12em;
}

/* Clash Display's tight tracking + negative letter-spacing collapses the gaps
   between words ("Pay with UPI" -> "PaywithUPI"); restore them everywhere. */
.font-display,
.mm-steps-title,
.mm-steps h3,
.mm-step-n,
.mm-bigmarquee span,
.mm-auth-title,
.mm-stage-head h1,
body[data-shell] main h1.font-display,
.mm-apphead h1 {
    word-spacing: 0.14em;
}

/* ── Toasts ── */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
}

.toast-item {
    width: 360px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent-mint);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.toast-error {
    border-left-color: var(--accent-red);
}

.toast-warning {
    border-left-color: var(--accent-amber);
}

.toast-info {
    border-left-color: var(--accent-blue);
}

.toast-close {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 32px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 4px;
}

.toast-close:hover {
    color: var(--text-primary);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform-origin: left;
    background: var(--accent-mint);
    animation: toast-countdown 5s linear forwards;
}

.toast-error .toast-progress {
    background: var(--accent-red);
}

.toast-warning .toast-progress {
    background: var(--accent-amber);
}

.toast-info .toast-progress {
    background: var(--accent-blue);
}

@keyframes toast-countdown {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

/* ── Theme Switcher Animation ── */
.theme-toggle-icon {
    transition: transform 0.3s ease;
}

[data-theme="light"] .theme-toggle-icon {
    transform: rotate(180deg);
}

/* ── Shimmer / Skeleton Loading ── */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-surface) 50%, var(--bg-elevated) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

/* ── Shake animation (dangerous actions) ── */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    50% {
        transform: translateX(4px);
    }

    75% {
        transform: translateX(-4px);
    }
}

.animate-shake {
    animation: shake 0.3s ease 3;
}

/* ── Slow Pulse Animation ── */
@keyframes pulse-slow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.animate-pulse-slow {
    animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ── Page transition ── */
@keyframes page-enter {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    animation: page-enter 0.28s ease-out;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-mint);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .toast-container {
        right: 12px;
        left: 12px;
    }

    .toast-item {
        width: 100%;
    }
}

/* Performance: the blurred background blobs and film grain cost a lot of paint on phones and
   low-power laptops, and are barely visible there. Keep them for large screens only. */
@media (max-width: 1023px) {
    .mesh-gradient, .noise-overlay { display: none; }
}
@media (min-width: 1024px) {
    .mesh-blob { will-change: transform; }
}

/* MixMint wordmark: logo font only (one weight, no fake bold). */
.font-logo { font-family: var(--font-logo); font-weight: 800 !important; font-synthesis: none; letter-spacing: -.02em !important; }

/* Logo lockup: mark + "MixMint." in the logo font, optically centred on the M (not the headphone cups). */
.mm-wordmark { font-family: var(--font-logo); font-weight: 800; font-synthesis: none; font-size: 26px; line-height: 1; letter-spacing: -.02em;
  display: inline-block; position: relative; top: var(--mm-wm-shift, .4px); white-space: nowrap; }
.mm-wordmark-dot { color: var(--accent-mint, #10B981); }

/* Logo emblem (the M with mint audio bars) next to the wordmark. */
.mm-emblem { height: 30px; width: auto; display: block; flex: none; }
.mm-emblem--sm { height: 26px; }
.mm-emblem.hidden { display: none; }


/* Button vertical centering: perfect flexbox alignment for icons and labels across all browsers */
.btn-mm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}

/* Ensure Alpine.js x-show and hidden attributes are never overridden */
[style*="display: none"],
[style*="display:none"],
[hidden],
[x-cloak] {
    display: none !important;
}

/* ---- polish.css ---- */
/* MixMint polish layer (loads last). Shared building blocks used across pages:
   product page grid, release facts, trust list, avatars, DJ studio nav, compact app footer,
   store banner fallback, and small global refinements (focus, selection, tap targets, type). */

/* ── Global refinements ─────────────────────────────────────────────── */
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
::selection { background: color-mix(in srgb, var(--accent-mint) 22%, transparent); color: var(--text-primary); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--border-focus, var(--accent-mint)); outline-offset: 2px; border-radius: 6px;
}
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img { max-width: 100%; }
.tabular, .font-mono { font-variant-numeric: tabular-nums; }
/* Calmer buttons: less shouting, same weight. */
.btn-mm { letter-spacing: .04em; }
@media (max-width: 640px) { .btn-mm { letter-spacing: .03em; } }
/* Inputs: comfortable on phones (16px stops iOS zoom) */
@media (max-width: 640px) { .input-mm, input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=url], input[type=tel], select, textarea { font-size: 16px; } }

/* ── Avatars ────────────────────────────────────────────────────────── */
.mm-avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; overflow: hidden;
  border-radius: 999px; background: color-mix(in srgb, var(--accent-mint) 14%, var(--bg-elevated));
  color: var(--accent-mint); font-family: var(--font-display, inherit); font-weight: 700;
  box-shadow: 0 0 0 2px var(--bg-surface), 0 0 0 3px color-mix(in srgb, var(--accent-mint) 35%, transparent); }
.mm-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ── Product page (track / album) ───────────────────────────────────── */
.mm-pdp { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "art" "info" "preview"; align-items: start; }
.mm-pdp > .mm-pdp-art { grid-area: art; width: 100%; max-width: 560px; margin-inline: auto; }
.mm-pdp > .mm-pdp-info { grid-area: info; min-width: 0; }
.mm-pdp > .mm-pdp-preview { grid-area: preview; width: 100%; max-width: 560px; margin-inline: auto; }
@media (min-width: 1024px) {
  .mm-pdp { grid-template-columns: 5fr 7fr; grid-template-areas: "art info" "preview info"; column-gap: 64px; row-gap: 28px; }
  .mm-pdp > .mm-pdp-art, .mm-pdp > .mm-pdp-preview { max-width: none; }
  .mm-pdp-info { position: sticky; top: 96px; }
}

.mm-specs { display: flex; flex-wrap: wrap; gap: 1px; overflow: hidden;
  border: 1px solid var(--border); border-radius: 14px; background: var(--border); }
.mm-specs > div { flex: 1 1 96px; background: var(--bg-surface); padding: 12px 14px; min-width: 0; }
.mm-specs dt { font-family: var(--font-mono, monospace); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.mm-specs dd { margin: 4px 0 0; font-weight: 600; font-size: 15px; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-specs dd a { color: inherit; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
.mm-specs dd a:hover { color: var(--accent-mint); text-decoration-color: currentColor; }

.mm-buyfacts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 10px; margin-top: 24px; justify-items: stretch; text-align: left; }
.mm-buyfacts li { justify-self: stretch; width: 100%; max-width: none; margin: 0; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.mm-buyfacts li > svg { flex: none; margin-top: 2px; color: var(--accent-mint); }
.mm-buyfacts li > span { display: block; min-width: 0; }
.mm-buyfacts strong { color: var(--text-primary); font-weight: 600; }
.mm-buyfacts a { color: var(--accent-mint); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ── DJ studio nav (all DJ pages) ───────────────────────────────────── */
.mm-studio { position: sticky; top: var(--nav-h, 81px); z-index: 40; background: var(--bg-base); border-bottom: 1px solid var(--border); box-shadow: 0 6px 12px -8px rgba(0,0,0,.18); }
.mm-studio-in { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 12px; }
.mm-studio-label { flex: none; font-family: var(--font-mono, monospace); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); padding-right: 12px; border-right: 1px solid var(--border); }
.mm-studio nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.mm-studio nav::-webkit-scrollbar { display: none; }
.mm-studio a { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--text-muted); white-space: nowrap; transition: background .15s, color .15s; }
.mm-studio a:hover { color: var(--text-primary); background: var(--bg-elevated); }
.mm-studio a[aria-current="page"] { color: var(--text-primary); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border), 0 1px 2px rgba(0,0,0,.04); font-weight: 600; }
.mm-studio a[aria-current="page"] svg { color: var(--accent-mint); }
.mm-studio a.is-cta { color: var(--text-inverse, #fff); background: var(--accent-mint); font-weight: 600; }
.mm-studio a.is-cta:hover { filter: brightness(1.08); }
.mm-studio .spacer { flex: 1 0 8px; }
@media (max-width: 640px) { .mm-studio-in { padding: 0 12px; } .mm-studio-label { display: none; } .mm-studio nav { mask-image: linear-gradient(90deg, #000 85%, transparent); } }
@media (min-width: 1100px) { .mm-studio nav { mask-image: none; } }

/* ── Store banner fallback (DJ profile with no cover yet) ───────────── */
html .dj-banner.mm-banner-fallback, .mm-banner-fallback { background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent-mint) 38%, transparent) 0%, transparent 55%),
    radial-gradient(90% 120% at 100% 100%, color-mix(in srgb, var(--accent-amber) 30%, transparent) 0%, transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent-mint) 18%, var(--bg-elevated)), var(--bg-elevated)); position: relative; }
.mm-banner-fallback::after { content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: repeating-linear-gradient(90deg, color-mix(in srgb, var(--text-primary) 9%, transparent) 0 2px, transparent 2px 14px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%, transparent); mask-image: linear-gradient(180deg, transparent, #000 45%, transparent); }

/* ── Compact footer on app pages (dashboards, library, account, cart) ── */
.mm-footer-compact { margin-top: 64px; padding: 20px 0 28px; border-top: 1px solid var(--border); }
.mm-footer-compact .in { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-muted); }
.mm-footer-compact nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.mm-footer-compact a { color: var(--text-muted); } .mm-footer-compact a:hover { color: var(--text-primary); }
@media (max-width: 767px) { body.has-tabbar .mm-footer-compact { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ── Page header used by app pages ──────────────────────────────────── */
.mm-pagehead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 32px; }
.mm-pagehead h1 { font-family: var(--font-display, inherit); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; font-size: clamp(30px, 4vw, 44px); color: var(--text-primary); }
.mm-pagehead p { color: var(--text-muted); font-size: 14.5px; margin-top: 8px; max-width: 60ch; }

/* ── Cards & empty states: one look everywhere ──────────────────────── */
.glow-card, .mm-panel { border-radius: 16px; }
.mm-empty { text-align: center; padding: 48px 20px; border: 1px dashed color-mix(in srgb, var(--text-muted) 30%, transparent); border-radius: 16px; background: color-mix(in srgb, var(--bg-surface) 60%, transparent); }

/* ── Cursor: never parked at the top-left before the mouse moves ────── */
html.mm-cursor:not(.mm-cursor-live) #mm-cursor-ring, html.mm-cursor:not(.mm-cursor-live) #mm-cursor-dot { opacity: 0; }

/* ── Reduced motion: honour everywhere ─────────────────────────────── */
@media not all { *, *::before, *::after { scroll-behavior: auto !important; } }
@media print { .mm-studio, .mm-footer-compact { display: none; } }

/* ── Gentle UI/UX polish (refinements only, no layout changes) ───────── */
:where(a, button, input, select, textarea, summary, [role="tab"]):focus-visible { outline: 2px solid var(--accent-mint); outline-offset: 2px; border-radius: 10px; }
.btn-mm { transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease; }
.btn-mm:active:not(:disabled) { transform: translateY(1px) scale(.985); }
.btn-mm:disabled { opacity: .55; cursor: not-allowed; }
.glow-card, .mm-panel { transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
@media (hover: hover) { .glow-card:hover, .mm-panel:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent-mint) 35%, var(--border)); box-shadow: 0 10px 28px -14px rgba(0,0,0,.5); } }
input, textarea, select { transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, textarea:focus, select:focus { border-color: var(--accent-mint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-mint) 18%, transparent); outline: none; }
[role="tab"][aria-selected="true"] { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-mint) 50%, transparent); }
details > summary { list-style: none; } details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: "+"; float: right; color: var(--text-muted); transition: transform .2s ease; }
details[open] > summary::after { content: "–"; }
.font-mono, .tabular { font-variant-numeric: tabular-nums; }
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { .btn-mm, .glow-card, .mm-panel, input, textarea, select { transition: none !important; transform: none !important; } }

/* ── Warning / danger buttons with life ───────────────────────────── */
.mm-warn-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border: 1px solid var(--accent-red); color: var(--accent-red); background: color-mix(in srgb, var(--accent-red) 7%, transparent); border-radius: 10px; box-shadow: 0 0 0 0 rgba(255, 51, 85, .45); animation: mmWarnPulse 2.8s ease-out infinite; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.mm-warn-btn .mm-warn-ico { display: inline-flex; transform-origin: 50% 90%; animation: mmWarnWiggle 4.5s ease-in-out infinite; }
.mm-warn-btn:hover, .mm-warn-btn:focus-visible { background: var(--accent-red); color: #fff; transform: translateY(-1px); }
.mm-warn-btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: mmWarnSheen 5s ease-in-out infinite; pointer-events: none; }
.mm-danger-solid { background: linear-gradient(135deg, #ff4d6a, var(--accent-red)); color: #fff; font-weight: 700; transition: box-shadow .2s ease, transform .2s ease; }
.mm-danger-solid:hover { box-shadow: 0 0 22px rgba(255, 51, 85, .45); transform: translateY(-1px); }
@keyframes mmWarnPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 51, 85, .45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255, 51, 85, 0); } }
@keyframes mmWarnWiggle { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(-12deg); } 94% { transform: rotate(10deg); } 97% { transform: rotate(-6deg); } }
@keyframes mmWarnSheen { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { .mm-warn-btn, .mm-warn-btn .mm-warn-ico, .mm-warn-btn::after { animation: none !important; } }

/* ── Same life for every other warning / danger button (outline and solid) ── */
button.btn-mm[class*="accent-red"]:not([class*="bg-[var(--accent-red)]"]),
a.btn-mm[class*="accent-red"]:not([class*="bg-[var(--accent-red)]"]) { position: relative; overflow: hidden; background: color-mix(in srgb, var(--accent-red) 7%, transparent); box-shadow: 0 0 0 0 rgba(255, 51, 85, .4); animation: mmWarnPulse 3.2s ease-out infinite; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
button.btn-mm[class*="accent-red"]:not([class*="bg-[var(--accent-red)]"]):hover:not(:disabled),
a.btn-mm[class*="accent-red"]:not([class*="bg-[var(--accent-red)]"]):hover { background: var(--accent-red); color: #fff; transform: translateY(-1px); }
button.btn-mm[class*="bg-[var(--accent-red)]"], a.btn-mm[class*="bg-[var(--accent-red)]"], .btn-danger { background: linear-gradient(135deg, #ff4d6a, var(--accent-red)); font-weight: 700; transition: box-shadow .2s ease, transform .2s ease; }
button.btn-mm[class*="bg-[var(--accent-red)]"]:hover:not(:disabled), a.btn-mm[class*="bg-[var(--accent-red)]"]:hover, .btn-danger:hover:not(:disabled) { box-shadow: 0 0 22px rgba(255, 51, 85, .45); transform: translateY(-1px); }
/* in tables and lists keep it calm: hover effect only, no pulsing */
:where(tr, li, td) button.btn-mm[class*="accent-red"], :where(tr, li, td) a.btn-mm[class*="accent-red"] { animation: none; }
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { button.btn-mm[class*="accent-red"], a.btn-mm[class*="accent-red"] { animation: none !important; } }

/* Guide pages: action buttons line up in even rows instead of ragged stacked widths. */
.mm-legal .flex.flex-wrap > a.btn-mm,
.mm-legal .flex.flex-wrap > button.btn-mm { justify-content: center; text-align: center; }
@media (max-width: 520px) {
  .mm-legal .flex.flex-wrap > a.btn-mm,
  .mm-legal .flex.flex-wrap > button.btn-mm { flex: 1 1 calc(50% - 4px); padding: 8px 10px; min-width: 0; height: auto; min-height: 44px; white-space: normal; line-height: 1.15; font-size: 12px; }
}
/* Studio bar: soft fade on the right edge so it is clear the row scrolls. */
@media (max-width: 760px) { .mm-studio nav { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); } }

/* ---- Explainer pages (data-explain): progress bar, staggered entrances, number badges, drawn step lines ---- */
.mm-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent-mint), #7CF3C7); pointer-events: none; }
html.mm-explain-on .mm-in { opacity: 0; transform: translateY(10px); transition: opacity .55s ease var(--d, 0ms), transform .55s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
html.mm-explain-on .mm-in.is-in { opacity: 1; transform: none; }
html.mm-explain-on [data-explain] section.mm-in > *.mm-in { transition-delay: 0ms; }
.mm-h-num { display: flex; align-items: center; gap: 12px; }
.mm-num { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 15px; font-weight: 700; color: #04130D; background: var(--accent-mint); box-shadow: 0 0 0 0 rgba(31,214,150,.45); }
html.mm-explain-on .mm-in.is-in .mm-num, html.mm-explain-on .mm-in.is-in.mm-h-num .mm-num { animation: mmNumPop .7s cubic-bezier(.22,1,.36,1) both, mmNumRing 1.6s ease-out .5s 1; }
@keyframes mmNumPop { 0% { transform: scale(.3) rotate(-30deg); opacity: 0 } 100% { transform: none; opacity: 1 } }
@keyframes mmNumRing { 0% { box-shadow: 0 0 0 0 rgba(31,214,150,.45) } 100% { box-shadow: 0 0 0 14px rgba(31,214,150,0) } }
/* Step lists: connecting line that draws down the list */
ol.mm-steps { position: relative; }
ol.mm-steps::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--accent-mint), rgba(31,214,150,.15)); transform-origin: top; transform: scaleY(0); transition: transform 1.2s ease .15s; }
ol.mm-steps.is-drawn::before { transform: scaleY(1); }
ol.mm-steps > li { padding-left: 38px; position: relative; list-style: none; }
ol.mm-steps > li::before { content: ""; position: absolute; left: 5px; top: 7px; width: 14px; height: 14px; border-radius: 999px; background: var(--accent-mint);
  box-shadow: 0 0 0 4px rgba(31,214,150,.18); transform: scale(0); transition: transform .5s cubic-bezier(.22,1,.36,1) calc(var(--d, 0ms) + .15s); }
ol.mm-steps > li.is-in::before { transform: scale(1); }
/* Cards respond to touch/hover */
[data-explain] .glow-card, [data-explain] details.mm-acc { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
@media (hover: hover) { [data-explain] .glow-card:hover { transform: translateY(-3px); } }
/* FAQ: chevron turns, answer eases open */
[data-explain] details.mm-acc > summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; list-style: none; }
[data-explain] details.mm-acc > summary::-webkit-details-marker { display: none; }
[data-explain] details.mm-acc > summary::after { content: "+"; flex: none; width: 26px; height: 26px; display: inline-grid; place-items: center; border-radius: 999px;
  background: rgba(31,214,150,.14); color: var(--accent-mint); font-weight: 700; transition: transform .3s ease, background .3s ease; }
[data-explain] details.mm-acc[open] > summary::after { transform: rotate(135deg); background: var(--accent-mint); color: #04130D; }
[data-explain] details.mm-acc[open] > *:not(summary) { animation: mmOpen .35s ease both; }
@keyframes mmOpen { from { opacity: 0; transform: translateY(-6px) } to { opacity: 1; transform: none } }
/* Buttons nudge forward */
[data-explain] a.btn-mm { transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) { [data-explain] a.btn-mm:hover { transform: translateX(3px); } }
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ {
  html.mm-explain-on .mm-in { opacity: 1; transform: none; transition: none; }
  .mm-num, ol.mm-steps::before, ol.mm-steps > li::before { animation: none !important; transition: none !important; transform: none !important; }
}

/* Explainer pages: more breathing room so the animated pieces never feel crowded. */
[data-explain] { line-height: 1.75; }
[data-explain] section + section { margin-top: 3.5rem; }
[data-explain] h2 { margin-top: 0; margin-bottom: 1rem; }
[data-explain] section p, [data-explain] section li { max-width: 68ch; }
[data-explain] section p + p { margin-top: .9rem; }
[data-explain] .flex.flex-wrap { gap: .75rem; margin-top: 1.25rem; }
[data-explain] details.mm-acc { padding-top: .35rem; padding-bottom: .35rem; }
[data-explain] details.mm-acc > summary { padding: 1rem 0; }
[data-explain] details.mm-acc > p { padding-bottom: 1rem; }
.mm-num { width: 30px; height: 30px; font-size: 14px; }
@media (max-width: 520px) { [data-explain] section + section { margin-top: 2.75rem; } }

/* Accessibility: keyboard focus on FAQ rows, 44px touch targets for guide buttons */
[data-explain] details.mm-acc > summary:focus-visible { outline: 2px solid var(--accent-mint); outline-offset: 3px; border-radius: 8px; }
[data-explain] .flex.flex-wrap > a.btn-mm { min-height: 44px; }

/* Footer wordmark: show the whole word on every screen (it used to be clipped at the bottom and could stay mid-animation). */
.mm-footer.mm-footer::after { line-height: 1.15; margin-top: 24px; margin-bottom: 0; padding-bottom: .08em; animation: none; opacity: 1; transform: none; letter-spacing: -.03em; }

/* Release cards: a little smaller (item: vinyl removal, 2026-12-02 -- cover now fills the whole
   card with a simple zoom-on-hover from ux.css, so the old "record peeks out of the sleeve"
   reveal rules that used to live here and in club.css/pro.css are gone). */
.mm-rail { grid-auto-columns: clamp(132px, 38vw, 190px); }
@media (min-width: 1024px) { .mm-rail { grid-auto-columns: calc((100% - 4 * 18px) / 5); } }
@media (min-width: 1360px) { .mm-rail { grid-auto-columns: calc((100% - 5 * 18px) / 6); } }

/* Pro plans lock: "Coming soon" overlay, not clickable (admin switch in Offers & pricing) */
.mm-pro-locked{filter:blur(3px) saturate(.7);opacity:.55;pointer-events:none;user-select:none}
.mm-pro-overlay{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;padding:16px;cursor:not-allowed}
.mm-pro-overlay-card{max-width:360px;text-align:center;background:rgba(11,20,16,.9);border:1px solid rgba(16,185,129,.45);border-radius:16px;padding:20px 22px;box-shadow:0 10px 40px rgba(0,0,0,.4)}
.mm-pro-overlay-pill{display:inline-flex;gap:6px;align-items:center;font:700 13px/1 var(--font-mono,monospace);letter-spacing:.18em;text-transform:uppercase;color:#10b981;margin-bottom:10px}
.mm-pro-overlay-card p{font-size:14px;line-height:1.45;color:#cfe3d8;margin:0}

/* ---- club.css ---- */
/* MixMint "club" layer: the stage hero, genre chips, vinyl cards, tilt, kinetic type, big marquee,
   product-page ambience and page transitions. Loads after polish.css. Everything animated is switched off
   for prefers-reduced-motion, and nothing here is needed to use the site. */

html, body { overflow-x: clip; }

:root {
  --club-ink: #07110d;
  --club-ink-2: #0c1a15;
  --neon: #10B981;
  --neon-2: #7c5cff;
  --neon-3: #ffb547;
  --neon-4: #ff4d8d;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.22,1,.36,1);
}

/* ── Page transitions (Chrome/Edge: cross-document View Transitions) ─────────────────── */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: mm-vt-out .22s ease both; }
::view-transition-new(root) { animation: mm-vt-in .32s var(--ease-out) both; }
::view-transition-group(mm-art) { animation-duration: .45s; animation-timing-function: var(--ease-out); }
@keyframes mm-vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes mm-vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ── STAGE (home hero) ──────────────────────────────────────────────────────────────── */
.mm-stage {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100vw; margin-left: calc(50% - 50vw); margin-top: -40px;
  min-height: min(92svh, 860px); display: grid; place-items: center;
  padding: 96px 20px 120px; color: #f2fff9; background: var(--club-ink);
  --mx: 50%; --my: 40%;
}
.mm-stage-bg { position: absolute; inset: 0; z-index: -2; }
.mm-mesh {
  position: absolute; inset: -30%;
  background:
    radial-gradient(40% 45% at var(--mx) var(--my), rgba(16,185,129, .55), transparent 70%),
    radial-gradient(35% 40% at 15% 20%, rgba(124, 92, 255, .55), transparent 70%),
    radial-gradient(30% 35% at 85% 25%, rgba(255, 77, 141, .45), transparent 70%),
    radial-gradient(40% 40% at 70% 90%, rgba(255, 181, 71, .35), transparent 70%),
    var(--club-ink);
  animation: mm-mesh 22s ease-in-out infinite alternate;
}
@keyframes mm-mesh {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.08); }
  100% { transform: rotate(-6deg) scale(1.03); }
}
/* Perf: stop the heavy stage layers animating once the hero is scrolled off
   (club.js toggles .is-off). Keeps the page from pinning the GPU while scrolling. */
.mm-stage.is-off .mm-mesh,
.mm-stage.is-off .mm-wall-row { animation-play-state: paused; }
.mm-grain {
  position: absolute; inset: 0; opacity: .12; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Cover wall: two tilted rows of real release covers drifting in opposite directions */
.mm-wall {
  position: absolute; inset: auto -10% -6% -10%; z-index: -1; display: grid; gap: 14px;
  transform: perspective(900px) rotateX(38deg) rotateZ(-6deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 70%, transparent 100%);
  opacity: .55;
}
.mm-wall-row { display: flex; gap: 14px; width: max-content; animation: mm-wall 60s linear infinite; }
.mm-wall-b { animation-direction: reverse; animation-duration: 75s; margin-left: -120px; }
.mm-wall img { width: 140px; height: 140px; object-fit: cover; border-radius: 12px; flex: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.5); opacity: 1 !important; }
@keyframes mm-wall { to { transform: translateX(-50%); } }

.mm-stage-in { position: relative; max-width: 980px; text-align: center; }
.mm-onair {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: rgba(242,255,249,.85);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); margin-bottom: 28px;
}
.mm-onair b { color: #fff; font-variant-numeric: tabular-nums; }
.mm-onair-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 0 0 rgba(255,59,92,.7); animation: mm-live 1.6s infinite; }
.mm-onair-sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.35); }
@keyframes mm-live { 70% { box-shadow: 0 0 0 10px rgba(255,59,92,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,92,0); } }

.mm-stage-title {
  font-family: var(--font-display, inherit); font-weight: 800; letter-spacing: -.045em;
  font-size: clamp(52px, 12vw, 136px); line-height: .9; margin: 0 0 22px; color: #fff;
}
.mm-kin { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(4deg); filter: blur(10px);
  animation: mm-kin .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 90ms + 120ms); }
@keyframes mm-kin { to { opacity: 1; transform: none; filter: none; } }
.mm-glow {
  background: linear-gradient(100deg, var(--neon) 0%, #b6ffe6 30%, var(--neon-2) 55%, var(--neon-4) 80%, var(--neon) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: mm-kin .9s var(--ease-out) forwards, mm-shimmer 6s linear 1.2s infinite;
  animation-delay: calc(var(--i) * 90ms + 120ms), 1.2s;
  filter: drop-shadow(0 0 28px rgba(16,185,129, .35));
}
@keyframes mm-shimmer { to { background-position: -220% 0; } }

.mm-stage-sub { font-size: clamp(16px, 2vw, 20px); line-height: 1.55; color: rgba(242,255,249,.78); max-width: 640px; margin: 0 auto 30px; }

.mm-stage-search {
  position: relative; display: flex; align-items: center; gap: 10px; max-width: 620px; margin: 0 auto 22px;
  padding: 8px 8px 8px 18px; border-radius: 999px; color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.1);
  transition: border-color .2s, box-shadow .2s, transform .3s var(--ease-out);
}
.mm-stage-search:focus-within { border-color: var(--neon); box-shadow: 0 0 0 4px rgba(16,185,129,.18), 0 24px 70px rgba(0,0,0,.4); transform: translateY(-1px); }
.mm-stage-search input { flex: 1; min-width: 0; height: 44px; background: transparent; border: 0; outline: 0; color: #fff; font-size: 16px; }
.mm-stage-search input::placeholder { color: rgba(255,255,255,.55); transition: opacity .25s; }
.mm-stage-search input.swap::placeholder { opacity: 0; }
.mm-stage-go { height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--club-ink); background: #fff; flex: none; transition: transform .2s var(--ease-spring); }
.mm-stage-go:hover { transform: scale(1.04); }
.mm-stage-search:focus-within .mm-stage-go { background: var(--neon); }

.mm-stage-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 26px; }
.mm-neon-btn, .mm-ghost-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .25s var(--ease-spring), box-shadow .25s, background .2s; }
.mm-neon-btn { color: var(--club-ink); background: var(--neon); box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 10px 40px rgba(16,185,129,.45); position: relative; overflow: hidden; }
.mm-neon-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%); transform: translateX(-120%); animation: mm-sheen 3.6s ease-in-out 1.5s infinite; }
.mm-neon-btn:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 14px 60px rgba(16,185,129,.7); }
@keyframes mm-sheen { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.mm-ghost-btn { color: inherit; border: 1px solid currentColor; background: transparent; }
.mm-stage .mm-ghost-btn { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.mm-ghost-btn:hover { transform: translateY(-2px); }
.mm-stage .mm-ghost-btn:hover { background: rgba(255,255,255,.1); }

.mm-stage-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-size: 13px; color: rgba(242,255,249,.7); }
.mm-stage-trust li { display: inline-flex; align-items: center; gap: 7px; }
.mm-stage-trust svg { color: var(--neon); }
.mm-stage-trust a { text-decoration: underline; text-underline-offset: 3px; }

/* Equalizer along the bottom edge; JS raises bars near the pointer */
.mm-eq { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; display: flex; align-items: flex-end; gap: 3px; padding: 0 3px; z-index: -1; opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.mm-eq i { flex: 1; height: 100%; border-radius: 3px 3px 0 0; transform-origin: bottom;
  background: linear-gradient(180deg, var(--neon) 0%, rgba(124,92,255,.6) 60%, transparent 100%);
  transform: scaleY(calc(.12 + var(--boost, 0) * .8));
  animation: mm-eq calc(700ms + (var(--d) * 37ms) % 600ms) ease-in-out infinite alternate;
  animation-delay: calc(var(--d) * -73ms); transition: transform .2s; }
@keyframes mm-eq { 0% { transform: scaleY(calc(.08 + var(--boost, 0) * .6)); } 100% { transform: scaleY(calc(.55 + var(--boost, 0) * .45)); } }

@media (max-width: 640px) {
  .mm-stage { padding: 72px 16px 100px; min-height: auto; }
  .mm-wall img { width: 96px; height: 96px; }
  .mm-stage-search { padding-left: 14px; }
  .mm-stage-go { padding: 0 14px; }
  .mm-neon-btn, .mm-ghost-btn { width: 100%; }
  .mm-eq { height: 60px; }
}

/* ── Genre chips ─────────────────────────────────────────────────────────────────────── */
.mm-genres { display: flex; align-items: center; gap: 16px; margin: 28px 0 8px; }
.mm-genres-label { flex: none; font-family: var(--font-mono, monospace); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.mm-genres-rail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.mm-genres-rail::-webkit-scrollbar { display: none; }
.mm-gchip { --c: hsl(calc((160 + var(--h, 0)) * 1deg) 68% 30%); flex: none; height: 38px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--text-primary); background: var(--bg-surface);
  border: 1px solid color-mix(in srgb, var(--c) 35%, var(--border)); position: relative; overflow: hidden;
  transition: transform .25s var(--ease-spring), color .2s, border-color .2s; }
.mm-gchip::before { content: ""; position: absolute; inset: 0; background: var(--c); transform: translateY(101%); transition: transform .3s var(--ease-out); z-index: -1; }
.mm-gchip { isolation: isolate; }
.mm-gchip:hover { color: #fff; background: var(--c); border-color: var(--c); transform: translateY(-2px); }
.mm-gchip:hover::before { transform: none; }
@media (max-width: 640px) { .mm-genres { flex-direction: column; align-items: flex-start; gap: 8px; } .mm-genres-rail { width: 100%; } }

/* ── Release cards: vinyl slides out of the sleeve, 3D tilt, light sheen ───────────── */
.mm-rcard { transition: transform .45s var(--ease-out), box-shadow .3s, border-color .3s; }
.mm-rcard.is-tilting { transform-style: preserve-3d; will-change: transform; transition: transform .08s linear, box-shadow .3s, border-color .3s; }
@media (hover: hover) {
  .mm-rcard:hover { transform-style: preserve-3d; will-change: transform; }
}
.mm-rcard:hover { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  box-shadow: 0 24px 50px -18px color-mix(in srgb, var(--accent-mint) 45%, transparent), 0 8px 24px rgba(0,0,0,.08); }
.mm-rcard-art { isolation: isolate; }
.mm-rcard-art img, .mm-rcard-ph { position: relative; z-index: 2; transition: transform .55s var(--ease-out), box-shadow .4s, border-radius .4s; }
/* Vinyl groove texture (item 1, 2026-12-01): a real pressed record has several visible bands —
   a smooth run-out near the label, dense fine grooves through the middle, and a wider band
   with a slight sheen near the rim — plus the disc darkens a touch toward its outer edge. The
   old texture was a single 1.2-2.6px repeating ring, barely visible at normal size. Kept in
   sync with .mm-pdp-vinyl below and .mm-djhero-vinyl in unify.css. */
.mm-vinyl { position: absolute; z-index: 1; top: 8%; right: 4%; width: 84%; aspect-ratio: 1; border-radius: 50%; opacity: 0;
  background:
    radial-gradient(circle at 33% 28%, rgba(255,255,255,.32) 0, rgba(255,255,255,.1) 7%, transparent 17%),
    radial-gradient(circle, #35f0b8 0 9%, #0e7a56 12%, #0b0b0b 13.5% 15%, transparent 15.5%),
    repeating-radial-gradient(circle, rgba(255,255,255,.1) 0 .6px, transparent .6px 2.7px),
    repeating-radial-gradient(circle, #040404 0 2.1px, #242424 2.1px 4.3px, #121212 4.3px 6.3px),
    radial-gradient(circle at 42% 38%, transparent 0 54%, rgba(0,0,0,.48) 82%, rgba(0,0,0,.8) 100%),
    #0c0c0c;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.6), inset 0 0 0 2px rgba(255,255,255,.08), inset -9px -9px 22px rgba(0,0,0,.5), inset 7px 7px 16px rgba(255,255,255,.05), 0 8px 22px rgba(0,0,0,.42);
  transform: translateX(-30%) rotate(0deg); transition: transform .6s var(--ease-out), opacity .3s; }
.mm-vinyl::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 25deg, transparent 0 6%, rgba(255,255,255,.32) 11%, transparent 18% 54%, rgba(255,255,255,.19) 60%, transparent 68%, rgba(255,255,255,.11) 86%, transparent 94%, rgba(255,255,255,.06) 100%); }
.mm-rcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.22), transparent 45%);
  opacity: 0; transition: opacity .3s; mix-blend-mode: soft-light; }
.mm-rcard:hover::after { opacity: 1; }
.mm-rcard-art { background: linear-gradient(135deg, var(--bg-elevated), color-mix(in srgb, var(--accent-mint) 10%, var(--bg-elevated))); }

/* Row titles: neon underline that draws in */
.mm-row-title { position: relative; display: inline-block; }
.mm-row-title::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 3px; width: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-mint), var(--neon-2)); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease-out); }
.mm-shelf:hover .mm-row-title::after, .mm-shelf.in .mm-row-title::after { transform: scaleX(1); }

/* ── Big outlined marquee between shelves ────────────────────────────────────────────── */
.mm-bigmarquee { width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; padding: 18px 0; margin-block: 24px; border-block: 1px solid var(--border); }
.mm-bigmarquee > div { display: flex; gap: 48px; width: max-content; animation: mm-wall 40s linear infinite; }
.mm-bigmarquee span { font-family: var(--font-display, inherit); font-weight: 800; font-size: clamp(40px, 7vw, 92px); letter-spacing: -.03em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--text-primary) 35%, transparent); white-space: nowrap; }
/* Filled and outlined words alternate. Each copy of the list has an even number of words, so where the loop
   joins (last word of one copy, first of the next) a filled word is always followed by an outlined one. */
.mm-bigmarquee span:nth-child(odd) { color: var(--accent-mint); -webkit-text-stroke: 0; }
.mm-bigmarquee span::after { content: "✦"; margin-left: 48px; font-size: .4em; vertical-align: middle; color: var(--accent-mint); -webkit-text-stroke: 0; }

/* ── How it works ────────────────────────────────────────────────────────────────────── */
.mm-steps { margin: 72px 0 48px; }
.mm-steps-title { font-family: var(--font-display, inherit); font-weight: 800; letter-spacing: -.03em; font-size: clamp(32px, 5vw, 60px); line-height: 1; margin-bottom: 32px; color: var(--text-primary); }
.mm-steps-title span { color: var(--text-muted); }
.mm-steps ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.mm-steps li { position: relative; padding: 28px 24px 26px; border-radius: 20px; background: var(--bg-surface); border: 1px solid var(--border); overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease-out), border-color .3s; }
.mm-steps li::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--accent-mint) 18%, transparent), transparent 60%); }
.mm-steps li:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent-mint) 40%, var(--border)); }
.mm-steps li:hover::before { opacity: 1; }
.mm-step-n { display: block; font-family: var(--font-display, inherit); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -.05em; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--accent-mint), var(--neon-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mm-steps h3 { font-family: var(--font-display, inherit); font-weight: 700; font-size: 22px; margin-bottom: 6px; color: var(--text-primary); }
.mm-steps p { color: var(--text-muted); font-size: 15px; line-height: 1.55; }
.mm-steps-cta { margin-top: 24px; }
.mm-steps-note { margin-top: 28px; display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--text-muted); }
.mm-steps-note a { color: var(--accent-mint); text-decoration: underline; text-underline-offset: 3px; }

/* ── Product page: ambient cover glow + record peeking from the sleeve ───────────────── */
.mm-ambient { position: absolute; left: 50%; top: -60px; width: 100vw; height: 720px; transform: translateX(-50%); z-index: -1; pointer-events: none; overflow: hidden; }
.mm-ambient::before { content: ""; position: absolute; inset: -10%; background-image: var(--cover); background-size: cover; background-position: center;
  filter: blur(55px) saturate(1.6); opacity: .38; transform: scale(1.1); }
.mm-ambient::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, var(--bg-base) 95%); }
.mm-pdp-art { position: relative; }
.mm-pdp-art > .aspect-square { position: relative; z-index: 2; }
.mm-pdp-art img { view-transition-name: mm-art; }
.mm-pdp-vinyl { position: absolute; z-index: 1; top: 6%; left: 10%; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 33% 28%, rgba(255,255,255,.32) 0, rgba(255,255,255,.1) 7%, transparent 17%),
    radial-gradient(circle, #35f0b8 0 8%, #0e7a56 11%, #0b0b0b 12.5% 14%, transparent 14.5%),
    repeating-radial-gradient(circle, rgba(255,255,255,.1) 0 .6px, transparent .6px 2.7px),
    repeating-radial-gradient(circle, #040404 0 2.1px, #242424 2.1px 4.3px, #121212 4.3px 6.3px),
    radial-gradient(circle at 42% 38%, transparent 0 54%, rgba(0,0,0,.48) 82%, rgba(0,0,0,.8) 100%),
    #0c0c0c;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.6), inset 0 0 0 2px rgba(255,255,255,.08), inset -9px -9px 22px rgba(0,0,0,.5), inset 7px 7px 16px rgba(255,255,255,.05), 0 20px 50px rgba(0,0,0,.42); transform: translateX(0); transition: transform .9s var(--ease-out); }
.mm-pdp-vinyl::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 6%, rgba(255,255,255,.34) 11%, transparent 19% 58%, rgba(255,255,255,.2) 64%, transparent 73%, rgba(255,255,255,.12) 90%, transparent 97%); }
.mm-pdp-art.is-in .mm-pdp-vinyl { transform: translateX(26%); animation: mm-spin2 6s linear 1s infinite; }
@keyframes mm-spin2 { from { transform: translateX(26%) rotate(0); } to { transform: translateX(26%) rotate(360deg); } }
@media (max-width: 1023px) { .mm-pdp-art.is-in .mm-pdp-vinyl { transform: translateX(16%); animation-name: mm-spin3; } @keyframes mm-spin3 { from { transform: translateX(16%) rotate(0); } to { transform: translateX(16%) rotate(360deg); } } }
.mm-pdp-art { padding-right: 0; }

/* Price reads like a live meter */
.mm-live-eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; margin-left: 8px; vertical-align: middle; }
.mm-live-eq i { width: 3px; height: 100%; transform-origin: bottom; background: var(--accent-mint); border-radius: 2px; animation: mm-mini 900ms ease-in-out infinite alternate; }
.mm-live-eq i:nth-child(2) { animation-delay: -300ms; } .mm-live-eq i:nth-child(3) { animation-delay: -600ms; } .mm-live-eq i:nth-child(4) { animation-delay: -150ms; }
@keyframes mm-mini { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

/* ── Scroll-driven reveal for shelves (progressive enhancement) ──────────────────────── */
@supports (animation-timeline: view()) {
  .mm-shelf { animation: mm-shelf-in linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  @keyframes mm-shelf-in { from { opacity: 0; transform: translateY(40px) scale(.98); } to { opacity: 1; transform: none; } }
}

/* ── Reduced motion: keep the look, drop the movement ────────────────────────────────── */
@media not all {
  .mm-mesh, .mm-wall-row, .mm-eq i, .mm-bigmarquee > div, .mm-neon-btn::after, .mm-glow, .mm-onair-dot, .mm-live-eq i { animation: none !important; }
  .mm-kin { animation: none; opacity: 1; transform: none; filter: none; }
  .mm-shelf { animation: none; }
  .mm-rcard:hover { transform: translateY(-2px); }
  .mm-pdp-art.is-in .mm-pdp-vinyl { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
@media print { .mm-stage-bg, .mm-wall, .mm-eq, .mm-bigmarquee, .mm-ambient, .mm-vinyl, .mm-pdp-vinyl { display: none; } .mm-stage { color: #000; background: none; } }
.isolate { isolation: isolate; }
/* Full-bleed sections (stage, marquee, ambient) need to escape the main column; the page itself clips sideways. */
main#main:has(.mm-stage, .mm-bigmarquee, .mm-ambient) { overflow-x: visible; }
@media not all { .mm-shelf, .mm-kin { opacity: 1 !important; } }
.mm-pdp-info, .mm-pdp-preview { position: relative; z-index: 3; }
.mm-pdp-art.is-in .mm-pdp-vinyl { transform: translateX(15%); animation-name: mm-spin4; }
@keyframes mm-spin4 { from { transform: translateX(15%) rotate(0); } to { transform: translateX(15%) rotate(360deg); } }
@media (max-width: 1023px) { .mm-pdp-art.is-in .mm-pdp-vinyl { transform: translateX(12%); animation-name: mm-spin5; } @keyframes mm-spin5 { from { transform: translateX(12%) rotate(0); } to { transform: translateX(12%) rotate(360deg); } } }
.mm-ambient::before { opacity: .3; }

/* ════════════════════════ Round 2: the rest of the site ════════════════════════ */

/* Stage card: the stage look as a rounded panel inside a page (sell, releases, auth) */
.mm-stage-lite { width: auto; margin: 0 0 32px; min-height: 0; border-radius: 28px; padding: 56px 28px 72px; box-shadow: 0 30px 80px -30px rgba(0, 40, 30, .55); }
.mm-stage-lite :is(h1, h2, h3) { color: #fff !important; }
.mm-stage-lite p { color: rgba(242, 255, 249, .78) !important; }
.mm-stage-lite .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.05); }
.mm-stage-lite .btn-mint { box-shadow: 0 10px 40px rgba(16,185,129, .45); }
.mm-stage-head { display: block; text-align: left; padding: 40px 32px 64px; }
.mm-stage-head .mm-stage-in { text-align: left; max-width: none; }
.mm-stage-head h1 { font-size: clamp(36px, 6vw, 72px) !important; letter-spacing: -.04em !important; }
.mm-stage-search-sm { margin: 22px 0 0; max-width: 560px; }
.mm-stage-lite .mm-eq { height: 56px; opacity: .7; }
@media (max-width: 640px) { .mm-stage-lite { border-radius: 20px; padding: 40px 18px 60px; } .mm-stage-head { padding: 28px 18px 56px; } }

/* Navbar: glass once you scroll, active page marked */
nav.sticky.top-0.z-50 { transition: background-color .3s, box-shadow .3s; } /* no backdrop-filter transition: an animating filter traps fixed children */
html.is-scrolled nav.sticky.top-0.z-50 {
  background-color: color-mix(in srgb, var(--bg-base) 72%, transparent) !important;
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.25);
}
nav.sticky.top-0.z-50 > .container > div { transition: height .3s var(--ease-out); }
html.is-scrolled nav.sticky.top-0.z-50 > .container > div { height: 64px; }
nav.sticky a.is-active { color: var(--accent-mint) !important; position: relative; }
nav.sticky .hidden.lg\:flex a { position: relative; }
nav.sticky .hidden.lg\:flex a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--accent-mint); transform: scaleX(0); transition: transform .3s var(--ease-out); }
nav.sticky .hidden.lg\:flex a:hover::after, nav.sticky .hidden.lg\:flex a.is-active::after { transform: scaleX(1); }

/* Buttons: tactile press + glow */
.btn-mm { transition: transform .18s var(--ease-spring), box-shadow .25s, background-color .2s, color .2s, border-color .2s; }
.btn-mm:active { transform: scale(.97); }
.btn-mint:hover { box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--accent-mint) 70%, transparent); }

/* Toasts: glass with an accent edge */
.toast-item { -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-radius: 16px !important; box-shadow: 0 20px 50px -20px rgba(0,0,0,.35) !important; }

/* Scrollbar + selection */
html { scrollbar-color: color-mix(in srgb, var(--accent-mint) 55%, transparent) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--accent-mint) 45%, transparent); border-radius: 10px; border: 3px solid var(--bg-base); }

/* Footer: giant outlined wordmark signs off every page */
.mm-footer { position: relative; overflow: hidden; }
.mm-footer::after { content: "MixMint"; display: block; text-align: center; font-family: var(--font-display, inherit); font-weight: 800; letter-spacing: -.06em; line-height: .8;
  font-size: clamp(80px, 22vw, 340px); margin-top: 40px; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--text-primary) 14%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-mint) 22%, transparent), transparent 75%); -webkit-background-clip: text; background-clip: text;
  pointer-events: none; user-select: none; margin-bottom: -.12em; }

/* Mobile tab bar: glass, active pill */
.mm-tabbar { -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); background: color-mix(in srgb, var(--bg-surface) 78%, transparent) !important; }
.mm-tabbar a[aria-current="page"] { color: var(--accent-mint) !important; }
.mm-tabbar a[aria-current="page"] svg { filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent-mint) 60%, transparent)); transform: translateY(-1px) scale(1.08); }
.mm-tabbar a svg { transition: transform .25s var(--ease-spring); }

/* DJ cards: lift and smooth profile-photo zoom */
.mm-djcard { transition: transform .4s var(--ease-out), box-shadow .3s, border-color .3s; }
.mm-djcard:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px color-mix(in srgb, var(--accent-mint) 50%, transparent); border-color: color-mix(in srgb, var(--accent-mint) 45%, var(--border)); }
.mm-djcard-photo { transition: transform .6s var(--ease-out); }
.mm-djcard:hover .mm-djcard-photo { transform: scale(1.05); }
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes mm-avring { to { --spin: 360deg; } }

/* DJ store page: glowing spinning ring around the avatar */
.dj-avatar { position: relative; box-shadow: 0 0 0 6px var(--bg-base), 0 20px 50px -10px color-mix(in srgb, var(--accent-mint) 55%, transparent) !important; border-color: transparent !important;
  background: linear-gradient(var(--bg-elevated), var(--bg-elevated)) padding-box, conic-gradient(from var(--spin, 0deg), var(--neon), var(--neon-2), var(--neon-4), var(--neon-3), var(--neon)) border-box !important;
  animation: mm-avring 6s linear infinite; }
.dj-banner { box-shadow: 0 30px 70px -40px rgba(0,0,0,.4); }
.dj-banner.mm-banner-fallback { background-color: var(--club-ink) !important; }
.dj-banner.mm-banner-fallback::before { content: ""; position: absolute; inset: -30%; background:
    radial-gradient(35% 50% at 20% 30%, rgba(16,185,129,.55), transparent 70%), radial-gradient(30% 45% at 80% 30%, rgba(124,92,255,.5), transparent 70%),
    radial-gradient(35% 45% at 60% 90%, rgba(255,77,141,.4), transparent 70%); filter: blur(30px); animation: mm-mesh 18s ease-in-out infinite alternate; }

/* Auth: stage panel beside the form on desktop */
.mm-auth { display: grid; gap: 40px; align-items: center; min-height: 72vh; padding: 32px 0 56px; position: relative; }
.mm-auth > .absolute { display: none; }
.mm-auth-stage { display: none; }
@media (min-width: 1024px) {
  .mm-auth { grid-template-columns: 1fr 1fr; gap: 56px; }
  .mm-auth-stage { display: grid; width: auto; margin: 0; min-height: 600px; border-radius: 32px; padding: 48px; place-items: end start; overflow: hidden; }
}
.mm-auth-copy { position: relative; max-width: 440px; }
.mm-auth-title { font-family: var(--font-display, inherit); font-weight: 800; font-size: clamp(36px, 4vw, 56px); letter-spacing: -.04em; line-height: .95; color: #fff; margin-bottom: 14px; }
.mm-auth-sub { color: rgba(242,255,249,.78); font-size: 16px; line-height: 1.55; margin-bottom: 22px; }
.mm-auth-copy .mm-stage-trust { justify-content: flex-start; }
.mm-auth-disc { position: absolute; top: -12%; right: -18%; width: 78%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, var(--neon) 0 11%, #0b0b0b 11.5% 13%, transparent 13.5%), repeating-radial-gradient(circle, #141414 0 1.4px, #222 1.8px 3px), #111;
  box-shadow: 0 40px 80px rgba(0,0,0,.5); animation: mm-disc 9s linear infinite; }
.mm-auth-disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 10%, rgba(255,255,255,.16) 15%, transparent 24% 60%, rgba(255,255,255,.1) 66%, transparent 75%); }
@keyframes mm-disc { to { transform: rotate(360deg); } }

/* 404: a record that skipped */
.mm-404-disc { position: relative; width: min(260px, 60vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-mint) 0 22%, #0b0b0b 22.5% 24%, transparent 24.5%), repeating-radial-gradient(circle, #141414 0 1.4px, #232323 1.8px 3px), #111;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.45); animation: mm-skip 3.2s cubic-bezier(.7,0,.3,1) infinite; }
.mm-404-disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 10%, rgba(255,255,255,.16) 15%, transparent 24% 60%, rgba(255,255,255,.1) 66%, transparent 75%); }
.mm-404-disc span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display, inherit); font-weight: 800; font-size: clamp(18px, 4vw, 26px); color: #06120d; z-index: 1; }
@keyframes mm-skip { 0% { transform: rotate(0); } 70% { transform: rotate(320deg); } 74% { transform: rotate(300deg); } 78% { transform: rotate(330deg); } 100% { transform: rotate(360deg); } }

/* Cards everywhere get the same soft lift */
.mm-card-section, .glow-card { transition: transform .35s var(--ease-out), box-shadow .3s, border-color .3s; }
.mm-card-section:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent-mint) 35%, var(--border)); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--accent-mint) 60%, transparent); }

@media not all {
  .dj-avatar, .mm-auth-disc, .mm-404-disc, .dj-banner.mm-banner-fallback::before { animation: none !important; }
  .mm-card-section:hover, .mm-djcard:hover { transform: none; }
}
.mm-stage-head .mm-stage-in { display: block; width: auto; margin: 0; }
html .dj-banner.mm-banner-fallback { background: var(--club-ink) !important; }
html .dj-banner.mm-banner-fallback::after { background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--club-ink) 60%, transparent)) !important; height: 100% !important; }
.mm-stage-head { justify-items: stretch; place-items: normal; }
.mm-stage-lite :is(strong, b, a) { color: #fff !important; }

/* ════════════════════════ Round 3: app and reading pages ════════════════════════ */
/* App pages (library, cart, account, DJ studio, admin-free): a soft neon aurora behind the page head */
body[data-shell] main#main { isolation: isolate; }
body[data-shell] main#main::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -80px; width: 100vw; height: 420px; transform: translateX(-50%); pointer-events: none;
  background:
    radial-gradient(30% 60% at 15% 20%, color-mix(in srgb, var(--neon) 22%, transparent), transparent 70%),
    radial-gradient(25% 55% at 85% 10%, color-mix(in srgb, var(--neon-2) 18%, transparent), transparent 70%),
    radial-gradient(30% 50% at 55% 0%, color-mix(in srgb, var(--neon-4) 10%, transparent), transparent 70%);
  filter: blur(10px); -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent); }
body[data-shell] main#main { overflow-x: visible; }
body[data-shell] main h1.font-display {
  background: linear-gradient(100deg, var(--text-primary) 0%, var(--text-primary) 45%, color-mix(in srgb, var(--accent-mint) 85%, var(--text-primary)) 75%, var(--neon-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent !important; letter-spacing: -.035em; }

/* Panels, everywhere: glassy, crisp, gradient edge on hover. Was body[data-shell="app"]-only
   (dashboard/library/account/cart); broadened to every page so the glass look is consistent
   sitewide, not just inside the app shell -- same recipe already shipped and proven there, just
   not scoped to one chrome. Brand anchors (mint accent, vinyl record) are untouched: this only
   changes card backgrounds/blur, never color or the vinyl artwork. Falls back to the plain
   var(--bg-surface) look (set earlier in pro.css) when the person asks for reduced transparency,
   or on a browser with no backdrop-filter support -- backdrop-filter is simply skipped there and
   the translucent background-color still reads fine on its own. */
@media (prefers-reduced-transparency: no-preference) {
  :is(.glow-card, .mm-card-section, .card-mm, .mm-rcard, .bg-\[var\(--bg-surface\)\].border) {
    border-radius: 20px; background-color: color-mix(in srgb, var(--bg-surface) 88%, transparent);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 12px 30px -24px rgba(0,0,0,.35); }
}
.glow-card { position: relative; }
.glow-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: linear-gradient(135deg, var(--neon), var(--neon-2), var(--neon-4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.glow-card:hover::after { opacity: 1; }
.glow-card:hover { transform: translateY(-3px); }

/* Big numbers (stats, totals) read like a mixer display */
body[data-shell="app"] .glow-card :is(.text-\[36px\], .text-\[40px\], .text-\[32px\], .text-\[28px\]).font-mono,
body[data-shell="app"] .glow-card p.font-display { font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--text-primary), color-mix(in srgb, var(--accent-mint) 75%, var(--text-primary))); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Inputs: calm field, neon focus */
.input-mm, body[data-shell] input:is([type=text],[type=email],[type=password],[type=search],[type=number],[type=url],[type=tel]), body[data-shell] textarea, body[data-shell] select {
  transition: border-color .2s, box-shadow .2s, background-color .2s; border-radius: 12px; }
.input-mm:focus, body[data-shell] :is(input, textarea, select):focus {
  border-color: var(--accent-mint) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-mint) 18%, transparent) !important; outline: none; }
.input-mm:hover:not(:focus) { border-color: color-mix(in srgb, var(--accent-mint) 35%, var(--border)); }

/* Tabs: pill with sliding feel */
[role="tablist"] { gap: 6px; }
[role="tab"][aria-selected="true"], .tab-active { position: relative; }

/* Empty states get a slowly turning record instead of a grey icon */
body[data-shell="app"] :is(.py-24, .mm-empty) > .text-6xl, body[data-shell="app"] .text-6xl.opacity-20 { opacity: 1 !important; font-size: 0 !important; width: 96px; height: 96px; margin-inline: auto; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-mint) 0 16%, #0b0b0b 16.5% 18%, transparent 18.5%), repeating-radial-gradient(circle, #141414 0 1.2px, #222 1.6px 2.6px), #111;
  box-shadow: 0 16px 40px -14px rgba(0,0,0,.5); animation: mm-disc 8s linear infinite; }

/* Cart rows: lift + accent, total glows */
body[data-shell="app"] [x-data^="cartApp"] .rounded-\[12px\].border { transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s; }
body[data-shell="app"] [x-data^="cartApp"] .rounded-\[12px\].border:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--accent-mint) 40%, var(--border)); box-shadow: -4px 0 0 0 var(--accent-mint); }

/* Reading pages (legal, FAQ, contact): comfortable measure and rhythm */
body[data-shell="doc"] main :is(p, li) { line-height: 1.75; }
body[data-shell="doc"] main :is(h2, h3) { scroll-margin-top: 100px; }
body[data-shell="doc"] main details { border-radius: 16px; transition: background-color .2s, border-color .2s; }
body[data-shell="doc"] main details[open] { border-color: color-mix(in srgb, var(--accent-mint) 40%, var(--border)); }
body[data-shell="doc"] main details summary { cursor: pointer; }

/* Studio bar gets the neon underline on the active tab */
.mm-studio a[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--border), 0 1px 2px rgba(0,0,0,.04), inset 0 -2px 0 var(--accent-mint); }

@media not all { body[data-shell="app"] .text-6xl.opacity-20, body[data-shell="app"] :is(.py-24, .mm-empty) > .text-6xl { animation: none; } .glow-card:hover { transform: none; } }

/* App page heads become small neon stages (all app pages; no template change needed) */
body[data-shell="app"] main :is(div, header):has(> h1.font-display):not(.mm-stage-in):not(.mm-apphead *):not(.flex > *),
body[data-shell="app"] main .flex:has(> div > h1.font-display):not(.mm-apphead *),
.mm-apphead {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; padding: 30px 30px 40px !important; margin-bottom: 28px; border: 0 !important;
  color: #f2fff9; background:
    radial-gradient(40% 90% at 12% 0%, rgba(16,185,129,.45), transparent 70%),
    radial-gradient(35% 80% at 90% 10%, rgba(124,92,255,.42), transparent 70%),
    radial-gradient(40% 70% at 60% 120%, rgba(255,77,141,.28), transparent 70%),
    var(--club-ink);
  box-shadow: 0 30px 70px -40px rgba(0,40,30,.7);
}
body[data-shell="app"] main :is(div, header):has(> h1.font-display):not(.mm-stage-in):not(.mm-apphead *):not(.flex > *)::after,
body[data-shell="app"] main .flex:has(> div > h1.font-display):not(.mm-apphead *)::after,
.mm-apphead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; z-index: -1; opacity: .55;
  background: repeating-linear-gradient(90deg, rgba(16,185,129,.9) 0 3px, transparent 3px 7px);
  -webkit-mask-image: linear-gradient(0deg, #000, transparent); mask-image: linear-gradient(0deg, #000, transparent);
  animation: mm-eqstrip 1.4s ease-in-out infinite alternate; transform-origin: bottom; }
@keyframes mm-eqstrip { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
body[data-shell="app"] main :is(div, header):has(> h1.font-display) > h1.font-display, .mm-apphead h1 {
  color: #fff !important; background: none; -webkit-background-clip: border-box; background-clip: border-box; }
body[data-shell="app"] main :is(div, header):has(> h1.font-display):not(.mm-stage-in) > p, .mm-apphead p { color: rgba(242,255,249,.78) !important; }
body[data-shell="app"] main :is(div, header):has(> h1.font-display):not(.mm-stage-in) a, .mm-apphead a:not(.btn-mm) { color: #8dffd9 !important; }
.mm-apphead .btn-ghost { color: #fff !important; border-color: rgba(255,255,255,.35) !important; background: rgba(255,255,255,.05); }
.mm-apphead .btn-mint { box-shadow: 0 10px 34px rgba(16,185,129,.45); }
.mm-apphead .font-mono { color: rgba(242,255,249,.6) !important; }
@media (max-width: 640px) { body[data-shell="app"] main :is(div, header):has(> h1.font-display):not(.mm-stage-in):not(.mm-apphead *), .mm-apphead { border-radius: 18px; padding: 22px 18px 32px !important; } }
@media not all { .mm-apphead::after, body[data-shell="app"] main :is(div, header):has(> h1.font-display)::after { animation: none; } }

body[data-shell="app"] main .flex:has(> div > h1.font-display) p { color: rgba(242,255,249,.78) !important; }
body[data-shell="app"] main .flex:has(> div > h1.font-display) h1 { color: #fff !important; background: none; }
body[data-shell="app"] main .flex:has(> div > h1.font-display) .btn-ghost { color: #fff !important; border-color: rgba(255,255,255,.35) !important; background: rgba(255,255,255,.05); }

/* Footer social icons */
.mm-social { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-muted); transition: color .2s, border-color .2s, transform .2s; }
.mm-social:hover { color: var(--accent-mint); border-color: var(--accent-mint); transform: translateY(-2px); }

/* Growth: verified badges, star input */
.mm-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--accent-mint-text, #007A55);
  background: color-mix(in srgb, var(--accent-mint) 14%, transparent); border-radius: 999px; padding: 2px 10px; }
.mm-verified svg { width: 13px; height: 13px; }
.mm-verified-buyer { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: #007A55; margin-left: 6px; }
.mm-verified-buyer svg { width: 12px; height: 12px; }
.mm-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; border: 0; padding: 0; }
.mm-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mm-stars label { font-size: 30px; line-height: 1; color: var(--border); cursor: pointer; transition: color .15s, transform .15s; }
.mm-stars label:hover, .mm-stars label:hover ~ label, .mm-stars input:checked ~ label { color: #FFB800; }
.mm-stars input:focus-visible + label { outline: 2px solid var(--accent-mint); outline-offset: 2px; border-radius: 4px; }


/* Footer giant "MixMint": the wordmark font. */
.mm-footer::after { font-family: var(--font-logo); font-weight: 800; font-synthesis: none; letter-spacing: -.03em; font-size: clamp(48px, 13.5vw, 260px); }

/* "I'm a DJ: sell my edits" call-to-action: gradient ring, spinning disc, sliding arrow. Colours come from theme variables, so it suits dark and light. */
.mm-steps-cta .mm-sell-btn { --ring: linear-gradient(120deg, var(--accent-mint), var(--accent-amber), var(--accent-mint)); position: relative; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px 0 20px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 15px; letter-spacing: .01em; text-decoration: none; color: var(--text-primary); background: linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box, var(--ring) border-box; background-size: 100% 100%, 200% 100%; box-shadow: 0 6px 22px -8px var(--accent-mint); transition: transform .25s ease, box-shadow .25s ease, background-position .6s ease; }
.mm-steps-cta .mm-sell-btn:hover { transform: translateY(-2px); background-position: 0 0, 100% 0; box-shadow: 0 12px 30px -10px var(--accent-mint); }
.mm-steps-cta .mm-sell-btn:active { transform: translateY(0) scale(.98); }
.mm-steps-cta .mm-sell-btn:focus-visible { outline: 3px solid var(--accent-mint); outline-offset: 3px; }
.mm-sell-btn svg { width: 20px; height: 20px; flex: none; }
.mm-sell-btn .mm-sell-disc { color: var(--accent-mint); transition: transform .6s ease; }
.mm-sell-btn:hover .mm-sell-disc { transform: rotate(360deg); }
.mm-sell-btn .mm-sell-arrow { color: var(--accent-amber); transition: transform .25s ease; }
.mm-sell-btn:hover .mm-sell-arrow { transform: translateX(4px); }
@media (max-width: 560px) { .mm-steps-cta .mm-sell-btn { width: 100%; justify-content: center; } }
@media not all { .mm-steps-cta .mm-sell-btn, .mm-sell-btn svg { transition: none; } .mm-sell-btn:hover .mm-sell-disc { transform: none; } }

/* Pro studio button on the DJ dashboard: gold, a slow sheen and a soft glow; calm for people who prefer less motion */
.mm-pro-btn{position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#1a1200;background:linear-gradient(135deg,#ffd76a,#f5a524 55%,#ffcf5c);border:0;border-radius:10px;box-shadow:0 0 0 0 rgba(245,165,36,.55);animation:mmProGlow 2.8s ease-out infinite;transition:transform .2s}
.mm-pro-btn:hover{transform:translateY(-2px) scale(1.03)}
.mm-pro-btn::after{content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.7),transparent);transform:skewX(-20deg);animation:mmProSheen 3.6s ease-in-out infinite}
.mm-pro-btn .mm-pro-ic{display:inline-flex;animation:mmProTwinkle 2.4s ease-in-out infinite}
.mm-pro-btn .mm-pro-new{font-size:9px;letter-spacing:.06em;background:#1a1200;color:#ffd76a;border-radius:999px;padding:2px 8px;white-space:nowrap}
.mm-pro-btn.is-pro{background:linear-gradient(135deg,#2ee6a6,#19b98a);color:#04110c;animation-name:mmProGlowMint}
@keyframes mmProGlow{0%{box-shadow:0 0 0 0 rgba(245,165,36,.55)}70%,100%{box-shadow:0 0 0 12px rgba(245,165,36,0)}}
@keyframes mmProGlowMint{0%{box-shadow:0 0 0 0 rgba(46,230,166,.5)}70%,100%{box-shadow:0 0 0 12px rgba(46,230,166,0)}}
@keyframes mmProSheen{0%,55%{left:-60%}100%{left:130%}}
@keyframes mmProTwinkle{0%,100%{transform:scale(1) rotate(0)}50%{transform:scale(1.2) rotate(12deg)}}
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */{.mm-pro-btn,.mm-pro-btn::after,.mm-pro-btn .mm-pro-ic{animation:none}}

/* SOLD OUT stamp across a cover (cards, release pages). Decorative: the badge/text says it for screen readers.
   A translucent dark veil over the cover with a translucent gold glass stamp on it. */
.mm-soldout-mark { position: absolute; inset: 0; z-index: 4; pointer-events: none; display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-radius: inherit; background: radial-gradient(ellipse at center, rgba(10,8,2,.22), rgba(10,8,2,.52)); }
.mm-soldout-mark span { position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,1.2,.4,1), box-shadow .3s, background .3s, border-color .3s; display: block; text-align: center; transform: rotate(-14deg); padding: .38em .85em .42em; border-radius: 8px;
  font-family: var(--font-display, 'Clash Display', 'Satoshi', sans-serif); font-weight: 700; font-size: 15px; line-height: 1.05; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  color: #ffe9a6; background: linear-gradient(180deg, rgba(255,215,106,.34), rgba(196,150,32,.26));
  -webkit-backdrop-filter: blur(3px) saturate(1.2); backdrop-filter: blur(3px) saturate(1.2);
  border: 2px solid rgba(255,214,102,.85);
  box-shadow: 0 0 0 3px rgba(255,214,102,.28), 0 10px 26px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.35);
  text-shadow: 0 1px 3px rgba(40,26,0,.85), 0 0 12px rgba(255,200,60,.45); }
.mm-soldout-mark span::after { content: "ALL COPIES GONE"; display: block; margin-top: .5em; font-family: var(--font-mono, 'DM Mono', monospace); font-size: .44em; font-weight: 500; letter-spacing: .18em; opacity: .95; }
.mm-pdp-art .mm-soldout-mark span, .mm-flip .mm-soldout-mark span { font-size: clamp(20px, 5.2vw, 30px); border-width: 3px; padding: .4em .9em .45em; }
@media (prefers-reduced-motion: no-preference) {
  .mm-soldout-mark span { animation: mm-stamp .45s cubic-bezier(.2,1.4,.4,1) backwards; }
  @keyframes mm-stamp { from { transform: rotate(-14deg) scale(1.6); opacity: 0; } to { transform: rotate(-14deg) scale(1); opacity: 1; } }
}
@media (max-width: 420px) { .mm-rcard .mm-soldout-mark span { font-size: 13px; } }

/* Hover: the veil lifts a little, the stamp straightens, grows and glows, and a gold shine sweeps across it. */
.mm-soldout-mark { transition: background .35s; }
.mm-soldout-mark span::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 32%, rgba(255,240,190,.6) 50%, transparent 68%); transform: translateX(-130%); }
.mm-rcard:hover .mm-soldout-mark, .mm-pdp-art:hover .mm-soldout-mark, .mm-flip:hover .mm-soldout-mark {
  background: radial-gradient(ellipse at center, rgba(10,8,2,.12), rgba(10,8,2,.4)); }
.mm-rcard:hover .mm-soldout-mark span, .mm-pdp-art:hover .mm-soldout-mark span, .mm-flip:hover .mm-soldout-mark span {
  background: linear-gradient(180deg, rgba(255,222,120,.5), rgba(214,166,40,.4)); border-color: #ffe08a;
  box-shadow: 0 0 0 3px rgba(255,214,102,.42), 0 0 28px rgba(255,200,60,.55), 0 12px 28px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.5); }
@media (prefers-reduced-motion: no-preference) {
  .mm-rcard:hover .mm-soldout-mark span, .mm-pdp-art:hover .mm-soldout-mark span, .mm-flip:hover .mm-soldout-mark span { transform: rotate(-8deg) scale(1.08); }
  .mm-rcard:hover .mm-soldout-mark span::before, .mm-pdp-art:hover .mm-soldout-mark span::before, .mm-flip:hover .mm-soldout-mark span::before {
    transform: translateX(130%); transition: transform .9s ease; }
}

/* Collab names never leave the card: JS shrinks the font; this clips whatever still doesn't fit. */
.mm-rcard-djwrap { max-width: 100% !important; overflow: hidden; }
.mm-rcard-djwrap > a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Phone header and bottom bar: smaller, evenly spaced, one centre line. */
@media (max-width: 767px) {
  nav[aria-label="Main"] > .container > .flex { min-height: 56px; height: 56px; align-items: center; }
  nav[aria-label="Main"] .container > .flex > a:first-child img,
  nav[aria-label="Main"] .container > .flex > a:first-child svg { height: 26px !important; width: auto !important; max-width: 132px; }
  nav[aria-label="Main"] .mm-nav-tools { gap: 4px; align-items: center; }
  nav[aria-label="Main"] .mm-nav-tools > *,
  nav[aria-label="Main"] .mm-nav-tools button { align-self: center; }
  nav[aria-label="Main"] .mm-nav-tools button.w-11 { width: 40px !important; height: 40px !important; }
  nav[aria-label="Main"] .mm-nav-tools svg { width: 20px; height: 20px; }
  nav[aria-label="Main"] .mm-nav-tools [aria-label^="Switch to"] { height: 28px; width: 50px; }
  .mm-tabbar { padding: 4px 6px calc(4px + env(safe-area-inset-bottom)); }
  .mm-tabbar a { min-height: 46px !important; gap: 1px; font-size: 10.5px !important; }
  .mm-tabbar a svg { width: 20px !important; height: 20px !important; }
  body.has-tabbar { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}

/* "This week's chart": rows were wider than the card because the grid cell could not shrink below its content. */
.mm-shelf > * { min-width: 0; }
.mm-wchart, .mm-wchart-list, .mm-wchart-list > li { min-width: 0; max-width: 100%; }
.mm-wchart-row { min-width: 0; max-width: 100%; box-sizing: border-box; }
.mm-wchart-row > .mm-wchart-info { min-width: 0; }

/* ── Design base, batch 1: phone tap targets and legible small text (no visual change to layout) ── */
@media (max-width: 767px) {
  main .btn-mm, main a.btn-mm, main button.btn-mm { min-height: 44px !important; }
  /* Release-card overlay buttons: same look, 44px+ tap area. */
  .mm-quick::after, .mm-rcard-info::after { content: ""; position: absolute; inset: -6px; }
  /* Text links in tables, lists and dashboard lines: 44px tap area, offset by negative margin so rows do not grow. */
  main td a, main li a.underline, main p a.underline, main a.cx-strong, .cx-table a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; box-sizing: border-box; margin-block: -12px; }
  /* Small labels stay readable. */
  .mm-bb-live, .mm-studio-chip, .mm-tabbar a, main dt { font-size: max(11px, 0.6875rem) !important; }
  .cx-table small, .cx-stat span { font-size: 11.5px; }
}

/* ── Design base, batch 2: public pages. Card text is not underlined; links underline on hover/focus only. ── */
a.mm-top10-card, a.mm-top10-card * { text-decoration: none !important; }
a.mm-top10-card:hover .mm-top10-meta b, a.mm-top10-card:focus-visible .mm-top10-meta b { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.mm-rcard-djwrap a, .mm-bb-meta a { text-decoration: none !important; }
.mm-rcard-djwrap a { color: inherit; }
.mm-rcard-djwrap a:hover, .mm-rcard-djwrap a:focus-visible { color: var(--accent-mint); text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (max-width: 767px) { .mm-djgrid > :only-child { grid-column: 1 / -1; } }

/* ── Design base, batch 3: the "Complete your download" strip is one slim row on phones ── */
@media (max-width: 767px) {
  .mm-download-strip > div { flex-wrap: nowrap !important; justify-content: flex-start !important; text-align: left !important; gap: 8px !important; min-width: 0; padding-block: 0 !important; }
  .mm-download-strip > div > span:nth-child(2), .mm-download-strip > div > span:nth-child(4) { display: none !important; }
  .mm-download-strip > div > span:nth-child(3) { flex: 1 1 auto; min-width: 0; max-width: none !important; }
  .mm-download-strip > div > a { flex: none; min-height: 36px; }
  .mm-download-strip > button { position: relative; }
  .mm-download-strip > button::after { content: ""; position: absolute; inset: -8px; }
}
/* Very small phones (320px): keep the whole wordmark; search stays in the bottom tab bar. */
@media (max-width: 359px) {
  nav[aria-label="Main"] .container { padding-inline: 12px !important; }
  nav[aria-label="Main"] .mm-wordmark { font-size: 20px !important; }
  nav[aria-label="Main"] a[href="/search/"], nav[aria-label="Main"] button[aria-label*="earch"] { display: none !important; }
}

/* ── Design base, batch 5: admin pages. Compact row-action buttons (Restore DLs, Send Link, Manage →,
   Preview, Dismiss) keep their small visual size but get a real 44px tap target via invisible hit-slop,
   not a resize that would bloat dense tables. Also: pills/labels stay readable at every width, not phone-only. ── */
.cx-btn-compact { position: relative; }
.cx-btn-compact::after { content: ""; position: absolute; top: 50%; left: 50%; width: max(44px, 100% + 8px); height: 44px; transform: translate(-50%, -50%); }
.cx-pill, .pill-success, .pill-warning, .pill-error, .pill-neutral { font-size: max(11px, 0.6875rem) !important; }

/* ── Comments & reviews: Instagram-style rows (avatar, inline name+text, heart on the right) ── */
.mm-ig-row { display: flex; align-items: flex-start; gap: 10px; padding-block: 10px; }
.mm-ig-heart { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 44px; min-height: 44px;
  justify-content: center; background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 18px; line-height: 1; }
.mm-ig-heart span { transition: transform 0.15s ease; }
.mm-ig-heart:active span { transform: scale(1.3); }
.mm-ig-heart.is-liked { color: #f43f5e; }
.mm-ig-heart small { font-size: 11px; color: var(--text-muted); }

/* Comments/Reviews toggle: two small pill tabs, each with a dot, Comments shown first by default. */
.mm-cr-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.mm-cr-tab { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text-muted); font-size: 13px; font-weight: 700; cursor: pointer; }
.mm-cr-tab i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; opacity: 0.4; }
.mm-cr-tab.is-active { color: var(--text-primary); border-color: var(--accent-mint); background: color-mix(in srgb, var(--accent-mint) 12%, var(--bg-elevated)); }
.mm-cr-tab.is-active i { background: var(--accent-mint); opacity: 1; }

/* Comment/review write box: starts slim like YouTube's "Add a comment…" prompt, grows on focus/content.
   !important overrides unify.css's blanket `textarea.input-mm { min-height: 112px }`, loaded after this file. */
textarea.mm-comment-box { min-height: 44px !important; padding-block: 11px; transition: min-height 0.15s ease, border-color 0.15s ease; }
textarea.mm-comment-box.is-expanded { min-height: 90px !important; border-color: var(--accent-mint); }

/* Star rating shown on its own line above the review text, not buried in the muted meta row. */
.mm-review-stars { font-size: 15px; letter-spacing: 1px; color: var(--accent-amber, #f59e0b); line-height: 1; }

/* ---- motion.css ---- */
/* MixMint motion layer — small, purposeful animations site-wide.
   Ideas adapted from freefrontend.com/css-animations (theme view-transition, galaxy button,
   glitch image, copy-check, bursting rating, glossy meters, faded marquee, scroll-driven
   reveals, flashlight reveal). Everything is off for prefers-reduced-motion. */

@property --mm-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --tx { syntax: "<percentage>"; inherits: true; initial-value: 50%; }

/* 1. Theme switch: a circle of the new theme grows from the toggle (View Transitions). */
html.mm-vt-theme::view-transition-old(root) { animation: none; mix-blend-mode: normal; }
html.mm-vt-theme::view-transition-new(root) { mix-blend-mode: normal; }
html.mm-vt-theme::view-transition-new(root) {
  animation: mm-vt-circle .55s cubic-bezier(.65,0,.35,1) both;
}
@keyframes mm-vt-circle {
  from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 0)); }
  to   { clip-path: circle(var(--vt-r, 150vmax) at var(--vt-x, 50%) var(--vt-y, 0)); }
}
[data-theme-toggle] .theme-toggle-icon { transition: transform .5s cubic-bezier(.22,1,.36,1); }
[data-theme-toggle]:active .theme-toggle-icon { transform: rotate(-90deg) scale(.8); }

/* 2. "Galaxy" mint buttons: a rotating light ring + sparkle on hover. */
.btn-mint { --mm-ang: 0deg; }
.btn-mint::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--mm-ang), transparent 0 60%, #fff 72%, #10B981 80%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
}
@media (hover: hover) {
  .btn-mint:hover::before { opacity: 1; animation: mm-orbit 1.6s linear infinite; }
  .btn-mint:hover { box-shadow: 0 0 0 1px rgba(16,185,129,.35), 0 10px 34px -8px rgba(16,185,129,.6); }
}
@keyframes mm-orbit { to { --mm-ang: 360deg; } }

/* 3. The glitch (slice + RGB split) is kept only for explicit .mm-glitch elements; release covers hover smoothly. */
@media (hover: hover) {
  .mm-glitch:hover img { animation: mm-glitch .42s steps(1, end) 1; }
}
@keyframes mm-glitch {
  0%   { clip-path: inset(0); filter: none; }
  15%  { clip-path: inset(12% 0 58% 0); transform: scale(1.04) translateX(-4px); filter: drop-shadow(3px 0 rgba(255,51,85,.8)) drop-shadow(-3px 0 rgba(16,185,129,.8)); }
  30%  { clip-path: inset(48% 0 22% 0); transform: scale(1.04) translateX(5px); }
  45%  { clip-path: inset(70% 0 4% 0);  transform: scale(1.04) translateX(-3px); filter: drop-shadow(-2px 0 rgba(255,51,85,.8)) drop-shadow(2px 0 rgba(77,156,255,.8)); }
  60%  { clip-path: inset(0 0 0 0);     transform: scale(1.04) translateX(2px); filter: hue-rotate(25deg); }
  100% { clip-path: inset(0); transform: scale(1.04); filter: none; }
}

/* 4. Copy buttons: morph into a drawn check mark. */
.mm-copied { position: relative; color: transparent !important; transition: background-color .2s, border-color .2s; }
.mm-copied > * { visibility: hidden; }
.mm-copied::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; visibility: visible;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300FFB3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5' pathLength='1' stroke-dasharray='1' stroke-dashoffset='0'/%3E%3C/svg%3E");
  animation: mm-pop .45s cubic-bezier(.22,1,.36,1);
  transform: none !important; translate: none !important;
}
.btn-mint.mm-copied::after { filter: brightness(0); }
@keyframes mm-pop { 0% { scale: 0; rotate: -30deg; opacity: 0; } 100% { scale: 1; rotate: 0deg; opacity: 1; } }

/* 5. Bursts: hearts (wishlist) and stars (reviews) throw sparks when chosen. */
.mm-burst-host { position: relative; }
.mm-spark {
  position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 50%; pointer-events: none; z-index: 5;
  background: var(--c, #10B981); transform: translate(-50%, -50%);
  animation: mm-spark .6s cubic-bezier(.2,.8,.2,1) forwards;
}
.mm-ring {
  position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; pointer-events: none; z-index: 4;
  border: 2px solid var(--c, #10B981); transform: translate(-50%, -50%) scale(0);
  animation: mm-ring .5s ease-out forwards;
}
@keyframes mm-spark { to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.2); opacity: 0; } }
@keyframes mm-ring { to { transform: translate(-50%, -50%) scale(4.2); opacity: 0; } }
.mm-thump { animation: mm-thump .45s cubic-bezier(.22,1,.36,1); }
@keyframes mm-thump { 40% { scale: 1.25; } 100% { scale: 1; } }

/* 6. Glossy gel meters: storage, health, forecast and any width-styled bar. */
:is(.rounded-full, [class*="rounded"]) > .h-full[style*="width"] {
  position: relative; overflow: hidden; border-radius: inherit;
  background-image: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,.08) 48%, rgba(0,0,0,.12) 52%, rgba(255,255,255,.12));
  transform-origin: left center; animation: mm-fill 1.1s cubic-bezier(.2,.8,.2,1) both;
}
:is(.rounded-full, [class*="rounded"]) > .h-full[style*="width"]::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-100%); animation: mm-sheen 2.6s 1.1s ease-in-out infinite;
}
@keyframes mm-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mm-sheen { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(100%); } }
progress { appearance: none; height: 10px; border: 0; border-radius: 99px; overflow: hidden; background: var(--bg-elevated); }
progress::-webkit-progress-bar { background: var(--bg-elevated); border-radius: 99px; }
progress::-webkit-progress-value { border-radius: 99px; background: linear-gradient(180deg, #7dffd9, #10B981 50%, #00c78c); }
progress::-moz-progress-bar { border-radius: 99px; background: linear-gradient(180deg, #7dffd9, #10B981 50%, #00c78c); }
progress:indeterminate { background: repeating-linear-gradient(-45deg, rgba(16,185,129,.6) 0 10px, rgba(16,185,129,.2) 10px 20px) 0 0 / 28px 28px, var(--bg-elevated); animation: mm-stripes .8s linear infinite; }
@keyframes mm-stripes { to { background-position: 28px 0, 0 0; } }

/* 7. Marquees fade in and out at the edges. */
.mm-bigmarquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mm-genres-rail { -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 90%, transparent); }

/* 8. Scroll-driven touches (browsers that support them; others just show the page). */
@supports (animation-timeline: view()) {
  .mm-footer::after { animation: mm-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  @keyframes mm-rise { from { opacity: 0; transform: translateY(40%); letter-spacing: .2em; } to { opacity: 1; transform: none; letter-spacing: 0; } }
  .mm-stage-in { animation: mm-hero-out linear both; animation-timeline: view(); animation-range: exit 0% exit 80%; }
  @keyframes mm-hero-out { to { opacity: .2; filter: blur(3px); } }
}

/* 9. 404: a flashlight that finds the lost track. */
.mm-404-torch { position: relative; margin-top: 20px; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 4vw, 34px); letter-spacing: -.02em;
  color: transparent; background: radial-gradient(circle 110px at var(--tx, 50%) var(--ty, 50%), var(--accent-mint) 0 35%, var(--text-muted) 100%);
  -webkit-background-clip: text; background-clip: text; animation: mm-torch 5s ease-in-out infinite; }
@keyframes mm-torch { 0%, 100% { --tx: 10%; } 50% { --tx: 90%; } }
.mm-404-torch.is-live { animation: none; }
.mm-404-disc span { animation: mm-404-glitch 3.2s steps(1) infinite; }
@keyframes mm-404-glitch { 0%, 68%, 80%, 100% { text-shadow: none; transform: none; } 70% { text-shadow: 2px 0 #FF3355, -2px 0 #4D9CFF; transform: translateX(2px); } 74% { text-shadow: -2px 0 #FF3355, 2px 0 #4D9CFF; transform: translateX(-2px); } }

/* 10. Mobile menu icon: a soft mint halo while open. */
[aria-label="Toggle navigation menu"] { position: relative; border-radius: 999px; transition: background-color .3s; }
[aria-label="Toggle navigation menu"][aria-expanded="true"] { background: rgba(16,185,129,.12); }

@media not all {
  html.mm-vt-theme::view-transition-new(root) { animation: none; }
  .btn-mint:hover::before, .h-full[style*="width"], .h-full[style*="width"]::after, progress:indeterminate,
  .mm-rcard:hover .mm-rcard-art img, .mm-glitch:hover img, .mm-spark, .mm-ring, .mm-thump,
  .mm-404-torch, .mm-404-disc span, .mm-copied::after,
  .mm-footer::after, .mm-stage-in { animation: none !important; }
  .mm-spark, .mm-ring { display: none; }
}

/* ── Batch 2 (freefrontend page 2 + more of page 1) ─────────────────────────── */

/* 11. Intro "ribbons": coloured light strips sweep behind the wordmark (Netflix-intro style), first visit only. */
.mm-ribbons { position: absolute; inset: 0; display: none; justify-content: center; gap: 1.2vw; pointer-events: none; overflow: hidden; }
.mm-pageload.is-intro .mm-ribbons { display: flex; }
.mm-ribbons i { width: 4vw; max-width: 46px; height: 140%; margin-top: -20%; opacity: 0; transform: translateY(100%) skewX(-12deg);
  background: linear-gradient(180deg, transparent, hsl(calc(160 + var(--r) * 12) 100% 55% / .55), transparent);
  filter: blur(1px); animation: mm-ribbon 1.25s calc(var(--r) * 60ms) cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes mm-ribbon { 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-100%) skewX(-12deg); } }

/* 12. Cover art arrives through a tile (checkerboard) reveal once the image has loaded. */
@property --mm-tile { syntax: "<percentage>"; inherits: false; initial-value: 12.5%; }
.mm-rcard-art:has(img.is-loaded) {
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 var(--mm-tile), transparent var(--mm-tile) 12.5%), repeating-linear-gradient(0deg, #000 0 var(--mm-tile), transparent var(--mm-tile) 12.5%);
  -webkit-mask-composite: source-in; mask-image: repeating-linear-gradient(90deg, #000 0 var(--mm-tile), transparent var(--mm-tile) 12.5%), repeating-linear-gradient(0deg, #000 0 var(--mm-tile), transparent var(--mm-tile) 12.5%);
  mask-composite: intersect; animation: mm-tiles .7s cubic-bezier(.3,.7,.2,1) both;
}
@keyframes mm-tiles { from { --mm-tile: 0%; } to { --mm-tile: 12.6%; } }

/* 13. Hero: a record-label badge with circular text that spins (faster while you scroll). */
.mm-spinbadge { position: absolute; right: clamp(16px, 5vw, 72px); top: clamp(110px, 22%, 200px); width: 132px; height: 132px; z-index: 2; display: grid; place-items: center; color: #f2fff9; text-decoration: none; }
.mm-spinbadge > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: mm-badge-spin 14s linear infinite; }
.mm-spinbadge text { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0; fill: currentColor; }
.mm-spinbadge-core { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #10B981; color: #06120d; box-shadow: 0 0 0 6px rgba(16,185,129,.15), 0 0 30px rgba(16,185,129,.5); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.mm-spinbadge-core svg { width: 22px; height: 22px; margin-left: 3px; }
.mm-spinbadge:hover .mm-spinbadge-core { transform: scale(1.12); }
.mm-spinbadge:hover > svg { animation-duration: 5s; }
@keyframes mm-badge-spin { to { transform: rotate(360deg); } }
@supports (animation-timeline: scroll()) {
  .mm-spinbadge { animation: mm-badge-scroll linear both; animation-timeline: scroll(root); }
  @keyframes mm-badge-scroll { to { rotate: 540deg; } }
}
@media (max-width: 1180px) { .mm-spinbadge { display: none; } }

/* 14. Countdown digits roll in when they change (flip-clock feel). */
.mm-dg { display: inline-block; min-width: .62em; text-align: center; }
.mm-dg.is-roll { animation: mm-roll .38s cubic-bezier(.2,.8,.2,1); }
@keyframes mm-roll { from { transform: translateY(-70%) rotateX(80deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* 15. Busy buttons: three chasing dots instead of a spinning ring ("Dot Dash"). */
.btn-mm .mm-spinner, .mm-spinner.mm-dots { border: 0; width: 6px; height: 6px; flex-basis: 6px; margin: 0 10px; border-radius: 50%; background: currentColor;
  box-shadow: -10px 0 currentColor, 10px 0 currentColor; animation: mm-dotdash .9s ease-in-out infinite; }
@keyframes mm-dotdash {
  0%   { box-shadow: -10px 0 currentColor, 10px 0 color-mix(in srgb, currentColor 30%, transparent); background: color-mix(in srgb, currentColor 60%, transparent); }
  50%  { box-shadow: -10px 0 color-mix(in srgb, currentColor 30%, transparent), 10px 0 color-mix(in srgb, currentColor 30%, transparent); background: currentColor; }
  100% { box-shadow: -10px 0 color-mix(in srgb, currentColor 30%, transparent), 10px 0 currentColor; background: color-mix(in srgb, currentColor 60%, transparent); }
}

/* 16. Mobile tab bar: dock-style pop on tap and a glowing dot under the current tab. */
.mm-tabbar a { position: relative; }
.mm-tabbar a:active svg { transform: translateY(-4px) scale(1.25) !important; }
.mm-tabbar a[aria-current="page"]::after { content: ""; position: absolute; bottom: 4px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent-mint); box-shadow: 0 0 8px var(--accent-mint); animation: mm-pop .4s cubic-bezier(.22,1,.36,1); }

@media not all {
  .mm-ribbons, .mm-spinbadge { display: none !important; }
  .mm-rcard-art:has(img.is-loaded), .mm-dg.is-roll, .btn-mm .mm-spinner, .mm-tabbar a[aria-current="page"]::after { animation: none !important; }
  .mm-rcard-art:has(img.is-loaded) { -webkit-mask-image: none; mask-image: none; }
}

/* ── Batch 3 (freefrontend pages 3–5) ───────────────────────────────────────── */

/* 17. Apple-style accordion (FAQ): smooth native <details>, plus sign turns into a minus. */
.mm-acc-list { border-top: 1px solid var(--border); }
.mm-acc { border-bottom: 1px solid var(--border); }
.mm-acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px;
  font-weight: 700; font-size: 16px; color: var(--text-primary); transition: color .2s; }
.mm-acc > summary::-webkit-details-marker { display: none; }
.mm-acc > summary::after { content: ""; flex: none; width: 14px; height: 14px; transition: transform .35s cubic-bezier(.22,1,.36,1);
  background: linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 2px 100% no-repeat; }
.mm-acc[open] > summary::after { transform: rotate(135deg); }
.mm-acc > summary:hover { color: var(--accent-mint); }
.mm-acc > p { padding: 0 4px 22px; }
@supports (interpolate-size: allow-keywords) {
  .mm-acc { interpolate-size: allow-keywords; }
  .mm-acc::details-content { block-size: 0; overflow: hidden; opacity: 0;
    transition: block-size .4s cubic-bezier(.2,.8,.2,1), opacity .3s, content-visibility .4s allow-discrete; }
  .mm-acc[open]::details-content { block-size: auto; opacity: 1; }
}

/* 18. Confetti (purchase success, approvals): pieces created by motion.js. */
.mm-confetti { position: fixed; top: -12px; width: 8px; height: 14px; z-index: 9999; pointer-events: none; border-radius: 2px;
  background: var(--c); animation: mm-confetti var(--t, 2.6s) cubic-bezier(.25,.6,.4,1) forwards; }
@keyframes mm-confetti { to { transform: translate(var(--dx), 105vh) rotate(var(--rot)); opacity: .2; } }

/* 19. Neon "On air" pill: an occasional sign flicker. */
.mm-onair { animation: mm-neon 7s steps(1) infinite; }
@keyframes mm-neon { 0%, 89%, 93%, 100% { opacity: 1; } 90% { opacity: .45; } 91% { opacity: 1; } 92% { opacity: .6; } }

/* 20. Release page cover: a cinematic wipe-in ("hero image reveal"). */
.mm-pdp-art img:not(.mm-pdp-vinyl img) { animation: mm-wipe 1s .1s cubic-bezier(.7,0,.2,1) both; }
@keyframes mm-wipe { from { clip-path: inset(0 100% 0 0 round 16px); scale: 1.12; } to { clip-path: inset(0 0 0 0 round 0); scale: 1; } }

@media not all {
  .mm-acc::details-content { transition: none; }
  .mm-confetti { display: none; }
  .mm-onair, .mm-pdp-art img { animation: none !important; }
}

/* Slim banner for accounts whose email isn't verified yet. */
.mm-verify-bar { background: color-mix(in srgb, var(--accent-mint) 14%, var(--bg-base)); color: var(--text-primary); text-align: center;
  font: 500 13px/1.4 var(--font-body); padding: 8px 16px; border-bottom: 1px solid var(--border); }
.mm-verify-bar a { color: var(--accent-mint); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; margin-left: 6px; }


/* Smooth scrolling: decorative infinite animations pause while the page is being scrolled (motion.js toggles .mm-scrolling). */
html.mm-scrolling .mm-mesh, html.mm-scrolling .mm-wall-row { animation-play-state: paused !important; }

/* ---- pro.css ---- */
/* MixMint "pro" layer (loads last): one calm emerald palette, flat bordered surfaces, no glow/gradient/tilt effects.
   Tokens first, then component overrides. Remove this file to get the old club look back. */

:root[data-theme="light"] {
  --bg-base: #F7F8F7; --bg-surface: #FFFFFF; --bg-elevated: #F1F3F1;
  --border: #E5E7E5; --border-strong: #D1D5D1; --border-focus: #059669;
  --text-primary: #111827; --text-muted: #5B6472; --text-inverse: #FFFFFF;
  --accent-mint: #047857; --accent-amber: #B45309; --accent-red: #DC2626; --accent-blue: #2563EB;
  --accent-soft: #ECFDF5; --accent-ink: #047857;
  --on-accent: #FFFFFF; --pro-btn-bg: #111827; --pro-btn-bg-hover: #1F2937; --pro-btn-fg: #FFFFFF;
  --shadow-card: 0 1px 2px rgba(16,24,40,.05); --shadow-glow: none; --grain-opacity: 0;
}
:root[data-theme="dark"] {
  --bg-base: #0B0F0D; --bg-surface: #121714; --bg-elevated: #1A211D;
  --border: rgba(255,255,255,.09); --border-strong: rgba(255,255,255,.16); --border-focus: #10B981;
  --text-primary: #ECF1EE; --text-muted: #94A39B; --text-inverse: #04130C;
  --accent-mint: #10B981; --accent-amber: #F59E0B; --accent-red: #F87171; --accent-blue: #60A5FA;
  --accent-soft: rgba(16,185,129,.12); --accent-ink: #34D399;
  --on-accent: #04130C; --pro-btn-bg: #10B981; --pro-btn-bg-hover: #34D399; --pro-btn-fg: #04130C;
  --shadow-card: 0 1px 2px rgba(0,0,0,.35); --shadow-glow: none; --grain-opacity: 0;
}
:root {
  --radius-sm: 8px; --radius-md: 10px; --radius-lg: 12px;
  --neon: var(--accent-mint); --neon-2: var(--accent-mint); --neon-3: var(--accent-amber); --neon-4: var(--accent-mint);
  --club-ink: var(--bg-base);
}

/* ── Off: animated colour background, light beams, moving cover wall, equalizer bars, spinning badge ── */
.mesh-blob, .mm-mesh, .mm-beams, .mm-grain, .mm-wall, .mm-eq, body::before, body::after { background-image: none !important; }

/* ── Buttons ── */
.btn-mm:active { transform: scale(.985); }
.btn-mint { background: var(--pro-btn-bg); color: var(--pro-btn-fg); }
.btn-mint:hover, .btn-mint:focus-visible { background: var(--pro-btn-bg-hover); }
.btn-ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--text-primary); }
.btn-ghost:hover, [data-theme="light"] .btn-ghost:hover { background: var(--bg-elevated); }
.btn-amber:hover, .btn-danger:hover { box-shadow: none; filter: brightness(.95); }

/* ── Surfaces: flat, thin border, tiny shadow ── */
.mm-card-section, .glow-card, .mm-rcard, .mm-specs, .card-mm {
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-card);
}
.mm-card-section:hover, .glow-card:hover { border-color: var(--border-strong); }
.mm-rcard:hover { border-color: var(--border-strong); }
.input-mm:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-mint) 18%, transparent); border-color: var(--accent-mint); }
.mm-avatar { box-shadow: none; border: 1px solid var(--border); }

/* ── Home hero: clean, light, no animation ── */
.mm-stage { min-height: auto; padding: 64px 20px 56px; margin-top: -40px; color: var(--text-primary); background: var(--bg-base); border-bottom: 1px solid var(--border); }
.mm-stage-title { font-weight: 700; letter-spacing: -.035em; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; color: var(--text-primary); margin-bottom: 18px; }
.mm-glow { background: linear-gradient(100deg, var(--accent-mint) 0%, var(--accent-ink) 45%, var(--accent-mint) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; filter: none; }
.mm-stage-sub { color: var(--text-muted); font-size: clamp(15px, 1.6vw, 18px); max-width: 560px; margin-bottom: 26px; }
.mm-onair { color: var(--text-muted); background: var(--bg-surface); border: 1px solid var(--border); -webkit-backdrop-filter: none; backdrop-filter: none; margin-bottom: 22px; font-weight: 500; }
.mm-onair b { color: var(--text-primary); }
.mm-onair-dot { background: var(--accent-mint); }
.mm-onair-sep { background: var(--border-strong); }
.mm-stage-search { color: var(--text-muted); background: var(--bg-surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-card); -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 12px; padding: 6px 6px 6px 16px; }
.mm-stage-search:focus-within { border-color: var(--accent-mint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-mint) 18%, transparent); }
.mm-stage-search input { color: var(--text-primary); }
.mm-stage-search input::placeholder { color: var(--text-muted); }
.mm-stage-go { height: 42px; border-radius: 8px; background: var(--pro-btn-bg); color: var(--pro-btn-fg); }
.mm-stage-go:hover { background: var(--pro-btn-bg-hover); }
.mm-stage-search:focus-within .mm-stage-go { background: var(--pro-btn-bg); }
.mm-neon-btn, .mm-ghost-btn { height: 46px; border-radius: 10px; font-weight: 600; }
.mm-neon-btn { background: var(--pro-btn-bg); color: var(--pro-btn-fg); }
.mm-neon-btn:hover { background: var(--pro-btn-bg-hover); }
.mm-ghost-btn, .mm-stage .mm-ghost-btn { color: var(--text-primary); border: 1px solid var(--border-strong); background: var(--bg-surface); }
.mm-ghost-btn:hover, .mm-stage .mm-ghost-btn:hover { background: var(--bg-elevated); }
.mm-stage-trust { color: var(--text-muted); }
.mm-stage-trust svg { color: var(--accent-mint); }
@media (max-width: 640px) { .mm-stage { padding: 44px 16px 40px; } }

/* ── Genre chips: quiet, one colour ── */
.mm-gchip { --c: var(--accent-mint); background: var(--bg-surface); border: 1px solid var(--border); font-weight: 500; }
.mm-gchip:hover { background: var(--bg-surface); color: var(--on-accent); border-color: var(--accent-mint); }

/* ── Footer watermark and small accents ── */
.mm-wordmark-dot, .mm-loader-dot { color: var(--accent-mint); }

/* ── Hero badge, DJ store, app page heads ── */
.mm-spinbadge { display: none !important; }
.dj-banner { box-shadow: none; }
.dj-banner.mm-banner-fallback { background-color: var(--bg-elevated) !important; }
.dj-banner.mm-banner-fallback::before { display: none; }

/* App pages (dashboard, DJ studio, account): the dark neon stage becomes a plain page header. */
body[data-shell="app"] main :is(div, header):has(> h1.font-display):not(.mm-stage-in):not(.mm-apphead *):not(.flex > *),
body[data-shell="app"] main .flex:has(> div > h1.font-display):not(.mm-apphead *),
.mm-apphead {
  background: none !important; box-shadow: none !important; color: var(--text-primary); border-radius: 0; padding: 0 0 18px !important;
  margin-bottom: 22px; border: 0 !important; border-bottom: 1px solid var(--border) !important; overflow: visible; isolation: auto;
}
body[data-shell="app"] main :is(div, header):has(> h1.font-display):not(.mm-stage-in):not(.mm-apphead *):not(.flex > *)::after,
body[data-shell="app"] main .flex:has(> div > h1.font-display):not(.mm-apphead *)::after,
.mm-apphead::after { display: none !important; }
body[data-shell="app"] main :is(div, header):has(> h1.font-display) > h1.font-display, .mm-apphead h1 { color: var(--text-primary) !important; font-weight: 700; letter-spacing: -.02em; }
body[data-shell="app"] main :is(div, header):has(> h1.font-display):not(.mm-stage-in) > p, .mm-apphead p { color: var(--text-muted) !important; }
body[data-shell="app"] main :is(div, header):has(> h1.font-display):not(.mm-stage-in) a:not(.btn-mm):not(.btn-mint), .mm-apphead a:not(.btn-mm) { color: var(--accent-ink, var(--accent-mint)) !important; }
body[data-shell="app"] main :is(div, header):has(> h1.font-display) a.btn-mint { color: var(--pro-btn-fg) !important; }
body[data-shell="app"] main :is(div, header):has(> h1.font-display):not(.mm-stage-in) a.btn-ghost { color: var(--text-primary) !important; }
.mm-apphead .btn-ghost { color: var(--text-primary) !important; border-color: var(--border-strong) !important; background: transparent; }
.mm-apphead .btn-mint { box-shadow: none; }

/* Progress bars and misc glows */
progress::-webkit-progress-value { background: var(--accent-mint); }
progress::-moz-progress-bar { background: var(--accent-mint); }
.mm-spinbadge-core { box-shadow: none; }

/* ── Stage cards inside pages (sell, releases, sign-in/up) become plain panels ── */
.mm-stage-lite, .mm-auth-stage { background: var(--bg-surface) !important; color: var(--text-primary); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-card); }
.mm-stage-lite { padding: 36px 28px 40px; margin-bottom: 28px; }
.mm-stage-lite :is(h1, h2, h3), .mm-auth-title { color: var(--text-primary) !important; font-weight: 700; letter-spacing: -.025em; }
.mm-stage-lite p, .mm-auth-sub { color: var(--text-muted) !important; }
.mm-stage-lite :is(strong, b) { color: var(--text-primary) !important; }
.mm-stage-lite a:not(.btn-mm):not(.btn-mint):not(.mm-neon-btn):not(.mm-ghost-btn) { color: var(--accent-ink) !important; }
.mm-stage-lite .btn-ghost { color: var(--text-primary); border-color: var(--border-strong); background: transparent; }
.mm-stage-lite .btn-mint { box-shadow: none; }
.mm-auth-stage { position: relative; overflow: hidden; }
.mm-auth-copy { position: relative; z-index: 1; max-width: 50%; }
.mm-auth-stage::before, .mm-auth-stage::after { display: none !important; }
.mm-auth-disc { top: 50%; right: -16%; width: 56%; transform: translateY(-50%); z-index: 0; animation: mm-disc-spin 9s linear infinite; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
@keyframes mm-disc-spin { to { transform: translateY(-50%) rotate(360deg); } }
@media (max-width: 640px) { .mm-auth-copy { max-width: 100%; } .mm-auth-disc { opacity: .12; } }
.mm-auth-stage { padding: 40px 32px; min-height: 0; }
@media (max-width: 640px) { body[data-shell="app"] main :is(div, header):has(> h1.font-display):not(.mm-stage-in):not(.mm-apphead *), .mm-apphead { border-radius: 0; padding: 0 0 16px !important; } .mm-stage-lite { padding: 24px 18px 28px; } }
body[data-shell="app"] main .flex:has(> div > h1.font-display) h1 { color: var(--text-primary) !important; }
body[data-shell="app"] main .flex:has(> div > h1.font-display) p { color: var(--text-muted) !important; }
body[data-shell="app"] main .flex:has(> div > h1.font-display) .btn-ghost { color: var(--text-primary) !important; border-color: var(--border-strong) !important; background: transparent; }

/* Aurora behind app pages and gradient page titles: off. */
body[data-shell] main#main::before { display: none; }
body[data-shell] main h1.font-display { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--text-primary) !important; letter-spacing: -.025em; }
.mm-auth-card::before, .mm-auth-card::after, .mm-card-section::before, .mm-card-section::after { background: none !important; box-shadow: none !important; }

/* Text on primary buttons always uses the button's own foreground (some templates add text-white). */
.btn-mint, .btn-mint * { color: var(--pro-btn-fg) !important; }
.mm-neon-btn, .mm-neon-btn *, .mm-stage-go { color: var(--pro-btn-fg) !important; }
.mm-social { background: var(--bg-surface); border-color: var(--border); color: var(--text-muted); }
.mm-stage-lite a.btn-mint, .mm-stage-lite .btn-mint, .mm-stage-lite a.btn-mint * { color: var(--pro-btn-fg) !important; }
.mm-stage-lite a.btn-ghost { color: var(--text-primary) !important; }

/* ── Design-system tidy: type floor, three corner radii, one button shape ── */
.text-\[10px\], .text-\[11px\] { font-size: 12px; }
.rounded-\[10px\] { border-radius: 8px; }
.rounded-\[14px\], .rounded-\[16px\] { border-radius: 12px; }
.rounded-\[24px\], .rounded-\[20px\], .rounded-\[18px\] { border-radius: 16px; }
.cx-btn { min-height: 40px; border-radius: 8px; font-weight: 600; letter-spacing: .01em; background: var(--bg-surface); border: 1px solid var(--border-strong); color: var(--text-primary); }
.cx-btn:hover { border-color: var(--accent-mint); background: var(--bg-elevated); }
.cx-btn.primary { background: var(--pro-btn-bg); border-color: var(--pro-btn-bg); color: var(--pro-btn-fg); }
.cx-btn.primary:hover { background: var(--pro-btn-bg-hover); }

/* Equalizer bars: off everywhere (hero, sign-in panel, page headers, intro screen). */
.mm-eq, .mm-loader-eq, .mm-auth-stage::before, .mm-auth-stage::after, .mm-apphead::after, .mm-stage::after { display: none !important; }

/* ═══ Admin: TailAdmin-style shell (soft cards, calm sidebar, clear tables) ═══ */
.mm-adm-top { background: var(--bg-surface); }
.mm-adm-main { background: var(--bg-base); }
.mm-adm-side { padding: 16px 12px; }
.mm-adm-side .group { font-family: var(--font-body); font-size: 12px; letter-spacing: .04em; text-transform: none; font-weight: 600; color: var(--text-muted); padding: 16px 12px 6px; }
.mm-adm-side a { min-height: 40px; border-radius: 8px; position: relative; transition: background-color .15s, color .15s; }
.mm-adm-side a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); }
.mm-adm-side a[aria-current="page"]::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent-mint); }
.mm-adm-side a[aria-current="page"] svg { color: var(--accent-mint); }
.cx-card, .cx-table-wrap, .cx-stat { border-radius: 12px; box-shadow: var(--shadow-card); }
.cx-stat { padding: 18px 20px; transition: transform .2s, border-color .2s; }
.cx-stat:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.cx-stat b { font-size: 28px; letter-spacing: -.02em; }
.cx-stat span { font-size: 13px; font-weight: 500; }
.cx-table th { text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
.cx-table tbody tr { transition: background-color .15s; }
.cx-table tbody tr:hover td { background: var(--bg-elevated); }
.cx-pill { height: 24px; font-size: 12px; padding: 0 10px; }
.cx-head h1 { font-weight: 700; letter-spacing: -.02em; }

/* ═══ Storefront: FreshCart-style product cards ═══ */
.mm-rcard { overflow: visible; }
.mm-rcard-art { position: relative; overflow: hidden; border-radius: 12px; background-color: var(--bg-elevated); }
.mm-rcard-art img { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
/* No hover transform here on purpose (item: vinyl removal, 2026-12-02): ux.css's plain
   .mm-rcard:hover .mm-rcard-art img { transform: scale(1.04) } is the real hover state for
   release cards now that the cover fills the whole card -- this file loads after ux.css, so
   defining a competing transform here would silently win the cascade and cancel that zoom. */
.mm-quick { position: absolute; right: 10px; bottom: 10px; z-index: 4; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--pro-btn-bg); color: var(--pro-btn-fg); box-shadow: 0 4px 14px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .2s, transform .25s cubic-bezier(.22,1,.36,1), background-color .2s; }
.mm-quick svg { width: 18px; height: 18px; }
.mm-rcard:hover .mm-quick, .mm-quick:focus-visible { opacity: 1; transform: none; }
.mm-quick:hover { background: var(--pro-btn-bg-hover); }
.mm-quick.is-added { background: var(--accent-mint); color: var(--on-accent); }
@media (hover: none) { .mm-quick { opacity: 1; transform: none; } }
@keyframes mm-added { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.is-added-pop { animation: mm-added .4s cubic-bezier(.22,1,.36,1); }
@media not all { .mm-rcard-art img, .mm-quick { transition: none; } .is-added-pop { animation: none; } }

/* ═══ Theme switch: sun/moon pill ═══ */
.mm-theme-switch { position: relative; flex: none; width: 54px; height: 30px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg-elevated); cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: space-between; padding: 0 8px; color: var(--text-muted); transition: background-color .25s, border-color .25s; }
.mm-theme-switch:hover { border-color: var(--accent-mint); }
.mm-theme-switch svg { position: relative; z-index: 1; transition: color .25s; }
.mm-ts-thumb { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-surface); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .3s cubic-bezier(.22,1,.36,1), background-color .25s; }
:root[data-theme="light"] .mm-ts-sun { color: var(--accent-amber); }
:root[data-theme="dark"] .mm-ts-moon { color: var(--accent-ink); }
:root[data-theme="light"] .mm-ts-thumb { transform: translateX(0); }
:root[data-theme="dark"] .mm-ts-thumb { transform: translateX(24px); background: var(--bg-base); }
:root[data-theme="light"] .mm-ts-sun, :root[data-theme="dark"] .mm-ts-moon { z-index: 2; }
.mm-adm-top .mm-theme-switch { margin: 0 4px; }
@media not all { .mm-ts-thumb { transition: none; } }

/* ═══ Cover placeholder: each release without art gets its own two-tone fill, rings and initial ═══ */
.mm-rcard-ph { position: relative; overflow: hidden; color: #fff; }
.mm-rcard-ph::before { content: ""; position: absolute; width: 120%; aspect-ratio: 1; right: -45%; bottom: -45%; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255,255,255,.10) 0 2px, transparent 2px 9px); }
.mm-rcard-ph::after { content: ""; position: absolute; width: 14%; aspect-ratio: 1; right: 8%; bottom: 8%; border-radius: 50%; background: rgba(255,255,255,.85); }
.mm-rcard-ph span { position: relative; z-index: 1; color: #fff; font-size: clamp(40px, 22%, 64px); text-shadow: 0 2px 10px rgba(0,0,0,.25); }

/* ═══ Empty states: icon in a soft circle, one headline, one action ═══ */
.mm-empty, .cx-empty { border: 1px solid var(--border); border-style: solid; background: var(--bg-surface); border-radius: 12px; padding: 56px 20px; }
.mm-empty > div:first-child, .py-24.text-center > .text-6xl { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 28px;
  background: var(--accent-soft); color: var(--accent-mint); opacity: 1 !important; }
.mm-empty h3 { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.mm-empty p, .cx-empty { color: var(--text-muted); }

/* ═══ Home: trending strip ═══ */
.mm-trend { margin: 32px 0 8px; }
.mm-trend-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mm-trend-head h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--text-primary); }
.mm-trend-head a { font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.mm-trend-head a:hover { text-decoration: underline; }
.mm-trend-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.mm-trend-item { display: grid; grid-template-columns: 28px 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px 10px 12px;
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.mm-trend-item:hover { border-color: var(--accent-mint); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.mm-trend-rank { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text-muted); text-align: center; font-variant-numeric: tabular-nums; }
.mm-trend-item:nth-child(-n+3) .mm-trend-rank, li:nth-child(-n+3) .mm-trend-rank { color: var(--accent-mint); }
.mm-trend-art { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--bg-elevated); display: block; }
.mm-trend-art img, .mm-trend-art .mm-rcard-ph { width: 100%; height: 100%; object-fit: cover; display: flex; }
.mm-trend-art .mm-rcard-ph span { font-size: 22px; }
.mm-trend-meta { display: grid; min-width: 0; line-height: 1.3; }
.mm-trend-meta b { font-size: 15px; font-weight: 600; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-trend-meta small { font-size: 13px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-trend-price { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--accent-ink); }

/* Footer wordmark: clean soft fill (no outline lines through overlapping letter shapes), full letter tops, gentle fade at the bottom. */
.mm-footer::after { -webkit-text-stroke: 0; line-height: 1.05; margin-top: 24px; margin-bottom: -.3em; letter-spacing: -.03em;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-mint) 14%, transparent) 0%, color-mix(in srgb, var(--accent-mint) 3%, transparent) 80%);
  -webkit-background-clip: text; background-clip: text; }

/* Search palette: grouped results */
.mmp-group { list-style: none; padding: 10px 16px 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--text-muted); text-transform: uppercase; pointer-events: none; }

/* Buy bar: also on desktop, centred card at the bottom */
@media (min-width: 768px) { .mm-buybar { left: 50%; right: auto; width: min(560px, calc(100vw - 48px)); transform: translateX(-50%); bottom: 20px !important; border-radius: 14px; } }
/* Mobile tab bar: five tabs */
.mm-tabbar { grid-template-columns: repeat(5, 1fr); }
.mm-tabbar a { font-size: 12px; }

/* Admin sales chart: 30 daily bars */
.mm-chart { display: flex; align-items: flex-end; gap: 4px; height: 160px; padding: 4px 0; border-bottom: 1px solid var(--border); }
.mm-chart-col { flex: 1; height: 100%; display: flex; align-items: flex-end; min-width: 0; }
.mm-chart-col i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--accent-mint); opacity: .9; transform-origin: bottom; animation: mm-bar .6s cubic-bezier(.2,.8,.2,1) both; transition: opacity .15s; }
.mm-chart-col i.is-empty { background: var(--border-strong); opacity: .6; }
.mm-chart-col:hover i { opacity: 1; }
.mm-chart-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--text-muted); }
@keyframes mm-bar { from { transform: scaleY(0); } }
@media not all { .mm-chart-col i { animation: none; } }

/* ═══ Consistency: one page-title size, one section rhythm ═══ */
main#main h1.font-display:not(.cx-head *) { font-size: clamp(30px, 4.5vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -.025em; }
main#main h2.font-display:not(.cx-head *):not(.cx-card *) { font-size: clamp(20px, 2.4vw, 24px); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.mm-rows > * + * { margin-top: 40px; }
.mm-trend, .mm-genres { margin-block: 32px; }
.mm-tabbar--guest { grid-template-columns: repeat(4, 1fr); }

/* Sign-in / sign-up on phones: same look on every screen. Text on the left, the record clipped at the right edge (fixed pixel size). */
@media (max-width: 1023px) {
  html, body { overflow-x: clip; max-width: 100%; }
  .mm-auth { gap: 16px; padding-top: 12px; min-height: 0; grid-template-columns: minmax(0, 1fr); overflow-x: clip; }
  .mm-auth-stage { box-sizing: border-box; display: block !important; position: relative; overflow: hidden; width: min(calc(100% - 32px), 408px) !important; max-width: 100%; margin: 0 auto !important; min-height: 130px; padding: 20px 100px 20px 18px !important; border-radius: 16px; text-align: left; }
  .mm-auth-stage .mm-stage-bg, .mm-auth-stage .mm-stage-trust, .mm-auth-stage .mm-eq { display: none !important; }
  .mm-auth-copy { margin: 0 !important; max-width: none !important; padding: 0 !important; text-align: left; }
  .mm-auth-copy .mm-onair { margin: 0 0 10px; }
  .mm-auth-title { font-size: 22px; line-height: 1.1; margin-bottom: 6px; }
  .mm-auth-sub { font-size: 13px; line-height: 1.45; margin: 0; }
  .mm-auth-disc { position: absolute !important; top: 50%; right: -30px; left: auto; width: 112px !important; height: 112px; max-width: none; opacity: 1 !important; z-index: 0; margin-top: -56px; transform: none; box-shadow: 0 6px 18px rgba(0,0,0,.2); animation: mm-disc-spin2 9s linear infinite !important; }
  @keyframes mm-disc-spin2 { to { transform: rotate(360deg); } }
}
@media not all { .mm-auth-disc { animation: none !important; } }

/* Record label: logo in the centre and MIXMINT as a ribbon round the disc. */
.mm-disc-label { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: block; }

/* Real-vinyl look: crisp grooves, subtle gaps between tracks, thin bevelled edge and two sharp light streaks. */
.mm-auth-disc, .mm-pdp-vinyl, .mm-vinyl {
  background:
    radial-gradient(circle, transparent 0 96.6%, rgba(255,255,255,.28) 97.4%, rgba(255,255,255,.05) 98.4%, #060606 99% 100%),
    radial-gradient(circle, transparent 0 44.6%, rgba(0,0,0,.42) 44.8% 45.5%, rgba(255,255,255,.05) 45.7%, transparent 46.0%),
    radial-gradient(circle, transparent 0 55.6%, rgba(0,0,0,.42) 55.8% 56.5%, rgba(255,255,255,.05) 56.7%, transparent 57.0%),
    radial-gradient(circle, transparent 0 66.6%, rgba(0,0,0,.42) 66.8% 67.5%, rgba(255,255,255,.05) 67.7%, transparent 68.0%),
    radial-gradient(circle, transparent 0 77.6%, rgba(0,0,0,.42) 77.8% 78.5%, rgba(255,255,255,.05) 78.7%, transparent 79.0%),
    radial-gradient(circle, transparent 0 88.6%, rgba(0,0,0,.42) 88.8% 89.5%, rgba(255,255,255,.05) 89.7%, transparent 90.0%),
    radial-gradient(circle, #101010 0 17%, transparent 17.4%),
    repeating-radial-gradient(circle, #090909 0 .6px, #1b1b1b .9px 1.2px, #0e0e0e 1.6px 2.2px),
    #0b0b0b !important;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.6), 0 6px 14px -4px rgba(0,0,0,.45) !important;
}
.mm-auth-disc::after, .mm-pdp-vinyl::after, .mm-vinyl::after {
  background: conic-gradient(from 30deg, transparent 0 8%, rgba(255,255,255,.07) 10%, rgba(255,255,255,.42) 12.5%, rgba(255,255,255,.07) 15%, transparent 17% 50%, rgba(255,255,255,.07) 60%, rgba(255,255,255,.42) 62.5%, rgba(255,255,255,.07) 65%, transparent 67%) !important;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle, transparent 0 17%, #000 18% 97%, transparent 98%);
  mask-image: radial-gradient(circle, transparent 0 17%, #000 18% 97%, transparent 98%);
}

/* Big sliding text: keeps moving while you scroll; it only stops while the pointer is on it (or a finger is held on it). */
.mm-bigmarquee > div { animation-play-state: running !important; }
.mm-bigmarquee:hover > div, .mm-bigmarquee:active > div { animation-play-state: paused !important; }

/* Track page vinyl, smoother: slide uses the `translate` property and the spin uses `rotate`, so each runs on the GPU
   on its own (no duplicated transform keyframes, no jump when the spin starts); the costly blend mode is dropped. */
.mm-pdp-vinyl { transform: none !important; translate: 0 0; rotate: 0deg; will-change: translate, rotate; backface-visibility: hidden;
  transition: translate 1.2s cubic-bezier(.22, 1, .36, 1) !important; }
.mm-pdp-art.is-in .mm-pdp-vinyl { transform: none !important; translate: 15% 0;
  animation: mm-pdp-spin 6s linear infinite !important; }
@media (max-width: 1023px) { .mm-pdp-art.is-in .mm-pdp-vinyl { translate: 34% 0; } }
.mm-pdp-vinyl::after { mix-blend-mode: normal !important; opacity: .6; }
@keyframes mm-pdp-spin { from { rotate: 0deg; } to { rotate: 360deg; } }
/* Cover reveal: scale/fade only (clip-path animates on the main thread and stutters on phones). */
.mm-pdp-art img:not(.mm-pdp-vinyl img) { animation: mm-pdp-in .8s cubic-bezier(.22, 1, .36, 1) both !important; will-change: opacity, transform; }
@keyframes mm-pdp-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }

/* Mobile menu after scrolling: the glass navbar (backdrop-filter) turns into the containing block of its fixed
   children, so the full-screen menu collapsed inside the bar and the page behind was locked ("stuck").
   While the menu is open the bar goes solid with no filter, so the menu anchors to the screen again. */
html.mm-menu-open nav.sticky.top-0.z-50, body.menu-open nav.sticky.top-0.z-50 {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  background-color: var(--bg-base) !important; transform: none !important; filter: none !important; }


/* ── Lively auth buttons (nav Log in / Sign up, login + signup forms, Google) ── */
.mm-cta { --c1: var(--accent-mint); --c2: color-mix(in srgb, var(--accent-mint) 70%, #34d399);
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 15.5px; font-weight: 700; letter-spacing: .01em; color: var(--text-inverse) !important;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 22px -8px color-mix(in srgb, var(--accent-mint) 75%, transparent);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s, filter .25s; -webkit-tap-highlight-color: transparent; }
.mm-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%); transform: translateX(-120%); }
.mm-cta .mm-cta-arrow { transition: transform .3s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) {
  .mm-cta:hover { transform: translateY(-2px); filter: saturate(1.15);
    box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 14px 30px -10px color-mix(in srgb, var(--accent-mint) 85%, transparent); }
  .mm-cta:hover::before { transform: translateX(120%); transition: transform .7s ease; }
  .mm-cta:hover .mm-cta-arrow { transform: translateX(4px); }
}
.mm-cta:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.mm-cta:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent-mint) 45%, transparent); outline-offset: 3px; }
.mm-cta[disabled], .mm-cta[aria-busy="true"] { filter: grayscale(.3) opacity(.75); transform: none; cursor: progress; }
.mm-cta-sm { height: 42px; padding: 0 18px; font-size: 14px; gap: 6px; }
/* a slow shimmer every few seconds so the main button never looks dead */
.mm-cta:not(:hover)::before { animation: mm-cta-shine 4.5s ease-in-out 1.2s infinite; }
@keyframes mm-cta-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

.mm-cta-ghost { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border-radius: 999px;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 600; color: var(--text-primary);
  border: 1.5px solid var(--border); background: transparent; transition: border-color .2s, color .2s, background-color .2s, transform .2s; }
@media (hover: hover) { .mm-cta-ghost:hover { border-color: var(--accent-mint); color: var(--accent-mint);
  background: color-mix(in srgb, var(--accent-mint) 8%, transparent); transform: translateY(-1px); } }
.mm-cta-ghost:active { transform: scale(.97); }
[data-mobile-menu] .mm-cta, [data-mobile-menu] .mm-cta-ghost { height: 52px; font-size: 15.5px; }

.mm-google { transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s, border-color .25s, background-color .25s !important; }
@media (hover: hover) { .mm-google:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(0,0,0,.35); } }
.mm-google:active { transform: scale(.98); }

/* Same hover on every button style: a small lift plus a soft glow in the button's own colour.
   No scaling, so neighbouring buttons never overlap (the old scale(1.02) did that in tight rows). */
@media (hover: hover) {
  .btn-mm:hover { transform: translateY(-1px); }
  .btn-mint:hover, .btn-mint:focus-visible { box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent-mint) 70%, transparent); }
  .btn-ghost:hover { border-color: var(--accent-mint); box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--accent-mint) 55%, transparent); }
  .btn-amber:hover { box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent-amber, #f59e0b) 70%, transparent); filter: brightness(.97); }
  .btn-danger:hover { box-shadow: 0 8px 20px -8px rgba(220, 38, 38, .55); filter: brightness(.97); }
}
.btn-mm:active { transform: translateY(0) scale(.98); }

/* Very small phones (320px): keep the mobile header tools inside the screen; long addresses wrap instead of overflowing. */
@media (max-width: 359px) { .mm-nav-tools { gap: 0; } .mm-nav-tools > * { flex-shrink: 1; min-width: 36px; } }
code.select-all { overflow-wrap: break-word; word-break: break-word; }

/* Pop-ups, dialogs and drawers must be solid: the glass look for page panels (club.css) let the page behind show through them. */
body[data-shell="app"] :is([role="dialog"], [aria-modal="true"], .mm-dialog, .fixed) .bg-\[var\(--bg-surface\)\].border {
  background-color: var(--bg-surface); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Utility classes used in templates but missing from the compiled Tailwind file (style.css). */
.z-\[80\] { z-index: 80; }
.bg-black\/70 { background-color: rgb(0 0 0 / .7); }
.bg-\[\#3b82f6\] { background-color: #3b82f6; }
.text-\[\#3b82f6\], .hover\:text-\[\#3b82f6\]:hover { color: #3b82f6; }
.focus\:border-\[\#3b82f6\]:focus { border-color: #3b82f6; }
.text-\[\#8b5cf6\] { color: #8b5cf6; }
.bg-\[var\(--accent-soft\)\] { background-color: var(--accent-soft, color-mix(in srgb, var(--accent-mint) 14%, transparent)); }
.text-\[var\(--accent-ink\)\] { color: var(--accent-ink, var(--accent-mint)); }
.text-\[var\(--on-accent\)\] { color: var(--on-accent, #fff); }
.max-w-\[240px\] { max-width: 240px; } .max-w-\[60ch\] { max-width: 60ch; } .max-w-\[680px\] { max-width: 680px; }
.min-h-\[80px\] { min-height: 80px; } .min-h-\[90px\] { min-height: 90px; } .w-\[72px\] { width: 72px; }
.text-\[12\.5px\] { font-size: 12.5px; } .text-\[13\.5px\] { font-size: 13.5px; } .text-\[38px\] { font-size: 38px; }
@media (min-width: 640px) { .sm\:text-\[44px\] { font-size: 44px; } }
@media (min-width: 768px) { .md\:text-\[24px\] { font-size: 24px; } .md\:text-\[30px\] { font-size: 30px; } }

/* Buttons keep the desktop look on phones: one line, shrinking a little to fit instead of wrapping. */
@media (max-width: 820px) {
  .btn-mm, .mm-neon-btn, .mm-ghost-btn, .mm-sell-btn, .mm-cta { white-space: nowrap; font-size: clamp(12px, 3.7vw, 15px); padding-inline: clamp(12px, 4.5vw, 24px); }
}

/* ---- micro.css ---- */
/* MixMint micro layer: small details on top of the existing look (see static/js/micro.js).
   Everything here is additive and switches its motion off for people who ask for less motion. */

/* ── Record grooves behind cover art while the picture loads ── */
.mm-rcard-art { background-image: repeating-radial-gradient(circle at 50% 50%, transparent 0 5px, color-mix(in srgb, var(--text-muted) 9%, transparent) 5px 6px); }

/* ── Empty states: the icon becomes a slowly turning record ── */
.mm-empty > div:first-child { position: relative; background: radial-gradient(circle, var(--accent-mint) 0 9%, var(--bg-base) 9% 13%, transparent 13%),
    repeating-radial-gradient(circle, #15181d 0 3px, #22262d 3px 4px) !important; color: transparent !important; opacity: 1 !important;
    box-shadow: 0 10px 30px -12px rgba(0,0,0,.45); animation: mm-micro-spin 9s linear infinite; }
.mm-empty > div:first-child svg { opacity: 0; }

/* ── Cart badge: the number pops when it changes ── */
[data-cart-badge].mm-pop { animation: mm-micro-pop .45s cubic-bezier(.22,1,.36,1); }

/* ── Download buttons: a mint sweep while the download starts ── */
.mm-dl-go { position: relative; overflow: hidden; isolation: isolate; }
.mm-dl-go::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, #fff 28%, transparent);
    transform: translateX(-100%); animation: mm-micro-sweep 1.4s cubic-bezier(.4,0,.2,1) forwards; }

/* ── Preview pop-up: little equaliser next to the title ── */
.mm-eqmini { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; margin-left: 8px; vertical-align: -1px; }
.mm-eqmini i { width: 3px; border-radius: 2px; background: var(--accent-mint); animation: mm-micro-eq 0.9s ease-in-out infinite; }
.mm-eqmini i:nth-child(2) { animation-delay: -.3s; } .mm-eqmini i:nth-child(3) { animation-delay: -.6s; } .mm-eqmini i:nth-child(4) { animation-delay: -.15s; }

/* ── After a preview: "Like it? View & buy" pill ── */
.mm-after-preview { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 2147482000;
    transform: translate(-50%, 140%); display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 24px);
    padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--bg-elevated, #161920); color: var(--text-primary);
    border: 1px solid color-mix(in srgb, var(--accent-mint) 40%, var(--border)); box-shadow: 0 14px 40px -12px rgba(0,0,0,.5);
    font: 600 14px/1.2 system-ui, sans-serif; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.mm-after-preview.is-in { transform: translate(-50%, 0); }
.mm-after-preview span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mm-after-preview a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--accent-mint); color: #04130c; text-decoration: none; font-weight: 700; }
.mm-after-preview button { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: var(--text-muted); font-size: 18px; cursor: pointer; }
@media (max-width: 767px) { .mm-after-preview { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }

/* ── Same-BPM chip on related cards ── */
.mm-bpm-chip { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700;
    color: var(--accent-mint); background: color-mix(in srgb, var(--accent-mint) 13%, transparent); vertical-align: 1px; }
.mm-rcard.mm-bpm-match { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-mint) 45%, transparent); border-radius: 16px; }

/* ── Upload: record ring fills with the upload ── */
.mm-upring { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.mm-upring-disc { width: 34px; height: 34px; border-radius: 50%; position: relative;
    background: conic-gradient(var(--accent-mint) calc(var(--p, 0) * 1%), color-mix(in srgb, var(--text-muted) 22%, transparent) 0); }
.mm-upring-disc::after { content: ""; position: absolute; inset: 4px; border-radius: 50%;
    background: radial-gradient(circle, var(--accent-mint) 0 12%, #111 12% 16%, transparent 16%), repeating-radial-gradient(circle, #15181d 0 2px, #23272e 2px 3px);
    animation: mm-micro-spin 1.6s linear infinite; }
.mm-upring.is-done .mm-upring-disc::after { animation-duration: 6s; }
.mm-upring b { font-variant-numeric: tabular-nums; color: var(--text-primary); }

/* ── DJ dashboard: first-sale banner ── */
.mm-first-sale { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding: 16px 18px; border-radius: 16px; position: relative;
    background: linear-gradient(120deg, color-mix(in srgb, var(--accent-mint) 16%, var(--bg-surface)), var(--bg-surface));
    border: 1px solid color-mix(in srgb, var(--accent-mint) 40%, var(--border)); }
.mm-first-sale[hidden] { display: none; }
.mm-first-sale-disc { flex: none; width: 46px; height: 46px; border-radius: 50%;
    background: radial-gradient(circle, var(--accent-mint) 0 14%, #0b0d10 14% 19%, transparent 19%), repeating-radial-gradient(circle, #15181d 0 3px, #262a31 3px 4px);
    animation: mm-micro-spin 3s linear infinite; }
.mm-first-sale-copy { flex: 1; min-width: 0; }
.mm-first-sale-title { font-weight: 800; font-size: 17px; color: var(--text-primary); margin: 0; }
.mm-first-sale-sub { font-size: 13px; color: var(--text-muted); margin: 2px 0 0; }
.mm-first-sale-x { position: absolute; top: 6px; right: 8px; width: 28px; height: 28px; border: 0; background: transparent; color: var(--text-muted); font-size: 20px; cursor: pointer; border-radius: 50%; }
@media (max-width: 640px) { .mm-first-sale { flex-wrap: wrap; padding-right: 36px; } .mm-first-sale .btn-mm { width: 100%; justify-content: center; } }

/* ── DJ dashboard: profile completeness ring ── */
.mm-pring-card { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 14px 16px; border-radius: 16px; text-decoration: none;
    background: var(--bg-surface); border: 1px solid var(--border); transition: border-color .2s, transform .2s; }
.mm-pring-card:hover { border-color: color-mix(in srgb, var(--accent-mint) 50%, var(--border)); transform: translateY(-1px); }
.mm-pring { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; position: relative;
    background: conic-gradient(var(--accent-mint) calc(var(--p) * 1%), color-mix(in srgb, var(--text-muted) 20%, transparent) 0); }
.mm-pring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--bg-surface); }
.mm-pring b { position: relative; font-size: 13px; font-weight: 800; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.mm-pring-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mm-pring-title { font-weight: 700; color: var(--text-primary); font-size: 15px; }
.mm-pring-next { font-size: 13px; color: var(--accent-mint); }

/* ── Payout progress towards the minimum ── */
.mm-payprog { height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--text-muted) 18%, transparent); overflow: hidden; margin-top: 12px; max-width: 420px; }
.mm-payprog span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--accent-mint); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.mm-payprog-note { font-size: 13px; color: var(--text-muted); margin-top: 6px; font-variant-numeric: tabular-nums; }

/* ── Email typo hint under an email field ── */
.mm-typo { display: block; margin-top: 6px; font-size: 13px; color: var(--text-muted); }
.mm-typo button { border: 0; background: none; padding: 0; color: var(--accent-mint); font-weight: 700; text-decoration: underline; cursor: pointer; }

@keyframes mm-micro-spin { to { transform: rotate(360deg); } }
@keyframes mm-micro-pop { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes mm-micro-sweep { to { transform: translateX(100%); } }
@keyframes mm-micro-eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ {
    .mm-empty > div:first-child, .mm-upring-disc::after, .mm-first-sale-disc, .mm-eqmini i, [data-cart-badge].mm-pop, .mm-dl-go::before { animation: none !important; }
    .mm-after-preview, .mm-payprog span { transition: none; }
}

/* ---- micro2.css ---- */
/* MixMint micro layer 2: small touch, print and feel details. Nothing here changes the layout. */
html { -webkit-tap-highlight-color: color-mix(in srgb, var(--accent-mint) 15%, transparent); scroll-padding-top: 84px; overscroll-behavior-x: none; }
@media (max-width: 767px) { html { scroll-padding-bottom: 96px; } }
/* Controls answer a tap at once and never zoom on a double tap; text still zooms. */
a, button, [role="button"], summary, label, select, input, textarea { touch-action: manipulation; }
input, textarea, select { caret-color: var(--accent-mint); }
/* Long words and long names wrap instead of pushing the page sideways. */
main :where(h1, h2, h3, p, li, dd) { overflow-wrap: break-word; }
/* Menus, sheets and the cart keep their own scroll. */
.toast-container, [data-mobile-menu], [x-ref="drawer"], dialog { overscroll-behavior: contain; }
/* A press gives a small, quick answer. */
.btn-mm { transition: transform 80ms ease; }
.btn-mm:active:not(:disabled) { transform: scale(.98); }
/* Links that leave MixMint carry a small arrow (added by micro2.js; icon-only links are skipped). */
a[data-ext]::after { content: "\2197"; display: inline-block; margin-left: .2em; font-size: .85em; opacity: .65; text-decoration: none; }
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { .btn-mm, .btn-mm:active:not(:disabled) { transition: none; transform: none; } }
/* Receipts, invoices and guides print clean: no bars, no widgets. */
@media print {
  nav, footer, .mm-tabbar, .mm-help, .toast-container, #mm-offline, .mm-footer, .mm-footer-compact, [data-mobile-menu], .mm-follow-island, #mm-cursor-ring, #mm-cursor-dot { display: none !important; }
  body, main { background: #fff !important; color: #000 !important; }
  a[href^="http"]:not([data-no-print-url])::after { content: none; }
  main { padding: 0 !important; max-width: none !important; }
}

/* "Payments open soon" dialog (shown when the gateway refuses orders) */
.mm-notify{position:fixed;inset:0;margin:auto;height:fit-content;border:1px solid var(--border);border-radius:16px;padding:0;max-width:min(92vw,420px);width:100%;background:var(--bg-elevated);color:var(--text-primary);box-shadow:var(--shadow-card,0 20px 60px rgba(0,0,0,.25))}
.mm-notify::backdrop{background:rgba(10,14,20,.55)}
.mm-notify__box{display:flex;flex-direction:column;gap:12px;padding:24px}
.mm-notify__title{font-size:22px;font-weight:700;letter-spacing:-.01em}
.mm-notify__text{font-size:14px;line-height:1.5;color:var(--text-muted)}
.mm-notify__label{font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted)}
.mm-notify__msg{min-height:20px;font-size:13px;color:var(--accent-ink,var(--text-primary))}
.mm-notify__row{display:flex;gap:10px;flex-wrap:wrap}
.mm-notify__row .btn-mm{height:46px;padding:0 20px}

/* ---- unify.css ---- */
/* MixMint button + layout unification (loads last).
   Rule: every button is FILLED. The hero button is the bright emerald one with a glow; all others are calm tonal fills.
   Same height, radius and weight for a pair, so rows look even. Remove this file to go back to the previous look. */

:root {
  --u-tonal-bg: color-mix(in srgb, var(--accent-mint) 14%, var(--bg-surface));
  --u-tonal-bg-hover: color-mix(in srgb, var(--accent-mint) 24%, var(--bg-surface));
  --u-tonal-bd: color-mix(in srgb, var(--accent-mint) 34%, transparent);
  --u-tonal-fg: var(--accent-mint);
  /* every filled green button is the brand green itself (same value as links, logo dot and headline accent) */
  --u-hero-1: var(--accent-mint);
  --u-hero-2: var(--accent-mint);
  --u-hero-fg: #FFFFFF;
  --u-hero-glow: 0 8px 22px -8px color-mix(in srgb, var(--accent-mint) 70%, transparent);
}
:root[data-theme="dark"] {
  --u-tonal-bg: color-mix(in srgb, var(--accent-mint) 18%, var(--bg-elevated));
  --u-tonal-bg-hover: color-mix(in srgb, var(--accent-mint) 28%, var(--bg-elevated));
  --u-tonal-fg: #6EE7B7;
  --u-hero-fg: #04130C;
  --u-hero-glow: 0 10px 28px -8px color-mix(in srgb, var(--accent-mint) 70%, transparent);
}

/* ── 1. Secondary buttons: filled tonal (no more empty outlines) ── */
.btn-ghost, .mm-ghost-btn, .mm-stage .mm-ghost-btn, .mm-cta-ghost, .cx-btn:not(.primary) {
  background: var(--u-tonal-bg);
  border: 1px solid var(--u-tonal-bd);
  color: var(--u-tonal-fg);
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset;
}
.btn-ghost:hover, .mm-ghost-btn:hover, .mm-stage .mm-ghost-btn:hover, .mm-cta-ghost:hover, .cx-btn:not(.primary):hover,
[data-theme="light"] .btn-ghost:hover {
  background: var(--u-tonal-bg-hover);
  border-color: var(--accent-mint);
  color: var(--u-tonal-fg);
}
.btn-ghost *, .mm-ghost-btn *, .mm-cta-ghost * { color: inherit; }

/* ── 2. Other solid buttons keep their fill; the main .btn-mint is promoted to hero below ── */
.cx-btn.primary { font-weight: 700; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35); }

/* ── 3. HERO buttons: the one highlighted action per area ── */
.mm-neon-btn, .mm-cta, .mm-stage-go, .btn-mint, .mm-steps-cta .mm-sell-btn, .btn-hero {
  background: linear-gradient(135deg, var(--u-hero-1), var(--u-hero-2)) !important;
  color: var(--u-hero-fg) !important;
  border: 1px solid transparent;
  font-weight: 800;
  box-shadow: var(--u-hero-glow);
}
.mm-neon-btn *, .mm-cta *, .mm-stage-go, .btn-mint *, .btn-hero * { color: var(--u-hero-fg) !important; }
.mm-neon-btn:hover, .mm-cta:hover, .mm-stage-go:hover, .btn-mint:hover, .btn-hero:hover {
  background: linear-gradient(135deg, var(--u-hero-2), var(--u-hero-1)) !important;
  filter: brightness(1.08);
  transform: translateY(-2px);
}
/* the big home hero button is a touch larger than the rest */
.mm-stage-cta .mm-neon-btn { min-height: 52px; font-size: 16px; }

/* the app header and dashboards used white-on-dark ghost buttons: make them tonal fills too */
html body[data-shell="app"] main .btn-mm.btn-ghost.btn-ghost.btn-ghost, html body .mm-apphead .btn-ghost.btn-ghost.btn-ghost {
  background: var(--u-tonal-bg) !important; color: var(--u-tonal-fg) !important; border-color: var(--u-tonal-bd) !important;
}

/* ── 4. Pairs sit side by side with identical size ── */
.mm-stage-cta { align-items: stretch; }
.mm-stage-cta > .mm-neon-btn, .mm-stage-cta > .mm-ghost-btn { flex: 1 1 210px; max-width: 260px; height: 52px; padding: 0 22px; border-radius: 12px; white-space: nowrap; }
.mm-neon-btn, .mm-ghost-btn { border-radius: 12px; }
@media (max-width: 560px) {
  .mm-stage-cta { flex-direction: column; align-items: stretch; }
  .mm-stage-cta > .mm-neon-btn, .mm-stage-cta > .mm-ghost-btn { flex: 0 0 auto; max-width: none; width: 100%; }
}
/* any row whose only children are two buttons: equal widths */
.flex:not(.flex-col):not(.flex-wrap) > .btn-mm:first-child:nth-last-child(2),
.flex:not(.flex-col):not(.flex-wrap) > .btn-mm:last-child:nth-child(2) { flex: 1 1 0; min-width: 0; }
/* same height across mixed button types inside a form/action row */
.btn-mm { border-radius: 12px; }

/* ── 5. Less dull: stronger muted text, livelier cards and badges ── */
:root[data-theme="light"] { --text-muted: #4B5563; }
:root[data-theme="dark"] { --text-muted: #A7B6AE; }
.card-mm, .mm-rcard, .mm-card-section, .glow-card {
  border-color: var(--border-strong);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px -16px rgba(16, 24, 40, .18);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
@media (hover: hover) {
  .card-mm:hover, .mm-rcard:hover, .mm-card-section:hover, .glow-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-mint);
    box-shadow: 0 12px 30px -14px color-mix(in srgb, var(--accent-mint) 55%, transparent);
  }
}
.badge-mm { font-weight: 700; }

/* ── 6. Symmetry: grids of cards stretch to equal height, titles centred under their art ── */
.grid > .card-mm, .grid > .mm-rcard { height: 100%; }
main section > .grid { align-items: stretch; }

/* ═══ Layout alignment: one gutter for header, page content and footer (16px phone, 24px desktop) ═══ */
:root { --u-gutter: 16px; }
@media (min-width: 768px) { :root { --u-gutter: 24px; } }
main.container { padding-inline: var(--u-gutter); }
/* sections that add their own side padding inside main were double-indenting (32px) */
main.container > section[class*="px-"], main.container > div[class*="max-w-"][class*="px-"], main.container > section > div[class*="px-4"] { padding-inline: 0; }
header .container, header [class*="max-w-[1280px]"], footer [class*="max-w-[1280px]"], footer .container { padding-inline: var(--u-gutter); }

/* ═══ Chips and pills: same filled look as the buttons, same height, clear selected state ═══ */
.mm-chip, .mm-gchip {
  height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 600;
  background: var(--u-tonal-bg); border: 1px solid var(--u-tonal-bd); color: var(--u-tonal-fg);
  display: inline-flex; align-items: center; justify-content: center;
}
.mm-chip:hover, .mm-gchip:hover { background: var(--u-tonal-bg-hover); border-color: var(--accent-mint); color: var(--u-tonal-fg); }
.mm-chip[aria-current="page"], .mm-chip.is-on, .mm-gchip[aria-current="page"] {
  background: linear-gradient(135deg, var(--u-hero-1), var(--u-hero-2)); color: var(--u-hero-fg); border-color: transparent;
}
.mm-genres-label { font-size: 12px; letter-spacing: .12em; color: var(--text-muted); font-weight: 700; }

/* ═══ Forms: one control size, readable labels, visible focus ═══ */
.input-mm, input.input-mm, select.input-mm, textarea.input-mm {
  min-height: 48px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--bg-surface); font-size: 16px;
}
textarea.input-mm { min-height: 112px; padding-block: 12px; }
.input-mm:focus, .input-mm:focus-visible { border-color: var(--accent-mint); outline: 0; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-mint) 22%, transparent); }
label, .label-mm { font-weight: 600; }
form label[class*="text-[10px]"], form label[class*="text-[11px]"] { font-size: 12px; color: var(--text-muted); }

/* ═══ Type: balanced headings, comfortable reading width, small caps labels readable ═══ */
h1, h2, h3, .font-display { text-wrap: balance; }
p { text-wrap: pretty; }
[class*="text-[9px]"], [class*="text-[10px]"] { font-size: 11px; }

/* ═══ Touch: every tap target at least 44px tall on phones ═══ */
@media (max-width: 767px) {
  main a.btn-mm, main button.btn-mm, .btn-mm { min-height: 44px; }
  footer a { display: inline-flex; align-items: center; min-height: 40px; }
  footer ul { gap: 2px; }
}

/* ═══ Cards in a row line up: equal heights, image on top, price pinned to the bottom ═══ */
.mm-rcard { display: flex; flex-direction: column; }
.mm-rcard-price { margin-top: auto; }
.mm-rail { align-items: stretch; }
.mm-rail > * { display: flex; flex-direction: column; }

/* the moving white shine washed out the dark label on hero buttons */
.mm-neon-btn::after, .mm-cta::before, .btn-mint::after { display: none !important; }

/* ═══ Small-screen fixes found by the automated sweep (320–430px phones) ═══ */
main { overflow-x: clip; }
dl dt { font-size: 12px; }
@media (max-width: 767px) {
  /* bigger tap areas without changing the layout: logo, theme switch, checkbox rows, FAQ/summary rows, small inline links */
  header a[class*="items-center"] { min-height: 44px; }
  .mm-theme-switch { position: relative; }
  .mm-theme-switch::after { content: ""; position: absolute; inset: -8px -4px; }
  label:has(> input[type="checkbox"]), label:has(> input[type="radio"]) { min-height: 44px; display: flex; align-items: center; gap: 10px; }
  input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; flex: none; }
  summary { min-height: 44px; display: flex; align-items: center; }
  /* invisible extra tap height only for links inside running text (never buttons, cards, menus or chips:
     there it overlapped the next item and broke layouts) */
  main :is(p, li, dd, td, label, small) > a:not([class*="btn"]):not([class*="mm-"]):not([class*="cx-"]):not(:has(img)):not(:has(svg)) { padding-block: 8px; margin-block: -8px; }
  main nav a, main button.inline-flex:not(.btn-mm) { min-height: 44px; }
  .mm-filters-toggle { flex: 1 1 auto; min-width: max-content; white-space: nowrap; padding-inline: 14px; }
}

/* ═══ Speed: the footer is painted only when scrolled near (long pages render faster on phones) ═══ */
footer { content-visibility: auto; contain-intrinsic-size: auto 720px; }
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { *, *::before, *::after { scroll-behavior: auto !important; } }

/* ═══ Phone tap targets: logo, theme switch and small checkboxes get a 44px hit area ═══ */
@media (max-width: 767px) {
  header a:has(img[alt="MixMint"]), footer a { min-height: 44px; display: inline-flex; align-items: center; }
  input[type="checkbox"], input[type="radio"] { position: relative; }
  input[type="checkbox"]::after, input[type="radio"]::after { content: ""; position: absolute; inset: -12px; }
}

/* active-page state must never turn a green button's own text green-on-green */
.mm-cta.is-active, .mm-cta[aria-current], .mm-neon-btn[aria-current], .btn-mint[aria-current] { color: var(--u-hero-fg) !important; }

/* ═══ Section headers: every "see all" link ends on the same right edge ═══
   The link is always the last item (after the scroll arrows) and arrows that are not needed take no space. */
.mm-row-tools { gap: 6px; }
.mm-row-tools .mm-row-more { order: 3; margin-inline: 6px -6px; }
.mm-shelf[data-fits] .mm-row-btn { display: none; }
.mm-trend-head, .mm-row-head { align-items: center; }
.mm-trend-head a, .mm-row-more {
  font-size: 14px; font-weight: 600; line-height: 1.2; padding: 8px 6px; margin-right: -6px;
  color: var(--accent-mint); white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center;
}
.mm-row-tools .mm-row-more { margin-left: 6px; }
.mm-row-title, .mm-trend-head h2 { line-height: 1.2; }

/* ═══ Small phones (320–430px): nothing may be wider than the screen ═══
   Grid/flex children default to min-width:auto, so one long line can push the whole block past the right edge. */
.mm-stage { grid-template-columns: minmax(0, 1fr); }
.mm-stage-in, .mm-stage-in > * { min-width: 0; max-width: 100%; }
.mm-stage-title, .mm-stage-sub { overflow-wrap: break-word; word-break: normal; }
@media (max-width: 480px) {
  .mm-stage-trust, .mm-stage-cta, .mm-stage-pills { flex-wrap: wrap; justify-content: center; }
  .mm-stage-cta > * { flex: 1 1 100%; max-width: 100%; }
}

/* stacked full-width buttons (phone menu etc.) always keep a clear gap */
.mm-cta-ghost + .mm-cta, .mm-ghost-btn + .mm-neon-btn, .mm-neon-btn + .mm-ghost-btn { margin-top: 12px; }
.mm-cta-ghost.w-full, .mm-cta.w-full { display: flex; justify-content: center; min-height: 48px; }

/* sideways-scroll strips: soft fade on the side that still has content (set by ux-plus.js) */
[data-fade][data-fade-r]:not([data-fade-l]) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
[data-fade][data-fade-l]:not([data-fade-r]) { -webkit-mask-image: linear-gradient(270deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(270deg, #000 calc(100% - 36px), transparent); }
[data-fade][data-fade-l][data-fade-r] { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
[data-fade] { scrollbar-width: none; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
[data-fade]::-webkit-scrollbar { display: none; }

/* theme switch: exact pill, thumb centred in both themes; 44px tap area is invisible (::after) */
.mm-theme-switch { width: 54px; height: 30px; min-width: 54px; min-height: 30px; padding: 0 8px; box-sizing: border-box; line-height: 0; overflow: visible; }
.mm-theme-switch svg { width: 14px; height: 14px; display: block; flex: none; }
.mm-ts-thumb { top: 50%; left: 3px; margin-top: -11px; width: 22px; height: 22px; }
.mm-theme-switch::after { content: ""; position: absolute; inset: -7px -4px; }
:root[data-theme="dark"] .mm-ts-thumb { transform: translateX(24px); }

/* ═══════════ Phone / tablet / desktop UI sweep fixes (2026-11-15) ═══════════ */

/* 1. Readable text: nothing below 12px anywhere */
[class*="text-[8px]"], [class*="text-[9px]"], [class*="text-[10px]"], [class*="text-[11px]"] { font-size: 12px !important; }
.mm-badge, .mm-rcard-price em, .mmp-type, .mm-filters-count, .mm-field .mm-reveal,
.pill-success, .pill-warning, .pill-error, .pill-neutral, .mm-tabbar a, .mm-pro-btn .mm-pro-tag, .mm-pro-new { font-size: 12px; }
label, .mm-field label { font-size: max(12px, 1em); }

/* 2. Touch targets: 44px on touch screens (beats the old 32px link rule) */
@media (pointer: coarse), (max-width: 767px) {
  main a.mm-row-more, main .mm-trend-head a, main .mm-crumbs a, main nav[aria-label] a,
  .cx-side a, .cx-nav a, .mm-adm-nav a, aside nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .mm-rcard-cart, [aria-label^="Add"][class*="rounded-full"], button[aria-label*="cart" i]:not(.mm-quick) { position: relative; }
  .mm-rcard-cart::after, button[aria-label*="cart" i]::after { content: ""; position: absolute; inset: -4px; }
  main nav[data-fade] a, main [data-fade] > a { min-height: 44px; }
}

/* 3. Danger buttons (admin): clearly red, no pulsing pink halo, never the green tonal fill */
.cx-btn.danger, .cx-btn.danger:not(.primary) {
  background: color-mix(in srgb, var(--accent-red) 8%, var(--bg-surface)) !important;
  color: var(--accent-red) !important; border: 1px solid color-mix(in srgb, var(--accent-red) 45%, var(--border)) !important;
  animation: none !important; box-shadow: none !important;
}
.cx-btn.danger:hover { background: var(--accent-red) !important; color: #fff !important; }

/* 5. Three stat cards: labels take the same space so the amounts line up */
.mm-stat3 > div { display: flex; flex-direction: column; }
.mm-stat3 > div > p:first-child { min-height: 2.6em; line-height: 1.3; }
@media (min-width: 640px) { .mm-stat3 > div > p:first-child { min-height: 0; } }

/* 6. Inline elements that sit side by side keep a visible gap */
.flex > a + button, .flex > a + form, .inline-flex > a + button { margin-left: 8px; }

/* ═══ Sweep round 2 ═══ */
/* touch screens: the old 32px link rule must not shrink real tap targets */
@media (pointer: coarse), (max-width: 767px) {
  main a.mm-row-more, main .mm-trend-head a, .mm-crumbs a, nav[aria-label*="readcrumb" i] a { min-height: 44px !important; }
  .mm-studio a { height: 44px; }
  .mm-adm-side a, .mm-adm-side a.mm-adm-sub { min-height: 44px; }
}
/* DJ studio bar: the tab strip stops before the Upload button instead of sliding under it */
.mm-studio nav { flex: 1 1 auto; min-width: 0; }
.mm-studio .spacer { flex: 0 0 0; }
.mm-studio a.is-cta { flex: none; margin-left: 4px; }
/* small labels raised to 12px */
.mm-studio-label, .mm-adm-pill, .mm-pro-new { font-size: 12px !important; }
/* stacked inline links in paragraphs and checkbox labels: hit areas never overlap */
label a, p a { line-height: 1.6; }
.mm-follow-btn, [data-follow] { margin-left: 8px; }

/* ═══ Sweep round 3 (2026-11-14) ═══ */
/* Header logo emblem: keep its real width; it was squeezed to a sliver (or gone at 320px) by the flex row */
nav[aria-label="Main"] a[href="/"] { flex-shrink: 0; }
nav[aria-label="Main"] a[href="/"] > .relative { flex-shrink: 0; }
.mm-emblem { width: 27px; min-width: 27px; }
.mm-emblem--sm { width: 23px; min-width: 23px; }
/* very small phones (<360px): a slightly smaller logo so the menu button is never cut off on the right */
@media (max-width: 359px) {
  nav[aria-label="Main"] .container { padding-left: 16px; padding-right: 16px; }
  nav[aria-label="Main"] .mm-emblem { height: 26px; width: 23px; min-width: 23px; }
  nav[aria-label="Main"] .mm-wordmark { font-size: 22px; }
}
/* Desktop header 1024-1279px: links stay on one line, logo keeps a gap from "Releases" */
nav[aria-label="Main"] .hidden.lg\:flex a, .mm-search-pill { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
  nav[aria-label="Main"] a[href="/"] { margin-right: 20px; }
  nav[aria-label="Main"] .hidden.lg\:flex.gap-8 { gap: 20px; }
  nav[aria-label="Main"] .hidden.lg\:flex.gap-6 { gap: 14px; }
  .mm-search-pill kbd { display: none; }
}
/* Header Log in / Sign up: same baseline (the stacked-menu top margin must not apply in the desktop row) */
nav[aria-label="Main"] .hidden.lg\:flex .mm-cta-ghost + .mm-cta { margin-top: 0; }
/* Signup consent: each policy link stays on one line so tap areas do not overlap */
label a[href^="/legal/"] { white-space: nowrap; padding-block: 4px !important; }
label:has(> span > a[href^="/legal/"]) > span { line-height: 30px; }
/* Release page DJ card: a clear gap when the Follow/Save buttons wrap under the DJ name */
.mm-fan > .glow-card { row-gap: 14px; }
/* "Same BPM" chip raised to the 12px text floor */
.mm-bpm-chip { font-size: 12px; }
/* Releases sort box on phones: the sort label is no longer cut ("Newest u…"); Filters keeps its own width */
@media (max-width: 640px) {
  .mm-filters-bar #rsort { flex: 1 1 0; min-width: 0; }
  .mm-filters-bar .mm-filters-toggle { flex: 0 0 auto; min-width: 0; }
}
.mm-filters-bar .mm-filters-toggle, .mm-filters-bar #rsort { height: 46px !important; min-height: 0; box-sizing: border-box; }

/* ═══ Sweep round 4 (2026-11-15) ═══ */
/* Home hero: "Meet the DJs" sat 12px lower than "Browse all releases" (stacking margin inside a flex row that already has a gap) */
.mm-stage-cta > .mm-ghost-btn, .mm-stage-cta > .mm-neon-btn { margin-top: 0; }
/* "On air" dot: mint dot had a red/pink pulse ring; the ring now matches the dot */
.mm-onair-dot { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-mint) 55%, transparent); animation-name: mm-live-mint; }
@keyframes mm-live-mint { 70% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent-mint) 0%, transparent); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { .mm-onair-dot { animation: none; box-shadow: none; } }
/* "I'm a DJ: sell my edits" is a filled green button now: its disc icon was mint-on-mint (invisible) and the arrow amber-on-green */
.mm-steps-cta .mm-sell-btn svg, .mm-steps-cta .mm-sell-btn .mm-sell-disc, .mm-steps-cta .mm-sell-btn .mm-sell-arrow { color: var(--u-hero-fg) !important; }
/* Chips with an icon ("Verified only"): the icon no longer touches the label */
.mm-chip, .mm-gchip { gap: 6px; }
/* Library tabs: every tab keeps a 2px bottom border so the active one does not sit 1px higher */
.mm-tabs-scroll > button { border-bottom: 2px solid transparent; }
.mm-tabs-scroll > button.border-b-2 { border-bottom-color: var(--accent-mint); }
/* Trending rows: the whole row is one link, so the rank, the cover letter and the price were all underlined; only the title underlines, on hover */
a.mm-trend-item, a.mm-trend-item * { text-decoration: none !important; }
a.mm-trend-item:hover .mm-trend-meta b, a.mm-trend-item:focus-visible .mm-trend-meta b { text-decoration: underline !important; text-underline-offset: 3px; }

/* ═══ Sweep round 5 (2026-11-15) ═══ */
/* Artists page: "Verified only" and the sort box are one 44px row; the sort box sits on the right
   (the generic "a + form" 8px margin was overriding ml-auto, and at 320px it wrapped onto an indented line) */
.mm-djsort-row { flex-wrap: nowrap; }
.mm-djsort-row > form { margin-left: auto !important; min-width: 0; }
.mm-djsort-row > .mm-chip, .mm-djsort-row #djsort { height: 44px !important; min-height: 0; box-sizing: border-box; }
.mm-djsort-row #djsort { max-width: 100%; }
/* Touch screens: chips, "Forgot?" and the "← DJ dashboard" back links reach a 44px tap height */
@media (pointer: coarse), (max-width: 767px) {
  .mm-chip, .mm-gchip { height: 44px; }
  a[data-back] { min-height: 44px !important; }
  a[href$="/password-reset/"].font-mono, a[href*="password_reset"].font-mono, a[href*="password/reset"].font-mono { display: inline-flex; align-items: center; min-height: 44px !important; margin-block: -13px !important; }
}
/* Admin key-number cards: long labels ("DJ applications") broke mid-word on phones; tighter tracking and padding keep whole words */
@media (max-width: 479px) {
  section[aria-label="Key numbers"] > .glow-card { padding: 16px; }
  section[aria-label="Key numbers"] > .glow-card > p:first-child { letter-spacing: .04em; overflow-wrap: normal; word-break: normal; }
}
/* Slim app footer: links were top-aligned in their row, 5px above the copyright and the theme switch; now centred.
   On touch screens each link gets a 44px tap height. */
.mm-footer-compact nav { align-items: center; }
.mm-footer-compact nav > a { display: inline-flex; align-items: center; }
@media (pointer: coarse) { .mm-footer-compact nav > a { min-height: 44px !important; } }
/* Footer "DJ songs by genre": the links ran together ("EDM DJ songsHouse DJ songs") on phones; gap-x-4 is not in the built CSS */
footer ul:has(> li > a[href^="/genre/"]) { column-gap: 16px; row-gap: 4px; }
footer ul:has(> li > a[href^="/genre/"]) a { display: inline-flex; align-items: center; min-height: 32px; }
/* Artists sort box at 320-359px: "Most popular" no longer clipped by the arrow */
@media (max-width: 359px) { .mm-djsort-row #djsort { padding-left: 10px !important; padding-right: 4px !important; } }

/* ═══ Last UI leftovers ═══ */
@media (pointer: coarse), (max-width: 767px) {
  /* release card title and DJ links: 44px tap height without moving the text and without the two overlapping.
     The title grows upwards (into the cover, which opens the same page), the DJ link grows downwards (into the price line).
     The 2-line clamp moves onto the link so its h3 no longer clips the larger tap area. */
  .mm-rcard-title { overflow: visible; display: block; -webkit-line-clamp: unset; }
  .mm-rcard-title a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
    position: relative; z-index: 1; padding: 25px 0 0 !important; margin: -25px 0 0 !important; }
  .mm-rcard-meta { overflow: clip; overflow-clip-margin: 24px; } /* keeps the ellipsis but lets the DJ link tap area reach below */
  .mm-rcard-meta a { display: inline-block; position: relative; z-index: 3; padding: 0 0 24px !important; margin: 0 0 -24px !important; }
  /* track details (genre, BPM links) */
  .mm-track-facts dd a, dl dd a[href^="/genre/"], li > a[href^="/genre/"] { display: inline-flex; align-items: center; min-height: 44px !important; }
  /* footer columns: stacked links keep their tap areas apart */
  footer li > a, footer nav a { padding-block: 6px !important; margin-block: 0 !important; display: inline-block; }
  footer li + li { margin-top: 4px; }
  footer :is(ul.flex, ol.flex, .flex-wrap) > li + li { margin-top: 0; } /* side-by-side items (social icons, genre links) share one row line */
}

/* ═══ Impeccable pass: no side-stripe callouts, tinted fills instead ═══ */
.notice-info, .notice-warning, .notice-danger {
  border-left: 0 !important; border: 1px solid transparent; font-size: 14px; line-height: 1.55; border-radius: 12px;
}
.notice-info    { background: color-mix(in srgb, var(--accent-mint) 9%, var(--bg-surface)); border-color: color-mix(in srgb, var(--accent-mint) 28%, transparent); }
.notice-warning { background: color-mix(in srgb, var(--accent-amber) 10%, var(--bg-surface)); border-color: color-mix(in srgb, var(--accent-amber) 32%, transparent); }
.notice-danger  { background: color-mix(in srgb, var(--accent-red) 8%, var(--bg-surface)); border-color: color-mix(in srgb, var(--accent-red) 30%, transparent); }
/* readable line length for running text */
main p:not([class*="max-w"]) { max-width: 72ch; }
main .text-center p, main [class*="text-center"] > p { margin-inline: auto; }

.toast-item { border-left-width: 1px !important; border-color: color-mix(in srgb, var(--accent-mint) 35%, var(--border)) !important; }
/* Admin header search on phones: a cut placeholder ends in an ellipsis ("Search us…") instead of a hard cut */
.mm-adm-search input { text-overflow: ellipsis; }
.mm-adm-search input::placeholder { text-overflow: ellipsis; }
/* Release card quick-add (+): on touch screens an older "cart button hit area" rule made it position:relative,
   so it fell below the cover and was clipped (invisible on phones). On cards that also have a preview button,
   the + sat under the play button; it now sits bottom-left so both are visible and tappable. */
.mm-rcard:has(.mm-rcard-play) .mm-quick { right: auto; left: 10px; }

/* DJ studio: the Instagram-collab steps are a one-line, collapsible card so the numbers come first. */
.mm-promo{padding:0}
.mm-promo-sum{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;cursor:pointer;list-style:none;min-height:56px}
.mm-promo-sum::-webkit-details-marker{display:none}
.mm-promo-chev{flex:none;font:600 12px/1 var(--font-body,inherit);color:var(--accent-mint);border:1px solid color-mix(in srgb,var(--accent-mint) 35%,transparent);border-radius:999px;padding:8px 12px}
.mm-promo[open] .mm-promo-chev::before{content:"Hide steps";}
.mm-promo[open] .mm-promo-chev{font-size:0}
.mm-promo[open] .mm-promo-chev::before{font-size:12px}
.mm-promo-sum:focus-visible{outline:2px solid var(--accent-mint);outline-offset:2px;border-radius:12px}
.mm-promo-sum::after,.mm-promo-sum::marker{content:none;display:none}

/* ── Less "template", more product ─────────────────────────────────────────────
   Plain-language labels and buttons instead of tracked ALL-CAPS mono, no neon glows,
   no pulsing halos. Prices, BPM and counts stay in the mono face. */
.btn-mm{text-transform:none;letter-spacing:0;font-size:15px;font-weight:600}
.btn-mm.text-\[12px\],.btn-mm.text-\[13px\]{font-size:14px}
.btn-mint:hover,.btn-mint:focus-visible,.btn-red:hover,.btn-blue:hover{box-shadow:none}
.font-mono.uppercase,.uppercase.font-mono,.badge-mm{text-transform:none;letter-spacing:.01em;font-family:var(--font-body)}
[class*="tracking-[0."]:not(.btn-mm){letter-spacing:.01em}
.glow-card{box-shadow:none;background-image:none}
.glow-card::before,.glow-card::after,.glow-card-mm::before{display:none}
.blur-2xl,.blur-3xl,.blur-xl{opacity:.25}
.mm-pro-btn{animation:none;background:#f5b53a;box-shadow:none;text-transform:none;letter-spacing:0;font-weight:700;border-radius:10px}
.mm-pro-btn:hover{transform:none;background:#f7c15c}
.mm-pro-btn .mm-pro-tag,.mm-pro-new{text-transform:none;letter-spacing:0}
/* Admin filter chips on phones (Catalog Tracks / Album packs / Bundles, Reports Open / All):
   the generic small-link tap rule gave them a -10px margin inside a scrolling row, so they were cut in half */
@media (pointer: coarse), (max-width: 767px) {
  .cx-chips a { margin-block: 0 !important; padding-block: 0 !important; height: 44px; }
}
/* "Log in to continue" prompt for logged-out buyers (MM.loginRedirect): explains, counts down, then goes to log in */
dialog.mm-auth-prompt { width: min(420px, calc(100vw - 32px)); padding: 24px; border: 1px solid var(--border); border-radius: 16px;
  background: var(--bg-surface); color: var(--text-primary); box-shadow: 0 24px 60px rgba(0,0,0,.35); text-align: center; }
dialog.mm-auth-prompt::backdrop { background: rgba(0,0,0,.45); }
dialog.mm-auth-prompt h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
dialog.mm-auth-prompt p { font-size: 15px; line-height: 1.5; color: var(--text-muted); margin: 0 auto 18px; }
dialog.mm-auth-prompt .mm-auth-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
dialog.mm-auth-prompt .mm-auth-actions .btn-mm { flex: 1 1 140px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; }
dialog.mm-auth-prompt .mm-auth-count { font-size: 13px; margin: 14px 0 0; min-height: 1.4em; }
dialog.mm-auth-prompt .mm-auth-close { margin-top: 6px; min-height: 44px; padding: 0 16px; font-size: 14px; font-weight: 600; color: var(--text-muted); background: none; border: 0; cursor: pointer; }
dialog.mm-auth-prompt .mm-auth-close:hover { color: var(--text-primary); }
/* Admin menu on phones: each link on its own full-width row again (the generic 44px nav-link rule made them
   inline, so two links shared a line and the active marker floated next to the wrong item) */
.mm-adm-side a { display: flex !important; width: 100%; margin-block: 0 !important; }

/* Phone menu (logged in): Admin / DJ dashboard / My library / Account settings / Log out are one even stack:
   same width, same 48px height, 12px apart (they used to touch, and Log out was narrower) */
[data-mobile-menu] .flex.flex-col.gap-4 { gap: 12px; }
[data-mobile-menu] .flex.flex-col.gap-4 > a.btn-mm, [data-mobile-menu] .flex.flex-col.gap-4 > form > button {
  margin: 0 !important; width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
[data-mobile-menu] .flex.flex-col.gap-4 > form { margin: 0; width: 100%; }
/* Admin menu rows: 44px tall on touch screens */
@media (pointer: coarse), (max-width: 1023px) { .mm-adm-side a { min-height: 44px !important; } .mm-adm-side a.mm-adm-sub { min-height: 40px !important; } }
/* Phone menu: "Help & support" lines up with the links above it */
[data-mobile-menu] nav > button { padding-left: 0; padding-right: 0; min-height: 44px; }

/* ═══ Small touches, batch 3 (2026-11-16) ═══ */
/* Prices, counts and money line up and don't jiggle when they change */
.mm-rcard-price, .mm-stat-value, td.num, .cx-table td.num, [class*="font-mono"] { font-variant-numeric: tabular-nums; }
/* Buttons: a small press so taps feel registered; disabled ones look and act disabled */
.btn-mm, .cx-btn, .mm-cta, .mm-cta-ghost { transition: transform .08s ease-out, background-color .15s, color .15s, border-color .15s; }
.btn-mm:active:not(:disabled), .cx-btn:active:not(:disabled), .mm-cta:active, .mm-cta-ghost:active { transform: scale(.98); }
button:disabled, .btn-mm:disabled, .cx-btn:disabled, [aria-disabled="true"] { cursor: not-allowed; }
summary, label[for], [role="button"], select { cursor: pointer; }
/* Keyboard focus: one clear mint ring everywhere, never on mouse clicks */
a:focus-visible, button:focus-visible, summary:focus-visible, [role="button"]:focus-visible, .mm-chip:focus-visible, .cx-btn:focus-visible {
  outline: 2px solid var(--accent-mint); outline-offset: 2px; }
/* Text box limit counter and Caps Lock note (static/js/micro3.js) */
.mm-charcount { margin-top: 6px; font-size: 12px; color: var(--text-muted); text-align: right; min-height: 0; }
.mm-charcount.is-low { color: var(--accent-red); }
.mm-caps { margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--accent-amber, #b45309); }
/* Number fields: no tiny spinner arrows next to prices */
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
/* Section links land below the sticky header, not under it */
[id] { scroll-margin-top: 88px; }
/* Long DJ names and emails wrap instead of pushing the page sideways */
.cx-strong, .mm-rcard-meta a, .cx-table td:not(.num) { overflow-wrap: break-word; word-break: normal; }
/* Placeholder text is clearly a hint, not a filled value */
.input-mm::placeholder, .cx-input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--text-muted) 75%, transparent); opacity: 1; }

/* ═══ Pill buttons everywhere (2026-11-16) ═══ */
.btn-mm, .cx-btn, .mm-cta, .mm-cta-ghost, .mm-neon-btn, .mm-ghost-btn, .mm-sell-btn, .mm-pro-btn, .mm-filters-toggle,
.mm-first-sale .btn-mm, .mm-notify__row .btn-mm, [data-mobile-menu] .flex.flex-col.gap-4 > a.btn-mm,
[data-mobile-menu] .flex.flex-col.gap-4 > form > button, dialog .btn-mm, .mm-auth-prompt .btn-mm,
button[class*="rounded-[var(--radius"], a[class*="btn-"][class*="rounded-"] { border-radius: 999px !important; }
/* pills need a little more side room than square buttons so the text never sits on the curve */
.btn-mm, .cx-btn { padding-inline: max(18px, 1.1em); }
.cx-btn { padding-inline: 16px; }

/* Cookie notice (components/cookie_consent.html): a slim bar above the phone tab bar, bottom-left card on desktop */
.mm-cookie { position: fixed; z-index: 2147483001; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; border: 1px solid var(--border);
  background: var(--bg-surface); color: var(--text-primary); box-shadow: 0 14px 40px rgba(0,0,0,.18);
  opacity: 0; transform: translateY(12px); transition: opacity .25s ease-out, transform .25s ease-out; }
.mm-cookie.show { opacity: 1; transform: none; }
.mm-cookie-t { font-size: 14px; line-height: 1.5; color: var(--text-muted); margin: 0; max-width: none; }
.mm-cookie-t a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; }
.mm-cookie-b { display: flex; gap: 10px; }
.mm-cookie-b .btn-mm { flex: 1 1 0; min-height: 44px; justify-content: center; }
@media (min-width: 768px) {
  .mm-cookie { left: 20px; right: auto; bottom: 20px; width: 420px; }
}
body:not(.has-tabbar) .mm-cookie { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
/* "Pick up where you left off" row on the home page (static/js/micro3.js) */
.mm-recent { max-width: 1200px; margin: 28px auto 8px; padding: 0 16px; }
.mm-recent-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.mm-recent-head h2 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text-primary); }
.mm-recent-head button { min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--text-muted); background: none; border: 0; cursor: pointer; }
.mm-recent-head button:hover { color: var(--text-primary); }
.mm-recent-list { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.mm-recent-list::-webkit-scrollbar { display: none; }
.mm-recent-item { flex: 0 0 auto; width: min(260px, 78vw); display: flex; align-items: center; gap: 12px; padding: 10px; scroll-snap-align: start;
  border: 1px solid var(--border); border-radius: 14px; background: var(--bg-surface); text-decoration: none; transition: border-color .15s; }
.mm-recent-item:hover { border-color: color-mix(in srgb, var(--accent-mint) 45%, var(--border)); }
.mm-recent-art { flex: none; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; display: grid; place-items: center;
  background: var(--bg-elevated); color: var(--text-muted); font-weight: 700; font-size: 20px; }
.mm-recent-art img { width: 100%; height: 100%; object-fit: cover; }
.mm-recent-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mm-recent-txt b { font-size: 14px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-recent-txt small { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .mm-recent { padding: 0 24px; } }
/* Home search: pill box with a pill Search button, like the big store search bars */
.mm-stage-search { border-radius: 999px !important; }
.mm-stage-go { border-radius: 999px !important; padding-inline: 22px; }

/* ── Motion set 2 (see static/js/motion2.js). Off for reduced motion. ── */
@media all {
  /* Hero: the line under the title, the search, buttons and trust row blur in one after another */
  .mm-stage-sub, .mm-stage-search, .mm-stage-cta, .mm-stage-trust { animation: mm-blurin .8s cubic-bezier(.22,1,.36,1) backwards; }
  @keyframes mm-blurin { from { opacity: 0; transform: translateY(14px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
  .mm-stage-sub { animation-delay: .42s; }
  .mm-stage-search { animation-delay: .52s; }
  .mm-stage-cta { animation-delay: .62s; }
  .mm-stage-trust { animation-delay: .72s; }
  html.mm-intro-on .mm-stage-sub, html.mm-intro-on .mm-stage-search, html.mm-intro-on .mm-stage-cta, html.mm-intro-on .mm-stage-trust { animation-play-state: paused; }

  /* Ghost buttons: a light traces round the outline on hover */
  @media (hover: hover) {
    .mm-ghost-btn { position: relative; isolation: isolate; }
    .mm-ghost-btn::before {
      content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
      background: conic-gradient(from var(--mm-ang, 0deg), transparent 0 70%, var(--accent-mint, #10B981) 85%, #fff 92%, transparent 100%);
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
      opacity: 0; transition: opacity .25s;
    }
    .mm-ghost-btn:hover::before { opacity: 1; animation: mm-orbit 1.4s linear infinite; }
  }

  /* Search bar: a soft light sweeps across when it gets focus */
  .mm-stage-search { position: relative; overflow: hidden; }
  .mm-stage-search::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
    background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.14) 50%, transparent 70%);
    transform: translateX(-110%);
  }
  .mm-stage-search:focus-within::after { animation: mm-sweep .9s ease-out 1; }
  @keyframes mm-sweep { to { transform: translateX(110%); } }

  /* Theme switch: the knob stretches like a drop of liquid as it slides */
  .mm-ts-thumb { transition: transform .38s cubic-bezier(.34,1.4,.64,1), width .38s cubic-bezier(.34,1.4,.64,1), background-color .25s !important; }
  .mm-theme-switch:active .mm-ts-thumb { width: 28px; }
  :root[data-theme="dark"] .mm-theme-switch:active .mm-ts-thumb { transform: translateX(18px); }
  .mm-ts-thumb { backdrop-filter: blur(4px); }

  /* Toasts drop in like a phone notification */
  .toast-item { animation: mm-toast-in .5s cubic-bezier(.34,1.4,.64,1) backwards; }
  @keyframes mm-toast-in { from { opacity: 0; transform: translateY(-14px) scale(.94); } to { opacity: 1; transform: none; } }

  /* How it works: the three cards start as a fanned stack and deal out into place */
  html.reveal-on section.mm-steps[data-reveal]:not(.in) li { opacity: 0; transform: translateY(26px) rotate(calc((var(--n, 1) - 2) * -5deg)) scale(.94); }
  section.mm-steps[data-reveal] li { transition: opacity .6s ease, transform .7s cubic-bezier(.34,1.3,.64,1), border-color .2s; transition-delay: var(--reveal-delay, 0ms); }
  section.mm-steps[data-reveal] li:hover { transition-delay: 0ms; }
  .mm-steps li:nth-child(1) { --n: 1; } .mm-steps li:nth-child(2) { --n: 2; } .mm-steps li:nth-child(3) { --n: 3; }

  /* Headings being decoded keep their width steady */
  .mm-trend-head h2, .mm-recent-head h2, .mm-steps-title { font-variant-numeric: tabular-nums; }
}

/* ── Round 7: layout and touch fixes ── */
/* Studio pages: the sticky studio bar already gives breathing room, so the page starts closer to it */
.mm-studio ~ main#main { padding-top: 20px; }
@media (min-width: 768px) { .mm-studio ~ main#main { padding-top: 28px; } }
/* Touch screens: quick-add and admin buttons are full finger size */
@media (pointer: coarse) {
  .mm-quick { width: 44px; height: 44px; }
  .cx-btn { min-height: 44px; }
  .mm-theme-switch { position: relative; }
  .mm-theme-switch::after { content: ""; position: absolute; inset: -8px -4px; }
}
/* Floating Help button steps aside while the cookie notice or the intro screen is up */
body:has(#mm-cookie.show) .mm-help, html.mm-intro-on .mm-help { opacity: 0; pointer-events: none; transition: opacity .2s; }
/* Fields marked w-auto keep their natural width (the charts genre picker was stretching across the page) */
.input-mm.w-auto, select.w-auto { width: auto !important; min-width: 180px; max-width: 100%; }
/* DJ store with no banner yet: a soft mint glow instead of a flat empty box */
html body .dj-banner.mm-banner-fallback { background-image: radial-gradient(60% 120% at 15% 100%, color-mix(in srgb, var(--accent-mint) 22%, transparent), transparent 70%), radial-gradient(50% 90% at 90% 0%, color-mix(in srgb, var(--accent-mint) 12%, transparent), transparent 70%) !important; }

/* ── Motion set 3: more motion-template styles. Off for reduced motion. ── */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
@media all {
  /* Progress donut: the store-ready ring fills up from zero */
  .mm-pring { animation: mm-ring-fill 1.1s cubic-bezier(.22,1,.36,1) .25s backwards; }
  @keyframes mm-ring-fill { from { --p: 0; } }

  /* Sliding title reveal: page titles rise out of a mask on load */
  main#main h1:not(.mm-stage-title):not(.sr-only) { animation: mm-h1in .7s cubic-bezier(.22,1,.36,1) backwards; }
  @keyframes mm-h1in { from { clip-path: inset(-10% -5% 100% -5%); transform: translateY(.35em); opacity: .2; } to { clip-path: inset(-10% -5% -15% -5%); transform: none; opacity: 1; } }

  /* Snappy stretch: "DJ Releases." gives a springy stretch when you hover the hero title */
  @media (hover: hover) {
    .mm-stage-title .mm-glow { display: inline-block; transition: scale .55s cubic-bezier(.34,1.8,.64,1); transform-origin: left center; }
    .mm-stage-title:hover .mm-glow { scale: 1.06 .96; }
    /* Holographic logo: a light passes over the logo on hover */
    nav[aria-label="Main"] a[href="/"].group { position: relative; overflow: hidden; }
    nav[aria-label="Main"] a[href="/"].group::after {
      content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-120%);
      background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, color-mix(in srgb, var(--accent-mint) 35%, transparent) 56%, transparent 68%);
      mix-blend-mode: soft-light;
    }
    nav[aria-label="Main"] a[href="/"].group:hover::after { transition: transform .8s ease; transform: translateX(120%); }
    /* Orbit: social icons spin once on hover */
    .mm-social svg { transition: transform .6s cubic-bezier(.34,1.4,.64,1); }
    .mm-social:hover svg { transform: rotate(360deg) scale(1.1); }
  }

  /* Animated gallery: release cards rise in one after another the first time a grid shows */
  .mm-rgrid > * { animation: mm-cardin .55s cubic-bezier(.22,1,.36,1) backwards; }
  .mm-rgrid > :nth-child(2) { animation-delay: 40ms; } .mm-rgrid > :nth-child(3) { animation-delay: 80ms; }
  .mm-rgrid > :nth-child(4) { animation-delay: 120ms; } .mm-rgrid > :nth-child(5) { animation-delay: 160ms; }
  .mm-rgrid > :nth-child(6) { animation-delay: 200ms; } .mm-rgrid > :nth-child(n+7) { animation-delay: 240ms; }
  @keyframes mm-cardin { from { opacity: 0; transform: translateY(18px) scale(.97); } }
}
/* Studio pages wrap their content in another py-10 box: drop its top padding so the title sits under the studio bar */
.mm-studio ~ main#main > div.py-10 { padding-top: 4px; }
/* "Get featured" card on phones: title gets the full width, the button sits under it */
@media (max-width: 480px) {
  .mm-promo-sum { flex-wrap: wrap; row-gap: 10px; }
  .mm-promo-sum > span:first-child { flex: 1 1 100%; }
}

/* ── Motion set 4: attention where it helps a decision. Off for reduced motion. ── */
@property --mm-buy-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.mm-buybox { isolation: isolate; }
@media all {
  /* Buy box: a slow mint light runs round its edge so the eye finds the price and the button */
  .mm-buybox::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 2;
    background: conic-gradient(from var(--mm-buy-ang), transparent 0 72%, color-mix(in srgb, var(--accent-mint) 85%, transparent) 84%, transparent 96%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: mm-buy-orbit 7s linear infinite;
  }
  .mm-buybox:hover::after { animation-duration: 2.4s; }
  @keyframes mm-buy-orbit { to { --mm-buy-ang: 360deg; } }

  /* Section titles: a short mint bar draws in under the heading when the section arrives */
  .mm-trend-head h2, .mm-recent-head h2 { position: relative; }
  .mm-trend-head h2::after, .mm-recent-head h2::after {
    content: ""; position: absolute; left: 0; bottom: -6px; width: 28px; height: 3px; border-radius: 3px; background: var(--accent-mint);
    transform-origin: left; animation: mm-bar-in .7s cubic-bezier(.22,1,.36,1) .35s backwards;
  }
  @keyframes mm-bar-in { from { transform: scaleX(0); } }
  @supports (animation-timeline: view()) {
    .mm-trend-head h2::after, .mm-recent-head h2::after { animation-timeline: view(); animation-range: entry 10% cover 30%; animation-delay: 0s; }
  }

  /* Scroll-linked: DJ cards ease in as they enter the screen (browsers that support it) */
  @supports (animation-timeline: view()) {
    .mm-djcard { animation: mm-rise-in linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes mm-rise-in { from { opacity: .001; translate: 0 28px; scale: .98; } }
  }
}
/* Phones: pages that add their own py-10/py-12 box under main's padding started ~90px down; one gap is enough */
@media (max-width: 767px) { main#main > div.py-10, main#main > div.py-12 { padding-top: 4px; } }

/* ── DJ tiles (home row): photo, then logo + "Visit store" on hover in black and white ── */
.mm-rail--djs { grid-auto-columns: clamp(150px, 40vw, 210px); }
@media (min-width: 1024px) { .mm-rail--djs { grid-auto-columns: calc((100% - 5 * 18px) / 6); } }
.mm-djtile { display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.mm-djtile-art { position: relative; display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--bg-elevated);
  border: 1px solid var(--border); transition: transform .45s var(--ease-out, cubic-bezier(.22,1,.36,1)), box-shadow .35s, border-color .3s; isolation: isolate; }
.mm-djtile-photo { width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center; transition: filter .45s ease, transform .6s var(--ease-out, cubic-bezier(.22,1,.36,1)); }
.mm-djtile-ph { font: 800 clamp(34px, 6vw, 52px)/1 var(--font-display, inherit); color: var(--accent-mint); background: color-mix(in srgb, var(--accent-mint) 14%, var(--bg-elevated)); }
.mm-djtile-over { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px; text-align: center;
  background: rgba(8, 10, 9, .46); opacity: 0; transition: opacity .35s ease; }
.mm-djtile-logo { max-width: 80%; max-height: 62%; object-fit: contain; transform: translateY(8px) scale(.92); transition: transform .45s var(--ease-out, cubic-bezier(.22,1,.36,1));
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.45)); }
.mm-djtile-wordmark { font: 800 clamp(15px, 2.2vw, 20px)/1.1 var(--font-display, inherit); color: #fff; letter-spacing: -.01em; word-break: break-word; }
.mm-djtile-visit { font: 600 11px/1 var(--font-body, inherit); letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.1); transform: translateY(8px); opacity: 0; transition: transform .45s var(--ease-out, cubic-bezier(.22,1,.36,1)) .05s, opacity .35s ease .05s; }
.mm-djtile-check { position: absolute; top: 8px; right: 8px; z-index: 3; color: var(--accent-mint); background: transparent; display: grid; place-items: center; padding: 0; }
.mm-djtile-name { font: 700 15px/1.25 var(--font-display, inherit); color: var(--text-primary); text-align: center; overflow-wrap: break-word; word-break: normal; }
.mm-djtile-sub { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: -6px; }
@media (hover: hover) {
  .mm-djtile:hover .mm-djtile-art, .mm-djtile:focus-visible .mm-djtile-art { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent-mint) 55%, var(--border)); box-shadow: 0 22px 44px -22px color-mix(in srgb, var(--accent-mint) 60%, transparent); }
  .mm-djtile:hover .mm-djtile-photo, .mm-djtile:focus-visible .mm-djtile-photo,
  .mm-djcard:hover .mm-djcard-photo, .mm-djcard:focus-visible .mm-djcard-photo { filter: grayscale(1) contrast(1.05); transform: scale(1.06); }
}
.mm-djtile:hover .mm-djtile-over, .mm-djtile:focus-visible .mm-djtile-over, .mm-djtile:active .mm-djtile-over,
.mm-djcard:hover .mm-djtile-over, .mm-djcard:focus-visible .mm-djtile-over, .mm-djcard:active .mm-djtile-over { opacity: 1; }
.mm-djtile:hover .mm-djtile-logo, .mm-djtile:focus-visible .mm-djtile-logo, .mm-djtile:active .mm-djtile-logo,
.mm-djtile:hover .mm-djtile-visit, .mm-djtile:focus-visible .mm-djtile-visit, .mm-djtile:active .mm-djtile-visit,
.mm-djcard:hover .mm-djtile-logo, .mm-djcard:focus-visible .mm-djtile-logo, .mm-djcard:active .mm-djtile-logo,
.mm-djcard:hover .mm-djtile-visit, .mm-djcard:focus-visible .mm-djtile-visit, .mm-djcard:active .mm-djtile-visit { transform: none; opacity: 1; }
.mm-djtile:active .mm-djtile-photo, .mm-djcard:active .mm-djcard-photo { filter: grayscale(1); }
.mm-djtile:focus-visible { outline: none; }
.mm-djtile:focus-visible .mm-djtile-art { outline: 3px solid var(--accent-mint); outline-offset: 3px; }
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { .mm-djtile-art, .mm-djtile-photo, .mm-djtile-logo, .mm-djtile-visit, .mm-djtile-over { transition: none; } }

/* ══ Netflix-style home: billboard, Top 10, hover cards, quick view (mint palette, light + dark) ══ */
.mm-bb { position: relative; margin: 0 calc(50% - 50vw) 0; overflow: hidden; background: #0a0d0b; color: #fff; isolation: isolate; min-height: clamp(460px, 66vh, 640px); }
.mm-bb-brand { position: absolute; z-index: 5; top: 14px; left: max(16px, calc(50vw - 600px + 16px)); margin: 0; font: 600 12px/1 var(--font-body, inherit); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.mm-bb-brand span { color: var(--accent-mint, #10B981); font-weight: 800; }
.mm-bb-track { position: relative; min-height: inherit; display: grid; }
.mm-bb-slide { grid-area: 1 / 1; position: relative; min-height: inherit; display: flex; align-items: flex-end; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.mm-bb-slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }
.mm-bb-bg { position: absolute; inset: -6%; z-index: 0; background: var(--bb) center / cover no-repeat, #0f1512; filter: blur(34px) saturate(1.25) brightness(.62); transform: scale(1.08); }
.mm-bb-slide.is-on .mm-bb-bg { animation: mm-bb-drift 14s ease-in-out infinite alternate; }
@keyframes mm-bb-drift { to { transform: scale(1.2) translate(-2%, 1.5%); } }
.mm-bb-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,10,9,.86) 0%, rgba(8,10,9,.55) 45%, rgba(8,10,9,.15) 100%), linear-gradient(0deg, var(--bg-base) 0%, rgba(0,0,0,0) 28%); }
.mm-bb-in { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 72px 16px 84px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center; }
.mm-bb-kicker { margin: 0 0 10px; font: 600 13px/1 var(--font-body, inherit); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.mm-bb-kicker b { color: #04130D; background: var(--accent-mint, #10B981); padding: 4px 9px; border-radius: 999px; letter-spacing: .04em; margin-right: 6px; }
.mm-bb-title { margin: 0 0 12px; font: 800 clamp(34px, 6vw, 68px)/1.02 var(--font-display, inherit); letter-spacing: -.03em; text-wrap: balance; }
.mm-bb-title a { color: #fff; text-decoration: none; }
.mm-bb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 14px; font-size: 15px; color: rgba(255,255,255,.85); }
.mm-bb-meta a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.mm-bb-meta span:not(.mm-bb-tag)::before { content: "·"; margin-right: 14px; opacity: .6; }
.mm-bb-tag { font: 700 11px/1 var(--font-mono, monospace); letter-spacing: .08em; padding: 4px 8px; border-radius: 6px; border: 1px solid rgba(255,255,255,.45); }
.mm-bb-desc { margin: 0 0 22px; max-width: 54ch; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.82); }
.mm-bb-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.mm-bb-buy, .mm-bb-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 700 15px/1 var(--font-body, inherit); cursor: pointer; text-decoration: none; transition: transform .25s var(--ease-spring, cubic-bezier(.34,1.56,.64,1)), background .2s, box-shadow .25s; }
.mm-bb-buy { background: var(--accent-mint, #10B981); color: #04130D; border: 0; box-shadow: 0 10px 30px -10px var(--accent-mint, #10B981); }
.mm-bb-ghost { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.mm-bb-buy:hover, .mm-bb-ghost:hover { transform: translateY(-2px); }
.mm-bb-ghost:hover { background: rgba(255,255,255,.26); }
.mm-bb-buy:active, .mm-bb-ghost:active { transform: scale(.97); }
.mm-bb a:focus-visible, .mm-bb button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mm-bb-art { position: relative; justify-self: center; width: min(100%, 360px); aspect-ratio: 1; display: block; border-radius: 14px; }
.mm-bb-art > img, .mm-bb-art > .mm-rcard-ph { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: grid; place-items: center; box-shadow: 0 30px 70px -20px rgba(0,0,0,.7); }
.mm-bb-art .mm-vinyl { opacity: 1; z-index: 1; top: 4%; right: -50%; width: 92%; transform: rotate(0); }
.mm-bb-slide.is-on .mm-bb-art .mm-vinyl { animation: mm-bb-spin 7s linear infinite; }
@keyframes mm-bb-spin { to { transform: rotate(360deg); } }
.mm-bb-slide.is-on .mm-bb-copy > * { animation: mm-blurin .8s cubic-bezier(.22,1,.36,1) backwards; }
.mm-bb-slide.is-on .mm-bb-copy > :nth-child(2) { animation-delay: .08s; } .mm-bb-slide.is-on .mm-bb-copy > :nth-child(3) { animation-delay: .16s; }
.mm-bb-slide.is-on .mm-bb-copy > :nth-child(4) { animation-delay: .24s; } .mm-bb-slide.is-on .mm-bb-copy > :nth-child(5) { animation-delay: .32s; }
.mm-bb-slide.is-on .mm-bb-art > img, .mm-bb-slide.is-on .mm-bb-art > .mm-rcard-ph { animation: mm-bb-art-in .9s cubic-bezier(.22,1,.36,1) backwards; }
@keyframes mm-bb-art-in { from { opacity: 0; transform: translateX(40px) rotate(3deg) scale(.94); } }
@keyframes mm-blurin { from { opacity: 0; transform: translateY(14px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.mm-bb-nav { position: absolute; z-index: 6; left: 0; right: 0; bottom: 26px; max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 12px; }
.mm-bb-dots { display: flex; gap: 8px; }
.mm-bb-dots button { position: relative; width: 36px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.mm-bb-dots button i { position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.35); overflow: hidden; }
.mm-bb-dots button i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.mm-bb-dots button[aria-current] i::after { transform: scaleX(1); }
.mm-bb.is-timing .mm-bb-dots button[aria-current] i::after { transform: scaleX(0); animation: mm-bb-fill 7s linear forwards; }
@keyframes mm-bb-fill { to { transform: scaleX(1); } }
.mm-bb-pause { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.25); color: #fff; display: grid; place-items: center; cursor: pointer; }
.mm-bb-pause .i-play, .mm-bb.is-paused .mm-bb-pause .i-pause { display: none; } .mm-bb.is-paused .mm-bb-pause .i-play { display: block; }
.mm-bb-search { position: relative; z-index: 7; display: flex; align-items: center; gap: 10px; max-width: 640px; margin: -26px auto 28px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--bg-surface); border: 1px solid var(--border-strong, var(--border)); box-shadow: 0 16px 40px -18px rgba(0,0,0,.5); }
.mm-bb-search svg { flex: none; color: var(--text-muted); }
.mm-bb-search input { flex: 1; min-width: 0; height: 44px; background: transparent; border: 0; outline: 0; color: var(--text-primary); font-size: 16px; }
.mm-bb-search:focus-within { border-color: var(--accent-mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-mint) 20%, transparent); }
@media (max-width: 760px) {
  .mm-bb { min-height: 0; }
  .mm-bb-in { grid-template-columns: 1fr; gap: 18px; padding: 56px 16px 76px; }
  .mm-bb-art { order: -1; width: min(62vw, 240px); justify-self: start; }
  .mm-bb-art .mm-vinyl { right: -50%; }
  .mm-bb-title { font-size: clamp(30px, 9vw, 40px); }
  .mm-bb-desc { display: none; }
  .mm-bb-buy, .mm-bb-ghost { padding: 0 18px; min-height: 46px; }
  .mm-bb-search { margin: -22px 16px 22px; }
}
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { .mm-bb-slide, .mm-bb-slide.is-on { transition: opacity .2s; } .mm-bb-slide.is-on .mm-bb-bg { animation: none; } }

/* Top 10: big outlined numbers behind the covers */
.mm-top10 { max-width: 1200px; margin: 18px auto 12px; padding: 0 16px; }
.mm-top10-list { list-style: none; margin: 0; padding: 14px 70px 18px 4px; display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; }
.mm-top10-list::-webkit-scrollbar { display: none; }
.mm-top10-item { position: relative; flex: none; display: flex; align-items: flex-end; scroll-snap-align: start; padding-left: clamp(46px, 8vw, 74px); }
.mm-top10-num { position: absolute; left: 0; bottom: 36px; font: 900 clamp(110px, 17vw, 170px)/.8 var(--font-display, inherit); letter-spacing: -.08em; color: transparent;
  -webkit-text-stroke: 3px color-mix(in srgb, var(--accent-mint) 80%, var(--text-muted)); paint-order: stroke; pointer-events: none; transition: transform .4s var(--ease-out, ease), -webkit-text-stroke-color .3s; }
.mm-top10-item:nth-child(10) .mm-top10-num { left: -10px; letter-spacing: -.12em; }
.mm-top10-card { position: relative; z-index: 1; display: block; width: clamp(112px, 22vw, 168px); text-decoration: none; color: inherit; transition: transform .4s var(--ease-out, ease); }
.mm-top10-art { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg-elevated); border: 1px solid var(--border); box-shadow: 0 14px 30px -16px rgba(0,0,0,.6); }
.mm-top10-art img, .mm-top10-art .mm-rcard-ph { width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center; }
.mm-top10-meta { display: block; margin-top: 8px; }
.mm-top10-meta b { display: block; font: 700 14px/1.25 var(--font-display, inherit); color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-top10-meta small { display: block; font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) { .mm-top10-card:hover { transform: translateY(-6px) scale(1.04); } .mm-top10-item:hover .mm-top10-num { transform: translateX(-4px); -webkit-text-stroke-color: var(--accent-mint); } }
.mm-top10-card:focus-visible { outline: 3px solid var(--accent-mint); outline-offset: 3px; border-radius: 12px; }

/* Release cards: lift on hover (desktop) and a small "i" for quick view */
.mm-rail { padding-block: 14px 18px; margin-block: -10px 0; }
@media (hover: hover) { .mm-rail .mm-rcard { transition: transform .35s var(--ease-out, ease), box-shadow .3s; } .mm-rail .mm-rcard:hover { transform: translateY(-4px) scale(1.035); z-index: 5; } }
.mm-rcard-info { position: absolute; top: 8px; right: 8px; z-index: 6; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(8,10,9,.62); color: #fff;
  display: grid; place-items: center; cursor: pointer; opacity: 0; transform: scale(.85); transition: opacity .2s, transform .25s var(--ease-spring, cubic-bezier(.34,1.56,.64,1)); backdrop-filter: blur(6px); }
.mm-rcard:hover .mm-rcard-info, .mm-rcard-info:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .mm-rcard-info { opacity: 1; transform: none; width: 36px; height: 36px; } }
.mm-rcard-info:focus-visible { outline: 3px solid var(--accent-mint); outline-offset: 2px; }
@media (pointer: coarse) { .mm-rcard-info::after { content: ""; position: absolute; inset: -4px; } }

/* Quick view panel */
.mm-qv { padding: 0; border: 0; background: transparent; max-width: min(760px, calc(100vw - 24px)); width: 100%; color: var(--text-primary); overflow: visible; }
.mm-qv::backdrop { background: rgba(4,6,5,.72); backdrop-filter: blur(6px); }
.mm-qv[open] { animation: mm-qv-in .4s cubic-bezier(.22,1,.36,1); }
@keyframes mm-qv-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.mm-qv-box { position: relative; display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 24px; padding: 22px; border-radius: 22px; background: var(--bg-surface); border: 1px solid var(--border); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
.mm-qv-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg-elevated); color: var(--text-primary); font-size: 26px; line-height: 1; cursor: pointer; }
.mm-qv-art { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--bg-elevated); display: grid; place-items: center; }
.mm-qv-art img { width: 100%; height: 100%; object-fit: cover; } .mm-qv-ph { font: 800 64px/1 var(--font-display, inherit); color: var(--accent-mint); }
.mm-qv-kind { margin: 4px 0 6px; font: 600 12px/1 var(--font-body, inherit); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-mint); }
.mm-qv-title { margin: 0 44px 8px 0; font: 800 clamp(24px, 4vw, 32px)/1.1 var(--font-display, inherit); letter-spacing: -.02em; }
.mm-qv-dj { margin: 0 0 6px; } .mm-qv-dj a { color: var(--text-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.mm-qv-meta, .mm-qv-desc { margin: 0 0 10px; color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.mm-qv-price { margin: 6px 0 16px; font: 800 28px/1 var(--font-mono, monospace); color: var(--accent-mint); }
.mm-qv-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.mm-qv-buy, .mm-qv-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; font: 700 15px/1 var(--font-body, inherit); cursor: pointer; text-decoration: none; }
.mm-qv-buy { background: var(--accent-mint); color: var(--on-accent, #04130D); border: 0; }
.mm-qv-ghost { background: transparent; color: var(--text-primary); border: 1px solid var(--border-strong, var(--border)); }
html.mm-qv-open { overflow: hidden; }
@media (max-width: 600px) { .mm-qv-box { grid-template-columns: 1fr; padding: 16px; gap: 14px; max-height: calc(100dvh - 24px); overflow: auto; } .mm-qv-art { width: 46%; justify-self: start; } .mm-qv-title { margin-right: 36px; } }

/* ══ Netflix look on the other pages: releases, track/album, DJ store, studio + admin ══ */
/* Releases page: a deep banner with a soft fade into the rows, rows get the same hover lift as home */
.mm-stage-head { border-radius: 0 0 22px 22px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent-mint) 14%, #0a0d0b) 0%, var(--bg-base) 100%); }
.mm-rows .mm-shelf { margin-top: 6px; }
.mm-row-title { font-weight: 800; letter-spacing: -.02em; }
/* Track and album pages: the cover blooms behind the page like a film poster */
.mm-ambient { height: 640px; }
.mm-ambient::before { filter: blur(40px) saturate(1.3) brightness(.7); opacity: .55; transform: scale(1.1); animation: mm-bb-drift 16s ease-in-out infinite alternate; }
[data-theme="light"] .mm-ambient::before { opacity: .28; filter: blur(46px) saturate(1.2) brightness(1.05); }
.mm-pdp-info h1 { font-size: clamp(30px, 5.2vw, 52px); line-height: 1.03; letter-spacing: -.03em; text-wrap: balance; overflow-wrap: break-word; word-break: normal; }
.mm-pdp-art > .aspect-square { box-shadow: 0 34px 80px -28px rgba(0,0,0,.75); transition: transform .5s var(--ease-out, ease); }
@media (hover: hover) { .mm-pdp-art > .aspect-square:hover { transform: scale(1.02); } }
.mm-pdp-info > .bg-\[var\(--bg-surface\)\], .mm-pdp-preview > div { backdrop-filter: blur(10px); background: color-mix(in srgb, var(--bg-surface) 82%, transparent); }
/* DJ store: the banner fills the width and fades into the page */
.dj-banner { border-radius: 0 0 22px 22px; border-color: transparent; box-shadow: 0 30px 70px -40px rgba(0,0,0,.7); }
/* Studio, dashboards and admin: dark cards that lift, mint tab underline, calmer tables */
main .card-mm, main [class*="rounded-[12px]"][class*="border"], main [class*="rounded-[16px]"][class*="border"] { transition: transform .3s var(--ease-out, ease), box-shadow .3s, border-color .3s; }
@media (hover: hover) {
  main a.card-mm:hover, main .card-mm[data-lift]:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.6); border-color: color-mix(in srgb, var(--accent-mint) 45%, var(--border)); }
}
.mm-apphead { position: relative; padding: 22px 20px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent-mint) 16%, transparent) 0%, transparent 60%), var(--bg-surface); border: 1px solid var(--border); }
.mm-tabs-scroll button { position: relative; }
.mm-tabs-scroll button[class*="border-b-2"] { animation: mm-blurin .45s cubic-bezier(.22,1,.36,1) backwards; }
@media (max-width: 640px) { .mm-apphead { padding: 16px 14px; border-radius: 14px; } .mm-ambient { height: 480px; } }
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { .mm-ambient::before { animation: none; } }

/* Pro plans: both cards the same height, the choose buttons on one line at the bottom */
.mm-plans { align-items: stretch; }
.mm-plans > section { display: flex; flex-direction: column; height: 100%; }
.mm-plans > section > p:nth-of-type(3) { flex: 1 1 auto; }
.mm-plans > section > :is(button, a) { margin-top: auto; }


/* Home: highlighted tagline "Home of DJ Releases." — a mint marker sweeps under the last line */
.mm-tagmark { position: relative; display: inline-block; padding: 0 .08em; }
.mm-tagmark::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .2em; border-radius: 999px; z-index: -1;
  background: linear-gradient(90deg, var(--accent-mint), color-mix(in srgb, var(--accent-mint) 20%, transparent));
  transform: scaleX(0); transform-origin: left; animation: mm-mark .9s cubic-bezier(.22,1,.36,1) .7s forwards; }
@keyframes mm-mark { to { transform: scaleX(1); } }
.mm-stage-title { text-shadow: 0 0 40px color-mix(in srgb, var(--accent-mint) 28%, transparent); }
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { .mm-tagmark::after { animation: none; transform: scaleX(1); } }

/* Home Top 10 / Trending: full-card cover with simple zoom on hover (vinyl disc removed) */
.mm-top10-art { position: relative; isolation: isolate; }
.mm-top10-art img, .mm-top10-art .mm-rcard-ph { position: relative; z-index: 2; transition: transform .5s var(--mm-glide, ease); }
@media (hover: hover) {
  .mm-top10-item:hover { z-index: 5; }
  .mm-top10-card:hover .mm-top10-art img, .mm-top10-card:hover .mm-top10-art .mm-rcard-ph { transform: scale(1.05); }
}

/* Home billboard tagline "MixMint Home of DJ releases": a mint pill so it reads as the brand line */
.mm-bb-brand { padding: 7px 12px; border-radius: 999px; color: #fff; font-weight: 700; background: color-mix(in srgb, var(--accent-mint, #10B981) 22%, rgba(0,0,0,.45)); border: 1px solid color-mix(in srgb, var(--accent-mint, #10B981) 60%, transparent); box-shadow: 0 0 24px -4px color-mix(in srgb, var(--accent-mint, #10B981) 55%, transparent); backdrop-filter: blur(6px); }

/* ── Electric border on the cover of track / album pages (MixMint mint) ── */
.mm-pdp-art > .aspect-square { --mm-el: var(--accent-mint, #10B981); border-radius: 18px; }
.mm-pdp-art > .aspect-square::before, .mm-pdp-art > .aspect-square::after { content: ""; position: absolute; inset: -3px; border-radius: 20px; pointer-events: none; z-index: 3; }
.mm-pdp-art > .aspect-square::before { border: 2px solid color-mix(in srgb, var(--mm-el) 70%, white); box-shadow: 0 0 12px -2px var(--mm-el); }
.mm-pdp-art > .aspect-square::after { border: 2px solid color-mix(in srgb, var(--mm-el) 55%, transparent); filter: blur(5px); box-shadow: 0 0 46px -6px color-mix(in srgb, var(--mm-el) 60%, transparent);
  background: linear-gradient(105deg, transparent 38%, color-mix(in srgb, var(--mm-el) 28%, rgba(255,255,255,.18)) 50%, transparent 62%) 0 0 / 300% 100% no-repeat;
  animation: mm-el-pulse 3.2s ease-in-out infinite, mm-el-sweep 4.5s linear infinite; }
@keyframes mm-el-sweep { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes mm-el-pulse { 50% { opacity: .55; } }
@media (max-width: 1023px) { .mm-pdp-art > .aspect-square::before { filter: none; } }  /* phones: steady glow border, no heavy filter */
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { .mm-pdp-art > .aspect-square::before { filter: none; } .mm-pdp-art > .aspect-square::after { animation: none; background: none; } }

/* ── Glass sweep on every card: lift, brighter edge, a soft light sweeps across on hover ── */
.mm-rcard, .mm-top10-card, .mm-bundle-card, .mm-dj-tile, .dj-card { --mm-sheen: color-mix(in srgb, var(--accent-mint, #10B981) 14%, white 4%); }
.mm-rcard-art { transition: box-shadow .5s, border-color .5s; border: 1px solid color-mix(in srgb, var(--text-primary) 10%, transparent); }
.mm-rcard-art::after { content: ""; position: absolute; top: -10%; left: -120%; width: 60%; height: 130%; z-index: 4; pointer-events: none;
  background: linear-gradient(105deg, transparent 0, var(--mm-sheen, rgba(255,255,255,.12)) 50%, transparent 100%); transform: rotate(-12deg); transition: left .8s var(--ease-out, ease); }
@media (hover: hover) {
  .mm-rcard:hover .mm-rcard-art { border-color: color-mix(in srgb, var(--accent-mint, #10B981) 55%, transparent); box-shadow: 0 14px 40px -10px color-mix(in srgb, var(--accent-mint, #10B981) 35%, rgba(0,0,0,.7)); }
  .mm-rcard:hover .mm-rcard-art::after { left: 170%; }
  .mm-top10-card:hover .mm-top10-art img, .mm-top10-card:hover .mm-top10-art .mm-rcard-ph { border-color: color-mix(in srgb, var(--accent-mint, #10B981) 60%, transparent); }
}
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { .mm-rcard-art::after { display: none; } }

/* Billboard cover follows the mouse: 3D tilt, a moving glare and a light edge (solid cover, no see-through glass) */
.mm-bb-art { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 30%; transform-style: preserve-3d; transition: transform .45s var(--ease-out, ease); will-change: transform; }
.mm-bb-art.is-tilt { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) scale(1.025); transition: transform .08s linear; }
.mm-bb-art::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: 14px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--gx) var(--gy), rgba(255,255,255,.22), transparent 55%);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.55), inset -1px -1px 0 rgba(255,255,255,.12); }
.mm-bb-art.is-tilt::after { opacity: 1; }
.mm-bb-art.is-tilt > img, .mm-bb-art.is-tilt > .mm-rcard-ph { box-shadow: 24px 26px 44px -14px rgba(0,0,0,.6); }
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { .mm-bb-art.is-tilt { transform: none; } .mm-bb-art::after { display: none; } } /* touches never add is-tilt (billboard.js), so no hover media query is needed */

/* Dark theme: same soft gradient fade as light — the cover's colours and a mint glow melt into the page below the billboard */
:root[data-theme="dark"] .mm-bb-bg { filter: blur(34px) saturate(1.45) brightness(.8); }
:root[data-theme="dark"] .mm-bb-slide::after {
  background:
    linear-gradient(90deg, rgba(8,10,9,.8) 0%, rgba(8,10,9,.42) 45%, rgba(8,10,9,.05) 100%),
    radial-gradient(90% 55% at 50% 100%, color-mix(in srgb, var(--accent-mint, #10B981) 26%, transparent), transparent 70%),
    linear-gradient(0deg, var(--bg-base) 0%, color-mix(in srgb, var(--bg-base) 70%, transparent) 14%, transparent 52%);
}
:root[data-theme="dark"] .mm-bb { background: var(--bg-base); }

/* ── Glass-card hover on ALL cards (DJ cards/tiles, plans, link cards, panels): lift, brighter edge, deeper shadow,
      and a diagonal light sweep across the whole card in the MixMint mint tone ── */
:is(.mm-djcard, .mm-djtile, .mm-wn-card, .card-mm, .mm-buybox, .mm-plans > section, .mm-rcard,
    a[class~="bg-[var(--bg-surface)]"][class*="rounded-["], article[class~="bg-[var(--bg-surface)]"][class*="rounded-["]) {
  background-image: linear-gradient(105deg, transparent 42%, color-mix(in srgb, var(--accent-mint, #10B981) 13%, rgba(255,255,255,.07)) 50%, transparent 58%);
  background-size: 320% 100%; background-position: 130% 0; background-repeat: no-repeat;
  transition: background-position .9s var(--ease-out, ease), translate .45s var(--ease-out, ease), scale .45s var(--ease-out, ease), box-shadow .45s, border-color .45s, filter .45s;
}
@media (hover: hover) {
  :is(.mm-djcard, .mm-djtile, .mm-wn-card, .card-mm, .mm-plans > section, .mm-rcard,
      a[class~="bg-[var(--bg-surface)]"][class*="rounded-["], article[class~="bg-[var(--bg-surface)]"][class*="rounded-["]):hover {
    background-position: -30% 0; translate: 0 -4px; scale: 1.012;
    border-color: color-mix(in srgb, var(--accent-mint, #10B981) 50%, transparent);
    box-shadow: 0 18px 44px -14px color-mix(in srgb, var(--accent-mint, #10B981) 30%, rgba(0,0,0,.65));
  }
  :root[data-theme="dark"] :is(.mm-djcard, .mm-djtile, .mm-wn-card, .card-mm, .mm-plans > section, .mm-rcard):hover { filter: brightness(1.08); }
}
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ {
  :is(.mm-djcard, .mm-djtile, .mm-wn-card, .card-mm, .mm-buybox, .mm-plans > section, .mm-rcard, a[class~="bg-[var(--bg-surface)]"], article[class~="bg-[var(--bg-surface)]"]) { transition: none; background-image: none; translate: none; scale: none; }
}

/* ── Light theme: buttons with life (gradient, soft coloured shadow, lift + shine on hover, press) ── */
:root[data-theme="light"] .btn-mint, :root[data-theme="light"] .btn-amber { position: relative; overflow: hidden; isolation: isolate; border: 0; }
:root[data-theme="light"] .btn-mint {
  background: linear-gradient(180deg, #0a8a62 0%, #006B4A 100%); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 8px 20px -8px rgba(0,107,74,.65), 0 2px 4px rgba(0,107,74,.25);
}
:root[data-theme="light"] .btn-amber {
  background: linear-gradient(180deg, #b27300 0%, #8F5B00 100%); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 8px 20px -8px rgba(143,91,0,.6);
}
:root[data-theme="light"] .btn-mint::after, :root[data-theme="light"] .btn-amber::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transition: transform .7s var(--ease-out, ease);
}
:root[data-theme="light"] .btn-ghost {
  background: linear-gradient(180deg, rgba(0,107,74,.07), rgba(0,107,74,.02)); border: 1.5px solid rgba(0,107,74,.55); color: #006B4A;
  box-shadow: 0 6px 16px -10px rgba(0,107,74,.5);
}
@media (hover: hover) {
  :root[data-theme="light"] .btn-mint:hover, :root[data-theme="light"] .btn-amber:hover { translate: 0 -2px; filter: saturate(1.1) brightness(1.05); }
  :root[data-theme="light"] .btn-mint:hover { box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 14px 28px -8px rgba(0,107,74,.75), 0 0 0 4px rgba(0,107,74,.12); }
  :root[data-theme="light"] .btn-amber:hover { box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 14px 28px -8px rgba(143,91,0,.7), 0 0 0 4px rgba(143,91,0,.12); }
  :root[data-theme="light"] .btn-mint:hover::after, :root[data-theme="light"] .btn-amber:hover::after { transform: translateX(120%) skewX(-20deg); }
  :root[data-theme="light"] .btn-ghost:hover { background: linear-gradient(180deg, rgba(0,107,74,.14), rgba(0,107,74,.06)); border-color: #006B4A; translate: 0 -2px; box-shadow: 0 12px 24px -10px rgba(0,107,74,.55); }
}
:root[data-theme="light"] .btn-mint:active, :root[data-theme="light"] .btn-amber:active, :root[data-theme="light"] .btn-ghost:active { translate: 0 0; filter: brightness(.96); }
:root[data-theme="light"] .btn-mint:focus-visible, :root[data-theme="light"] .btn-ghost:focus-visible { outline: 3px solid rgba(0,107,74,.4); outline-offset: 2px; }
:root[data-theme="light"] .btn-mm { transition: translate .2s var(--ease-out, ease), box-shadow .25s, filter .2s, background .2s, border-color .2s, transform .15s; }
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { :root[data-theme="light"] .btn-mint::after, :root[data-theme="light"] .btn-amber::after { display: none; } :root[data-theme="light"] .btn-mm { transition: none; } }

/* ════ Life layer (balanced) — see static/js/life.js ════ */
/* 1. Cards rise in one after another */
.mm-life :is(.mm-rcard, .mm-djcard, .mm-djtile, .mm-top10-item):not(.mm-in) { opacity: 0; }
.mm-life :is(.mm-rcard, .mm-djcard, .mm-djtile, .mm-top10-item).mm-in { animation: mm-rise .65s var(--ease-out, cubic-bezier(.22,1,.36,1)) var(--d, 0ms) backwards; }
@keyframes mm-rise { from { opacity: 0; translate: 0 24px; scale: .97; } }
/* 2. Cards tilt toward the mouse */
.mm-rcard-art { transition: transform .35s var(--ease-out, ease), box-shadow .5s, border-color .5s; }
.mm-rcard-art.is-tilt { transform: perspective(700px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .08s linear, box-shadow .5s, border-color .5s; }
/* 4. Buttons: magnetic pull + ripple */
.btn-mint:not([class*="absolute"]):not([class*="fixed"]):not([class*="sticky"]), .btn-ghost:not([class*="absolute"]):not([class*="fixed"]):not([class*="sticky"]),
.btn-amber:not([class*="absolute"]):not([class*="fixed"]):not([class*="sticky"]) { position: relative; overflow: hidden; left: var(--mx, 0); top: var(--my, 0); }
.mm-ripple { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(255,255,255,.42); scale: 0; opacity: .9; animation: mm-rip .6s ease-out forwards; z-index: 0; }
.btn-ghost .mm-ripple { background: color-mix(in srgb, var(--accent-mint, #10B981) 28%, transparent); }
@keyframes mm-rip { to { scale: 1; opacity: 0; } }
/* 5. Page glow in the cover's colours */
html.has-cover-glow body { background-image: radial-gradient(70% 520px at 22% 0%, rgb(var(--cover-glow) / .24), transparent 72%), radial-gradient(60% 420px at 85% 8%, rgb(var(--cover-glow) / .12), transparent 70%); background-repeat: no-repeat; }
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { .mm-life :is(.mm-rcard, .mm-djcard, .mm-djtile, .mm-top10-item):not(.mm-in) { opacity: 1; } .mm-ripple { display: none; } .mm-rcard-art.is-tilt { transform: none; } }

/* Nav links: a mint underline slides in (both themes) */
nav[aria-label="Main"] a[class*="text-[var(--text-muted)]"][class*="hover:text-"] { background: linear-gradient(var(--accent-mint, #10B981), var(--accent-mint, #10B981)) 0 100% / 0 2px no-repeat; padding-bottom: 4px; transition: background-size .35s var(--ease-out, ease), color .2s; }
nav[aria-label="Main"] a[class*="text-[var(--text-muted)]"][class*="hover:text-"]:is(:hover, :focus-visible, [aria-current="page"]) { background-size: 100% 2px; }

/* ── Light theme: more life everywhere ── */
:root[data-theme="light"] :is(.mm-rcard-art, .mm-djcard, .mm-djtile, .mm-wn-card, .card-mm) { box-shadow: 0 12px 28px -16px rgba(0,107,74,.38), 0 2px 6px rgba(26,20,16,.06); }
:root[data-theme="light"] .mm-badge { background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,238,226,.92)); color: #1A1410; box-shadow: 0 4px 10px -4px rgba(26,20,16,.35), 0 0 0 1px rgba(26,20,16,.06); }
:root[data-theme="light"] .mm-badge-hot { background: linear-gradient(180deg, #e23a55, #CC1F3A); color: #fff; box-shadow: 0 6px 14px -4px rgba(204,31,58,.55); animation: mm-badge-glow 2.6s ease-in-out infinite; }
:root[data-theme="light"] .mm-badge-pro { background: linear-gradient(180deg, #b27300, #8F5B00); color: #fff; box-shadow: 0 6px 14px -4px rgba(143,91,0,.55); }
@keyframes mm-badge-glow { 50% { box-shadow: 0 6px 18px -2px rgba(204,31,58,.75); } }
:root[data-theme="light"] nav[aria-label="Main"] { background-color: rgba(253,250,244,.78) !important; backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5); box-shadow: 0 8px 26px -18px rgba(0,107,74,.45); }
:root[data-theme="light"] .mm-search-pill { transition: box-shadow .25s, border-color .25s, translate .25s; }
:root[data-theme="light"] .mm-search-pill:hover, :root[data-theme="light"] .mm-search-pill:focus-visible { border-color: rgba(0,107,74,.55); box-shadow: 0 0 0 4px rgba(0,107,74,.12), 0 10px 24px -12px rgba(0,107,74,.5); translate: 0 -1px; }
:root[data-theme="light"] :is(.input-mm, input[type="text"], input[type="email"], input[type="search"], input[type="number"], input[type="password"], textarea, select):focus { border-color: #006B4A; box-shadow: 0 0 0 4px rgba(0,107,74,.14), 0 8px 20px -12px rgba(0,107,74,.5); outline: none; transition: box-shadow .25s, border-color .25s; }
.mm-theme-switch, .mm-theme-switch * { transition-timing-function: cubic-bezier(.34, 1.56, .64, 1) !important; }
.mm-theme-switch:active { scale: .92; }

/* Failed cover images: a clean letter tile instead of the broken-image icon */
.mm-img-failed img { display: none !important; }
.mm-img-failed::before { content: attr(data-letter); position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; border-radius: inherit;
  font: 800 clamp(34px, 9vw, 64px)/1 var(--font-display, inherit); color: #fff; background: linear-gradient(135deg, var(--accent-mint, #10B981), #0b3d2c); }
.mm-pdp-art.mm-img-failed::before, .mm-bb-art.mm-img-failed::before { inset: 0; }
/* Top 10: nothing shows through a cover that is still loading */
.mm-top10-art img { background: var(--bg-elevated); min-height: 100%; }
.mm-top10-art.mm-img-failed::before { border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 14px 30px -16px rgba(0,0,0,.6); }
.mm-rcard-art.mm-img-failed::before { border-radius: 12px; }

/* ── Accessibility, phones and loading feel ── */
/* Calm motion switch: stops every animation and transition */
html.mm-calm *, html.mm-calm *::before, html.mm-calm *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.mm-calm .mm-life :is(.mm-rcard, .mm-djcard, .mm-djtile, .mm-top10-item):not(.mm-in) { opacity: 1; }
/* Clear focus rings in both themes */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--accent-mint, #10B981); outline-offset: 3px; border-radius: 8px; }
:root[data-theme="light"] { --text-muted: #4D4234; }
/* Bigger tap targets on touch screens */
@media (pointer: coarse) {
  .btn-mm, .mm-chip, .mm-gchip, .mm-rcard-play, nav[aria-label="Main"] a, footer a, footer button { min-height: 44px; }
  .mm-rcard-play { min-width: 44px; }
  footer a, footer button { display: inline-flex; align-items: center; }
}
/* Skeleton shimmer behind cover images while they load (the image sits on top once ready) */
.mm-rcard-art::before, .mm-top10-art::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--text-primary) 9%, transparent) 50%, transparent 70%) 0 0 / 300% 100%; animation: mm-skel 1.4s linear infinite; }
@keyframes mm-skel { to { background-position: -200% 0; } }
.mm-rcard-art.mm-img-failed::before, .mm-top10-art.mm-img-failed::before { animation: none; background: linear-gradient(135deg, var(--accent-mint, #10B981), #0b3d2c); z-index: 2; }

/* "Someone just bought" toast */
.mm-live-toast { position: fixed; left: 16px; bottom: 18px; z-index: 58; display: flex; gap: 10px; align-items: center; max-width: min(320px, calc(100vw - 32px)); padding: 11px 14px; border-radius: 14px; text-decoration: none; color: var(--text-primary);
  background: var(--bg-surface); border: 1px solid color-mix(in srgb, var(--accent-mint, #10B981) 55%, transparent); box-shadow: 0 18px 40px -14px rgba(0,0,0,.55); font-size: 13px; line-height: 1.35;
  translate: 0 140%; transition: translate .55s cubic-bezier(.34,1.56,.64,1); }
.mm-live-toast.on { translate: 0 0; }
.mm-live-toast b { font-weight: 700; }
.mm-live-t { color: var(--text-muted); display: inline-block; max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.mm-live-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--accent-mint, #10B981); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-mint, #10B981) 60%, transparent); animation: mm-live-pulse 1.8s ease-out infinite; }
@keyframes mm-live-pulse { to { box-shadow: 0 0 0 10px transparent; } }
body.has-tabbar .mm-live-toast, body:has(.mm-buybar:not([hidden])) .mm-live-toast { bottom: calc(150px + env(safe-area-inset-bottom)); }

/* Smart search: genre chips row */
.mmp-chips { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px 14px; }
.mmp-chips span { width: 100%; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--text-muted); }
.mmp-chips a { padding: 6px 12px; border-radius: 999px; font-size: 13px; text-decoration: none; color: var(--accent-mint); border: 1px solid color-mix(in srgb, var(--accent-mint) 40%, transparent); transition: background .2s, translate .2s; }
.mmp-chips a:hover, .mmp-chips a:focus-visible { background: color-mix(in srgb, var(--accent-mint) 14%, transparent); translate: 0 -1px; }

/* ════ Smoothness pass: compositor-only motion, gentler easing, no heavy filters while idle ════ */
/* Smooth scrolling is handled via explicit programmatic navigation; native input must be auto to avoid lag */
html:not(.mm-calm) { scroll-behavior: auto; }
:root { --mm-smooth: cubic-bezier(.22, 1, .36, 1); }
/* Buttons: magnetic pull and hover lift use translate (GPU), never left/top */
.btn-mint:not([class*="absolute"]):not([class*="fixed"]):not([class*="sticky"]), .btn-ghost:not([class*="absolute"]):not([class*="fixed"]):not([class*="sticky"]), .btn-amber:not([class*="absolute"]):not([class*="fixed"]):not([class*="sticky"]) {
  left: auto; top: auto; translate: var(--mx, 0px) calc(var(--my, 0px) + var(--lift, 0px)); will-change: translate;
  transition: translate .28s var(--mm-smooth), box-shadow .3s var(--mm-smooth), background-color .25s, border-color .25s, color .2s, scale .2s var(--mm-smooth);
}
@media (hover: hover) {
  .btn-mint:hover, .btn-ghost:hover, .btn-amber:hover { --lift: -2px; }
  :root[data-theme="light"] :is(.btn-mint, .btn-amber, .btn-ghost):hover { translate: var(--mx, 0px) calc(var(--my, 0px) - 2px); }
}
.btn-mint:active, .btn-ghost:active, .btn-amber:active { --lift: 0px; scale: .98; }
:root[data-theme="light"] :is(.btn-mint, .btn-amber, .btn-ghost):active { translate: var(--mx, 0px) var(--my, 0px); }
/* Cards: smoother curves, no filter animation (brightness repaints the whole card) */
:is(.mm-djcard, .mm-djtile, .mm-wn-card, .card-mm, .mm-buybox, .mm-plans > section, .mm-rcard, a[class~="bg-[var(--bg-surface)]"][class*="rounded-["], article[class~="bg-[var(--bg-surface)]"][class*="rounded-["]) {
  transition: background-position .9s var(--mm-smooth), translate .5s var(--mm-smooth), scale .5s var(--mm-smooth), box-shadow .5s var(--mm-smooth), border-color .4s;
  will-change: auto;
}
:root[data-theme="dark"] :is(.mm-djcard, .mm-djtile, .mm-wn-card, .card-mm, .mm-plans > section, .mm-rcard):hover { filter: none; }
@media (hover: hover) { .mm-rcard:hover, .mm-djcard:hover, .mm-djtile:hover { will-change: translate, scale; } }
/* Tilt: eased instead of linear so it glides */
.mm-rcard-art.is-tilt { transition: transform .18s ease-out, box-shadow .5s, border-color .5s; will-change: transform; }
.mm-bb-art.is-tilt { transition: transform .18s ease-out; }
.mm-bb-art, .mm-rcard-art { transition-timing-function: var(--mm-smooth); }
/* Covers: the glow layer only animates opacity, and the electric filter rests when off screen or on small screens */
.mm-pdp-art > .aspect-square::after { will-change: opacity; }
.mm-pdp-art > .aspect-square.is-offscreen::before { filter: none; }
/* Reveal / stagger: gentler rise */
@keyframes mm-rise { from { opacity: 0; translate: 0 16px; } }
.mm-life :is(.mm-rcard, .mm-djcard, .mm-djtile, .mm-top10-item).mm-in { animation-duration: .7s; animation-timing-function: var(--mm-smooth); }
/* Toasts and sheets use a soft spring-free curve */
.mm-live-toast { transition: translate .6s var(--mm-smooth); }
/* Discs: constant-speed spin must be linear and GPU-only */
.mm-vinyl { will-change: transform; backface-visibility: hidden; }

/* Electric border, light version: a bright arc runs around the cover's edge (no SVG filter, so scrolling stays smooth) */
@property --mm-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.mm-pdp-art > .aspect-square::before {
  filter: none !important; border: 0; padding: 2px; inset: -3px; border-radius: 20px;
  background: conic-gradient(from var(--mm-a), transparent 0deg, color-mix(in srgb, var(--mm-el) 25%, transparent) 40deg, var(--mm-el) 90deg, #fff 100deg, transparent 130deg, transparent 220deg, color-mix(in srgb, var(--mm-el) 30%, transparent) 280deg, var(--mm-el) 330deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: mm-arc 5s linear infinite; will-change: auto;
}
@keyframes mm-arc { to { --mm-a: 360deg; } }
.mm-pdp-art > .aspect-square.is-offscreen::before { animation-play-state: paused; }
@media (max-width: 1023px) { .mm-pdp-art > .aspect-square::before { animation-duration: 7s; } }

/* ── Phones: filters as a bottom sheet ── */
.mm-sheet-head { display: none; }
@media (max-width: 720px) {
  .mm-filters-panel:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 130; max-height: 80vh; overflow-y: auto; margin: 0; padding: 0 16px calc(18px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0; background: var(--bg-surface); border: 1px solid var(--border); border-bottom: 0; box-shadow: 0 -24px 60px -20px rgba(0,0,0,.6);
    animation: mm-sheet-up .45s var(--mm-smooth, cubic-bezier(.22,1,.36,1)); overscroll-behavior: contain; }
  .mm-filters-panel:not([hidden]) .mm-sheet-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; grid-column: 1 / -1; padding: 22px 0 10px; background: var(--bg-surface); }
  .mm-sheet-head .mm-grab { position: absolute; top: 8px; left: 50%; width: 42px; height: 4px; margin-left: -21px; border-radius: 2px; background: color-mix(in srgb, var(--text-muted) 55%, transparent); }
  .mm-sheet-head b { font: 700 17px/1 var(--font-display, inherit); }
  .mm-sheet-done { height: 40px; padding: 0 20px; }
  body.mm-sheet-open { overflow: hidden; }
  body.mm-sheet-open .mm-filters::before { content: ""; position: fixed; inset: 0; z-index: 129; background: rgba(0,0,0,.5); animation: mm-fade .3s ease; }
  .mm-filters-panel { grid-template-columns: 1fr; }
}
@keyframes mm-sheet-up { from { translate: 0 100%; } }
@keyframes mm-fade { from { opacity: 0; } }

/* ── DJ store hero, checkout and library polish, phone cart sheet ── */
.dj-banner { overflow: hidden; }
.dj-avatar { animation: mm-logo-in .8s var(--mm-smooth, cubic-bezier(.22,1,.36,1)) .15s backwards; box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-mint, #10B981) 50%, transparent); }
@keyframes mm-logo-in { from { opacity: 0; scale: .8; translate: 0 14px; } }
.mm-pay-pop { animation: mm-pay-pop .7s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes mm-pay-pop { from { opacity: 0; scale: .9; } }
.mm-pay-pop svg { animation: mm-check-spin .9s var(--mm-smooth, ease) .2s backwards; }
@keyframes mm-check-spin { from { rotate: -90deg; scale: .4; opacity: 0; } }
.mm-confetti { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
/* Library: a finished download gets a green check that stamps in */
.mm-badge--ok svg { animation: mm-stamp .5s cubic-bezier(.34, 1.56, .64, 1) backwards; }
@keyframes mm-stamp { from { scale: 2; opacity: 0; } }
@media (max-width: 640px) {
  html body aside[aria-label="Your cart"] { inset: auto 0 0 0; top: auto; max-width: none; width: 100%; max-height: 86vh; border-left: 0; border-top: 1px solid var(--border); border-radius: 22px 22px 0 0; translate: 0 0; animation: mm-sheet-up .45s var(--mm-smooth, cubic-bezier(.22,1,.36,1)); padding-bottom: env(safe-area-inset-bottom); }
  html body aside[aria-label="Your cart"]::before { content: ""; position: absolute; top: 8px; left: 50%; width: 42px; height: 4px; margin-left: -21px; border-radius: 2px; background: color-mix(in srgb, var(--text-muted) 55%, transparent); }
}

/* DJ tile: a finished card (surface, border, padding) so the name and release count sit inside it, not on a bare shadow */
.mm-djtile { padding: 10px 10px 16px; gap: 8px; border: 1px solid var(--border); border-radius: 24px; background-color: var(--bg-surface); overflow: hidden; }
.mm-djtile-art { border-radius: 16px; }
.mm-djtile-name { padding: 6px 4px 0; }
.mm-djtile-sub { margin-top: 0; padding-bottom: 2px; }
:root[data-theme="light"] .mm-djtile { box-shadow: 0 10px 24px -16px rgba(0,107,74,.35), 0 1px 3px rgba(26,20,16,.06); }

/* Hover without flicker: a lifted card keeps an invisible strip under it, so the pointer near its bottom edge
   doesn't drop off the card (which made the lift switch on and off). */
@media (hover: hover) {
  .mm-rcard::before, .mm-top10-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; pointer-events: none; }
  .mm-rcard:hover::before, .mm-top10-card:hover::before { pointer-events: auto; }
  .mm-rcard.is-tilting { transition: transform .12s ease-out, box-shadow .3s, border-color .3s; }
}

/* Billboard labels: paid "Featured" slots and "Pro drop" slides (new releases by Pro DJs, a little more highlighted). */
.mm-bb-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font: 700 12px/1 var(--font-body, inherit);
  letter-spacing: .1em; color: var(--accent-mint, #10B981); background: rgba(4,19,13,.55); border: 1px solid color-mix(in srgb, var(--accent-mint, #10B981) 60%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mm-bb-badge .mm-icon { width: 14px; height: 14px; }
.mm-bb-badge.is-pro { color: #1a1206; border: 0; background: linear-gradient(100deg, #3dffc6, #10B981 45%, #f5c451);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 6px 22px -6px rgba(245,196,81,.55), 0 0 26px -8px rgba(16,185,129,.8); }
.mm-bb-slide.is-prodrop .mm-bb-art > img, .mm-bb-slide.is-prodrop .mm-bb-art > .mm-rcard-ph {
  box-shadow: 0 0 0 2px rgba(245,196,81,.75), 0 0 46px -6px rgba(16,185,129,.55), 0 30px 70px -20px rgba(0,0,0,.7); }
.mm-bb-slide.is-prodrop .mm-bb-title a { background: linear-gradient(100deg, #fff 30%, #c9fbe8 60%, #f7dc93); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mm-bb-slide.is-featured .mm-bb-art > img { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-mint, #10B981) 55%, transparent), 0 30px 70px -20px rgba(0,0,0,.7); }
/* Billboard always uses a dark backdrop (#0a0d0b), so Pro drop titles stay light/bright in both dark and light themes. */

/* No shine leaking around the covers: once a cover has loaded, the card behind it is plain (no groove rings, no
   loading shimmer), and the hover light sweep is gone (it crossed the empty space beside the cover and the record). */
.mm-rcard-art:has(img.is-loaded), .mm-top10-art:has(img.is-loaded) { background-image: none; }
.mm-rcard-art:has(img.is-loaded)::before, .mm-top10-art:has(img.is-loaded)::before { animation: none; background: none; opacity: 0; }
.mm-rcard-art::after { display: none !important; }

/* Light theme: buy buttons carry white text (banner Buy, product-page Buy / Buy now, sticky phone Buy bar). */
[data-theme="light"] .mm-bb-buy, [data-theme="light"] #buy-now-btn, [data-theme="light"] #mm-buybar-btn,
[data-theme="light"] .mm-bb-buy *, [data-theme="light"] #buy-now-btn *, [data-theme="light"] #mm-buybar-btn * { color: #fff !important; }
/* White on the bright mint is hard to read, so in light theme the Buy buttons use the deeper brand green (white text ~5.5:1). */
[data-theme="light"] .mm-bb-buy, [data-theme="light"] #buy-now-btn, [data-theme="light"] #mm-buybar-btn { background: #047857 !important; }
/* Light theme: "Find your sound" genre chips keep black text on hover (it was green on green). */
[data-theme="light"] .mm-gchip:hover, [data-theme="light"] .mm-gchip:focus-visible { color: #000 !important; }
/* Dark theme: genre chip text white on hover. */
:root:not([data-theme="light"]) .mm-gchip:hover, :root:not([data-theme="light"]) .mm-gchip:focus-visible { color: #fff !important; }

/* ── Smooth card hover (all cards): one soft curve, slower, so nothing snaps ──────────────────────────────────
   Lift and tilt glide (0.7s / 0.35s), the cover slides aside over 0.8s, the record rolls out over 0.9s and only
   starts spinning once it has fully arrived. Leaving the card eases everything back the same way. */
:root { --mm-glide: cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) and (pointer: fine) {
  .mm-rcard, .mm-rail .mm-rcard { transition: transform .7s var(--mm-glide), box-shadow .6s ease, border-color .6s ease; }
  .mm-rcard.is-tilting { transition: transform .35s var(--mm-glide), box-shadow .6s ease, border-color .6s ease; }
  .mm-rcard-art { transition: box-shadow .6s ease, border-color .6s ease; }
  .mm-rcard-art img, .mm-rcard-art .mm-rcard-ph,
  .mm-top10-art img, .mm-top10-art .mm-rcard-ph { transition: transform .5s var(--mm-glide), opacity .4s ease; }
  .mm-top10-card { transition: transform .7s var(--mm-glide); }
  .mm-top10-num { transition: transform .7s var(--mm-glide), -webkit-text-stroke-color .5s ease, color .5s ease; }
  .mm-bb-art { transition: transform .7s var(--mm-glide); }
  .mm-bb-art.is-tilt { transition: transform .35s var(--mm-glide); }
  .mm-bb-art::after { transition: opacity .6s ease; }
  .mm-djtile, .mm-djtile-art { transition: transform .7s var(--mm-glide), box-shadow .6s ease, border-color .6s ease; }
  .mm-djtile-photo { transition: filter .6s ease, transform .9s var(--mm-glide); }
  .mm-djtile-logo, .mm-djtile-visit { transition: transform .7s var(--mm-glide), opacity .5s ease; }
  .mm-djtile-over { transition: opacity .5s ease, background-color .5s ease; }
  .mm-djcard { transition: transform .7s var(--mm-glide), box-shadow .6s ease, border-color .6s ease; }
  .mm-djcard-photo { transition: filter .6s ease, transform .9s var(--mm-glide); }
  .mm-card-section, .glow-card, .card-mm { transition: transform .6s var(--mm-glide), box-shadow .5s ease, border-color .5s ease; }
  .mm-quick, .mm-rcard-info { transition: opacity .45s ease, transform .6s var(--mm-glide), background-color .3s ease; }
  .mm-gchip { transition: transform .5s var(--mm-glide), background-color .35s ease, border-color .35s ease, color .35s ease; }
}

/* Buttons never inherit a parent's --mx/--my (some cards use them for a glow position, e.g. 50%/40%), which
   pushed buttons sideways off their card. The magnetic hover still sets them on the button itself. */
.btn-mint, .btn-ghost, .btn-amber { --mx: 0px; --my: 0px; --lift: 0px; }

/* Verified DJ tick next to a DJ's name (cards, banner, release pages, charts) */
.mm-vtick { display: inline-flex; align-items: center; color: var(--mm-gold); margin-left: 4px; vertical-align: -0.12em; line-height: 0; flex-shrink: 0; }
.mm-vtick svg { display: block; }

/* Verified DJ tick: neon in MixMint green (var(--mm-gold)), glows brighter on hover (the tick itself or the card/link it sits in). */
html .mm-vtick, html .mm-djtile-check, html .mm-djcard-check, html .mm-vneon {
  color: var(--mm-gold);
  filter: drop-shadow(0 0 1.5px rgba(245, 183, 0, .95)) drop-shadow(0 0 5px rgba(245, 183, 0, .65));
  transition: filter .4s ease, transform .4s ease, color .4s ease;
}
html .mm-vtick:hover, html .mm-vneon:hover, html .mm-vpill:hover .mm-vneon,
html a:hover > .mm-vtick, html .mm-rcard:hover .mm-vtick, html .mm-djtile:hover .mm-vtick, html .mm-djcard:hover .mm-vtick,
html .mm-djtile:hover .mm-djtile-check, html .mm-djcard:hover .mm-djcard-check, html .mm-top10-card:hover .mm-vtick {
  color: var(--mm-gold);
  filter: drop-shadow(0 0 2px rgba(255, 214, 90, 1)) drop-shadow(0 0 7px rgba(245, 183, 0, .9)) drop-shadow(0 0 16px rgba(245, 183, 0, .75));
  transform: scale(1.18);
  animation: mm-vglow 1.6s ease-in-out infinite;
}
@keyframes mm-vglow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(255, 214, 90, 1)) drop-shadow(0 0 7px rgba(245, 183, 0, .9)) drop-shadow(0 0 16px rgba(245, 183, 0, .75)); }
  50% { filter: drop-shadow(0 0 3px rgba(255, 214, 90, 1)) drop-shadow(0 0 11px rgba(245, 183, 0, 1)) drop-shadow(0 0 24px rgba(245, 183, 0, .9)); }
}
/* Light theme: a deeper gold (readable on white) with a softer glow. */
html[data-theme="light"] .mm-vtick, html[data-theme="light"] .mm-vneon,
html[data-theme="light"] .mm-djtile-check, html[data-theme="light"] .mm-djcard-check {
  color: var(--mm-gold);
  filter: drop-shadow(0 0 1px rgba(245, 183, 0, .6)) drop-shadow(0 0 4px rgba(245, 183, 0, .35));
}
html[data-theme="light"] .mm-vtick:hover, html[data-theme="light"] .mm-vneon:hover, html[data-theme="light"] .mm-vpill:hover .mm-vneon,
html[data-theme="light"] a:hover > .mm-vtick, html[data-theme="light"] .mm-rcard:hover .mm-vtick,
html[data-theme="light"] .mm-djtile:hover .mm-vtick, html[data-theme="light"] .mm-djcard:hover .mm-vtick,
html[data-theme="light"] .mm-djtile:hover .mm-djtile-check, html[data-theme="light"] .mm-djcard:hover .mm-djcard-check,
html[data-theme="light"] .mm-top10-card:hover .mm-vtick {
  color: var(--mm-gold);
  animation: mm-vglow-light 1.6s ease-in-out infinite;
}
@keyframes mm-vglow-light {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(245, 183, 0, .9)) drop-shadow(0 0 8px rgba(245, 183, 0, .55)); }
  50% { filter: drop-shadow(0 0 3px rgba(245, 183, 0, 1)) drop-shadow(0 0 13px rgba(245, 183, 0, .75)); }
}

/* The tick itself is transparent: no disc, ring or outline behind it, only the green glow. */
html .mm-djtile-check, html .mm-djcard-check, html[data-theme="light"] .mm-djtile-check, html[data-theme="light"] .mm-djcard-check,
html .mm-vtick, html .mm-vneon { background: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: 0; padding: 0; }


/* ── DJ store hero: big square photo (tilt, glare, record), banner + logo beside it, blurred photo behind ── */
.mm-djhero { position: relative; padding: 28px 0 8px; margin-bottom: 18px; overflow: hidden; isolation: isolate; }
.mm-djhero-bg { position: absolute; inset: -80px -40px 0; z-index: -1; background: var(--bg) center / cover no-repeat;
  filter: blur(70px) saturate(1.35); opacity: .45; transform: scale(1.1);
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 95%); mask-image: linear-gradient(to bottom, #000 35%, transparent 95%); }
html[data-theme="light"] .mm-djhero-bg { opacity: .28; }
.mm-djhero-in { display: grid; grid-template-columns: minmax(260px, 400px) minmax(0, 1fr); gap: 44px; align-items: start; }
.mm-djhero-left { min-width: 0; position: relative; z-index: 2; }
.mm-djhero-right { min-width: 0; display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.mm-djhero-banner.dj-banner { margin: 0; max-height: 300px; }
.mm-djhero-art { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1; perspective: 900px; margin-bottom: 20px; }
.mm-djhero-photo { position: relative; z-index: 2; width: 100%; height: 100%; border-radius: 18px; overflow: hidden; background: var(--bg-elevated);
  box-shadow: 0 30px 70px -28px rgba(0,0,0,.6), 0 0 0 1px var(--border);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.22,1,.36,1), box-shadow .5s ease; will-change: transform; }
html .mm-djhero-photo img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; display: block; }
.mm-djhero-initial { display: grid; place-items: center; width: 100%; height: 100%; font: 700 7rem/1 var(--font-display, inherit); color: var(--accent-mint); }
.mm-djhero-glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease; mix-blend-mode: overlay;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.55), rgba(255,255,255,0) 55%); }
.mm-djhero-art.is-tilt .mm-djhero-photo { transition: transform .12s linear, box-shadow .5s ease;
  box-shadow: 0 34px 80px -26px rgba(0,0,0,.6), 0 0 0 1px rgba(16,185,129,.55), 0 0 46px -6px rgba(16,185,129,.55); }
.mm-djhero-art.is-tilt .mm-djhero-glare { opacity: .9; }
.mm-djhero-art.is-sway .mm-djhero-photo { animation: mm-djsway 7s ease-in-out infinite; box-shadow: 0 30px 70px -28px rgba(0,0,0,.6), 0 0 0 1px rgba(16,185,129,.4), 0 0 38px -10px rgba(16,185,129,.5); }
.mm-djhero-art.is-sway .mm-djhero-glare { opacity: .6; animation: mm-djglare 7s ease-in-out infinite; }
@keyframes mm-djsway { 0%,100% { transform: rotateX(3deg) rotateY(-5deg); } 50% { transform: rotateX(-3deg) rotateY(5deg); } }
@keyframes mm-djglare { 0%,100% { opacity: .35; } 50% { opacity: .75; } }
/* the MixMint record sliding out from behind the photo */
/* Vinyl groove texture — kept in sync with .mm-vinyl / .mm-pdp-vinyl in club.css (item 1, 2026-12-01). */
.mm-djhero-vinyl { position: absolute; z-index: 1; top: 5%; left: 6%; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 33% 28%, rgba(255,255,255,.32) 0, rgba(255,255,255,.1) 7%, transparent 17%),
    radial-gradient(circle, #35f0b8 0 8%, #0e7a56 11%, #0b0b0b 12.5% 14%, transparent 14.5%),
    repeating-radial-gradient(circle, rgba(255,255,255,.1) 0 .6px, transparent .6px 2.7px),
    repeating-radial-gradient(circle, #040404 0 2.1px, #242424 2.1px 4.3px, #121212 4.3px 6.3px),
    radial-gradient(circle at 42% 38%, transparent 0 54%, rgba(0,0,0,.48) 82%, rgba(0,0,0,.8) 100%),
    #0c0c0c;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.6), inset 0 0 0 2px rgba(255,255,255,.08), inset -9px -9px 22px rgba(0,0,0,.5), inset 7px 7px 16px rgba(255,255,255,.05), 0 20px 50px rgba(0,0,0,.42); transform: none; translate: 0 0; transform-origin: 50% 50%; transition: translate 1s cubic-bezier(.22,1,.36,1); }
.mm-djhero-vinyl::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 6%, rgba(255,255,255,.34) 11%, transparent 19% 58%, rgba(255,255,255,.2) 64%, transparent 73%, rgba(255,255,255,.12) 90%, transparent 97%); }
.mm-djhero-vinyl .mm-disc-label { position: absolute; inset: 0; width: 100%; height: 100%; }
/* hidden behind the photo until hover / tap, then slides out spinning */
.mm-djhero-art.is-in .mm-djhero-vinyl { translate: 62% 0; animation: mm-djspin 2.6s linear .35s infinite; }
.mm-djhero-label { position: absolute; inset: 24%; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 0 0 3px #0b0b0b, 0 0 0 5px var(--accent-mint); z-index: 1; }
html .mm-djhero-label img { width: 90% !important; height: 72% !important; object-fit: contain !important; display: block; }
.mm-djhero-label.is-dark { background: #14161c; }
@keyframes mm-djspin { from { rotate: 0deg; } to { rotate: 360deg; } }
.mm-djhero-name { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
/* city / genres / since: one icon per item, no separator dots, so wrapped lines stay aligned on the left */
.mm-djmeta { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 18px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.45; color: var(--text-muted); }
.mm-djmeta li { display: inline-flex; align-items: flex-start; gap: 6px; min-width: 0; }
.mm-djmeta li .mm-icon { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--accent-mint); }
.mm-djhero-name { row-gap: 8px; }
/* social handles: icon buttons, the network's name pops up on hover / focus */
.mm-djsocials { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 4px; padding: 0; list-style: none; }
.mm-djsocial { position: relative; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-surface); color: var(--text-primary); transition: color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.mm-djsocial:hover, .mm-djsocial:focus-visible { color: var(--accent-mint); border-color: var(--accent-mint); transform: translateY(-2px); box-shadow: 0 0 18px -4px rgba(16,185,129,.6); }
.mm-djsocial-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 4px; padding: 4px 9px; border-radius: 7px; white-space: nowrap;
  font: 600 12px/1.3 var(--font-body, inherit); background: var(--text-primary); color: var(--bg-base, #fff); opacity: 0; pointer-events: none; transition: opacity .15s, translate .15s; z-index: 5; }
.mm-djsocial-tip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--text-primary); }
.mm-djsocial:hover .mm-djsocial-tip, .mm-djsocial:focus-visible .mm-djsocial-tip { opacity: 1; translate: -50% 0; }
/* first icon sits on the page edge: its label opens to the right instead of being cut off */
.mm-djsocials li:first-child .mm-djsocial-tip { left: 0; translate: 0 4px; }
.mm-djsocials li:first-child .mm-djsocial-tip::after { left: 21px; }
.mm-djsocials li:first-child .mm-djsocial:is(:hover, :focus-visible) .mm-djsocial-tip { translate: 0 0; }
/* bio: a card the full width of the banner, long bios fold after a few lines */
.mm-djbio { width: 100%; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--border); background: color-mix(in srgb, var(--bg-surface) 82%, transparent); backdrop-filter: blur(8px); }
.mm-djbio-h { margin: 0 0 8px; font: 700 13px/1 var(--font-body, inherit); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-mint); }
.mm-djbio-txt { font-size: 14.5px; line-height: 1.75; color: var(--text-secondary, var(--text-muted)); text-align: left; overflow-wrap: break-word; word-break: normal; }
.mm-djbio-txt p { margin: 0; } .mm-djbio-txt p + p { margin-top: .7em; }
/* folded: a fixed height that fades out (no orphan "…" line, works with paragraphs) */
.mm-djbio.is-folded .mm-djbio-txt { max-height: calc(1.75em * 7); overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent); mask-image: linear-gradient(to bottom, #000 62%, transparent); }
.mm-djbio-more { margin-top: 2px; min-height: 44px; padding: 0 2px; display: inline-flex; align-items: center; border: 0; background: none; color: var(--accent-mint); font: 600 13.5px/1.4 var(--font-body, inherit); cursor: pointer; }
.mm-djbio-more:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .mm-djhero-in { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .mm-djhero-art { max-width: min(320px, 62vw); margin-inline: 0; }
  .mm-djhero-art.is-in .mm-djhero-vinyl { translate: 80% 0; } /* far enough that the logo label clears the photo */
}

/* DJ store "No releases yet": heading and line centred in the box */
.mm-empty.mm-empty-center { text-align: center !important; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mm-empty.mm-empty-center :is(h3, p) { text-align: center !important; margin-inline: auto; max-width: 72ch; text-wrap: balance; }


/* DJ store, phones: the blurred photo backdrop runs edge to edge (no grey box with content flush to its edges) */
@media (max-width: 860px) {
  .mm-djhero { width: 100vw; margin-left: calc(50% - 50vw); padding-top: 20px; }
  .mm-djhero-in { padding-inline: 16px !important; }
  .mm-djhero-bg { inset: -60px 0 0; -webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 16%, #000 40%, transparent 96%); mask-image: linear-gradient(to bottom, transparent 4%, #000 16%, #000 40%, transparent 96%); }
  .mm-djhero-right { gap: 14px; }
  .mm-djbio { padding: 16px; }
}
/* DJ store cards: the meta line (BPM · genre) wraps instead of being cut off */
.mm-rcard-meta.is-store { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.4; }
.mm-rcard-meta.is-store span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* BPM, then genre, one per line */
/* DJ store without a banner: logo banner (dark stage, blurred photo, mint glow); an empty placeholder is hidden on phones */
html body .dj-banner.mm-djbanner-logo { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 5; min-height: 120px; overflow: hidden;
  background: radial-gradient(70% 120% at 50% 110%, rgba(16,185,129,.35), transparent 70%), #0b0f0d !important; border-radius: 16px; }
.mm-djbanner-logo::before { content: ""; position: absolute; inset: -20%; background: var(--bg, none) center / cover no-repeat; filter: blur(30px) saturate(1.2); opacity: .35; }
html body .mm-djbanner-logo img { position: relative; z-index: 1; width: 72% !important; height: 70% !important; max-width: 520px !important; object-fit: contain !important;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.6)); }
@media (max-width: 860px) { .mm-djbanner-empty { display: none !important; } }
html body .dj-banner.mm-djbanner-logo::after { display: none !important; content: none !important; }
html body .dj-banner.mm-djbanner-logo { border: 1px solid color-mix(in srgb, var(--accent-mint) 35%, transparent); }
html body .mm-djbanner-logo img { transform: none !important; } /* the banner photo's scroll parallax would push the logo out of view */

/* Verified badge is gold everywhere: a brighter gold on dark, a deeper gold on light (contrast on white). */
:root { --mm-gold: #F5B700; }
html[data-theme="light"] { --mm-gold: #C98F00; }
html .mm-vpill { background: color-mix(in srgb, var(--mm-gold) 14%, transparent) !important; color: var(--mm-gold) !important;
  border: 1px solid color-mix(in srgb, var(--mm-gold) 40%, transparent) !important; }

/* DJ directory: filter + sort bar */
.mm-djfilters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 10px; }
.mm-djf-check { position: relative; display: inline-flex; cursor: pointer; }
.mm-djf-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mm-djf-check span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg-surface); color: var(--text-primary); font-size: 13.5px; font-weight: 600; transition: border-color .15s, background .15s, color .15s; }
.mm-djf-check input:checked + span { border-color: var(--accent-mint); background: color-mix(in srgb, var(--accent-mint) 14%, var(--bg-surface)); color: var(--accent-mint); }
.mm-djf-check input:focus-visible + span { outline: 2px solid var(--accent-mint); outline-offset: 2px; }
.mm-djf-check .mm-icon { color: var(--mm-gold); }
.mm-djf-select { display: inline-flex; align-items: center; gap: 8px; }
.mm-djf-select select { height: 40px; min-height: 40px; font-size: 13.5px; padding-right: 32px; width: auto; }
.mm-djf-sort { margin-left: auto; }
.mm-djf-lbl { font-size: 13px; color: var(--text-muted); }
.mm-djf-count { margin: 0 0 18px; font-size: 13.5px; color: var(--text-muted); }
.mm-djf-count a { color: var(--accent-mint); font-weight: 600; }
@media (max-width: 640px) { .mm-djf-sort { margin-left: 0; width: 100%; } .mm-djf-sort select { flex: 1; } }

/* Free vs Pro table (/sell/) */
.mm-compare th, .mm-compare td { padding: 12px 16px; vertical-align: top; }
.mm-compare tbody th[scope="row"] { font-weight: 500; color: var(--text-muted); width: 36%; }
.mm-compare .mm-cmp-group th { padding: 14px 16px 6px; font: 700 11px/1 var(--font-mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-mint); background: color-mix(in srgb, var(--accent-mint) 5%, transparent); }
.mm-cmp-yes { color: var(--accent-mint); font-weight: 700; margin-right: 4px; white-space: nowrap; }
.mm-cmp-no { color: var(--text-muted); }
@media (max-width: 640px) {
  /* Phones: each feature becomes a small card, Free and Pro side by side under it (no sideways scrolling) */
  .mm-compare { overflow: visible !important; }
  .mm-compare thead { display: none; }
  .mm-compare table, .mm-compare tbody { display: block; }
  .mm-compare tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 12px 14px; }
  .mm-compare tbody th[scope="row"] { grid-column: 1 / -1; width: auto; padding: 0 0 2px; color: var(--text-primary); font-weight: 600; font-size: 14px; }
  .mm-compare td { padding: 0; font-size: 13.5px; }
  .mm-compare td::before { display: block; font: 600 10.5px/1.6 var(--font-mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
  .mm-compare td:nth-of-type(1)::before { content: "Free"; }
  .mm-compare td:nth-of-type(2)::before { content: "Pro"; color: var(--accent-mint); }
  .mm-compare .mm-cmp-group { display: block; padding: 0; }
  .mm-compare .mm-cmp-group th { display: block; padding: 12px 14px 8px; }
}

/* Section intros on marketing / info pages are centred: the heading and its lead line, not the body text below. */
.mm-sechead { text-align: center; margin-inline: auto; max-width: 68ch; }
h2.mm-sechead, div.mm-sechead { max-width: none; }
.mm-legal > p:first-child, .mm-legal > h1, .mm-legal > h1 + p { text-align: center; margin-inline: auto; }
.mm-legal > h1 + p { max-width: 62ch; }

/* Plain <details>: the +/– sits in its own column, never butting against a long question */
details:not(.mm-acc) > summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; list-style: none; }
details:not(.mm-acc) > summary::-webkit-details-marker { display: none; }
details:not(.mm-acc) > summary::after { float: none; flex: none; margin-left: auto; line-height: inherit; }
/* Legal pages: numbered sections are indented 40px on desktop; on phones they line up with the page gutter */
@media (max-width: 640px) { main section.ml-10 { margin-left: 0 !important; } }
/* Sticky hover on touch screens: a tapped icon button kept its lifted/rotated hover pose */
@media (any-hover: none) {
  .mm-social:hover, .mm-djsocial:hover, .mm-rcard:hover, .mm-djcard:hover, .mm-djtile:hover { transform: none !important; }
  .mm-social:hover svg { transform: none !important; }
}
@media (max-width: 640px) { .mm-djf-select { flex: 1 1 40%; } .mm-djf-select select { width: 100%; } .mm-djf-sort { width: auto; } .mm-djf-sort .mm-djf-lbl { display: none; } }
div.mm-sechead > p { margin-inline: auto; max-width: 64ch; }

/* ── Site-wide UI/UX review fixes ── */
/* Dark theme: native checkboxes, radios, selects and date pickers follow the theme (were plain white squares) */
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }
input[type="checkbox"], input[type="radio"], input[type="range"], progress { accent-color: var(--accent-mint); }
/* Placeholders read as hints, never as text already typed */
input::placeholder, textarea::placeholder { font-weight: 400 !important; color: var(--text-muted) !important; opacity: .75 !important; letter-spacing: normal; }
/* Verified pill: gold, readable, in the UI font (no monospace caps) */
html .mm-vpill { font-family: var(--font-body, inherit) !important; text-transform: none !important; letter-spacing: .01em !important; font-weight: 700 !important; }
html[data-theme="light"] .mm-vpill { color: #946A00 !important; background: #FFF4D1 !important; border-color: #E8C770 !important; }
html[data-theme="light"] .mm-vpill .mm-vneon { color: #B38200; }
/* Footer social buttons: 44px targets */
.mm-social { width: 44px !important; height: 44px !important; }
/* Selects never cut their text */
select.input-mm { line-height: 1.25; padding-top: 0 !important; padding-bottom: 0 !important; }
/* Release-card meta (DJ · BPM) wraps instead of hiding the BPM behind "…" */
.mm-rcard-meta { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; line-height: 1.35; }
/* Empty states: every line centred under the centred heading */
.mm-empty, .mm-empty p, .mm-empty h3 { text-align: center; }
.mm-empty p { margin-inline: auto; max-width: 52ch; }
/* Legal pages: "[05]" section numbers never break; tables scroll inside their card on phones */
main section .flex > span.font-mono:first-child { white-space: nowrap; flex-shrink: 0; }
.mm-legal table, main section table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) {
  main section.p-8, .mm-legal section.p-8 { padding: 18px !important; }
}
.mm-chip.is-active { background: var(--text-primary); color: var(--bg-base); border-color: var(--text-primary); }
/* Checkbox sentences (consent, "Show in my store", "Pause my store"): regular weight, normal line height, box on the first line */
label:has(> input[type="checkbox"]):not(.mm-djf-check) { line-height: 1.5; align-items: flex-start; }
label:has(> input[type="checkbox"]) > span.leading-relaxed, label:has(> input[type="checkbox"]) > span.text-\[13px\] { font-weight: 400 !important; }
label:has(> input[type="checkbox"]):not(.mm-djf-check) > input[type="checkbox"] { margin-top: 3px; }

/* ── Flip cover: tap the cover of an album or bundle to see its tracklist on the back ── */
.mm-flip { perspective: 1400px; position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; outline-offset: 4px; }
.mm-flip-in { position: relative; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.mm-flip.is-flipped .mm-flip-in { transform: rotateY(180deg); }
.mm-flip-face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: inherit; overflow: hidden; }
.mm-flip-back { transform: rotateY(180deg); background: var(--bg-surface); border: 1px solid var(--border); display: flex; flex-direction: column; cursor: default; }
.mm-flip-hint { position: absolute; right: 10px; bottom: 10px; z-index: 3; font: 600 11px/1 var(--font-mono, monospace); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--bg-base); color: var(--text-primary); border: 1px solid var(--border); opacity: .92; }
.mm-flip-back-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border); font: 700 13px/1.2 var(--font-display, inherit); color: var(--text-primary); }
.mm-flip-back-h button { min-height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); font-size: 12px; cursor: pointer; }
.mm-flip-list { list-style: none; margin: 0; padding: 4px 0; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.mm-flip-list li { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: baseline; padding: 8px 14px; font-size: 13px; color: var(--text-primary); }
.mm-flip-list li + li { border-top: 1px solid var(--border); }
.mm-flip-list small { display: block; color: var(--text-muted); font-size: 11.5px; }
.mm-flip-list .n, .mm-flip-list .d { font-family: var(--font-mono, monospace); font-size: 11.5px; color: var(--text-muted); }
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { .mm-flip-in { transition: none; } }

/* tracklist table: artist, title, BPM, genre, key, length */
.mm-tl { width: 100%; border-collapse: collapse; text-align: left; }
.mm-tl th { padding: 12px 16px; font: 500 11px/1 var(--font-mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border); white-space: nowrap; }
.mm-tl td { padding: 14px 16px; font-size: 14px; color: var(--text-primary); border-top: 1px solid var(--border); vertical-align: middle; }
.mm-tl tr:first-child td { border-top: 0; }
.mm-tl .num, .mm-tl .mono { font-family: var(--font-mono, monospace); font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.mm-tl .num { text-align: center; width: 44px; }
.mm-tl .r { text-align: right; }
@media (max-width: 640px) { .mm-tl .hide-sm { display: none; } .mm-tl th, .mm-tl td { padding: 12px 10px; } }
.mm-flip.is-flipped .mm-flip-hint { display: none; }

/* ── Review pins, 17 Nov: one centred reading column on legal / info pages ──
   Headings, section numbers and button rows are centred; every block (text, cards, tables)
   shares the same left and right edge, so nothing sits indented or ragged off-centre. */
.mm-legal { max-width: 820px !important; margin-inline: auto !important; }
.mm-legal > div:first-child:has(> h1) { text-align: center; }
.mm-legal table { display: table !important; width: 100%; }
.mm-legal :is(.ml-6, .ml-8, .ml-10, .ml-12) { margin-left: 0 !important; }
.mm-legal p, .mm-legal li { max-width: none !important; }
.mm-legal > p:first-child, .mm-legal > h1 + p { max-width: 62ch !important; }
.mm-legal h2 { text-align: center; }
.mm-legal section > .flex.items-center:first-child, .mm-legal .mm-h-num { justify-content: center; text-align: center; }
.mm-legal .flex.flex-wrap:has(> .btn-mm), .mm-legal .flex.flex-wrap:has(> a.btn-mm) { justify-content: center; }
/* Short guide pages (How it works, Tutorials): everything centred, cards included */
.mm-centered, .mm-centered .glow-card { text-align: center; }
.mm-centered p { margin-inline: auto; }
.mm-centered .flex.flex-wrap { justify-content: center; }
.mm-centered .mm-task { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; font-weight: 600; color: var(--text-primary); }
.mm-centered .mm-task svg { flex: none; color: var(--accent-mint); transition: transform .2s ease; }
@media (hover: hover) { .mm-centered .mm-task:hover svg { transform: translateX(3px); } }
/* Footer: Telegram support is one centred button on every screen; Calm motion is a real switch beside the theme switch */
.mm-foot-help { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 28px 0 32px; }
.mm-foot-help p { font-size: 14px; color: var(--text-muted); margin: 0; }
.mm-tg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; color: #fff; background: #229ED9; box-shadow: 0 6px 20px rgba(34,158,217,.28); transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .mm-tg-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(34,158,217,.36); } }
.mm-tg-btn:focus-visible { outline: 2px solid #229ED9; outline-offset: 3px; }
.mm-foot-prefs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.mm-calm-switch { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 8px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: var(--text-muted); background: var(--bg-surface); border: 1px solid var(--border); transition: color .2s ease, border-color .2s ease; }
.mm-calm-switch::before { content: ""; flex: none; width: 26px; height: 16px; border-radius: 999px; background: var(--border);
  box-shadow: inset 0 0 0 1px var(--border); background-image: radial-gradient(circle at 8px 50%, var(--text-muted) 0 5px, transparent 5.5px); transition: background .2s ease; }
.mm-calm-switch[aria-pressed="true"] { color: var(--text-primary); border-color: var(--accent-mint); }
.mm-calm-switch[aria-pressed="true"]::before { background-color: var(--accent-mint); background-image: radial-gradient(circle at 18px 50%, #04130D 0 5px, transparent 5.5px); }
.mm-calm-switch:focus-visible { outline: 2px solid var(--accent-mint); outline-offset: 2px; }
@media (hover: hover) { .mm-calm-switch:hover { color: var(--text-primary); } }

/* Home: the "From drop to deck" block is centred, its DJ button and rights note included */
.mm-steps-title { text-align: center; }
.mm-steps-cta { display: flex; justify-content: center; }
.mm-steps-note { justify-content: center; text-align: center; max-width: 62ch; margin-inline: auto; }
/* /sell/ "Why MixMint keeps 25%": each reason is its own tile with room to breathe; the closing note is centred */
.mm-fee-list > li { padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-base); line-height: 1.6; }
.mm-fee-list > li strong { display: block; margin-bottom: 2px; }
.mm-fee-note { max-width: 62ch; margin-inline: auto; }
/* DJ store: name, city/genres, socials and Follow sit centred under the photo; the rights line is centred too */
.mm-djhero-left { text-align: center; }
.mm-djhero-art { margin-inline: auto; }
.mm-djhero-name, .mm-djmeta, .mm-djsocials, .mm-djhero-left .mm-djbar { justify-content: center; }
.mm-djmeta li { justify-content: center; }
.mm-djsocials li:first-child .mm-djsocial-tip { left: 50%; translate: -50% 4px; }
.mm-djsocials li:first-child .mm-djsocial-tip::after { left: 50%; }
.mm-djsocials li:first-child .mm-djsocial:is(:hover, :focus-visible) .mm-djsocial-tip { translate: -50% 0; }
.mm-djdisclaim { max-width: 70ch; margin-inline: auto; }
.mm-djdisclaim { display: block; line-height: 1.5; }
.mm-djdisclaim .mm-icon { display: inline-block; vertical-align: -0.2em; margin-right: 4px; }
/* Guides: filter chips centred above the grid; every card has its own icon */
.mm-guide-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.mm-guide-chips .mm-chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-surface); font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
.mm-guide { display: flex; flex-direction: column; }
.mm-guide[hidden] { display: none; }
.mm-guide-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  color: var(--accent-mint); background: color-mix(in oklab, var(--accent-mint) 12%, transparent); border: 1px solid color-mix(in oklab, var(--accent-mint) 25%, transparent); }
/* Explainer spacing is for stacked sections only: cards inside a grid or row never get pushed down (Pro studio cards were staggered) */
[data-explain] :is(.grid, .flex) > section + section { margin-top: 0; }
/* Pro studio: one main call to action (the trial card); locked cards end in a quiet link pinned to the bottom */
.mm-pro-unlock { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 13.5px; font-weight: 700; color: var(--accent-mint); }
@media (hover: hover) { .mm-pro-unlock:hover { text-decoration: underline; text-underline-offset: 3px; } }
/* Numbered step badges: the number stays readable on the green disc in light theme */
html[data-theme="light"] .mm-num { color: #fff; }
/* Featured slots closed / nothing to feature: a centred empty state instead of a bare one-line box */
.mm-feat-closed { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 20px !important; }
.mm-feat-closed-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 12px;
  color: var(--accent-mint); background: color-mix(in oklab, var(--accent-mint) 12%, transparent); }
/* Bundles: title and "Create Bundle" share one row (button keeps its own width); the empty state spans the whole grid */
.mm-bundles-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.mm-bundles-new { flex: none; width: auto !important; }
.mm-bundles-empty { grid-column: 1 / -1; }
@media (max-width: 640px) { .mm-bundles-head { flex-direction: column; align-items: stretch; text-align: center; } .mm-bundles-new { width: 100% !important; justify-content: center; } }
/* Asset pack: centred intro, button row and section heads; templates keep a clean grid */
.mm-assetpack-head { margin-inline: auto; text-align: center; }
.mm-assetpack-head .flex.flex-wrap { justify-content: center; }
.mm-assetpack > h2, .mm-assetpack > h2 + p { text-align: center; margin-inline: auto; max-width: 70ch; }
/* Domain guide: centred intro; text inside the step cards uses the full card width */
.mm-dguide > h1, .mm-dguide > h1 + p { text-align: center; }
.mm-dguide > h1 + p { max-width: 62ch; margin-inline: auto; }
.mm-dguide :is(section, li) p, .mm-dguide :is(section, li) li { max-width: none !important; }
/* Payouts: the three balances stay one row on every screen (they stacked into three tall cards on phones) */
.mm-paystats { align-items: stretch; }
.mm-paystats > div { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; text-align: center; }
.mm-paystats > .is-main { border-color: color-mix(in oklab, var(--accent-mint) 45%, var(--border)) !important; }
@media (max-width: 640px) {
  .mm-paystats { gap: 8px !important; }
  .mm-paystats > div { padding: 12px 8px !important; }
  .mm-paystats p:first-child { font-size: 11px !important; line-height: 1.3; }
  .mm-paystats p + p { font-size: 18px !important; overflow-wrap: break-word; word-break: normal; }
}
/* Store profile: sticky save bar (sits above the phone tab bar) */
.mm-savebar { position: sticky; bottom: 12px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border: 1px solid var(--border); border-radius: 16px; background: color-mix(in oklab, var(--bg-surface) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); }
.mm-savebar-note { font-size: 13px; color: var(--text-muted); }
.mm-savebar.is-dirty { border-color: color-mix(in oklab, var(--accent-amber) 55%, var(--border)); }
.mm-savebar.is-dirty .mm-savebar-note { color: var(--accent-amber); font-weight: 600; }
@media (max-width: 767px) { .mm-savebar { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } .mm-savebar .btn-mm { padding-inline: 20px; } }
/* Home "DJs on MixMint": every tile the same height; a long name shrinks to one line (life.js fitNames) instead of wrapping */
.mm-rail-item > .mm-djtile { height: 100%; }
.mm-djtile-name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; max-width: 100%; }
.mm-djtile-sub { margin-top: auto; }
/* Home billboard: total releases and DJs on big screens (top right, level with the brand pill) */
/* Shown on phones too (owner, 18 Nov 2026) */
.mm-bb-count { display: inline-flex; align-items: center; gap: 7px; position: absolute; z-index: 5; top: 50px; left: 16px; right: auto; margin: 0;
  padding: 6px 10px; border-radius: 999px; font: 600 10px/1 var(--font-body, inherit); letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.88);
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); white-space: nowrap; }
.mm-bb-count a { color: inherit !important; text-decoration: none !important; }
.mm-bb-count b { color: #34E0A1; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) {
  .mm-bb-count { display: inline-flex; align-items: center; gap: 10px; position: absolute; z-index: 5; top: 14px; left: auto; right: max(16px, calc(50vw - 600px + 16px)); margin: 0;
    padding: 7px 14px; border-radius: 999px; font: 600 12px/1 var(--font-body, inherit); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.85);
    background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .mm-bb-count a { color: inherit !important; text-decoration: none !important; } .mm-bb-count a:hover { color: #fff !important; text-decoration: underline !important; text-underline-offset: 3px; }
  .mm-bb-count b { color: #34E0A1; font-weight: 800; font-variant-numeric: tabular-nums; }
}
/* DJ studio Upload button: label always shown (phones too); icon and text keep the button's text colour,
   including on the upload page itself, where the "current tab" rule had turned the icon green-on-green */
.mm-studio a.is-cta, .mm-studio a.is-cta[aria-current="page"] { color: var(--text-inverse, #fff) !important; background: var(--accent-mint) !important; white-space: nowrap; gap: 6px; padding-inline: 14px; }
html[data-theme="light"] .mm-studio a.is-cta, html[data-theme="light"] .mm-studio a.is-cta[aria-current="page"] { color: #fff !important; }
.mm-studio a.is-cta svg, .mm-studio a.is-cta span { color: inherit !important; stroke: currentColor; opacity: 1 !important; }
.mm-studio a.is-cta[aria-current="page"] { box-shadow: 0 0 0 2px var(--bg-base), 0 0 0 4px var(--accent-mint); }
/* Count pill: a blinking red "Live" dot before the totals */
.mm-bb-live { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 800; }
.mm-bb-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 8px #ff3b5c; animation: mm-bb-blink 1.2s ease-in-out infinite; }
.mm-bb-live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #ff3b5c; opacity: 0; animation: mm-bb-ping 1.6s ease-out infinite; }
@keyframes mm-bb-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes mm-bb-ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
@media not all /* animations default ON; disabled only via footer Calm Motion (html.mm-calm) */ { .mm-bb-live i, .mm-bb-live i::after { animation: none; } }
html.mm-calm .mm-bb-live i, html.mm-calm .mm-bb-live i::after { animation: none; }
/* DJ names: Clash Display's word space is very narrow ("DJ VISHWAS" read as one word); open it up a little */
.mm-djtile-name, .mm-djcard-name, .mm-djhero-name h1, .mm-djtile-wordmark, .mm-top10-card .mm-dj, .mm-rcard-dj { word-spacing: .22em; letter-spacing: .01em; }
.mm-djtile-name > :is(svg, span, img), .mm-djcard-name > :is(svg, span, img) { margin-left: 5px; vertical-align: -0.12em; }
/* Album tracklist editor (upload + edit): # | title | artist | BPM | move/remove; stacks on phones */
.mm-tle { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mm-tle-row { display: grid; grid-template-columns: 26px minmax(0, 2fr) minmax(0, 1.4fr) 84px auto; gap: 8px; align-items: center; }
.mm-tle-n { font: 600 13px/1 var(--font-mono, monospace); color: var(--text-muted); text-align: right; }
.mm-tle-move { display: inline-flex; gap: 4px; }
.mm-tle-move button { width: 34px; height: 40px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-surface); color: var(--text-muted); font-size: 14px; }
.mm-tle-move button:hover:not(:disabled) { color: var(--accent-mint); border-color: var(--accent-mint); }
.mm-tle-move button:disabled { opacity: .35; }
@media (max-width: 640px) {
  .mm-tle-row { grid-template-columns: 22px minmax(0, 1fr) 76px; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-surface); }
  .mm-tle-title { grid-column: 2 / -1; }
  .mm-tle-artist { grid-column: 2 / 3; }
  .mm-tle-move { grid-column: 2 / -1; justify-content: flex-end; }
}
/* Album page: the cover flips to the back cover when the DJ uploaded one */
.mm-flip-backcover { padding: 0; overflow: hidden; position: relative; }
.mm-flip-backcover-close { position: absolute; top: 10px; right: 10px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mm-backcover-box { width: 140px; height: 140px; flex: none; }
.mm-backcover-box > div:not([x-show="busy"]) { width: 100%; height: 100%; }
/* Album tracklist on phones: Artist and BPM columns are hidden, so they show under each title */
.mm-tl-sub { display: none; }
@media (max-width: 640px) { .mm-tl-sub { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--text-muted); } }
/* Release pages: "Report this release" sits in its own centred row with clear space before the DJ card */
.mm-report-row { position: relative; z-index: 1; display: flex; justify-content: center; padding: 24px 16px 8px; }
.mm-report-row + div > .mm-fan, .mm-report-row + .mm-fan { margin-top: 16px; }
/* Footer, 18 Nov: bottom bar = legal links, then copyright, then the two switches (one line, never wrapped);
   side by side only on wide screens. Phones: everything centred, matching the centred support button. */
/* Browse / Company & Support / Legal columns: a dedicated class instead of a Tailwind
   "sm:grid-cols-3"-style utility, because fluid.css's generic missing-utility shim rewrites any
   sm:/md:/lg:grid-cols-3..6 class into an auto-fit(minmax(220px,...)) layout sized for wide card
   grids -- this block sits in a narrow (~389px) footer sidebar column, so that 220px floor was
   collapsing it back down to a single column on desktop instead of the intended 3 equal columns. */
.mm-foot-cols { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .mm-foot-cols { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; } }

/* Recover failed download + Buy us a coffee: an equal-width, wrapping pair (25 Nov 2026).
   Buy us a coffee gets a dedicated class (not Tailwind arbitrary-value classes) because any
   new bracket-syntax value here wouldn't be in the pre-built Tailwind bundle -- see the note
   above this block about fluid.css's shim. */
.mm-foot-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mm-foot-actions > a { flex: 1 1 200px; }
.mm-coffee-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 44px; padding: 10px 16px; border-radius: 12px;
  background: color-mix(in srgb, var(--accent-mint) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-mint) 30%, transparent);
  color: var(--accent-mint); font-size: 13px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent-mint) 8%, transparent);
  transition-property: background-color, border-color, box-shadow;
  transition-duration: 200ms;
}
.mm-coffee-btn:hover, .mm-coffee-btn:focus-visible {
  background: color-mix(in srgb, var(--accent-mint) 12%, transparent);
  border-color: var(--accent-mint);
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent-mint) 20%, transparent);
}
.mm-coffee-btn:active { transform: scale(0.96); transition-duration: 80ms; }
.mm-coffee-cup {
  position: relative; width: 20px; height: 20px; border-radius: 999px; flex: none; overflow: visible;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent-mint) 18%, transparent);
  transition-property: transform; transition-duration: 200ms;
}
.mm-coffee-btn:hover .mm-coffee-cup, .mm-coffee-btn:focus-visible .mm-coffee-cup { transform: scale(1.1) rotate(-6deg); }
.mm-coffee-steam {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 2px; opacity: 0;
  transition-property: opacity, transform; transition-duration: 200ms;
}
.mm-coffee-btn:hover .mm-coffee-steam, .mm-coffee-btn:focus-visible .mm-coffee-steam { opacity: .85; transform: translateX(-50%) translateY(-2px); }
.mm-coffee-steam span {
  width: 2px; height: 7px; border-radius: 1px; background: var(--accent-mint);
  animation: mm-steam-rise 1.4s ease-in-out infinite; animation-play-state: paused;
}
.mm-coffee-steam span:nth-child(2) { animation-delay: .25s; }
.mm-coffee-btn:hover .mm-coffee-steam span, .mm-coffee-btn:focus-visible .mm-coffee-steam span { animation-play-state: running; }
@keyframes mm-steam-rise { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(-3px) scaleY(1.3); } }
@media (prefers-reduced-motion: reduce) {
  .mm-coffee-steam span { animation: none; }
  .mm-coffee-btn:hover .mm-coffee-cup, .mm-coffee-btn:focus-visible .mm-coffee-cup { transform: none; }
}
.mm-foot-bottom { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.mm-foot-legal { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 22px; }
.mm-foot-copy { flex-basis: 100%; }
.mm-foot-prefs { flex-wrap: nowrap !important; flex: none; }
@media (min-width: 1024px) {
  .mm-foot-bottom { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
  .mm-foot-legal { justify-content: flex-start; }
  .mm-foot-copy { flex-basis: auto; }
}
@media (max-width: 767px) {
  .mm-foot-grid { text-align: center; }
  .mm-foot-grid > div:first-child a[aria-label="MixMint home"] { justify-content: center; }
  .mm-foot-grid > div:first-child p { margin-inline: auto; }
  .mm-foot-grid .mm-socials { justify-content: center; }
  .mm-foot-grid ul.flex-col { align-items: center; }
  .mm-foot-grid label, .mm-foot-grid form .flex { justify-content: center; text-align: left; }
  .mm-foot-genres { text-align: center; }
  .mm-foot-genres ul { justify-content: center; }
}

/* Release preview: one box, small arrows when the DJ gave both Instagram and YouTube (18 Nov 2026) */
.mm-pv-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px 10px 16px;border-bottom:1px solid var(--border)}
.mm-pv-title{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--text-primary);min-width:0}
.mm-pv-sub{font-weight:400;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mm-pv-switch{display:inline-flex;align-items:center;gap:6px;flex-shrink:0}
.mm-pv-arrow{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;border:1px solid var(--border);background:var(--bg-elevated);color:var(--text-primary);transition:background .15s,border-color .15s}
.mm-pv-arrow:hover{border-color:var(--accent-mint);color:var(--accent-mint)}
.mm-pv-arrow:focus-visible{outline:2px solid var(--accent-mint);outline-offset:2px}
.mm-pv-dots{display:inline-flex;gap:4px}
.mm-pv-dots i{width:6px;height:6px;border-radius:999px;background:var(--border)}
.mm-pv-dots i.on{background:var(--accent-mint)}
.mm-album-preview{margin-top:28px}
@media (max-width: 767px) { .mm-bb:has(.mm-bb-count) .mm-bb-in { padding-top: 88px; } }
/* DJ logo standing in for a missing cover: show the whole logo, centred, instead of cropping/zooming it (owner, 18 Nov 2026) */
img[src$="#logo"] { object-fit: contain !important; padding: 14%; box-sizing: border-box; background: radial-gradient(circle at 50% 40%, #12382b 0%, #0b0f0e 72%); }
/* Preview frame takes the shape of the source: wide for YouTube, tall for an Instagram Reel (owner, 18 Nov 2026) */
.mm-pv-stage { position: relative; background: var(--bg-elevated); aspect-ratio: 16 / 9; }
.mm-pv-stage.is-reel { aspect-ratio: auto; height: min(640px, 78vh); max-width: 420px; margin: 0 auto; background: #000; }
.mm-pv-stage iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Long paragraphs: justified, hyphenated, no stretched last line (marked by life.js justifyProse) */
.mm-just { text-align: justify; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3; overflow-wrap: break-word; text-wrap: pretty; }
@media (max-width: 360px) { .mm-just { text-align: left; } }  /* very narrow screens: justify would leave gaps */
/* Every button's label sits centred, on one baseline with its icon */
.btn, .btn-mm, .btn-mint, .btn-ghost, .btn-amber, .cx-btn, .mm-btn, [type=submit], input[type=button] { text-align: center; justify-content: center; align-items: center; }

/* Share button + dialog, on every release, bundle, DJ store and guide page (owner, 18 Nov 2026) */
.mm-share { display: inline-flex; }
.mm-share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.mm-share-btn svg { width: 16px; height: 16px; }
.mm-share-box { width: 100%; max-width: 460px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.mm-share-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.mm-share-head h2 { font-family: var(--font-display, inherit); font-size: 20px; font-weight: 700; color: var(--text-primary); }
.mm-share-x { width: 44px; height: 44px; font-size: 26px; line-height: 1; color: var(--text-muted); border-radius: 999px; }
.mm-share-x:hover { color: var(--text-primary); background: var(--bg-elevated); }
.mm-share-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.mm-share-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px; }
.mm-share-apps a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 72px; padding: 10px 4px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text-primary); font-size: 12px; font-weight: 600; text-decoration: none; text-align: center; }
.mm-share-apps a:hover, .mm-share-apps a:focus-visible { border-color: var(--accent-mint); color: var(--accent-mint); outline: none; }
.mm-share-apps svg { width: 22px; height: 22px; }
.mm-share-label { font: 600 10px/1 var(--font-mono, monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; }
.mm-share-row { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-base); }
.mm-share-row input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--accent-mint); font: 12px/1.4 var(--font-mono, monospace); }
.mm-share-embed { width: 100%; height: 84px; resize: none; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-base); color: var(--text-muted); font: 11px/1.4 var(--font-mono, monospace); }
.mm-share-copy { align-self: flex-start; min-height: 36px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-mint); }
@media (max-width: 380px) { .mm-share-apps { grid-template-columns: repeat(2, 1fr); } }
.mm-djshare { display: flex; justify-content: center; margin-top: 14px; }
.mm-share:has(> .w-full) { display: flex; width: 100%; }


/* === MixMint Nov 18 UI & Alignment Fixes === */
/* 1. Artist Profile Cards (dj_card & dj_tile): Pro DJ on LEFT, Verified badge on RIGHT */
.mm-card-pro-left {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f5b700, #ffd859);
  color: #141003;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .38);
  line-height: 1;
  pointer-events: none;
}
html .mm-card-ver-right {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--mm-gold, #F5B700);
  filter: drop-shadow(0 0 1.5px rgba(245, 183, 0, .95)) drop-shadow(0 0 5px rgba(245, 183, 0, .65));
  transition: filter .4s ease, transform .4s ease, color .4s ease;
  pointer-events: none;
}
html .mm-card-ver-right svg { width: 18px; height: 18px; display: block; }
html .mm-djcard:hover .mm-card-ver-right,
html .mm-djtile:hover .mm-card-ver-right,
html .mm-card-ver-right:hover {
  color: var(--mm-gold, #F5B700);
  filter: drop-shadow(0 0 2px rgba(255, 214, 90, 1)) drop-shadow(0 0 7px rgba(245, 183, 0, .9)) drop-shadow(0 0 16px rgba(245, 183, 0, .75));
  transform: scale(1.18);
  animation: mm-vglow 1.6s ease-in-out infinite;
}
html[data-theme="light"] .mm-card-ver-right {
  color: var(--mm-gold, #C98F00);
  filter: drop-shadow(0 0 1px rgba(245, 183, 0, .6)) drop-shadow(0 0 4px rgba(245, 183, 0, .35));
}
html[data-theme="light"] .mm-djcard:hover .mm-card-ver-right,
html[data-theme="light"] .mm-djtile:hover .mm-card-ver-right {
  color: var(--mm-gold, #C98F00);
  animation: mm-vglow-light 1.6s ease-in-out infinite;
}

/* 2. DJ Storefront header: Pro DJ before Verified DJ */
.mm-djhero-badges {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.mm-propill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f5b700, #ffd859);
  color: #141003;
  box-shadow: 0 4px 14px rgba(245, 183, 0, .28);
  line-height: 1;
}

/* 3. Track & Album cards: verification badge tightly aligned near DJ name */
.mm-rcard-djwrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: bottom;
  max-width: 100%;
}
.mm-rcard-djwrap .mm-vtick {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0 !important;
  vertical-align: middle;
}

/* 4. Trending Top 10: Rank numbers (1, 2, 3, 4 ... 10) NEVER hidden by cover + header arrow alignment */
.mm-trend-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.mm-top10-list {
  list-style: none;
  margin: 0;
  padding: 14px 24px 18px 8px !important;
  display: flex;
  gap: 18px !important;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.mm-top10-item {
  position: relative;
  flex: none;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  scroll-snap-align: start;
  padding-left: 0 !important;
}
.mm-top10-num {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 3 !important;
  flex: none;
  align-self: flex-end;
  margin-bottom: 44px;
  min-width: clamp(38px, 5vw, 56px);
  text-align: right;
  font: 900 clamp(54px, 7.5vw, 84px)/.85 var(--font-display, inherit) !important;
  letter-spacing: -.04em !important;
  color: color-mix(in srgb, var(--accent-mint) 14%, transparent) !important;
  -webkit-text-stroke: 2.5px color-mix(in srgb, var(--accent-mint) 85%, var(--text-primary)) !important;
  paint-order: stroke fill;
  user-select: none;
  pointer-events: none;
}
.mm-top10-item:nth-child(10) .mm-top10-num {
  left: auto !important;
  min-width: clamp(58px, 7vw, 84px);
  letter-spacing: -.06em !important;
}
.mm-top10-card {
  position: relative;
  z-index: 2;
  display: block;
  width: clamp(138px, 22vw, 176px) !important;
}

/* 5. UI Alignment & Text Justification polish */
.mm-just {
  max-width: none !important;
  text-align: justify;
  text-justify: inter-word;
  text-wrap: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.mm-djbio-txt,
.mm-djbio-txt p,
.mm-legal p,
.mm-legal li,
.mm-pdp-info .leading-\[1\.65\] p,
details > p.leading-relaxed {
  max-width: none !important;
  width: 100%;
  text-align: justify !important;
  text-justify: inter-word;
  text-wrap: normal;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.mm-djgrid {
  align-items: stretch;
}
.mm-djcard-body {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 4px;
}
.mm-djcard-count {
  margin-top: auto !important;
  padding-top: 6px;
}
.mm-rcard {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mm-rcard-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.mm-rcard-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}
.mm-djfilters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.mm-row-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
/* Download Insurance card inside Track / Album buy boxes & Cart drawer */
.mm-ins-card {
  border: 1px solid color-mix(in srgb, var(--accent-mint) 35%, var(--border));
  background: color-mix(in srgb, var(--accent-mint) 6%, var(--bg-elevated));
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  transition: border-color .2s ease, background .2s ease;
}
.mm-ins-card:has(input:checked) {
  border-color: var(--accent-mint);
  background: color-mix(in srgb, var(--accent-mint) 13%, var(--bg-elevated));
}
/* 6. Home "This week's chart" full-width justified list */
.mm-wchart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.mm-wchart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: color-mix(in srgb, var(--bg-elevated) 55%, transparent);
  text-decoration: none;
  color: inherit;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.mm-wchart-row:hover {
  background: color-mix(in srgb, var(--accent-mint) 8%, var(--bg-elevated));
  border-color: color-mix(in srgb, var(--accent-mint) 35%, var(--border));
  transform: translateX(2px);
}
.mm-wchart-rank {
  width: 28px;
  flex-shrink: 0;
  text-align: center;
  font: 800 17px/1 var(--font-display, inherit);
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}
.mm-wchart-rank.is-top {
  color: var(--accent-mint);
}
.mm-wchart-art {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}
.mm-wchart-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mm-wchart-ph {
  font: 700 16px/1 var(--font-display, inherit);
  color: var(--accent-mint);
}
.mm-wchart-info {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mm-wchart-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mm-wchart-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mm-wchart-price {
  flex-shrink: 0;
  font-family: var(--font-mono, monospace);
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-mint);
  text-align: right;
  padding-left: 8px;
}

/* ==========================================================================
   Master UI/UX Pin-to-Pin Alignment, Justification & Button Polish
   ========================================================================== */

/* 1. Global Button Pin-to-Pin Centering & Icon Alignment */
.btn-mm,
.btn-mint,
.btn-ghost,
.btn-amber,
.cx-btn,
.mm-cta,
.mm-cta-ghost,
.mm-neon-btn,
.mm-ghost-btn,
.mm-sell-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

/* SVGs inside buttons align precisely on the horizontal center line */
.btn-mm svg,
.btn-mint svg,
.btn-ghost svg,
.btn-amber svg,
.cx-btn svg,
.mm-cta svg,
.mm-cta-ghost svg,
.mm-neon-btn svg,
.mm-ghost-btn svg,
.mm-sell-btn svg,
.btn-mm .mm-icon {
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
  align-self: center !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* 2. Text spans inside buttons (never override display:none, hidden or x-cloak) */
.btn-mm > span:not([style*="display: none"]):not([style*="display:none"]):not([hidden]):not([x-cloak]),
.cx-btn > span:not([style*="display: none"]):not([style*="display:none"]):not([hidden]):not([x-cloak]),
.mm-cta > span:not([style*="display: none"]):not([style*="display:none"]):not([hidden]):not([x-cloak]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

/* Strict enforcement: hidden, x-cloak, and display:none elements must stay hidden */
[style*="display: none"],
[style*="display:none"],
[hidden],
[x-cloak] {
  display: none !important;
}

/* 3. Verified Badge & Pro Pill Horizontal Lock */
.mm-rcard-djwrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  max-width: 100% !important;
}
.mm-rcard-djwrap .mm-vtick,
.mm-rcard-djwrap .mm-vneon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

/* 4. Text Justification: Justified on Desktop, Left-aligned on Mobile */
@media (min-width: 481px) {
  .mm-just,
  .mm-djbio-txt,
  .mm-djbio-txt p,
  .mm-legal p,
  .mm-legal li,
  .mm-pdp-info .leading-\[1\.65\] p {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    text-wrap: pretty !important;
  }
}
@media (max-width: 480px) {
  .mm-just,
  .mm-djbio-txt,
  .mm-djbio-txt p,
  .mm-legal p,
  .mm-legal li,
  .mm-pdp-info .leading-\[1\.65\] p {
    text-align: left !important;
    hyphens: manual !important;
    text-wrap: pretty !important;
  }
}

/* 5. Pin-to-Pin Card Heights & Flex Baselines */
.mm-rcard,
.mm-djcard,
.glow-card {
  height: 100%;
}
.mm-rcard-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}
.mm-rcard-price {
  margin-top: auto !important;
}
.mm-djcard-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}
.mm-djcard-count {
  margin-top: auto !important;
}

/* 6. Form Field & Filter Bar Pin-to-Pin Alignment */
.mm-filters-bar {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.mm-filters-bar > * {
  display: flex !important;
  align-items: center !important;
}

/* 7. Full-width Button Touch Targets on Mobile */
@media (max-width: 640px) {
  .mm-pdp .btn-mm.w-full,
  .mm-plans .btn-mm.w-full,
  dialog .btn-mm.w-full {
    min-height: 48px !important;
  }
}

/* ═════════════════════════════════════════════════════════════════════
   8. UNIVERSAL UI/UX ENHANCEMENTS: NO VERTICAL LINES, SMOOTH SKELETONS,
      FLAWLESS ALIGNMENT & RESPONSIVE TYPOGRAPHY (MOBILE & DESKTOP)
   ═════════════════════════════════════════════════════════════════════ */

/* Smooth Scrolling & Crisp Rendering */
html {
  scroll-behavior: smooth !important;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Eliminate Long Text Converted into Vertical Lines (Table Protection) */
.cx-table-wrap,
.mm-table-wrap,
.table-responsive,
[data-table-wrap],
div:has(> table) {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  max-width: 100%;
  border-radius: var(--radius-md, 14px);
}

.cx-table,
.mm-table,
table.mm-stack,
main table:not(.no-min) {
  min-width: 760px !important;
  width: 100% !important;
  border-collapse: collapse !important;
}

@media (max-width: 768px) {
  .cx-table,
  .mm-table,
  table.mm-stack {
    min-width: 700px !important;
  }
}

/* Primary text columns NEVER collapse into vertical character ribbons */
.cx-table td:first-child:not(:has(input[type=checkbox])),
.cx-table td:nth-child(2),
.cx-col-title,
.mm-table td.mm-cell-title {
  min-width: 160px !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  text-wrap: pretty !important;
}

/* User, DJ Name, or Email Columns */
.cx-col-user,
.cx-table td:has(.cx-avatar) {
  min-width: 170px !important;
  white-space: normal !important;
}

/* Turn off aggressive automatic hyphenation that chops text into 1-2 character lines */
.cx-table td a,
.cx-table td strong,
.cx-strong,
.cx-table td,
.mm-table td {
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: manual !important;
  -webkit-hyphens: manual !important;
  text-wrap: pretty !important;
}

/* Action buttons, status pills, numbers, and dates stay on a single horizontal line */
.cx-actions,
.cx-table .num,
.cx-table td.cx-actions,
.cx-table td:last-child {
  white-space: nowrap !important;
}

/* Mobile Justification Safety: on small screens, switch from justify to left alignment to avoid awkward whitespace rivers */
@media (max-width: 640px) {
  .mm-djbio-txt,
  .mm-djbio-txt p,
  .mm-legal p,
  .mm-legal li,
  .mm-pdp-info .leading-\[1\.65\] p,
  details > p.leading-relaxed,
  .mm-just {
    text-align: left !important;
    text-justify: auto !important;
    hyphens: manual !important;
    -webkit-hyphens: manual !important;
  }
}

/* Flexbox Child Squeeze Protection: ensure titles/labels don't collapse when paired with badges/buttons */
.flex > div,
.flex > span:not(.shrink-0),
.flex > p,
.flex > h1,
.flex > h2,
.flex > h3 {
  min-width: 0;
}

/* Universal Shimmer Skeleton Loading */
.skeleton,
[data-skeleton],
.mm-skeleton {
  position: relative !important;
  overflow: hidden !important;
  background: var(--bg-elevated) !important;
  border-radius: var(--radius-sm, 8px) !important;
}

.skeleton::after,
[data-skeleton]::after,
.mm-skeleton::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  transform: translateX(-100%) !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  ) !important;
  animation: mm-shimmer 1.5s infinite !important;
}

@keyframes mm-shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* Smooth Fade-in Loading Transitions (0 CLS) */
.mm-fade-in {
  animation: mmFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes mmFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* High-contrast accessible focus outlines */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-mint) !important;
  outline-offset: 2px !important;
}



/* ── Touch targets (Nov 2026 audit): the header controls were 28-31px wide on phones. The visual size is
   unchanged; the tappable area grows to 44px. ── */
[data-open-palette], button[aria-label="Toggle navigation menu"] { min-width: 44px; min-height: 44px; flex-shrink: 0; }
[data-theme-toggle] { position: relative; }
[data-theme-toggle]::after { content: ""; position: absolute; inset: -8px -4px; }

/* ── Touch targets (WCAG 2.5.5): links and small buttons get a 44px-tall hit area on touch screens ── */
@media (pointer: coarse), (max-width: 768px) {
  .mm-tap { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  .mm-footer a { display: inline-flex; align-items: center; min-height: 44px; }
  .mm-rcard button[aria-label]:not(.mm-rcard-play), .mm-rcard [data-more-info] { position: relative; }
  .mm-rcard button[aria-label]::after { content: ""; position: absolute; inset: -10px; }
  button[aria-label^="Switch to"]:not(.mm-theme-switch) { min-height: 44px; min-width: 44px; }
}

/* DJ studio bar: tools grouped by job (Overview · Create · Grow · Money · Help) with a quiet divider between groups */
.mm-studio nav { display: flex; align-items: center; gap: 2px; }
.mm-studio-grp { display: inline-flex; align-items: center; gap: 2px; padding-inline-end: 8px; margin-inline-end: 6px; border-inline-end: 1px solid var(--border); }
.mm-studio-grp:last-child { border-inline-end: 0; margin-inline-end: 0; padding-inline-end: 0; }

/* Phone: standalone small links and chips get a 44px-tall hit area without changing the layout */
@media (pointer: coarse), (max-width: 768px) {
  figcaption a[target="_blank"], button[type="button"][class*="underline-offset-4"],
  button[class*="rounded-full"][class*="text-[11px]"] { position: relative; }
  figcaption a[target="_blank"]::after, button[type="button"][class*="underline-offset-4"]::after,
  button[class*="rounded-full"][class*="text-[11px]"]::after { content: ""; position: absolute; inset: -14px -6px; }
  button[class*="rounded-full"][class*="text-[11px]"]::after { inset: -8px -4px; }
}

/* Admin stat tiles that are links */
a.cx-stat { display: block; color: inherit; text-decoration: none; }
a.cx-stat:focus-visible { outline: 2px solid var(--accent-mint); outline-offset: 2px; }

/* Phone checkout bar and download button. Plain CSS because the Tailwind build is made off-site and new utility
   classes do not exist until it is rebuilt. The pay bar sits above the bottom tab bar so they never overlap. */
.mm-paybar { margin-top: 4px; }
.mm-paybar-fixed { display: none; }
@media (max-width: 767px) {
  /* Phone: the inline button is replaced by .mm-paybar-fixed (teleported to <body>), pinned just
     above the tab bar. A sticky bar could not leave its summary card, so it slid under the tab bar
     while the card scrolled in and did not pin at all while the card was off-screen. */
  .mm-paybar { display: none; }
  .mm-paybar-fixed { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--bg-surface); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(0, 0, 0, .25); }
  .mm-paybar-fixed[style*="display: none"] { display: none !important; }
  body.has-tabbar .mm-paybar-fixed { bottom: calc(55px + env(safe-area-inset-bottom)); padding-bottom: 10px; }
  .mm-paybar-fixed .btn-mm { height: 52px; }
  body:has(.mm-paybar-fixed) main { padding-bottom: 96px; }
}
.mm-dlbtn { min-height: 48px; padding-left: 24px; padding-right: 24px; font-size: 15px; font-weight: 600; }
@media (max-width: 639px) { .mm-dlbtn { width: 100%; } }

/* Quick filter box above long admin lists (plain CSS: see note above about the Tailwind build). */
.mm-listfilter { height: 42px; font-size: 14px; width: 100%; }
@media (min-width: 640px) { .mm-listfilter { width: 320px; } }

/* MixMint's pick badge: bottom-left of the cover so it never fights the top badges or the play button */
.mm-badge.mm-badge-pick, .mm-badge + .mm-badge.mm-badge-pick, .mm-badge + .mm-badge + .mm-badge.mm-badge-pick {
  top: auto; bottom: 8px; left: 8px; right: auto; z-index: 2;
  background: var(--accent-mint); color: var(--bg-base); font-weight: 700;
}

/* ── Native 30s sample player + vinyl-as-control (25 Nov 2026) ──────────────────────────────── */
/* The vinyl disc doubles as a play/pause toggle once a track has a native sample: static until
   pressed (no decorative auto-spin pretending it's already playing), spins only while this
   track's sample is actually the one active in the shared player. */
.mm-pdp-vinyl.mm-vinyl-control { cursor: pointer; }
.mm-pdp-art.is-in .mm-pdp-vinyl.mm-vinyl-control { animation: none; }
.mm-pdp-art.is-in .mm-pdp-vinyl.mm-vinyl-control.is-spinning { animation: mm-spin2 3s linear infinite; }
@media (max-width: 1023px) {
  .mm-pdp-art.is-in .mm-pdp-vinyl.mm-vinyl-control.is-spinning { animation: mm-spin3 3s linear infinite; }
}
.mm-vinyl-playicon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; opacity: 0; transition-property: opacity; transition-duration: 200ms; pointer-events: none;
}
.mm-vinyl-control:hover .mm-vinyl-playicon, .mm-vinyl-control:focus-visible .mm-vinyl-playicon { opacity: .9; }
.mm-vinyl-control.is-spinning .mm-vinyl-playicon { opacity: 0; }
.mm-vinyl-control:hover.is-spinning .mm-vinyl-playicon, .mm-vinyl-control:focus-visible.is-spinning .mm-vinyl-playicon { opacity: .6; }

.mm-sp { padding: 14px 16px; border-radius: 12px; background: var(--bg-surface); border: 1px solid var(--border); }
.mm-sp-row { display: flex; align-items: center; gap: 10px; }
.mm-sp-btn {
  width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  flex: none; color: var(--text-muted); background: transparent; border: none; cursor: pointer;
  transition-property: color, background-color, transform; transition-duration: 150ms;
}
.mm-sp-btn:hover { color: var(--text-primary); background: var(--bg-elevated); }
.mm-sp-btn:active { transform: scale(.96); }
.mm-sp-btn:focus-visible { outline: 2px solid var(--accent-mint); outline-offset: 2px; }
.mm-sp-btn.mm-sp-play { width: 44px; height: 44px; background: var(--accent-mint); color: var(--bg-base); }
.mm-sp-btn.mm-sp-play:hover { background: var(--accent-mint); filter: brightness(1.08); }
.mm-sp-scrub { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; }
.mm-sp-range {
  flex: 1 1 auto; min-width: 0; height: 4px; border-radius: 999px; appearance: none;
  background: var(--border); accent-color: var(--accent-mint); cursor: pointer;
}
.mm-sp-time { flex: none; font-size: 11px; color: var(--text-muted); white-space: nowrap; }

/* ── Persistent now-playing bar (25 Nov 2026): survives a full page navigation by resuming from
   localStorage on load, since a classic server-rendered page can't literally keep one <audio>
   element alive across a hard navigation. ──────────────────────────────────────────────────── */
.mm-nowplaying {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg-base) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-top: 1px solid var(--border);
}
@media (max-width: 767px) {
  body.has-tabbar .mm-nowplaying { bottom: calc(68px + env(safe-area-inset-bottom)); padding-bottom: 10px; }
}
.mm-nowplaying-cover { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; flex: none; background: var(--bg-elevated); }
.mm-nowplaying-meta { min-width: 0; flex: 1 1 140px; }
.mm-nowplaying-title { font-size: 13px; font-weight: 700; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-nowplaying-dj { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-nowplaying-scrub { flex: 2 1 220px; display: none; align-items: center; gap: 8px; }
@media (min-width: 640px) { .mm-nowplaying-scrub { display: flex; } }
.mm-nowplaying-close { flex: none; width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.mm-nowplaying-close:hover { color: var(--text-primary); background: var(--bg-elevated); }
.mm-nowplaying-close:focus-visible, .mm-vinyl-control:focus-visible { outline: 2px solid var(--accent-mint); outline-offset: 2px; }

/* ── Upload page: step badges + card wrapping (25 Nov 2026) ─────────────────────────────────── */
/* mm-upstep just marks a section as one of the core numbered steps; the numbering itself is plain
   markup (1-4) since it's never conditional -- every upload, track or pack, needs all four. */
.mm-upstep-badge {
  width: 28px; height: 28px; border-radius: 999px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent-mint) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-mint) 28%, transparent);
  color: var(--accent-mint); font-family: var(--font-mono); font-weight: 700; font-size: 13px;
}
.mm-upstep-badge-icon { color: var(--accent-mint); }

/* ── Admin inline quick-actions on public pages (25 Nov 2026, task #52) ─────────────────────── */
/* Server-side gated per-request ({% if request.user|is_admin_user %}); this CSS is cosmetic only
   -- never relied on to hide the block from anyone, see apps/core/templatetags/mm_admin.py. */
.mm-admin-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px;
  padding: 8px 12px; border-radius: 999px; font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer;
  background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-primary);
  transition: background-color, border-color; transition-duration: 150ms;
}
.mm-admin-pill:hover { border-color: var(--accent-mint); }
.mm-admin-pill:focus-visible { outline: 2px solid var(--accent-mint); outline-offset: 2px; }
.mm-admin-pill.is-on { background: color-mix(in srgb, var(--accent-mint) 16%, transparent); border-color: var(--accent-mint); color: var(--accent-mint); }
.mm-admin-pill.is-warn { background: color-mix(in srgb, #ef4444 14%, transparent); border-color: color-mix(in srgb, #ef4444 40%, transparent); color: #f87171; }

.mm-rcard-adminbar {
  position: absolute; top: 8px; left: 8px; z-index: 3; display: flex; gap: 4px;
}
.mm-rcard-adminbtn {
  width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--bg-base) 72%, transparent); backdrop-filter: blur(4px);
  border: 1px solid var(--border); color: var(--text-primary); cursor: pointer;
}
.mm-rcard-adminbtn:hover { border-color: var(--accent-mint); color: var(--accent-mint); }
.mm-rcard-adminbtn:focus-visible { outline: 2px solid var(--accent-mint); outline-offset: 2px; }
.mm-rcard-adminbtn.is-on { background: var(--accent-mint); color: var(--bg-base); border-color: var(--accent-mint); }

/* ---- fluid.css ---- */
/* ─────────────────────────────────────────────────────────────────────────────
   Fluid layer (loaded last). Everything scales with the screen instead of jumping at fixed breakpoints:
   side padding, headings, grids, cards, buttons, tabs. No fixed heights on anything that holds text.
   Plain CSS on purpose: the Tailwind stylesheet is prebuilt, so new utility classes would not exist.
   ───────────────────────────────────────────────────────────────────────────── */
:root {
  --fl-gutter: clamp(14px, 2.2vw + 6px, 40px);   /* page side padding: 14px phone → 40px wide desktop */
  --fl-gap: clamp(10px, 1.2vw + 4px, 22px);
  --fl-card-pad: clamp(14px, 1.2vw + 8px, 24px);
}

/* Page container: padding grows with the screen; safe-area aware for notched phones. */
main#main.container {
  padding-left: max(var(--fl-gutter), env(safe-area-inset-left));
  padding-right: max(var(--fl-gutter), env(safe-area-inset-right));
  padding-top: clamp(20px, 2.4vw + 8px, 44px);
  padding-bottom: clamp(28px, 3vw + 10px, 56px);
}

/* Text never touches the screen edge or spills out of its box. */
main :is(h1, h2, h3, h4, p, li, label, td, th, dd, dt) { overflow-wrap: break-word; }
main :is(h1, h2, h3) { text-wrap: balance; }
main :is(p, li) { text-wrap: pretty; }

/* Justified text only where lines are long enough for it to look even (wide screens, real paragraphs);
   short lines, lists of facts, table cells and phones stay left-aligned. */
@media (max-width: 767px) {
  .mm-just, .mm-djbio-txt, .mm-djbio-txt p, .mm-legal p, .mm-legal li,
  .mm-adm-main .cx-head p, .mm-adm-main .cx-card > p,
  .mm-pdp-info .leading-\[1\.65\] p, details > p.leading-relaxed {
    text-align: left !important; hyphens: manual !important; -webkit-hyphens: manual !important;
  }
}
.mm-top10-item.mm-just, .mm-rcard .mm-just, .cx-card li.mm-just, li.mm-just { text-align: left !important; }

/* Buttons: height follows the label. Long labels wrap instead of being cut off; icon + text stay centred;
   padding scales with the screen; never shrink below a comfortable tap target. */
.btn-mm, .mm-cta, .cx-btn {
  height: auto; min-height: 44px; max-width: 100%;
  padding-top: 10px; padding-bottom: 10px;
  padding-left: clamp(14px, 1.2vw + 8px, 24px); padding-right: clamp(14px, 1.2vw + 8px, 24px);
  line-height: 1.25; text-align: center; white-space: normal; text-wrap: balance;
  min-width: min(max-content, 100%); /* keep the label on one line while it fits; wrap only when it would overflow */
  flex-shrink: 0; /* inside a flex row a button keeps its own size and the row wraps instead */
}
/* ONE size scale for every button, on every screen:  standard = 44px,  compact = 36px.
   (Old fixed heights h-8/h-9/h-[2x]/h-[3x] = compact; h-10/h-11/h-12/h-[4x] and no height = standard.)
   Chips and small icon buttons follow the same two steps below. */
.btn-mm.h-8, .btn-mm.h-9, .btn-mm[class*="h-[2"], .btn-mm[class*="h-[3"] {
  min-height: 36px; padding-top: 6px; padding-bottom: 6px; font-size: 13px;
}
.btn-mm.h-10, .btn-mm.h-11, .btn-mm.h-12, .btn-mm[class*="h-[4"], .btn-mm:not([class*="h-"]) { min-height: 44px; }
@media (max-width: 767px) {
  .btn-mm:not(.h-8):not(.h-9):not([class*="h-[2"]):not([class*="h-[3"]), .mm-cta, .cx-btn { font-size: 14px; }
  .btn-mm { min-width: min(max-content, 100%); }
  /* small text-like controls get a proper hit area without looking bigger */
  button.text-\[11px\], button.text-\[12px\], a.text-\[11px\] { min-height: 32px; padding: 6px 8px; display: inline-flex; align-items: center; }
  /* round icon buttons: one size */
  button.w-10.h-10, a.w-10.h-10, button.w-11.h-11, a.w-11.h-11 { min-width: 44px; min-height: 44px; }
  /* filter chips and segmented controls: compact step */
  button.rounded-lg.py-1, button.rounded-lg.py-1\.5 { min-height: 36px; display: inline-flex; align-items: center; }
  /* tab bars with tall padding */
  button.py-4[class*="font-[600]"] { padding-top: 12px; padding-bottom: 12px; }
}
.btn-mm svg, .mm-cta svg { flex: none; }

/* Rows of buttons wrap and share the width on narrow screens (equal, easy to hit, never overflowing).
   :not(.flex-col) keeps this off deliberate vertical stacks (e.g. the mobile nav drawer's account-actions
   list) -- those already have 2+ adjacent .btn-mm siblings, and without this guard this rule forced
   flex-wrap onto a flex-direction:column container, splitting it into overflowing side-by-side columns. */
@media (max-width: 767px) {
  :where(div, p, form, footer, header, section):not(.flex-col):has(> .btn-mm + .btn-mm, > .btn-mm + .cx-btn, > .cx-btn + .btn-mm) {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0;
  }
}
@media (max-width: 520px) {
  :where(div, form, footer, section):not(.flex-col):has(> .btn-mm + .btn-mm) > .btn-mm { flex: 1 1 calc(50% - 10px); min-width: min(100%, 150px); }
}
/* A flex row holding a heading block and a button group stacks on phones instead of squeezing the buttons. */
@media (max-width: 640px) {
  :where(.flex):has(> .shrink-0 .btn-mm) { flex-wrap: wrap; }
  .flex > .shrink-0:has(.btn-mm) { flex-shrink: 1; flex-wrap: wrap; width: 100%; }
  .flex > .shrink-0:has(.btn-mm) > .btn-mm { flex: 1 1 140px; }
}

/* Tabs / switches / small buttons: 44px tap area, label centred. */
[role="tab"], .mm-tab { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
@media (hover: none) and (pointer: coarse) {
  button.rounded-full[type="button"], a.rounded-full.border { min-height: 38px; padding-top: 8px; padding-bottom: 8px; }
}

/* Release grid: columns appear as the screen allows (2 on a small phone, up to 6 on a wide desktop). */
.mm-rgrid {
  grid-template-columns: repeat(auto-fill, minmax(clamp(136px, 17vw, 230px), 1fr));
  gap: var(--fl-gap);
}
.mm-rgrid > * { min-width: 0; }
.mm-djgrid { grid-template-columns: repeat(auto-fill, minmax(clamp(145px, 15vw, 195px), 1fr)); gap: var(--fl-gap); }

/* Cards in a row are the same height; content spreads evenly; padding scales. */
.mm-rgrid > .mm-rcard, .mm-rgrid > div > .mm-rcard, .mm-djgrid > * { height: 100%; }
.mm-rcard { display: flex; flex-direction: column; }
.mm-rcard-body { flex: 1 1 auto; padding: clamp(10px, .8vw + 7px, 16px); }
.mm-card-section, .glow-card, .card-mm, .mm-card { padding: var(--fl-card-pad); }
.mm-card-section.p-0, .glow-card.p-0, .mm-card.p-0 { padding: 0; }
.glow-card[class*="p-"], .mm-card-section[class*="p-"] { padding: var(--fl-card-pad); } /* one rule for every card, not per-page values */

/* Fluid headings: scale smoothly between phone and desktop sizes. */
main h1 { font-size: clamp(1.65rem, 1.1rem + 2.4vw, 2.75rem); line-height: 1.15; }
main h2 { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); line-height: 1.22; }

/* Forms and media never overflow their container. */
main :is(input, select, textarea) { max-width: 100%; }
main :is(img, video, canvas, svg:not([width])) { max-width: 100%; }
main table { max-width: 100%; }
@media (max-width: 767px) { main :is(.overflow-x-auto, .cx-table-wrap) { -webkit-overflow-scrolling: touch; } }

/* Admin and dashboards: same fluid gutter, never tighter than 14px from the edge. */
.mm-adm-main .cx { padding-left: var(--fl-gutter); padding-right: var(--fl-gutter); }
main > :is(h1, p, section, div) { scroll-margin-top: 80px; }

/* Admin pages built with their own max-width wrapper: same fluid gutter as every other page. */
.mm-adm-main > [class*="max-w-"], .mm-adm-main > div > [class*="max-w-"][class*="mx-auto"] {
  padding-left: var(--fl-gutter); padding-right: var(--fl-gutter); box-sizing: border-box; width: 100%;
}

/* Tailwind's plain "text-justify" justifies on phones (short lines leave big gaps): left on phones, justified only where wide. */
@media (max-width: 767px) { .text-justify { text-align: left !important; } }
/* Small text-only controls get a comfortable hit area without changing how they look. */
button.min-h-\[32px\], .mm-report-btn { min-height: 40px; }
@media (max-width: 767px) {
  main a.underline:not(.btn-mm), main a.text-\[var\(--accent-mint\)\]:not(.btn-mm) { display: inline-block; padding-top: 6px; padding-bottom: 6px; }
}
.mm-adm-main > .cx-wrap { width: 100%; padding-left: max(6px, calc(var(--fl-gutter) - 8px)); padding-right: max(6px, calc(var(--fl-gutter) - 8px)); box-sizing: border-box; }

/* Search/field icons that sit inside an input (the prebuilt Tailwind file lacks some of these utilities). */
.relative > :is(input, select, textarea) ~ span.absolute.pointer-events-none { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: inline-flex; }
.relative > input[class*="pl-9"] { padding-left: 36px; }
.relative > input[class*="pl-10"] { padding-left: 40px; }

/* A title block next to a wrapping button group: the title keeps a readable width and the buttons wrap
   (a "shrink-0" wrapping group used to push the title down to a sliver on desktop). */
.cx .flex > .min-w-0.flex-1, .mm-adm-main .flex > .min-w-0.flex-1 { min-width: min(100%, 420px); }
.cx .flex > .shrink-0.flex-wrap, .mm-adm-main .flex > .shrink-0.flex-wrap { align-content: flex-start; }
.cx .flex > .shrink-0.flex-wrap, .mm-adm-main .flex > .shrink-0.flex-wrap { flex-shrink: 1; min-width: 0; }

/* Grids that the prebuilt Tailwind file cannot size (sm:/md:/lg:grid-cols-3..6) fill the width by themselves:
   as many columns as fit, each never narrower than a readable minimum. */
.grid[class*="sm:grid-cols-6"], .grid[class*="md:grid-cols-6"], .grid[class*="lg:grid-cols-6"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); }
.grid[class*="sm:grid-cols-5"], .grid[class*="md:grid-cols-5"], .grid[class*="lg:grid-cols-5"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.grid[class*="sm:grid-cols-4"], .grid[class*="md:grid-cols-4"], .grid[class*="lg:grid-cols-4"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.grid[class*="sm:grid-cols-3"], .grid[class*="md:grid-cols-3"], .grid[class*="lg:grid-cols-3"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.grid[class*="grid-cols-2"][class*="sm:grid-cols-5"], .grid[class*="grid-cols-2"][class*="sm:grid-cols-4"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.grid > * { min-width: 0; }

/* ===== Responsive utilities the prebuilt Tailwind file lacks (generated by scripts/gen_missing_utilities.py) ===== */
@media (min-width:640px){
  .sm\:block{display:block;}
  .sm\:bottom-5{bottom:1.25rem;}
  .sm\:col-span-1{grid-column:span 1/span 1;}
  .sm\:flex-none{flex:none;}
  .sm\:gap-3{gap:0.75rem;}
  .sm\:h-20{height:5rem;}
  .sm\:h-24{height:6rem;}
  .sm\:h-28{height:7rem;}
  .sm\:h-\[36px\]{min-height:36px;}
  .sm\:h-\[38px\]{min-height:38px;}
  .sm\:hidden{display:none;}
  .sm\:justify-start{justify-content:flex-start;}
  .sm\:leading-\[1\.65\]{line-height:1.65;}
  .sm\:left-auto{left:auto;}
  .sm\:max-w-\[340px\]{max-width:340px;}
  .sm\:max-w-none{max-width:none;}
  .sm\:mb-16{margin-bottom:4rem;}
  .sm\:mb-8{margin-bottom:2rem;}
  .sm\:ml-0{margin-left:0;}
  .sm\:p-20{padding:5rem;}
  .sm\:p-3\.5{padding:0.875rem;}
  .sm\:p-7{padding:1.75rem;}
  .sm\:pb-6{padding-bottom:1.5rem;}
  .sm\:pt-4{padding-top:1rem;}
  .sm\:px-3{padding-left:0.75rem;padding-right:0.75rem;}
  .sm\:py-8{padding-top:2rem;padding-bottom:2rem;}
  .sm\:right-5{right:1.25rem;}
  .sm\:text-\[11px\]{font-size:11px;}
  .sm\:text-\[13\.5px\]{font-size:13.5px;}
  .sm\:text-\[13px\]{font-size:13px;}
  .sm\:text-\[17px\]{font-size:17px;}
  .sm\:text-\[21px\]{font-size:21px;}
  .sm\:text-\[22px\]{font-size:22px;}
  .sm\:text-\[24px\]{font-size:24px;}
  .sm\:text-\[26px\]{font-size:26px;}
  .sm\:text-\[30px\]{font-size:30px;}
  .sm\:text-\[38px\]{font-size:38px;}
  .sm\:text-\[42px\]{font-size:42px;}
  .sm\:text-\[44px\]{font-size:44px;}
  .sm\:text-left{text-align:left;}
  .sm\:w-20{width:5rem;}
  .sm\:w-24{width:6rem;}
  .sm\:w-28{width:7rem;}
  .sm\:w-96{width:24rem;}
  .sm\:w-\[240px\]{width:240px;}
  .sm\:w-\[380px\]{width:380px;}
}
@media (min-width:768px){
  .md\:flex-col{flex-direction:column;}
  .md\:flex-none{flex:none;}
  .md\:pb-6{padding-bottom:1.5rem;}
  .md\:py-10{padding-top:2.5rem;padding-bottom:2.5rem;}
  .md\:text-5xl{font-size:3rem;line-height:1.1;}
  .md\:text-\[23px\]{font-size:23px;}
  .md\:text-\[30px\]{font-size:30px;}
  .md\:text-\[36px\]{font-size:36px;}
  .md\:w-\[320px\]{width:320px;}
}
@media (min-width:1024px){
  .lg\:gap-10{gap:2.5rem;}
  .lg\:items-center{align-items:center;}
  .lg\:px-8{padding-left:2rem;padding-right:2rem;}
}
@media (min-width:1280px){
  .xl\:col-span-5{grid-column:span 5/span 5;}
  .xl\:col-span-7{grid-column:span 7/span 7;}
}
/* ===== end generated ===== */

/* Reduced motion (WCAG 2.3.3): people who ask their device for less motion get none. State changes still show
   through colour, icon and label, so nothing depends on movement. Kept last so it wins over every other sheet. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html.mm-vt-theme::view-transition-old(root), html.mm-vt-theme::view-transition-new(root) { animation: none !important; }
}

/* Phone header: logo + search + bell + theme + menu must fit side by side without sliding over each other.
   The logo is allowed to shrink; the icon buttons keep their 44px hit area but sit closer together. */
@media (max-width: 480px) {
  nav[aria-label="Main"] > .container { padding-left: 12px; padding-right: 12px; }
  nav[aria-label="Main"] .mm-nav-tools { gap: 0; flex-shrink: 0; }
  nav[aria-label="Main"] .mm-nav-tools > * { flex-shrink: 0; }
  nav[aria-label="Main"] .container > .flex > a:first-child { min-width: 0; flex: 0 1 auto; overflow: hidden; }
  nav[aria-label="Main"] .container > .flex > a:first-child img,
  nav[aria-label="Main"] .container > .flex > a:first-child svg { max-width: 100%; height: auto; }
}

/* "Complete your download" strip on phones: title on one line, attempts + button on the next, no label.
   It was ~170px tall (a fifth of the screen) before any content. */
@media (max-width: 480px) {
  .mm-download-strip > .flex-1 { gap: 6px 8px; padding: 2px 0; justify-content: center; }
  .mm-download-strip > .flex-1 > .relative.flex { display: none; }
  .mm-download-strip > .flex-1 > span.font-body { display: none; }
  .mm-download-strip > .flex-1 > span.font-display { flex: 1 1 100%; max-width: 100%; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Cookie notice on phones: same wording, tighter spacing and 36px buttons so it covers less of the page. */
@media (max-width: 480px) {
  .mm-cookie { padding: 10px 12px !important; }
  .mm-cookie .mm-cookie-t { font-size: 12.5px; line-height: 1.4; margin: 0 0 8px; }
  .mm-cookie .mm-cookie-b { gap: 8px; }
  .mm-cookie .mm-cookie-b .btn-mm { min-height: 36px; padding-top: 6px; padding-bottom: 6px; font-size: 13px; }
}

/* ═══ DJ studio bar: two layers, auto-fit ═══
   Layer 1 = day-to-day work, layer 2 = money / growth / help. Desktop: both layers show every tab,
   wrapping if the window is narrow. Phone: each layer scrolls sideways with a fade at the edge,
   the bar stops being sticky (two sticky rows would eat a fifth of the screen). */
.mm-studio-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
.mm-studio-label { display: none; }
.mm-studio nav { display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 0; min-width: 0; overflow: visible; mask-image: none; -webkit-mask-image: none; }
.mm-studio-row { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; min-width: 0; width: 100%; }
.mm-studio-row + .mm-studio-row { padding-top: 2px; border-top: 1px dashed var(--border); }
.mm-studio-row a { height: 38px; padding: 0 12px; flex: none; }
.mm-studio a.is-cta { grid-column: 2; grid-row: 1; margin: 0; height: 44px; padding: 0 18px; }
.mm-studio-row a.mm-studio-money { background: linear-gradient(135deg, rgba(46,211,164,.22), rgba(46,211,164,.08)); color: var(--accent-mint); border: 1px solid rgba(46,211,164,.45); font-weight: 700; }
.mm-studio-row a.mm-studio-money svg { color: var(--accent-mint); }
.mm-studio-chip { background: var(--accent-mint); color: #000; font-size: 10px; font-weight: 800; border-radius: 4px; padding: 1px 5px; text-transform: uppercase; letter-spacing: .3px; }
@media (max-width: 1099px) {
  .mm-studio { position: relative; top: auto; }
  .mm-studio-in { padding: 0 12px; column-gap: 8px; }
  .mm-studio nav { gap: 0; }
  .mm-studio-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 20px; }
  .mm-studio-row::-webkit-scrollbar { display: none; }
  .mm-studio-row a { height: 44px; scroll-snap-align: start; }
}
@media (max-width: 767px) {
  .mm-studio a.is-cta { height: 44px; width: 44px; padding: 0; justify-content: center; }
  .mm-studio a.is-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Studio bar, desktop: both layers stretch to the same width and the tabs share it evenly, centred, so the rows line up */
@media (min-width: 1100px) {
  .mm-studio-row { justify-content: stretch; gap: 4px; }
  .mm-studio-row a { flex: 1 1 0; justify-content: center; min-width: max-content; }
}

/* ═══ Button / chip / filter rows on phones: fill each line evenly (no lonely last item) ═══
   Only rows made purely of links, buttons or labels, and short ones (8 or fewer), so long tag clouds keep their natural flow. */
@media (max-width: 640px) {
  main .flex-wrap:not(:has(> :not(a, button, label, .mm-divider, span:first-child))):not(:has(> :nth-child(9))) > :is(a, button, label) {
    flex: 1 1 auto !important; justify-content: center; text-align: center; min-height: 36px;
  }
  .mm-bb-cta > * { flex: 1 1 auto !important; justify-content: center; text-align: center; }
}
@media (max-width: 640px) { .mm-divider { display: none; } }

/* "See all" header tools: arrows and link share one 44px height */
.mm-row-tools { align-items: center; }
.mm-row-tools > button { width: 44px; height: 44px; }

/* ═══ Cross-Screen Compatibility (320px Phones → Tablets → 1920px+ Desktops) ═══ */
/* 1. Eliminate 300ms tap delay on mobile touch devices */
a, button, summary, input[type="button"], input[type="submit"], [role="button"], .mm-rcard-play {
  touch-action: manipulation;
}

/* 2. Modals & Dialogs: responsive fit on 320px phones up to desktop, never clipped */
dialog.mm-dialog, .mm-dialog {
  width: min(92vw, 560px);
  max-height: 88dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: auto;
}

/* 3. Tablet & Split-Screen Grids: prevent grid items from blowing out parent tracks */
.grid > *, [class*="grid-cols-"] > * {
  min-width: 0;
}

/* 4. Ultrawide Monitors (1600px+): keep reading containers centered and comfortable */
@media (min-width: 1600px) {
  main#main.container {
    max-width: 1440px;
    margin-inline: auto;
  }
}
