:root {
    --cm-ink: #12141a;
    --cm-muted: #647084;
    --cm-line: #e6e9ef;
    --cm-paper: #f5f6f8;
    --cm-panel: #ffffff;
    --cm-deep: #10131b;
    --cm-deeper: #090b10;
    --cm-accent: #ff5a1f;
    --cm-gold: #f5b84b;
    --cm-teal: #10b3a3;
    --cm-blue: #3274ff;
}

* {
    box-sizing: border-box;
}

body {
    background:
        linear-gradient(180deg, rgba(245, 246, 248, 0.96), rgba(245, 246, 248, 1)),
        radial-gradient(circle at 20% 0%, rgba(255, 90, 31, 0.12), transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(16, 179, 163, 0.14), transparent 28%);
    color: var(--cm-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fw-black {
    font-weight: 900;
}

.cm-shell {
    min-height: 100vh;
    padding-bottom: 118px;
}

.cm-container {
    width: min(1200px, calc(100% - 36px));
    margin: 0 auto;
}

.cm-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(230, 233, 239, 0.86);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
}

.cm-nav .nav-link {
    color: #2d3442;
    font-weight: 750;
}

.cm-brand-mark {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cm-accent), #d92d78 62%, #222);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(255, 90, 31, 0.25);
}

.cm-eyebrow {
    margin: 0 0 10px;
    color: var(--cm-accent);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cm-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.78fr);
    gap: 36px;
    align-items: center;
    min-height: 620px;
    margin: 28px auto;
    padding: 54px;
    border-radius: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(9, 11, 16, 0.98), rgba(16, 19, 27, 0.94) 52%, rgba(94, 35, 18, 0.88)),
        url("https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=1800&q=80") center/cover;
    box-shadow: 0 30px 80px rgba(9, 11, 16, 0.28);
}

.cm-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 170px;
    background: linear-gradient(180deg, transparent, rgba(9, 11, 16, 0.72));
    pointer-events: none;
}

.cm-hero > * {
    position: relative;
    z-index: 1;
}

.cm-hero-title {
    margin: 0;
    max-width: 760px;
    font-size: clamp(3.4rem, 7vw, 7.2rem);
    line-height: 0.88;
    font-weight: 950;
    letter-spacing: 0;
}

.cm-hero-copy {
    max-width: 650px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.12rem;
    line-height: 1.8;
}

.cm-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--cm-accent);
    color: #fff;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 18px 36px rgba(255, 90, 31, 0.24);
}

.cm-button:hover {
    color: #fff;
    transform: translateY(-1px);
}

.cm-button-dark {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.cm-button-light {
    background: #fff;
    color: var(--cm-ink);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
}

.cm-button-light:hover {
    color: var(--cm-ink);
}

.cm-card {
    border: 1px solid var(--cm-line);
    border-radius: 20px;
    background: var(--cm-panel);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.cm-section {
    padding: 28px;
}

.cm-player-card {
    padding: 18px;
    color: var(--cm-ink);
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(18px);
}

.cm-cover {
    min-height: 250px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    font-weight: 950;
    letter-spacing: 0.08em;
    background:
        linear-gradient(135deg, rgba(249, 115, 22, 0.92), rgba(219, 39, 119, 0.88) 52%, rgba(15, 23, 42, 0.96)),
        url("https://images.unsplash.com/photo-1506157786151-b8491531f063?auto=format&fit=crop&w=900&q=80") center/cover;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.cm-cover-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--cm-accent);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.cm-waveform {
    height: 62px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 18px 0;
}

.cm-waveform span {
    flex: 1;
    min-width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fb923c, #e11d48);
    opacity: 0.86;
}

.cm-proof-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: -6px;
    margin-bottom: 28px;
}

.cm-proof {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(230, 233, 239, 0.9);
}

.cm-proof strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 950;
}

.cm-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(340px, 0.72fr);
    gap: 24px;
}

.cm-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.cm-page-hero {
    margin: 26px auto;
    padding: 40px;
    border-radius: 26px;
    color: #fff;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(115deg, rgba(9, 11, 16, 0.96), rgba(18, 22, 32, 0.88) 55%, rgba(255, 90, 31, 0.78)),
        url("https://images.unsplash.com/photo-1508700115892-45ecd05ae2ad?auto=format&fit=crop&w=1800&q=80") center/cover;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.24);
}

.cm-page-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 0.96;
    font-weight: 950;
}

.cm-page-copy {
    max-width: 690px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    line-height: 1.75;
}

.cm-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
    max-width: 720px;
}

.cm-kpi-pill {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
}

.cm-kpi-pill strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 950;
}

.cm-track-list,
.cm-artist-list,
.cm-module-list {
    display: grid;
    gap: 12px;
}

.cm-track-item,
.cm-artist-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--cm-line);
    border-radius: 16px;
    background: #fff;
}

.cm-track-rank {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #f1f3f7;
    color: #111827;
    font-weight: 900;
}

.cm-mini-avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, #0f766e, #22c55e 48%, #111827);
}

.cm-admin-band {
    margin: 26px auto;
    padding: 34px;
    border-radius: 24px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.94), rgba(17, 24, 39, 0.98) 55%, rgba(127, 29, 29, 0.9)),
        url("https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?auto=format&fit=crop&w=1600&q=80") center/cover;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
}

.cm-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cm-metric {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cm-global-player {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 40;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(12, 14, 20, 0.94);
    color: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.cm-player-thumb {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cm-accent), #d92d78 50%, #111827);
}

.cm-global-player audio {
    width: min(420px, 38vw);
}

.cm-dashboard-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.cm-sidebar-panel {
    position: sticky;
    top: 90px;
    padding: 20px;
    border-radius: 22px;
    background: var(--cm-deep);
    color: #fff;
}

.cm-sidebar-panel a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 11px 12px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    font-weight: 750;
}

.cm-sidebar-panel a.active,
.cm-sidebar-panel a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.cm-dashboard-hero {
    padding: 30px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--cm-line);
}

.cm-chart-panel {
    min-height: 260px;
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fff, #f8fafc);
    border: 1px solid var(--cm-line);
}

.cm-bars {
    height: 150px;
    display: flex;
    align-items: end;
    gap: 10px;
    margin-top: 24px;
}

.cm-bars span {
    flex: 1;
    border-radius: 999px 999px 8px 8px;
    background: linear-gradient(180deg, var(--cm-accent), #e11d48);
}

.music-feed-container {
    height: calc(100vh - 70px);
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    background: #05070b;
}

.music-feed-card {
    min-height: 100vh;
    scroll-snap-align: start;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.music-feed-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 7, 11, 0.12), rgba(5, 7, 11, 0.78)),
        radial-gradient(circle at 80% 30%, rgba(255, 90, 31, 0.26), transparent 34%);
}

.music-feed-content {
    position: relative;
    z-index: 1;
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
}

.music-feed-art {
    width: min(220px, 46vw);
    aspect-ratio: 1;
    margin: 0 auto 26px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 90, 31, 0.92), rgba(217, 45, 120, 0.88) 50%, rgba(16, 19, 27, 0.96)),
        url("https://images.unsplash.com/photo-1511735111819-9a3f7709049c?auto=format&fit=crop&w=900&q=80") center/cover;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.music-feed-meta {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
    padding: 9px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cm-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.62fr);
    gap: 24px;
    align-items: start;
}

.cm-form-control {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid var(--cm-line);
    background-color: #f9fafb;
    font-weight: 650;
}

.cm-form-control:focus {
    border-color: rgba(255, 90, 31, 0.48);
    box-shadow: 0 0 0 0.25rem rgba(255, 90, 31, 0.12);
}

.cm-upload-drop {
    min-height: 230px;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 18px;
    border: 1px dashed rgba(100, 112, 132, 0.42);
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(241, 245, 249, 0.94)),
        url("https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?auto=format&fit=crop&w=1100&q=80") center/cover;
}

.cm-upload-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 20px;
    background: var(--cm-deep);
    color: #fff;
}

.cm-side-stat {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--cm-line);
}

.cm-side-stat:last-child {
    border-bottom: 0;
}

.cm-account-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 24px;
    align-items: start;
}

.cm-profile-card {
    padding: 28px;
    color: #fff;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(16, 19, 27, 0.98), rgba(37, 45, 60, 0.94) 60%, rgba(15, 118, 110, 0.88)),
        url("https://images.unsplash.com/photo-1470225620780-dba8ba36b745?auto=format&fit=crop&w=1100&q=80") center/cover;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

.cm-profile-avatar {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    color: #111827;
    background: #fff;
    font-size: 1.8rem;
    font-weight: 950;
}

.cm-playlist-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--cm-line);
    background: #fff;
}

.cm-playlist-cover {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--cm-accent), #d92d78 55%, #111827);
}

@media (max-width: 980px) {
    .cm-hero,
    .cm-grid,
    .cm-dashboard-shell,
    .cm-form-grid,
    .cm-account-grid {
        grid-template-columns: 1fr;
    }

    .cm-proof-strip,
    .cm-metric-grid,
    .cm-kpi-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cm-sidebar-panel {
        position: static;
    }
}

@media (max-width: 680px) {
    .cm-container {
        width: min(100% - 24px, 1200px);
    }

    .cm-hero {
        min-height: auto;
        padding: 30px 22px;
        border-radius: 22px;
    }

    .cm-proof-strip,
    .cm-metric-grid,
    .cm-kpi-row {
        grid-template-columns: 1fr;
    }

    .cm-global-player {
        grid-template-columns: auto 1fr;
    }

    .cm-global-player audio {
        grid-column: 1 / -1;
        width: 100%;
    }
}

.cm-progress {
    width: 100%;
    height: 5px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
}

.cm-progress-bar {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        var(--cm-accent),
        #ec4899
    );
    transition: width .15s linear;
}

.cm-player-btn {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,0.08);
    transition: all .2s ease;
}

.cm-player-btn:hover {
    transform: scale(1.06);
    background: rgba(255,255,255,0.16);
}

.cm-player-btn-primary {
    width: 54px;
    height: 54px;
    background: linear-gradient(
        135deg,
        var(--cm-accent),
        #ec4899
    );
    box-shadow: 0 10px 24px rgba(255,90,31,.3);
}ø

.music-feed-track {
    position: relative;
    overflow: hidden;

    transition:
        transform .45s ease,
        box-shadow .45s ease,
        opacity .45s ease;
}

.music-feed-track::before {
    content: '';

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at top,
            rgba(255,255,255,0.12),
            transparent 60%
        );

    opacity: 0;

    transition: opacity .45s ease;
}

.music-feed-track.is-active {
    transform: scale(1.02);

    box-shadow:
        0 30px 80px rgba(255,90,31,.28),
        0 10px 32px rgba(0,0,0,.45);
}

.music-feed-track.is-active::before {
    opacity: 1;
}

.music-feed-content {
    position: relative;
    z-index: 2;
}

/* =========================================
   PREMIUM FEED ACTIONS
========================================= */

.music-feed-actions {
    position: absolute;

    right: 32px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    gap: 18px;

    z-index: 50;
}

.music-feed-action {
    width: 84px;
    height: 84px;

    border: 1px solid rgba(255,255,255,0.08) !important;

    border-radius: 28px !important;

    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    color: #fff !important;

    text-decoration: none !important;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.10),
            rgba(255,255,255,0.04)
        ) !important;

    backdrop-filter: blur(24px);

    box-shadow:
        0 12px 40px rgba(0,0,0,.25);

    transition:
        transform .28s ease,
        background .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;

    cursor: pointer;

    appearance: none;
}

.music-feed-action:hover {

    transform:
        scale(1.08)
        translateY(-4px);

    border-color:
        rgba(255,255,255,0.18) !important;

    background:
        linear-gradient(
            135deg,
            #ff5a1f,
            #ec4899
        ) !important;

    box-shadow:
        0 20px 60px rgba(255,90,31,.30);

    color: #fff !important;
}

.music-feed-action i {
    font-size: 1.45rem;
}

.music-feed-action span {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.music-feed-action-like {
    background:
        linear-gradient(
            135deg,
            rgba(255,0,102,.28),
            rgba(255,90,31,.12)
        ) !important;
}

.music-feed-action-follow {
    background:
        linear-gradient(
            135deg,
            rgba(99,102,241,.28),
            rgba(168,85,247,.12)
        ) !important;
}

/* =========================================
   MOBILE FEED ACTIONS
========================================= */

@media (max-width: 991px) {

    .music-feed-actions {

        right: 50%;
        bottom: 34px;
        top: auto;

        transform: translateX(50%);

        flex-direction: row;

        gap: 12px;
    }

    .music-feed-action {

        width: 68px;
        height: 68px;

        border-radius: 22px !important;
    }

    .music-feed-action span {
        display: none;
    }

}

/* =========================================
   PREMIUM FEED ACTIONS
========================================= */

.music-feed-actions {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 50;
}

.music-feed-action {
    width: 84px;
    height: 84px;

    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 28px !important;

    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    color: #fff !important;
    text-decoration: none !important;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.10),
            rgba(255,255,255,0.04)
        ) !important;

    backdrop-filter: blur(24px);

    box-shadow:
        0 12px 40px rgba(0,0,0,.25);

    transition:
        transform .28s ease,
        background .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;

    cursor: pointer;
    appearance: none;
}

.music-feed-action:hover {
    transform:
        scale(1.08)
        translateY(-4px);

    border-color:
        rgba(255,255,255,0.18) !important;

    background:
        linear-gradient(
            135deg,
            #ff5a1f,
            #ec4899
        ) !important;

    box-shadow:
        0 20px 60px rgba(255,90,31,.30);

    color: #fff !important;
}

.music-feed-action i {
    font-size: 1.45rem;
}

.music-feed-action span {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.music-feed-action-like {
    background:
        linear-gradient(
            135deg,
            rgba(255,0,102,.28),
            rgba(255,90,31,.12)
        ) !important;
}

.music-feed-action-follow {
    background:
        linear-gradient(
            135deg,
            rgba(99,102,241,.28),
            rgba(168,85,247,.12)
        ) !important;
}

@media (max-width: 991px) {

    .music-feed-actions {
        right: 50%;
        bottom: 34px;
        top: auto;
        transform: translateX(50%);
        flex-direction: row;
        gap: 12px;
    }

    .music-feed-action {
        width: 68px;
        height: 68px;
        border-radius: 22px !important;
    }

    .music-feed-action span {
        display: none;
    }

}
