:root {
    --ds-bg: #17191f;
    --ds-bg-soft: #1d2028;
    --ds-surface: #1a1c22;
    --ds-surface-2: #20242d;
    --ds-card: #1a1d24;
    --ds-card-2: #181c24;
    --ds-border: rgba(255, 255, 255, 0.06);
    --ds-border-strong: rgba(255, 255, 255, 0.1);
    --ds-text: #f8fafc;
    --ds-text-muted: #99a1b3;
    --ds-blue: #234887;
    --ds-blue-soft: #2f5fb6;
    --ds-pink: #f268b8;
    --ds-promo: #d7e0f8;
    --ds-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

body.ds-page {
    margin: 0;
    background: var(--ds-bg);
    color: var(--ds-text);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.ds-shell {
    display: flex;
    min-height: 100vh;
}

.ds-sidebar {
    width: 232px;
    min-height: 100vh;
    position: sticky;
    top: 0;
    align-self: flex-start;
    background: #1b1d24;
    border-right: 1px solid var(--ds-border);
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
}

.ds-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 18px;
    font-size: 15px;
    font-weight: 800;
}

.ds-logo i {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #17191f;
    font-size: 12px;
}

.ds-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ds-nav__item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ds-text-muted);
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: background .18s ease, color .18s ease;
}

.ds-nav__item:hover,
.ds-nav__item.is-active {
    background: #262a33;
    color: #fff;
}

.ds-nav__item i {
    width: 16px;
    text-align: center;
    font-size: 13px;
}

.ds-sidebar__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 18px;
}

.ds-credit-card,
.ds-user-card {
    background: #232734;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
}

.ds-credit-card {
    display: block;
    padding: 14px;
}

.ds-credit-card__label {
    display: block;
    color: var(--ds-text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .18em;
    margin-bottom: 8px;
}

.ds-credit-card strong {
    display: block;
    font-size: 26px;
    margin-bottom: 4px;
}

.ds-credit-card small {
    color: var(--ds-text-muted);
    font-size: 12px;
}

.ds-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    transition: background .18s ease, border-color .18s ease;
}

.ds-user-card:hover {
    background: #2a3040;
    border-color: rgba(255,255,255,0.09);
}

.ds-logout-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: transparent;
    color: #f8fafc;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.ds-logout-btn:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.14);
}

.ds-user-card__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #48c2ea, #4b60ca);
    color: #fff;
    font-weight: 700;
}

.ds-user-card__meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ds-user-card__meta strong {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ds-user-card__meta span {
    color: var(--ds-text-muted);
    font-size: 12px;
}

.ds-main {
    flex: 1;
    min-width: 0;
}

.ds-topbar {
    max-width: 1360px;
    margin: 0 auto;
    padding: 16px 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ds-topbar__tabs {
    display: inline-flex;
    background: transparent;
    gap: 8px;
}

.ds-topbar__tabs button {
    background: transparent;
    border: none;
    color: var(--ds-text-muted);
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.ds-topbar__tabs button.is-active {
    background: #fff;
    color: #111319;
}

.ds-topbar__user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.ds-topbar__user:hover {
    color: #d9e3ff;
}

.ds-content {
    max-width: 1360px;
    margin: 0 auto;
    padding: 12px 18px 120px;
}

.ds-banner__notice {
    background: var(--ds-blue);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.ds-banner__notice strong,
.ds-banner__notice span {
    display: block;
}

.ds-banner__notice strong {
    font-size: 14px;
    margin-bottom: 2px;
}

.ds-banner__notice span {
    font-size: 13px;
    color: rgba(255,255,255,0.82);
}

.ds-banner__notice a {
    background: #111319;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.ds-search-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 12px;
    margin-bottom: 16px;
}

.ds-search,
.ds-search-alt {
    min-height: 54px;
    border-radius: 12px;
    border: 1px solid var(--ds-border-strong);
    background: #1d2028;
}

.ds-search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
}

.ds-search i,
.ds-search-alt i {
    color: var(--ds-text-muted);
    font-size: 13px;
}

.ds-search input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
}

.ds-search input::placeholder {
    color: #767d8c;
}

.ds-search-alt {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.ds-hero-card {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 24px;
    background: linear-gradient(180deg, #2a4f97, #254888);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--ds-shadow);
}

.ds-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.ds-pill--light {
    background: #8fb2ff;
    color: #18305f;
}

.ds-hero-copy h1 {
    font-size: clamp(40px, 4vw, 64px);
    line-height: .95;
    letter-spacing: -0.05em;
    margin: 18px 0 18px;
    max-width: 620px;
}

.ds-hero-copy p {
    max-width: 520px;
    color: rgba(255,255,255,0.84);
    line-height: 1.65;
    font-size: 15px;
}

.ds-hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.ds-hero-actions a:first-child,
.ds-promo__copy a {
    background: #fff;
    color: #131722;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
}

.ds-hero-actions a:last-child {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 12px 0;
}

.ds-hero-player {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-hero-player__card {
    width: 100%;
    max-width: 320px;
    background: rgba(230, 242, 255, 0.9);
    border: 3px solid rgba(255,255,255,0.55);
    border-radius: 20px;
    padding: 24px 22px;
    color: #192339;
    box-shadow: 0 18px 50px rgba(0,0,0,0.15);
    position: relative;
}

.ds-hero-player__title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 24px;
}

.ds-hero-player__wave {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    gap: 3px;
    align-items: center;
}

.ds-hero-player__wave span {
    display: block;
    background: #8cb0c6;
    border-radius: 999px;
}

.ds-hero-player__card > i {
    position: absolute;
    right: 18px;
    bottom: 18px;
    font-size: 42px;
    color: rgba(255,255,255,0.9);
}

.ds-section {
    margin-top: 22px;
}

.ds-section__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.ds-section__heading h2 {
    margin: 0;
    font-size: 34px;
    letter-spacing: -0.04em;
}

.ds-section__heading p {
    margin: 6px 0 0;
    color: var(--ds-text-muted);
    font-size: 13px;
}

.ds-section__heading > a {
    color: #d8dfef;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.ds-track-table {
    background: #1a1c22;
    border: 1px solid var(--ds-border);
    border-radius: 16px;
    overflow: hidden;
}

.ds-track-table__head,
.ds-track-row {
    display: grid;
    grid-template-columns: minmax(0,2.2fr) 1fr 1fr 140px 88px;
    gap: 12px;
    align-items: center;
    padding: 14px 18px;
}

.ds-track-table__head {
    color: #8e95a5;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .18em;
    border-bottom: 1px solid var(--ds-border);
    font-weight: 700;
}

.ds-track-row {
    width: 100%;
    background: transparent;
    border: none;
    color: inherit;
    text-align: left;
    border-top: 1px solid var(--ds-border);
    cursor: pointer;
    transition: background .18s ease;
}

.ds-track-row:first-of-type {
    border-top: none;
}

.ds-track-row:hover {
    background: rgba(255,255,255,0.025);
}

.ds-track-row__main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.ds-track-row__main img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.ds-track-row__meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ds-track-row__meta strong,
.ds-release-card__body strong,
.ds-card__body strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ds-track-row__meta strong {
    font-size: 14px;
    margin-bottom: 3px;
}

.ds-track-row__meta small {
    color: var(--ds-text-muted);
    font-size: 12px;
}

.ds-track-row > span:not(.ds-track-row__main):not(.ds-track-row__actions) {
    color: #c0c6d2;
    font-size: 13px;
}

.ds-wave-inline {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    gap: 3px;
    align-items: center;
}

.ds-wave-inline i {
    display: block;
    background: #6f7480;
    border-radius: 999px;
}

.ds-track-row__actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    color: #c0c6d2;
}

.ds-spotlight {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 18px;
}

.ds-spotlight__feature {
    background: #1a1d24;
    border: 1px solid var(--ds-border);
    border-radius: 16px;
    padding: 18px;
    display: grid;
    grid-template-columns: .7fr 1fr;
    gap: 22px;
    align-items: center;
}

.ds-spotlight__cover img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

.ds-spotlight__copy h2 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.ds-spotlight__copy p {
    margin: 0 0 18px;
    color: var(--ds-text-muted);
    line-height: 1.7;
    font-size: 14px;
}

.ds-spotlight__copy a {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #121620;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.ds-spotlight__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ds-spotlight__item {
    width: 100%;
    background: #1a1d24;
    border: 1px solid var(--ds-border);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.ds-spotlight__item img {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    object-fit: cover;
}

.ds-spotlight__item span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ds-spotlight__item strong {
    font-size: 14px;
    margin-bottom: 2px;
}

.ds-spotlight__item small {
    color: var(--ds-text-muted);
    font-size: 12px;
}

.ds-card-grid,
.ds-release-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.ds-card,
.ds-release-card {
    background: #1a1d24;
    border: 1px solid var(--ds-border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease;
}

.ds-card:hover,
.ds-release-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.14);
}

.ds-card__image,
.ds-release-card__image {
    aspect-ratio: 1 / 1;
    background: #20242d;
}

.ds-card__image img,
.ds-release-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ds-card__body,
.ds-release-card__body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ds-card__body strong,
.ds-release-card__body strong {
    font-size: 14px;
}

.ds-card__body small,
.ds-release-card__body small {
    color: var(--ds-text-muted);
    font-size: 12px;
}

.ds-promo {
    margin-top: 22px;
    background: linear-gradient(90deg, var(--ds-promo) 0 60%, #21417c 60% 100%);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.3fr .7fr;
}

.ds-promo__copy {
    padding: 28px;
    color: #161d2d;
}

.ds-promo__copy h2 {
    margin: 16px 0 12px;
    font-size: 52px;
    line-height: .95;
    letter-spacing: -0.05em;
}

.ds-promo__copy p {
    max-width: 480px;
    color: #42506d;
    line-height: 1.7;
    font-size: 14px;
    margin: 0 0 22px;
}

.ds-promo__art {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.ds-promo__device {
    width: 150px;
    height: 150px;
    border-radius: 22px;
    background: linear-gradient(180deg, #4da6ff, #4083df);
    box-shadow: inset 0 -10px 18px rgba(0,0,0,.1);
    position: relative;
}

.ds-promo__device span {
    position: absolute;
    top: 20px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.ds-promo__device span:nth-child(1) { left: 24px; background: #ffd23f; }
.ds-promo__device span:nth-child(2) { left: 48px; background: #ff5f6d; }
.ds-promo__device span:nth-child(3) { left: 72px; background: #96e64d; }
.ds-promo__device b {
    position: absolute;
    right: 28px;
    bottom: 26px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #29304a;
}

.ds-empty-state {
    padding: 24px 18px;
    color: var(--ds-text-muted);
    font-size: 14px;
}

.ds-player {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translate(-50%, calc(100% + 20px));
    width: min(1180px, calc(100% - 36px));
    background: rgba(20,22,28,.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.35);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: transform .25s ease;
    z-index: 100;
}

.ds-player.is-visible {
    transform: translate(-50%, 0);
}

.ds-player__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.ds-player__meta img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
}

.ds-player__meta div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ds-player__meta strong {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ds-player__meta small {
    color: var(--ds-text-muted);
    font-size: 12px;
}

.ds-player__controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    justify-content: flex-end;
}

.ds-player__controls button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #161a22;
    cursor: pointer;
}

.ds-player__timeline {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(520px, 100%);
    color: var(--ds-text-muted);
    font-size: 12px;
}

.ds-player__bar {
    position: relative;
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    overflow: hidden;
}

.ds-player__bar div {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #4f8ff7;
}

@media (max-width: 1180px) {
    .ds-card-grid,
    .ds-release-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .ds-sidebar {
        display: none;
    }

    .ds-topbar,
    .ds-content {
        padding-left: 14px;
        padding-right: 14px;
    }

    .ds-hero-card,
    .ds-spotlight,
    .ds-promo {
        grid-template-columns: 1fr;
    }

    .ds-card-grid,
    .ds-release-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ds-track-table__head,
    .ds-track-row {
        grid-template-columns: minmax(0,1.5fr) .8fr .8fr 120px 76px;
    }
}

@media (max-width: 720px) {
    .ds-banner__notice,
    .ds-search-row,
    .ds-section__heading,
    .ds-player {
        flex-direction: column;
        align-items: stretch;
    }

    .ds-search-row {
        grid-template-columns: 1fr;
    }

    .ds-track-table__head {
        display: none;
    }

    .ds-track-row {
        grid-template-columns: 1fr;
    }

    .ds-track-row__actions {
        justify-content: flex-start;
    }

    .ds-card-grid,
    .ds-release-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ds-promo__copy h2,
    .ds-hero-copy h1,
    .ds-section__heading h2 {
        font-size: 34px;
    }

    .ds-player {
        width: calc(100% - 24px);
    }

    .ds-player__controls {
        flex-direction: column;
        align-items: stretch;
    }
}
