@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap");

:root {
    --sidebar: rgba(4, 10, 20, 0.96);
    --panel: rgba(10, 26, 48, 0.78);
    --blue: #238cff;
    --blue-deep: #0a4fa8;
    --cyan: #57dfff;
    --green: #24e878;
    --milk: #eef4fc;
    --white: #ffffff;
    --muted: #92aac9;
    --muted-dark: #5c7391;
    --line: rgba(105, 190, 255, 0.16);
    --line-bright: rgba(87, 223, 255, 0.45);
    --sidebar-width: 236px;
    --player-height: 92px;
    --radius-large: 22px;
    --radius-medium: 16px;
    --radius-small: 12px;
    --shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    min-height: 100vh;
    overflow-x: hidden;

    padding-left: var(--sidebar-width);
    padding-bottom: var(--player-height);

    color: var(--milk);

    font-family: "DM Sans", sans-serif;

    background:
        radial-gradient(
            circle at 18% -2%,
            rgba(35, 110, 210, 0.3),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 8%,
            rgba(20, 80, 175, 0.26),
            transparent 30%
        ),
        linear-gradient(
            160deg,
            #061428,
            #030a14 55%,
            #02060c
        );
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

button:active {
    transform: scale(0.98);
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}


/* ========================================
   BACKGROUND
======================================== */

.background-effects {
    position: fixed;
    inset: 0;
    z-index: -5;

    overflow: hidden;

    pointer-events: none;
}

.glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(110px);

    opacity: 0.2;
}

.glow-one {
    top: -220px;
    right: -90px;

    width: 560px;
    height: 560px;

    background: var(--blue);

    animation: glowMove 15s ease-in-out infinite alternate;
}

.glow-two {
    bottom: -250px;
    left: 22%;

    width: 520px;
    height: 520px;

    background: var(--cyan);

    opacity: 0.08;

    animation: glowMove 19s ease-in-out infinite alternate-reverse;
}

.noise {
    position: absolute;
    inset: 0;

    opacity: 0.022;

    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%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");
}


/* ========================================
   SIDEBAR
======================================== */

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;

    display: flex;
    flex-direction: column;

    width: var(--sidebar-width);

    padding:
        26px
        18px
        calc(var(--player-height) + 22px);

    overflow: hidden;

    background: var(--sidebar);

    border-right: 1px solid var(--line);

    backdrop-filter: blur(24px);
}

.logo {
    display: grid;
    justify-items: center;

    margin-bottom: 34px;

    color: var(--white);

    text-decoration: none;
}

.logo-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;

    height: 22px;

    margin-bottom: 9px;
}

.logo-bars i {
    width: 3px;

    border-radius: 2px;

    background: linear-gradient(
        180deg,
        var(--cyan),
        var(--blue)
    );
}

.logo-bars i:nth-child(1) {
    height: 40%;
}

.logo-bars i:nth-child(2) {
    height: 72%;
}

.logo-bars i:nth-child(3) {
    height: 100%;
}

.logo-bars i:nth-child(4) {
    height: 58%;
}

.logo-bars i:nth-child(5) {
    height: 86%;
}

.logo-bars i:nth-child(6) {
    height: 46%;
}

.logo strong {
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.logo small {
    margin-top: 5px;

    color: var(--muted-dark);

    font-size: 0.44rem;
    letter-spacing: 0.3em;
}

.logo span,
.mobile-logo span {
    color: var(--cyan);
}

.desktop-navigation {
    display: grid;
    gap: 6px;
}

.navigation-item {
    position: relative;

    display: flex;
    align-items: center;
    gap: 13px;

    width: 100%;

    padding: 12px 14px;

    overflow: hidden;

    color: var(--muted);
    background: transparent;

    border: 1px solid transparent;
    border-radius: var(--radius-small);

    text-align: left;

    font-size: 0.9rem;
    font-weight: 600;

    transition: 0.25s ease;
}

.navigation-item::before {
    position: absolute;
    left: 0;

    width: 3px;
    height: 0;

    border-radius: 10px;

    background: var(--cyan);

    box-shadow: 0 0 15px var(--cyan);

    content: "";

    transition: height 0.25s ease;
}

.navigation-item svg {
    width: 19px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.navigation-item:hover,
.navigation-item.active {
    color: var(--white);

    border-color: rgba(87, 223, 255, 0.1);

    background: linear-gradient(
        90deg,
        rgba(23, 91, 165, 0.4),
        rgba(8, 28, 52, 0.18)
    );
}

.navigation-item.active::before {
    height: 52%;
}

.sidebar-playlist {
    display: grid;
    gap: 2px;

    margin-top: 30px;
    padding: 0 8px;
}

.sidebar-playlist > span {
    margin-bottom: 9px;

    color: var(--muted-dark);

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.sidebar-playlist button,
.sidebar-playlist a {
    display: block;

    padding: 8px 0;

    color: var(--muted);
    background: transparent;

    border: 0;

    text-align: left;
    text-decoration: none;

    font-size: 0.84rem;

    transition: 0.2s ease;
}

.sidebar-playlist button:hover,
.sidebar-playlist a:hover {
    color: var(--cyan);

    transform: translateX(4px);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 26px;

    color: var(--muted-dark);

    text-align: center;

    font-size: 0.5rem;
    font-weight: 600;
    line-height: 2.3;
    letter-spacing: 0.26em;
}


/* ========================================
   TOPBAR
======================================== */

.dashboard {
    min-height: 100vh;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;

    display: flex;
    align-items: center;

    height: 74px;

    padding: 0 3vw;

    background: rgba(4, 10, 20, 0.84);

    border-bottom: 1px solid rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(24px);
}

.mobile-logo {
    display: none;

    font-weight: 800;
    letter-spacing: 0.14em;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 11px;

    width: min(420px, 44vw);
    height: 42px;

    padding: 0 16px;

    background: rgba(6, 18, 34, 0.86);

    border: 1px solid var(--line);
    border-radius: 25px;

    transition: 0.25s ease;
}

/* No focus/active treatment on purpose: the box keeps its base look
   when you are typing in it, and only reacts to the pointer. */
.search-box:hover {
    background: rgba(10, 30, 56, 0.96);

    border-color: var(--line-bright);
}

.search-box svg {
    width: 17px;

    fill: none;
    stroke: var(--muted);
    stroke-width: 2;
}

.search-box input {
    width: 100%;

    color: var(--white);
    background: transparent;

    border: 0;
    outline: 0;

    font-size: 0.88rem;
}

.search-box input::placeholder {
    color: #6f849f;
}

.search-box kbd {
    padding: 4px 7px;

    color: var(--muted);
    background: #071322;

    border: 1px solid var(--line);
    border-radius: 6px;

    font-size: 0.64rem;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 11px;

    margin-left: auto;
}

.notification-button {
    position: relative;

    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    color: var(--muted);
    background: var(--panel);

    border: 1px solid var(--line);
    border-radius: 50%;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.notification-button svg {
    width: 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.notification-button span {
    position: absolute;
    top: 8px;
    right: 8px;

    width: 6px;
    height: 6px;

    background: var(--cyan);

    border: 1px solid #071322;
    border-radius: 50%;
}

.notification-button:hover {
    color: var(--cyan);
    background: rgba(87, 223, 255, 0.1);

    border-color: var(--line-bright);

    transform: translateY(-1px);
}

.profile-button {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 42px;

    padding: 5px 15px 5px 5px;

    color: var(--white);
    background: var(--panel);

    border: 1px solid var(--line);
    border-radius: 24px;
}

.profile-button .avatar {
    display: grid;
    place-items: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        var(--cyan),
        var(--blue)
    );
}

.profile-button .avatar svg {
    width: 15px;

    fill: none;
    stroke: #04121f;
    stroke-width: 2;
}

.profile-button .chevron {
    width: 14px;

    fill: none;
    stroke: var(--muted);
    stroke-width: 2;
}


/* ========================================
   MAIN CONTENT
======================================== */

.content {
    width: min(1480px, 100%);

    margin: auto;
    padding: 26px 3vw 60px;
}

.eyebrow {
    color: var(--cyan);

    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.26em;
}

.section-block {
    padding-top: 34px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 14px;
}

.section-heading h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 500;
}

.heading-note,
.section-heading > #resultCount {
    margin-left: auto;

    color: var(--muted);

    font-size: 0.78rem;
}

.heading-arrows {
    display: flex;
    gap: 8px;
}

.heading-arrows button {
    display: grid;
    place-items: center;

    width: 36px;
    height: 36px;

    color: var(--milk);
    background: transparent;

    border: 1px solid rgba(160, 200, 250, 0.3);
    border-radius: 50%;

    font-size: 0.95rem;
    line-height: 1;

    transition: 0.25s ease;
}

.heading-arrows button:hover {
    color: #04121f;
    background: var(--cyan);

    border-color: var(--cyan);

    transform: scale(1.06);
}


/* ========================================
   FEATURED RELEASE
======================================== */

.featured-card {
    position: relative;
    isolation: isolate;

    display: grid;
    align-items: center;

    min-height: 340px;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1fr);

    overflow: hidden;

    background:
        linear-gradient(
            95deg,
            #04101f 0 28%,
            rgba(4, 16, 31, 0.6) 46%,
            rgba(4, 16, 31, 0) 68%
        ),
        linear-gradient(
            180deg,
            #0f3a72,
            #2168ad 62%,
            #0a2244
        );

    border: 1px solid rgba(71, 177, 255, 0.3);
    border-radius: var(--radius-large);

    box-shadow: var(--shadow);

    animation: riseIn 0.7s ease both;
}

.featured-content {
    position: relative;
    z-index: 3;

    padding: 34px 38px;
}

.featured-content h1 {
    margin-top: 10px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.4rem, 4.2vw, 3.6rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.01em;

    text-shadow: 0 12px 38px rgba(0, 0, 0, 0.45);
}

.featured-artist {
    margin-top: 12px;

    font-size: 0.98rem;
    font-weight: 700;
}

.featured-description {
    margin-top: 6px;

    color: #bcd4f2;

    font-size: 0.86rem;
}

.featured-buttons {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 22px;
}

.primary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 48px;

    padding: 13px 28px;

    color: #04121f;

    background: linear-gradient(
        120deg,
        var(--cyan),
        var(--blue)
    );

    border: 0;
    border-radius: 26px;

    font-size: 0.94rem;
    font-weight: 700;

    box-shadow: 0 12px 30px rgba(26, 151, 255, 0.35);

    transition: 0.25s ease;
}

.primary-button:hover {
    background: var(--cyan);

    box-shadow:
        0 0 20px rgba(87, 223, 255, 0.45),
        0 15px 38px rgba(44, 204, 255, 0.35);

    transform: translateY(-2px);
}

.ghost-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 48px;

    padding: 13px 24px;

    color: var(--milk);
    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 26px;

    font-size: 0.94rem;
    font-weight: 600;

    transition: 0.25s ease;
}

.ghost-button:hover {
    color: var(--cyan);
    background: rgba(87, 223, 255, 0.12);

    border-color: var(--cyan);
}


/* ========================================
   FEATURED ART
======================================== */

.featured-art {
    position: absolute;
    inset: 0;
    z-index: 1;

    pointer-events: none;
}

.featured-art .moon {
    position: absolute;
    top: -16%;
    left: 47%;

    width: 272px;
    height: 272px;

    border-radius: 50%;

    background: radial-gradient(
        circle at 36% 32%,
        #e8f3ff,
        #a8cdf0 52%,
        #5f92c8 78%,
        #41729f
    );

    box-shadow: 0 0 80px 26px rgba(150, 200, 255, 0.22);
}

.featured-art .figure {
    position: absolute;
    bottom: 0;
    left: 52%;

    width: 200px;
    height: 205px;
}

.featured-art .figure::before {
    position: absolute;
    bottom: 96px;
    left: 64px;

    width: 66px;
    height: 76px;

    background: #02070e;

    border-radius: 50% 50% 46% 46%;

    content: "";
}

.featured-art .figure::after {
    position: absolute;
    bottom: 0;
    left: 10px;

    width: 180px;
    height: 120px;

    background: #02070e;

    border-radius: 52% 52% 0 0;

    content: "";
}

.featured-art .hills {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 28%;

    height: 150px;

    background:
        radial-gradient(
            120% 130% at 22% 128%,
            #041020 0 50%,
            transparent 58%
        ),
        radial-gradient(
            110% 120% at 82% 132%,
            #061628 0 48%,
            transparent 56%
        ),
        linear-gradient(
            180deg,
            transparent,
            rgba(2, 7, 14, 0.8)
        );
}

.featured-art .equaliser {
    position: absolute;
    right: 150px;
    bottom: 34px;

    display: flex;
    align-items: flex-end;
    gap: 4px;

    height: 70px;

    opacity: 0.85;
}

.featured-art .equaliser i {
    width: 4px;

    border-radius: 2px;

    background: linear-gradient(
        180deg,
        #9adcff,
        rgba(79, 195, 255, 0.25)
    );

    animation: bounce 1.4s ease-in-out infinite alternate;
}

.featured-art .equaliser i:nth-child(odd) {
    height: 38%;

    animation-delay: -0.2s;
}

.featured-art .equaliser i:nth-child(3n) {
    height: 72%;

    animation-delay: -0.5s;
}

.featured-art .equaliser i:nth-child(4n) {
    height: 96%;

    animation-delay: -0.8s;
}

.featured-art .equaliser i:nth-child(5n) {
    height: 54%;

    animation-delay: -1.1s;
}

.featured-words {
    position: absolute;
    top: 34px;
    right: 30px;
    z-index: 3;

    color: #b9d3f2;

    font-size: 0.56rem;
    font-weight: 600;
    line-height: 2.4;
    letter-spacing: 0.3em;
}

.featured-dots {
    position: absolute;
    right: 22px;
    bottom: 14px;
    z-index: 3;

    display: flex;
    gap: 0;
}

.featured-dots i {
    width: 5px;
    height: 5px;

    background: rgba(255, 255, 255, 0.35);

    border-radius: 50%;
}

.featured-dots i.on {
    width: 15px;

    background: var(--cyan);

    border-radius: 3px;
}

/* The dot you see is 5px. The dot you can tap is 22px, drawn
   inside the button rather than spilling over its neighbours. */
.featured-dots button {
    position: relative;

    width: 22px;
    height: 22px;

    padding: 0;

    background: transparent;

    border: 0;

    cursor: pointer;
}

.featured-dots button::after {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 5px;
    height: 5px;

    background: rgba(255, 255, 255, 0.35);

    border-radius: 50%;

    transform: translate(-50%, -50%);

    content: "";

    transition: 0.25s ease;
}

.featured-dots button:hover::after {
    background: rgba(255, 255, 255, 0.75);
}

.featured-dots button.on::after {
    width: 15px;

    background: var(--cyan);

    border-radius: 3px;
}


/* ========================================
   GENRE CARDS
======================================== */

.genres {
    display: grid;

    grid-template-columns: repeat(
        4,
        minmax(0, 1fr)
    );

    gap: 13px;
}

.genre-card {
    position: relative;

    display: flex;
    flex-direction: column;

    height: 122px;

    padding: 15px 17px;

    overflow: hidden;

    color: var(--white);

    background:
        radial-gradient(
            circle at 88% 92%,
            rgba(35, 140, 255, 0.32),
            transparent 46%
        ),
        linear-gradient(
            150deg,
            #123c73,
            #0a2547 62%,
            #08203c
        );

    border: 1px solid rgba(130, 185, 255, 0.18);
    border-radius: var(--radius-medium);

    text-align: left;

    transition: 0.3s ease;
}

.genre-name {
    position: relative;
    z-index: 2;

    max-width: 58%;

    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.genre-note {
    position: relative;
    z-index: 2;

    max-width: 56%;

    margin-top: 7px;

    color: #b6cdea;

    font-size: 0.7rem;
    line-height: 1.6;

    white-space: pre-line;
}

.genre-go {
    display: grid;
    place-items: center;

    width: 32px;
    height: 32px;

    margin-top: auto;

    color: #dcebff;

    border: 1px solid rgba(170, 210, 255, 0.5);
    border-radius: 50%;

    font-size: 0.82rem;

    text-decoration: none;

    transition: 0.25s ease;
}

.genre-cover {
    position: absolute;
    top: 13px;
    right: 9px;

    display: grid;
    place-items: center;

    width: 92px;
    height: 92px;

    overflow: hidden;

    border-radius: 7px;

    background:
        radial-gradient(
            circle at 74% 18%,
            rgba(255, 255, 255, 0.5),
            transparent 34%
        ),
        linear-gradient(
            150deg,
            var(--cover-one, #1d5c9e),
            var(--cover-two, #061628)
        );

    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);

    transform: rotate(-5deg);

    transition: 0.35s ease;
}

.genre-cover b {
    padding: 0 6px;

    color: #eaf3ff;

    text-align: center;

    font-size: 0.42rem;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.14em;

    white-space: pre-line;

    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.85);
}

.genre-card:nth-child(even) .genre-cover {
    transform: rotate(5deg);
}

.genre-card:hover {
    border-color: var(--line-bright);

    box-shadow: 0 18px 45px rgba(0, 105, 220, 0.3);

    transform: translateY(-5px);
}

.genre-card:hover .genre-go {
    color: #04121f;
    background: var(--cyan);

    border-color: var(--cyan);
}

.genre-card:hover .genre-cover {
    transform: rotate(0deg) scale(1.04);
}

.genre-card.selected {
    border-color: var(--cyan);

    box-shadow:
        0 18px 45px rgba(0, 105, 220, 0.32),
        inset 0 0 0 1px var(--cyan);
}


/* ========================================
   MADE FOR YOU
======================================== */

.made-grid {
    display: grid;

    grid-template-columns: repeat(
        6,
        minmax(0, 1fr)
    );

    gap: 13px;
}

.made-card {
    min-width: 0;

    padding: 0;

    color: var(--white);
    background: transparent;

    border: 0;

    text-align: left;

    transition: 0.25s ease;
}

.made-art {
    display: block;

    height: 120px;

    margin-bottom: 9px;

    overflow: hidden;

    border-radius: 10px;

    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);

    transition: 0.25s ease;
}

.made-card strong,
.made-card small {
    display: block;

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.made-card strong {
    font-size: 0.84rem;
}

.made-card small {
    margin-top: 3px;

    color: var(--muted);

    font-size: 0.72rem;
}

.made-card:hover {
    transform: translateY(-4px);
}

.made-card:hover .made-art {
    box-shadow: 0 18px 34px rgba(0, 80, 170, 0.42);
}

.art-drive {
    background:
        radial-gradient(
            60% 46% at 50% 100%,
            rgba(255, 235, 190, 0.35),
            transparent 62%
        ),
        linear-gradient(
            180deg,
            #061a35,
            #0d3767 62%,
            #03101f
        );
}

.art-sundowner {
    background:
        radial-gradient(
            24% 20% at 46% 62%,
            #fff1cf,
            rgba(255, 200, 135, 0) 72%
        ),
        linear-gradient(
            180deg,
            #12335e,
            #7a5a86 48%,
            #e9a06a 80%,
            #f4c88e
        );
}

.art-focus {
    background:
        linear-gradient(#020a14, #020a14)
        8% 100% / 10% 48% no-repeat,

        linear-gradient(#020a14, #020a14)
        26% 100% / 9% 74% no-repeat,

        linear-gradient(#020a14, #020a14)
        44% 100% / 11% 38% no-repeat,

        linear-gradient(#020a14, #020a14)
        64% 100% / 9% 62% no-repeat,

        linear-gradient(#020a14, #020a14)
        84% 100% / 10% 50% no-repeat,

        linear-gradient(
            180deg,
            #0b2b57,
            #134a86 62%,
            #07203d
        );
}

.art-home {
    background:
        radial-gradient(
            76% 62% at 10% 118%,
            #0a2140 0 60%,
            transparent 62%
        ),
        radial-gradient(
            84% 66% at 94% 126%,
            #061527 0 58%,
            transparent 60%
        ),
        linear-gradient(
            180deg,
            #0a2a54,
            #2d6da6 58%,
            #6f9fc4
        );
}

.art-feel {
    background:
        radial-gradient(
            26% 40% at 42% 56%,
            #04121f 0 88%,
            transparent 90%
        ),
        linear-gradient(
            180deg,
            #0c2c52,
            #154471
        );
}

.art-worship {
    background:
        radial-gradient(
            30% 34% at 50% 96%,
            #07070f 0 70%,
            transparent 72%
        ),
        linear-gradient(
            180deg,
            #3b2a55,
            #b06a4a 62%,
            #efb078
        );
}


/* ========================================
   TRACK LIST
======================================== */

.tracks-section {
    padding-bottom: 24px;
}

.track-header,
.tracks article {
    display: grid;
    align-items: center;

    grid-template-columns:
        34px
        46px
        minmax(160px, 1fr)
        170px
        40px
        40px;

    gap: 12px;
}

.track-header {
    padding: 0 16px 9px;

    color: var(--muted-dark);

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.tracks {
    overflow: hidden;

    background: rgba(5, 14, 26, 0.66);

    border: 1px solid var(--line);
    border-radius: var(--radius-medium);

    backdrop-filter: blur(16px);
}

.tracks article {
    position: relative;

    min-height: 64px;

    padding: 8px 16px;

    border-bottom: 1px solid rgba(105, 190, 255, 0.09);

    animation: riseIn 0.55s var(--d) both;

    transition: 0.25s ease;
}

.tracks article:last-child {
    border-bottom: 0;
}

.tracks article:hover {
    background: rgba(16, 48, 84, 0.55);

    box-shadow: inset 3px 0 var(--cyan);
}

.tracks article em {
    color: var(--muted-dark);

    font-size: 0.74rem;
    font-style: normal;
}

.tracks article .cover {
    width: 46px;
    height: 46px;

    border-radius: 8px;

    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.45);
}

.tracks article .c0 {
    background: linear-gradient(
        150deg,
        #2b6fb8,
        #061323
    );
}

.tracks article .c1 {
    background: linear-gradient(
        150deg,
        #e0a06c,
        #123056
    );
}

.tracks article .c2 {
    background: linear-gradient(
        150deg,
        #efb078,
        #3b2a55
    );
}

.tracks article .c3 {
    background: linear-gradient(
        150deg,
        #8fb3c8,
        #24405c
    );
}

.tracks article .c4 {
    background: linear-gradient(
        150deg,
        #9ec8ee,
        #071b36
    );
}

.tracks article > div:nth-child(3) {
    min-width: 0;
}

.tracks article strong,
.tracks article small {
    display: block;

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.tracks article strong {
    font-size: 0.88rem;
}

.tracks article small,
.tracks article > span {
    color: var(--muted);

    font-size: 0.72rem;
}

.tracks article small {
    margin-top: 3px;
}

.tracks article button {
    display: grid;
    place-items: center;

    width: 36px;
    height: 36px;

    color: var(--muted);
    background: transparent;

    border: 1px solid transparent;
    border-radius: 50%;

    font-size: 1.12rem;
    line-height: 1;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.tracks article button:hover {
    color: var(--cyan);
    background: rgba(87, 223, 255, 0.1);

    border-color: rgba(87, 223, 255, 0.28);

    transform: scale(1.06);
}

.tracks article .liked {
    color: var(--green);

    text-shadow: 0 0 14px rgba(36, 232, 120, 0.58);
}


/* ========================================
   MUSIC PLAYER
======================================== */

.music-player {
    position: fixed;
    inset: auto 0 0 var(--sidebar-width);
    z-index: 80;

    display: grid;
    align-items: center;
    gap: 24px;

    height: var(--player-height);

    padding: 0 24px;

    grid-template-columns:
        minmax(210px, 1fr)
        minmax(340px, 1.5fr)
        minmax(180px, 1fr);

    background: rgba(3, 8, 16, 0.94);

    border-top: 1px solid rgba(87, 223, 255, 0.16);

    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6);

    backdrop-filter: blur(25px);

    animation: playerEnter 0.7s 0.4s both;
}

.now {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
}

.now-cover {
    display: grid;
    place-items: center;

    width: 50px;
    height: 50px;

    flex: 0 0 50px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 70% 24%,
            var(--cyan),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #1059ad,
            #071528
        );

    border-radius: 9px;

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.now-cover span {
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.now-information {
    min-width: 0;
}

.now-information strong,
.now-information small {
    display: block;

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.now-information strong {
    font-size: 0.84rem;
}

.now-information small {
    margin-top: 3px;

    color: var(--muted);

    font-size: 0.7rem;
}


/* ========================================
   LIKE BUTTON
======================================== */

.like-button {
    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

    margin-left: 4px;

    color: var(--muted);
    background: transparent;

    border: 1px solid transparent;
    border-radius: 50%;

    font-size: 1.28rem;
    line-height: 1;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        text-shadow 0.2s ease;
}

.like-button:hover {
    color: var(--green);
    background: rgba(36, 232, 120, 0.1);

    border-color: rgba(36, 232, 120, 0.3);

    transform: scale(1.06);
}

.like-button.liked,
.like-button.active,
.like-button[aria-pressed="true"] {
    color: var(--green);
    background: rgba(36, 232, 120, 0.12);

    border-color: rgba(36, 232, 120, 0.32);

    text-shadow:
        0 0 8px rgba(36, 232, 120, 0.7),
        0 0 18px rgba(36, 232, 120, 0.4);
}


/* ========================================
   PLAYER CONTROLS
======================================== */

.player-centre {
    display: grid;
    gap: 9px;
}

.player {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.player button {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    color: var(--muted);
    background: transparent;

    border: 1px solid transparent;
    border-radius: 50%;

    font-size: 0.78rem;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.player button:hover {
    color: var(--cyan);
    background: rgba(87, 223, 255, 0.1);

    border-color: rgba(87, 223, 255, 0.28);

    transform: scale(1.06);
}

.player .mainplay {
    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    color: #03111b;

    background: linear-gradient(
        135deg,
        var(--cyan),
        #24bfff
    );

    border: 1px solid var(--cyan);
    border-radius: 50%;

    font-size: 0.9rem;

    box-shadow: 0 0 26px rgba(87, 223, 255, 0.38);
}

.player .mainplay:hover {
    color: #03111b;
    background: var(--cyan);

    border-color: var(--cyan);

    box-shadow:
        0 0 18px rgba(87, 223, 255, 0.68),
        0 0 38px rgba(87, 223, 255, 0.45);

    transform: scale(1.08);
}

.timeline {
    display: grid;
    align-items: center;
    gap: 9px;

    grid-template-columns:
        32px
        1fr
        32px;

    color: var(--muted-dark);

    font-size: 0.6rem;
}

.progress,
.volume-line {
    height: 3px;

    overflow: hidden;

    background: #16304a;

    border-radius: 10px;
}

.progress i,
.volume-line i {
    display: block;

    height: 100%;

    background: linear-gradient(
        90deg,
        var(--blue),
        var(--cyan)
    );

    border-radius: inherit;
}

.progress i {
    width: 33%;
}

.progress i.moving {
    width: 78%;

    transition: width 30s linear;
}

.volume {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;

    color: var(--muted);

    font-size: 0.8rem;
}

.volume button {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    color: inherit;
    background: transparent;

    border: 1px solid transparent;
    border-radius: 50%;

    transition: 0.2s ease;
}

.volume button:hover {
    color: var(--cyan);
    background: rgba(87, 223, 255, 0.08);

    border-color: rgba(87, 223, 255, 0.25);
}

.volume-line {
    width: 90px;
}

.volume-line i {
    width: 68%;
}

.mobile-navigation {
    display: none;
}


/* ========================================
   SCROLLBAR
======================================== */

* {
    scrollbar-width: thin;
    scrollbar-color: var(--blue) #050b13;
}

*::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

*::-webkit-scrollbar-track {
    background: #050b13;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(
        var(--blue),
        var(--cyan)
    );

    border-radius: 20px;
}


/* ========================================
   ANIMATIONS
======================================== */

@keyframes riseIn {
    from {
        opacity: 0;

        transform: translateY(16px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}

@keyframes glowMove {
    from {
        transform:
            translate3d(-4%, -4%, 0)
            scale(0.94);
    }

    to {
        transform:
            translate3d(10%, 9%, 0)
            scale(1.12);
    }
}

@keyframes bounce {
    from {
        transform: scaleY(0.55);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes playerEnter {
    from {
        opacity: 0;

        transform: translateY(100%);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}


/* ========================================
   LARGE TABLET
======================================== */

@media (max-width: 1250px) {
    .genres,
    .made-grid {
        grid-template-columns: repeat(
            3,
            minmax(0, 1fr)
        );
    }

    .featured-art .equaliser {
        display: none;
    }
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1050px) {
    .featured-card {
        min-height: 360px;

        grid-template-columns: 1fr;
    }

    .featured-art .moon {
        left: 58%;

        width: 190px;
        height: 190px;
    }

    .featured-art .figure {
        left: 64%;
    }

    .music-player {
        grid-template-columns:
            minmax(180px, 0.9fr)
            minmax(320px, 1.3fr);
    }

    .volume {
        display: none;
    }
}


/* ========================================
   SMALL TABLET
======================================== */

@media (max-width: 900px) {
    :root {
        --sidebar-width: 80px;
    }

    .sidebar {
        align-items: center;

        padding-inline: 10px;
    }

    .logo strong {
        font-size: 0;
    }

    .logo strong::after {
        color: var(--cyan);

        font-size: 1rem;
        letter-spacing: 0.1em;

        content: "BZ";
    }

    .logo small,
    .navigation-item span,
    .sidebar-playlist,
    .sidebar-footer {
        display: none;
    }

    .navigation-item {
        justify-content: center;

        padding-inline: 0;
    }

    .genres,
    .made-grid {
        grid-template-columns: repeat(
            2,
            minmax(0, 1fr)
        );
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {
    :root {
        --sidebar-width: 0px;
        --player-height: 68px;
    }

    body {
        padding-bottom:
            calc(
                var(--player-height)
                + 70px
                + env(safe-area-inset-bottom)
            );
    }

    .sidebar {
        display: none;
    }

    .topbar {
        height: 64px;

        padding: 0 14px;
    }

    .mobile-logo {
        display: block;

        margin-right: 12px;

        font-size: 0.76rem;
    }

    .search-box {
        width: 100%;
        height: 38px;
    }

    .search-box kbd,
    .notification-button,
    .profile-button div,
    .profile-button .chevron {
        display: none;
    }

    .profile-button {
        padding: 3px;

        background: transparent;

        border: 0;
    }

    .content {
        padding: 20px 14px 34px;
    }

    .section-block {
        padding-top: 26px;
    }

    .featured-card {
        min-height: 320px;
    }

    .featured-content {
        padding: 24px;
    }

    .featured-content h1 {
        font-size: 2.3rem;
    }

    .primary-button,
    .ghost-button {
        min-height: 44px;

        padding: 11px 20px;

        font-size: 0.86rem;
    }

    .featured-art .moon {
        top: auto;
        right: -30px;
        bottom: 34px;
        left: auto;

        width: 150px;
        height: 150px;
    }

    .featured-art .figure {
        right: -6px;
        left: auto;

        width: 110px;
        height: 112px;
    }

    .featured-art .figure::before {
        bottom: 52px;
        left: 34px;

        width: 36px;
        height: 42px;
    }

    .featured-art .figure::after {
        left: 6px;

        width: 96px;
        height: 64px;
    }

    .featured-art .hills {
        left: 0;

        height: 52px;
    }

    .featured-words {
        display: none;
    }

    .genres,
    .made-grid {
        display: flex;

        margin-right: -14px;
        padding-bottom: 10px;

        overflow-x: auto;

        scroll-snap-type: x mandatory;
    }

    .genre-card {
        flex: 0 0 74%;

        scroll-snap-align: start;
    }

    .made-card {
        flex: 0 0 44%;

        scroll-snap-align: start;
    }

    .genre-card:last-child,
    .made-card:last-child {
        margin-right: 14px;
    }

    .track-header {
        display: none;
    }

    .tracks {
        background: transparent;

        border: 0;
    }

    .tracks article {
        grid-template-columns:
            44px
            minmax(0, 1fr)
            36px
            36px;

        padding-inline: 4px;
    }

    .tracks article em,
    .tracks article > span {
        display: none;
    }

    .tracks article .cover {
        width: 44px;
        height: 44px;
    }

    .music-player {
        right: 8px;
        bottom:
            calc(
                70px
                + env(safe-area-inset-bottom)
            );
        left: 8px;

        gap: 8px;

        padding: 7px;

        grid-template-columns:
            minmax(0, 1fr)
            46px;

        border: 1px solid var(--line);
        border-radius: 14px;
    }

    .like-button {
        display: none;
    }

    .player-centre,
    .player {
        display: contents;
    }

    .player button:not(.mainplay),
    .timeline {
        display: none;
    }

    .player .mainplay {
        grid-column: 2;

        width: 44px;
        height: 44px;
    }

    .mobile-navigation {
        position: fixed;
        inset: auto 0 0;
        z-index: 75;

        display: grid;

        grid-template-columns: repeat(
            4,
            1fr
        );

        height:
            calc(
                70px
                + env(safe-area-inset-bottom)
            );

        padding-bottom:
            env(safe-area-inset-bottom);

        background: rgba(3, 7, 14, 0.97);

        border-top: 1px solid var(--line);

        backdrop-filter: blur(20px);
    }

    .mobile-navigation button {
        display: grid;
        place-items: center;
        gap: 3px;

        color: var(--muted);
        background: transparent;

        border: 0;

        font-size: 0.62rem;
    }

    .mobile-navigation button span {
        font-size: 1rem;
    }

    .mobile-navigation button:hover,
    .mobile-navigation button.active {
        color: var(--cyan);
    }
}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 420px) {
    .featured-content h1 {
        font-size: 2rem;
    }

    .featured-buttons {
        flex-wrap: wrap;
    }

    .genre-card {
        flex-basis: 80%;
    }

    .made-card {
        flex-basis: 52%;
    }
}


/* ========================================
   TOUCH DEVICES
======================================== */

@media (hover: none) {
    .genre-card:hover,
    .made-card:hover,
    .tracks article:hover,
    .primary-button:hover {
        transform: none;
    }
}


/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ========================================
   ICONS (needed by app.js)
======================================== */

.primary-button svg,
.ghost-button svg {
    width: 16px;
    height: 16px;

    fill: currentColor;
}

.ghost-button .heart-icon,
.like-button .heart-icon,
.heart .heart-icon {
    width: 19px;
    height: 19px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linejoin: round;

    transition: 0.2s ease;
}

.like-button.liked .heart-icon,
.heart.liked .heart-icon {
    fill: var(--green);
    stroke: var(--green);
}

.player .mainplay svg {
    width: 20px;
    height: 20px;

    fill: currentColor;
}

.tracks article button svg {
    width: 18px;
    height: 18px;

    fill: currentColor;
}

.tracks article .heart .heart-icon {
    fill: none;
    stroke: currentColor;
}

.tracks article .heart.liked .heart-icon {
    fill: var(--green);
    stroke: var(--green);
}


/* ========================================
   TRACK ROWS — 5 COLUMNS, NUMBER SWAPS TO PLAY
======================================== */

.track-header,
.tracks article {
    grid-template-columns:
        38px
        46px
        minmax(160px, 1fr)
        170px
        42px;
}

.tracks article {
    cursor: pointer;
}

.track-index {
    position: relative;

    display: grid;
    place-items: center;

    width: 38px;
    height: 40px;
}

.tracks article em {
    transition: 0.15s ease;
}

.track-index .rowplay {
    position: absolute;
    inset: 0;

    width: 38px;
    height: 38px;

    margin: auto;

    opacity: 0;

    transform: scale(0.9);

    transition: 0.18s ease;
}

.tracks article:hover em,
.tracks article.is-playing em {
    opacity: 0;
}

.tracks article:hover .rowplay,
.track-index .rowplay:focus-visible {
    opacity: 1;

    transform: none;
}

.tracks article.is-current {
    background: rgba(16, 48, 84, 0.4);
}

.tracks article.is-current em,
.tracks article.is-current strong {
    color: var(--cyan);
}

.tracks article.is-playing .rowplay {
    color: var(--cyan);

    opacity: 1;

    transform: none;
}


/* ========================================
   GENRE TITLES LINE UP
======================================== */

.genre-name {
    min-height: 2.4em;
}


/* ========================================
   MOBILE ROW LAYOUT
======================================== */

@media (max-width: 650px) {
    .track-index {
        display: none;
    }

    .track-header,
    .tracks article {
        grid-template-columns:
            44px
            minmax(0, 1fr)
            40px;
    }
}


/* ========================================
   GENRE CARDS ARE LINKS NOW
======================================== */

a.genre-card {
    text-decoration: none;
}

a.genre-card:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}


/* ========================================
   SOUND FILTER CHIPS
======================================== */

.sound-filter {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 14px;
}

.sound-chip {
    padding: 7px 14px;

    color: #b6cdea;

    background: rgba(12, 34, 64, 0.55);

    border: 1px solid rgba(130, 185, 255, 0.2);
    border-radius: 999px;

    font-size: 0.72rem;
    font-weight: 600;

    cursor: pointer;
    transition: 0.25s ease;
}

.sound-chip:hover {
    color: var(--white);

    border-color: var(--line-bright);

    transform: translateY(-2px);
}

.sound-chip.active {
    color: #04121f;

    background: var(--cyan);

    border-color: var(--cyan);
}

@media (max-width: 650px) {
    .sound-filter {
        flex-wrap: nowrap;
        overflow-x: auto;

        margin-inline: -14px;
        padding-inline: 14px;

        scrollbar-width: none;
    }

    .sound-filter::-webkit-scrollbar {
        display: none;
    }

    .sound-chip {
        flex: 0 0 auto;
    }
}


/* ========================================
   NAV ITEMS THAT ARE LINKS
======================================== */

a.navigation-item {
    text-decoration: none;
}

.mobile-navigation a {
    display: grid;
    place-items: center;
    gap: 3px;

    color: var(--muted);

    font-size: 0.62rem;
    text-decoration: none;
}

.mobile-navigation a span {
    font-size: 1rem;
}

.mobile-navigation a:hover,
.mobile-navigation a.active {
    color: var(--cyan);
}


/* ========================================
   KEYBOARD AND SKIP LINK
======================================== */

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 200;

    padding: 12px 18px;

    color: #04121f;

    background: var(--cyan);

    border-radius: 999px;

    font-size: 0.82rem;
    font-weight: 700;

    text-decoration: none;

    transform: translateY(-160%);

    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* a visible ring for anyone using the keyboard, on everything
   that can be focused */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}


/* ========================================
   RESPECT prefers-reduced-motion
======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}


/* ========================================
   HOMEPAGE EXPANSION — ESSENTIAL SECTIONS
======================================== */

/* Keep linked cards clean even if another stylesheet adds link decoration. */
.made-card,
.made-card *,
.mood-journey,
.mood-journey *,
.daily-mix-card,
.daily-mix-card *,
a.navigation-item,
.sidebar-playlist a,
.mobile-navigation a {
    text-decoration: none !important;
}

/* ========================================
   CONTINUE LISTENING
======================================== */

.continue-listening-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.continue-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    gap: 15px;

    min-height: 116px;
    padding: 10px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(10, 28, 50, 0.9),
            rgba(5, 15, 29, 0.82)
        );

    border: 1px solid var(--line);
    border-radius: var(--radius-medium);

    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.continue-card:hover {
    background:
        linear-gradient(
            145deg,
            rgba(13, 39, 70, 0.96),
            rgba(6, 19, 35, 0.92)
        );

    border-color: var(--line-bright);

    box-shadow: 0 18px 42px rgba(0, 60, 130, 0.24);

    transform: translateY(-4px);
}

.continue-art {
    position: relative;

    width: 96px;
    height: 96px;

    overflow: hidden;

    border-radius: 12px;

    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.42);
}

.continue-art::before {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.11),
            transparent 42%
        );

    content: "";
}

.continue-art-one {
    background:
        radial-gradient(
            circle at 70% 26%,
            rgba(87, 223, 255, 0.44),
            transparent 24%
        ),
        linear-gradient(
            145deg,
            #07192e,
            #195981 58%,
            #06101e
        );
}

.continue-art-two {
    background:
        radial-gradient(
            circle at 34% 25%,
            rgba(114, 121, 255, 0.44),
            transparent 25%
        ),
        linear-gradient(
            145deg,
            #11132f,
            #34498c 58%,
            #081022
        );
}

.continue-art-three {
    background:
        radial-gradient(
            circle at 58% 24%,
            rgba(255, 208, 116, 0.42),
            transparent 25%
        ),
        linear-gradient(
            145deg,
            #211407,
            #76502a 58%,
            #10100d
        );
}

.card-play-button {
    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    color: #04121f;
    background: var(--cyan);

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;

    font-size: 0.7rem;

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.3),
        0 0 18px rgba(87, 223, 255, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.continue-art .card-play-button,
.daily-mix-art .card-play-button {
    position: absolute;
    right: 9px;
    bottom: 9px;
    z-index: 3;

    opacity: 0;

    transform: translateY(5px);
}

.continue-card:hover .card-play-button,
.daily-mix-card:hover .card-play-button,
.card-play-button:focus-visible {
    opacity: 1;

    transform: translateY(0);
}

.card-play-button:hover {
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.35),
        0 0 24px rgba(87, 223, 255, 0.42);

    transform: scale(1.07);
}

.continue-copy {
    min-width: 0;
}

.continue-copy strong {
    display: block;

    overflow: hidden;

    color: var(--white);

    font-size: 0.9rem;
    font-weight: 700;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.continue-copy small {
    display: block;

    margin-top: 5px;

    color: var(--muted);

    font-size: 0.72rem;
}

.continue-progress {
    height: 4px;

    margin-top: 17px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.07);

    border-radius: 999px;
}

.continue-progress span {
    display: block;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--cyan)
        );

    border-radius: inherit;

    box-shadow: 0 0 10px rgba(87, 223, 255, 0.34);
}


/* ========================================
   MOOD JOURNEYS
======================================== */

.mood-journeys-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.mood-journey {
    position: relative;
    isolation: isolate;

    display: flex;
    align-items: flex-end;

    min-height: 205px;
    padding: 20px;

    overflow: hidden;

    color: var(--white);

    border: 1px solid rgba(130, 185, 255, 0.15);
    border-radius: var(--radius-large);

    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.mood-journey::before {
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.015),
            transparent 40%,
            rgba(1, 7, 14, 0.62)
        );

    content: "";
}

.mood-journey::after {
    position: absolute;
    top: -64px;
    right: -64px;
    z-index: -1;

    width: 170px;
    height: 170px;

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;

    box-shadow:
        0 0 0 28px rgba(255, 255, 255, 0.018),
        0 0 0 56px rgba(255, 255, 255, 0.012);

    content: "";
}

.mood-journey:hover {
    border-color: var(--line-bright);

    box-shadow: 0 24px 52px rgba(0, 55, 120, 0.27);

    transform: translateY(-6px);
}

.mood-number {
    position: absolute;
    top: 17px;
    left: 18px;

    color: rgba(255, 255, 255, 0.4);

    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.mood-journey small {
    color: rgba(235, 245, 255, 0.64);

    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.mood-journey strong {
    display: block;

    margin-top: 4px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 500;
}

.mood-journey div > span {
    display: block;

    max-width: 220px;

    margin-top: 6px;

    color: rgba(220, 234, 248, 0.64);

    font-size: 0.68rem;
    line-height: 1.55;
}

.mood-journey-calm {
    background:
        radial-gradient(
            circle at 76% 18%,
            rgba(87, 223, 255, 0.3),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            #082a3d,
            #10536a 60%,
            #071522
        );
}

.mood-journey-energy {
    background:
        radial-gradient(
            circle at 78% 18%,
            rgba(93, 126, 255, 0.34),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            #121936,
            #314f9d 60%,
            #091126
        );
}

.mood-journey-night {
    background:
        radial-gradient(
            circle at 76% 18%,
            rgba(161, 97, 255, 0.3),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            #151128,
            #42336f 60%,
            #0b0b18
        );
}

.mood-journey-soul {
    background:
        radial-gradient(
            circle at 76% 18%,
            rgba(255, 171, 97, 0.3),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            #291a10,
            #805234 60%,
            #150e0a
        );
}


/* ========================================
   DAILY SOUTH AFRICAN MIXES
======================================== */

.daily-mixes-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 13px;
}

.daily-mix-card {
    min-width: 0;

    padding: 9px;

    color: var(--white);
    background: rgba(5, 15, 28, 0.38);

    border: 1px solid transparent;
    border-radius: var(--radius-medium);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.daily-mix-card:hover {
    background: rgba(10, 29, 52, 0.72);

    border-color: rgba(87, 223, 255, 0.16);

    box-shadow: 0 18px 38px rgba(0, 50, 110, 0.22);

    transform: translateY(-5px);
}

.daily-mix-art {
    position: relative;

    aspect-ratio: 1;

    overflow: hidden;

    border-radius: 12px;

    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
}

.daily-mix-art::before {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.08),
            transparent 42%
        );

    content: "";
}

.daily-mix-art::after {
    position: absolute;
    inset: 16%;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;

    box-shadow:
        0 0 0 20px rgba(255, 255, 255, 0.016),
        0 0 0 40px rgba(255, 255, 255, 0.011);

    content: "";
}

.daily-mix-label {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;

    padding: 5px 7px;

    color: rgba(255, 255, 255, 0.8);
    background: rgba(2, 8, 16, 0.44);

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 7px;

    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.18em;

    backdrop-filter: blur(10px);
}

.daily-mix-card > strong,
.daily-mix-card > small {
    display: block;

    overflow: hidden;

    text-overflow: ellipsis;
}

.daily-mix-card > strong {
    margin-top: 11px;

    font-size: 0.82rem;

    white-space: nowrap;
}

.daily-mix-card > small {
    margin-top: 4px;

    color: var(--muted);

    font-size: 0.68rem;
    line-height: 1.5;

    display: -webkit-box;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.daily-mix-one .daily-mix-art {
    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(87, 223, 255, 0.35),
            transparent 24%
        ),
        linear-gradient(
            145deg,
            #082b3b,
            #167392 55%,
            #07121c
        );
}

.daily-mix-two .daily-mix-art {
    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(255, 209, 115, 0.3),
            transparent 24%
        ),
        linear-gradient(
            145deg,
            #281d0e,
            #75612d 55%,
            #120f09
        );
}

.daily-mix-three .daily-mix-art {
    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(91, 232, 191, 0.26),
            transparent 24%
        ),
        linear-gradient(
            145deg,
            #0b2528,
            #2b7471 55%,
            #071313
        );
}

.daily-mix-four .daily-mix-art {
    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(128, 111, 255, 0.3),
            transparent 24%
        ),
        linear-gradient(
            145deg,
            #16142d,
            #55458d 55%,
            #0b0b17
        );
}

.daily-mix-five .daily-mix-art {
    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(232, 127, 255, 0.28),
            transparent 24%
        ),
        linear-gradient(
            145deg,
            #281631,
            #7e5288 55%,
            #120b17
        );
}


/* ========================================
   SMART QUEUE
======================================== */

.queue-panel {
    position: fixed;
    top: 90px;
    right: 18px;
    bottom: calc(var(--player-height) + 18px);
    z-index: 120;

    width: min(360px, calc(100vw - 36px));

    padding: 18px;

    overflow-y: auto;

    color: var(--milk);
    background: rgba(4, 14, 27, 0.96);

    border: 1px solid rgba(87, 223, 255, 0.2);
    border-radius: var(--radius-large);

    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.58);

    backdrop-filter: blur(28px);

    opacity: 0;
    pointer-events: none;

    transform: translateX(calc(100% + 32px));

    transition:
        transform 0.28s ease,
        opacity 0.28s ease;
}

.queue-panel.open,
.queue-panel[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;

    transform: translateX(0);
}

.queue-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding-bottom: 14px;

    border-bottom: 1px solid var(--line);
}

.queue-panel-header h2 {
    margin-top: 4px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 500;
}

.queue-panel-header > button {
    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);

    border: 1px solid var(--line);
    border-radius: 50%;

    font-size: 1.15rem;

    transition: 0.2s ease;
}

.queue-panel-header > button:hover {
    color: #04121f;
    background: var(--cyan);

    border-color: var(--cyan);
}

.queue-current {
    display: grid;
    gap: 3px;

    margin-top: 15px;
    padding: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(23, 91, 165, 0.22),
            rgba(8, 28, 52, 0.2)
        );

    border: 1px solid rgba(87, 223, 255, 0.13);
    border-radius: var(--radius-medium);
}

.queue-current small {
    color: var(--cyan);

    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.queue-current strong {
    margin-top: 6px;

    font-size: 0.88rem;
}

.queue-current span {
    color: var(--muted);

    font-size: 0.7rem;
}

.queue-list {
    display: grid;
    gap: 6px;

    margin-top: 12px;
}

.queue-list > * {
    border-radius: 10px;
}


/* ========================================
   HOMEPAGE EXPANSION — RESPONSIVE
======================================== */

@media (max-width: 1250px) {
    .continue-listening-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mood-journeys-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .daily-mixes-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .continue-listening-grid {
        grid-template-columns: 1fr;
    }

    .daily-mixes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .continue-listening-grid {
        gap: 10px;
    }

    .continue-card {
        grid-template-columns: 82px minmax(0, 1fr);

        min-height: 100px;
    }

    .continue-art {
        width: 82px;
        height: 82px;
    }

    .continue-art .card-play-button,
    .daily-mix-art .card-play-button {
        opacity: 1;

        transform: translateY(0);
    }

    .mood-journeys-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mood-journey {
        min-height: 176px;
        padding: 16px;
    }

    .mood-journey strong {
        font-size: 1.35rem;
    }

    .mood-journey div > span {
        font-size: 0.62rem;
    }

    .daily-mixes-grid {
        display: flex;

        margin-right: -14px;
        padding-bottom: 10px;

        overflow-x: auto;

        scroll-snap-type: x mandatory;

        scrollbar-width: none;
    }

    .daily-mixes-grid::-webkit-scrollbar {
        display: none;
    }

    .daily-mix-card {
        flex: 0 0 48%;

        scroll-snap-align: start;
    }

    .daily-mix-card:last-child {
        margin-right: 14px;
    }

    .queue-panel {
        top: 76px;
        right: 10px;
        bottom:
            calc(
                var(--player-height)
                + 88px
                + env(safe-area-inset-bottom)
            );

        width: calc(100vw - 20px);
    }
}

@media (max-width: 450px) {
    .mood-journeys-grid {
        grid-template-columns: 1fr;
    }

    .mood-journey {
        min-height: 158px;
    }

    .daily-mix-card {
        flex-basis: 62%;
    }
}


/* ========================================
   MADE FOR YOU + MOOD JOURNEYS PLAY BUTTON
======================================== */

.made-art {
    position: relative;
}

.made-play-button,
.mood-play-button {
    position: absolute;
    z-index: 5;
    top: 12px;
    right: 12px;

    display: grid;
    place-items: center;

    width: 36px;
    height: 36px;

    color: #04121f;
    background: var(--cyan);

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;

    font-size: 0.68rem;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.38),
        0 0 20px rgba(87, 223, 255, 0.24);

    opacity: 0;
    transform: translateY(-4px) scale(0.94);

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

.mood-play-button {
    top: 16px;
    right: 16px;
}

.made-card:hover .made-play-button,
.made-card:focus-visible .made-play-button,
.mood-journey:hover .mood-play-button,
.mood-journey:focus-visible .mood-play-button {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.made-play-button:hover,
.mood-play-button:hover {
    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.4),
        0 0 28px rgba(87, 223, 255, 0.5);

    transform: scale(1.08);
}

@media (hover: none), (max-width: 650px) {
    .made-play-button,
    .mood-play-button {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   ZATIMES FINAL HOMEPAGE CARD INTERACTIONS
======================================== */

.made-art, .daily-mix-art, .mood-journey, .tracks article .cover, .genre-card {
    background-size: cover;
    background-position: center;
}
.art-drive{background-image:linear-gradient(rgba(2,8,16,.08),rgba(2,8,16,.28)),url("images/zatimes/midnight-drive.svg")!important}
.art-sundowner{background-image:linear-gradient(rgba(2,8,16,.06),rgba(2,8,16,.22)),url("images/zatimes/sundowner.svg")!important}
.art-focus{background-image:linear-gradient(rgba(2,8,16,.06),rgba(2,8,16,.22)),url("images/zatimes/focus-mode.svg")!important}
.art-home{background-image:linear-gradient(rgba(2,8,16,.06),rgba(2,8,16,.22)),url("images/zatimes/homegrown.svg")!important}
.art-feel{background-image:linear-gradient(rgba(2,8,16,.06),rgba(2,8,16,.22)),url("images/zatimes/feel-good.svg")!important}
.art-worship{background-image:linear-gradient(rgba(2,8,16,.06),rgba(2,8,16,.22)),url("images/zatimes/sunday-worship.svg")!important}

.mood-journey-calm{background-image:linear-gradient(180deg,rgba(2,8,16,.08),rgba(2,8,16,.58)),url("images/zatimes/calm.svg")!important}
.mood-journey-energy{background-image:linear-gradient(180deg,rgba(2,8,16,.08),rgba(2,8,16,.58)),url("images/zatimes/energy.svg")!important}
.mood-journey-night{background-image:linear-gradient(180deg,rgba(2,8,16,.08),rgba(2,8,16,.58)),url("images/zatimes/night.svg")!important}
.mood-journey-soul{background-image:linear-gradient(180deg,rgba(2,8,16,.08),rgba(2,8,16,.58)),url("images/zatimes/soul.svg")!important}

.daily-mix-one .daily-mix-art{background-image:url("images/zatimes/amapiano-daily.svg")!important}
.daily-mix-two .daily-mix-art{background-image:url("images/zatimes/maskandi-daily.svg")!important}
.daily-mix-three .daily-mix-art{background-image:url("images/zatimes/afro-house-daily.svg")!important}
.daily-mix-four .daily-mix-art{background-image:url("images/zatimes/mzansi-rap-daily.svg")!important}
.daily-mix-five .daily-mix-art{background-image:url("images/zatimes/gospel-daily.svg")!important}

.made-art::after,.daily-mix-art::before,.mood-journey::before,.tracks article .cover::after{
    content:"";position:absolute;inset:0;pointer-events:none;
    background:linear-gradient(180deg,transparent 42%,rgba(1,7,14,.44));
    opacity:0;transition:opacity .18s ease;
}
.made-card:hover .made-art::after,.daily-mix-card:hover .daily-mix-art::before,.mood-journey:hover::before,.tracks article:hover .cover::after{opacity:1}

.made-play-button,.daily-mix-art .card-play-button{
    top:auto!important;right:10px!important;bottom:10px!important;left:auto!important;
    opacity:0;transform:translateY(5px) scale(.94);
}
.made-card:hover .made-play-button,.daily-mix-card:hover .card-play-button,.made-play-button:focus-visible,.daily-mix-art .card-play-button:focus-visible,.made-play-button.is-playing,.daily-mix-art .card-play-button.is-playing{
    opacity:1;transform:none;
}

.mood-play-button{
    top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;
    width:48px;height:48px;opacity:0;transform:translate(-50%,-50%) scale(.9)!important;
    background:rgba(3,12,22,.72);color:#fff;border:1px solid rgba(87,223,255,.72);
    backdrop-filter:blur(10px);
}
.mood-journey:hover .mood-play-button,.mood-play-button:focus-visible,.mood-play-button.is-playing{
    opacity:1;transform:translate(-50%,-50%) scale(1)!important;
}
.mood-copy-link{position:relative;z-index:3;display:block;width:100%;padding-top:10px}
.mood-journey:hover .mood-copy-link{transform:translateY(-4px)}
.mood-copy-link{transition:transform .18s ease}

.genre-card{position:relative;padding-bottom:46px}
.genre-copy-link{position:relative;z-index:2;display:flex;flex-direction:column;color:inherit;text-decoration:none!important}
.genre-cover-link{position:absolute;inset:0;z-index:1}
.genre-cover-link .genre-cover{z-index:1}
.genre-play{
    position:absolute;left:16px;bottom:12px;z-index:5;width:32px;height:32px;display:grid;place-items:center;
    border:1px solid rgba(87,223,255,.65);border-radius:50%;background:rgba(3,13,24,.76);color:#fff;
    opacity:0;transform:translateY(4px);transition:.18s ease;backdrop-filter:blur(8px);
}
.genre-card:hover .genre-play,.genre-play:focus-visible,.genre-play.is-playing{opacity:1;transform:none}
.genre-card:hover .genre-name,.genre-card:hover .genre-note{transform:translateY(-3px)}
.genre-name,.genre-note{transition:transform .18s ease}
.genre-go{display:none!important}

.tracks article .cover{position:relative;overflow:hidden}
.track-index .rowplay{display:none!important}
.tracks article .cover .rowplay{
    position:absolute;right:6px;bottom:6px;z-index:4;width:28px;height:28px;display:grid;place-items:center;
    border:1px solid rgba(87,223,255,.62);border-radius:50%;background:rgba(3,12,22,.78);color:#fff;
    opacity:0;transform:translateY(4px);transition:.18s ease;backdrop-filter:blur(8px);
}
.tracks article:hover .cover .rowplay,.tracks article.is-playing .cover .rowplay,.tracks article .cover .rowplay:focus-visible{opacity:1;transform:none}
.tracks article:hover .track-index em,.tracks article.is-playing .track-index em{opacity:1!important}
.tracks article.is-playing{box-shadow:inset 3px 0 0 var(--cyan)}

.tracks article .cover.c0{background-image:url("images/zatimes/siyaphila.svg")!important}
.tracks article .cover.c1{background-image:url("images/zatimes/egoli-nights.svg")!important}
.tracks article .cover.c2{background-image:url("images/zatimes/imithandazo.svg")!important}
.tracks article .cover.c3{background-image:url("images/zatimes/emakhaya.svg")!important}
.tracks article .cover.c4{background-image:url("images/zatimes/jozi-state.svg")!important}

.collection-play-button.is-playing,.tracks article.is-playing .rowplay{
    background:var(--cyan);color:#04121f;box-shadow:0 0 0 4px rgba(87,223,255,.10),0 0 22px rgba(87,223,255,.32);
}

@media (hover:none),(max-width:650px){
    .made-play-button,.daily-mix-art .card-play-button,.genre-play,.tracks article .cover .rowplay{opacity:1;transform:none}
    .mood-play-button{opacity:1;transform:translate(-50%,-50%) scale(.94)!important}
}

/* ========================================
   ZATIMES PROFESSIONAL CARD SYSTEM
======================================== */

:root{
    --zatimes-card-play-size:36px;
    --zatimes-card-play-size-large:40px;
    --zatimes-card-gap:14px;
    --zatimes-card-radius:14px;
    --zatimes-control-surface:linear-gradient(145deg,rgba(8,25,42,.94),rgba(2,10,18,.92));
    --zatimes-control-border:rgba(87,223,255,.34);
    --zatimes-control-shadow:0 8px 20px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.025);
    --zatimes-control-glow:0 10px 24px rgba(0,0,0,.34),0 0 22px rgba(87,223,255,.28);
}

.made-grid{
    gap:var(--zatimes-card-gap);
}

.daily-mixes-grid{
    grid-template-columns:repeat(auto-fit,minmax(148px,176px));
    gap:var(--zatimes-card-gap);
    justify-content:start;
    align-items:start;
}

.daily-mix-card{
    padding:7px;
    border-radius:var(--zatimes-card-radius);
}

.daily-mix-card:hover{
    transform:translateY(-3px);
}

.daily-mix-art{
    border-radius:11px;
}

.daily-mix-card > strong{
    margin-top:9px;
    font-size:.78rem;
    line-height:1.3;
}

.daily-mix-card > small{
    margin-top:3px;
    font-size:.64rem;
    line-height:1.45;
}

.mood-journey{
    min-height:186px;
    padding:18px 18px 54px;
}

.mood-journey:hover{
    transform:translateY(-3px);
}

.continue-card{
    min-height:108px;
    grid-template-columns:88px minmax(0,1fr);
    gap:13px;
    padding:9px;
}

.continue-art{
    width:88px;
    height:88px;
}

.genre-card{
    min-height:118px;
    height:auto;
    padding:14px 112px 46px 16px;
}

.genre-copy-link{
    min-width:0;
}

.genre-name,
.genre-note{
    max-width:100%;
}

.genre-note{
    display:-webkit-box;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}

.genre-cover{
    top:13px;
    right:12px;
    width:86px;
    height:86px;
}

.made-play-button,
.mood-play-button,
.daily-mix-art .card-play-button,
.continue-art .card-play-button,
.genre-play,
.tracks article .cover .rowplay{
    position:absolute;
    top:auto !important;
    right:10px !important;
    bottom:10px !important;
    left:auto !important;
    z-index:8;

    display:grid;
    place-items:center;

    width:var(--zatimes-card-play-size);
    height:var(--zatimes-card-play-size);
    min-width:var(--zatimes-card-play-size);
    min-height:var(--zatimes-card-play-size);

    padding:0;

    color:#f4fbff;
    background:var(--zatimes-control-surface);

    border:1px solid var(--zatimes-control-border);
    border-radius:50%;

    box-shadow:var(--zatimes-control-shadow);

    opacity:0;
    overflow:hidden;

    text-indent:1px;
    line-height:1;

    transform:translateY(4px) scale(.96);

    backdrop-filter:blur(12px) saturate(125%);
    -webkit-backdrop-filter:blur(12px) saturate(125%);

    transition:
        opacity .18s ease,
        transform .18s ease,
        color .18s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.made-play-button::before,
.mood-play-button::before,
.daily-mix-art .card-play-button::before,
.continue-art .card-play-button::before,
.genre-play::before,
.tracks article .cover .rowplay::before{
    position:absolute;
    inset:3px;

    border:1px solid rgba(255,255,255,.07);
    border-radius:inherit;

    content:"";

    pointer-events:none;
}

.made-play-button svg,
.mood-play-button svg,
.daily-mix-art .card-play-button svg,
.continue-art .card-play-button svg,
.genre-play svg,
.tracks article .cover .rowplay svg{
    position:relative;
    z-index:2;

    width:14px;
    height:14px;

    transform:translateX(1px);
}

.continue-art .card-play-button{
    opacity:.86;
    transform:none;
}

.made-card:hover .made-play-button,
.mood-journey:hover .mood-play-button,
.daily-mix-card:hover .card-play-button,
.genre-card:hover .genre-play,
.tracks article:hover .cover .rowplay,
.made-play-button:focus-visible,
.mood-play-button:focus-visible,
.daily-mix-art .card-play-button:focus-visible,
.continue-art .card-play-button:focus-visible,
.genre-play:focus-visible,
.tracks article .cover .rowplay:focus-visible,
.made-play-button.is-playing,
.mood-play-button.is-playing,
.daily-mix-art .card-play-button.is-playing,
.continue-art .card-play-button.is-playing,
.genre-play.is-playing,
.tracks article.is-playing .cover .rowplay{
    opacity:1;
    transform:none;
}

.made-play-button:hover,
.mood-play-button:hover,
.daily-mix-art .card-play-button:hover,
.continue-art .card-play-button:hover,
.genre-play:hover,
.tracks article .cover .rowplay:hover{
    color:#04121f;
    background:linear-gradient(145deg,#8cecff,var(--cyan));
    border-color:rgba(255,255,255,.62);
    box-shadow:var(--zatimes-control-glow);
    transform:translateY(-1px) scale(1.04);
}

.made-play-button:active,
.mood-play-button:active,
.daily-mix-art .card-play-button:active,
.continue-art .card-play-button:active,
.genre-play:active,
.tracks article .cover .rowplay:active{
    transform:scale(.96);
}

.made-play-button.is-playing,
.mood-play-button.is-playing,
.daily-mix-art .card-play-button.is-playing,
.continue-art .card-play-button.is-playing,
.genre-play.is-playing,
.tracks article.is-playing .cover .rowplay{
    color:#04121f;
    background:linear-gradient(145deg,#8cecff,var(--cyan));
    border-color:rgba(255,255,255,.66);
    box-shadow:
        0 0 0 4px rgba(87,223,255,.09),
        0 0 24px rgba(87,223,255,.34),
        0 10px 22px rgba(0,0,0,.3);
}

.genre-play{
    right:12px !important;
    bottom:10px !important;
}

.mood-play-button{
    right:12px !important;
    bottom:12px !important;
}

.tracks article .cover .rowplay{
    right:5px !important;
    bottom:5px !important;

    width:30px;
    height:30px;
    min-width:30px;
    min-height:30px;
}

.made-card,
.daily-mix-card,
.mood-journey,
.genre-card,
.continue-card{
    min-width:0;
}

.made-card strong,
.made-card small,
.daily-mix-card > strong,
.daily-mix-card > small,
.continue-copy strong,
.continue-copy small,
.genre-name,
.genre-note,
.mood-copy-link strong,
.mood-copy-link span{
    overflow-wrap:anywhere;
}

@media (max-width:1250px){
    .daily-mixes-grid{
        grid-template-columns:repeat(auto-fit,minmax(145px,168px));
    }

    .mood-journey{
        min-height:178px;
    }
}

@media (max-width:900px){
    .daily-mixes-grid{
        grid-template-columns:repeat(auto-fit,minmax(140px,164px));
    }

    .genre-card{
        padding-right:106px;
    }

    .genre-cover{
        width:82px;
        height:82px;
    }
}

@media (max-width:650px){
    .daily-mixes-grid{
        display:flex;
        gap:12px;
        margin-right:-14px;
        padding-right:14px;
        padding-bottom:10px;
        overflow-x:auto;
        scroll-padding-left:14px;
        scroll-snap-type:x mandatory;
        scrollbar-width:none;
    }

    .daily-mixes-grid::-webkit-scrollbar{
        display:none;
    }

    .daily-mix-card{
        flex:0 0 42%;
        max-width:164px;
        scroll-snap-align:start;
    }

    .genre-card{
        flex:0 0 72%;
        min-height:112px;
        padding:13px 104px 44px 14px;
    }

    .genre-cover{
        top:12px;
        right:10px;
        width:80px;
        height:80px;
    }

    .mood-journey{
        min-height:164px;
        padding:15px 15px 50px;
    }

    .continue-card{
        grid-template-columns:78px minmax(0,1fr);
        min-height:96px;
        gap:11px;
    }

    .continue-art{
        width:78px;
        height:78px;
    }

    .made-play-button,
    .mood-play-button,
    .daily-mix-art .card-play-button,
    .continue-art .card-play-button,
    .genre-play,
    .tracks article .cover .rowplay{
        opacity:.94;
        transform:none;
    }
}

@media (max-width:420px){
    .daily-mix-card{
        flex-basis:46%;
        max-width:156px;
    }

    .genre-card{
        flex-basis:78%;
    }
}

@media (hover:none){
    .made-play-button,
    .mood-play-button,
    .daily-mix-art .card-play-button,
    .continue-art .card-play-button,
    .genre-play,
    .tracks article .cover .rowplay{
        opacity:.94;
        transform:none;
    }
}

/* ========================================
   ZATIMES FEATURED RELEASE CAROUSEL
======================================== */

.featured-card{
    --featured-one:#0d3d76;
    --featured-two:#2475be;
    --featured-glow:#79dcff;

    min-height:330px;
    background:#061426;
}

.featured-background{
    position:absolute;
    inset:0;
    z-index:0;

    background:
        radial-gradient(
            circle at 72% 22%,
            color-mix(in srgb,var(--featured-glow) 30%,transparent),
            transparent 26%
        ),
        linear-gradient(
            95deg,
            #04101f 0 28%,
            rgba(4,16,31,.72) 46%,
            rgba(4,16,31,.08) 70%
        ),
        linear-gradient(
            145deg,
            var(--featured-one),
            var(--featured-two)
        );

    transform:scale(1.01);
    transition:
        opacity .28s ease,
        transform .48s cubic-bezier(.2,.8,.2,1),
        filter .28s ease;
}

.featured-card::after{
    position:absolute;
    inset:0;
    z-index:2;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.035),
            transparent 22%,
            transparent 72%,
            rgba(0,0,0,.22)
        );

    border-radius:inherit;

    content:"";
    pointer-events:none;
}

.featured-content,
.featured-art,
.featured-words{
    transition:
        opacity .24s ease,
        transform .34s cubic-bezier(.2,.8,.2,1);
}

.featured-card.is-changing .featured-background{
    opacity:.68;
    filter:saturate(.82);
    transform:scale(1.035);
}

.featured-card.is-changing .featured-content,
.featured-card.is-changing .featured-art,
.featured-card.is-changing .featured-words{
    opacity:0;
}

.featured-card.is-changing.is-moving-right .featured-content{
    transform:translateX(-16px);
}

.featured-card.is-changing.is-moving-left .featured-content{
    transform:translateX(16px);
}

.featured-card.is-changing.is-moving-right .featured-art{
    transform:translateX(18px) scale(.985);
}

.featured-card.is-changing.is-moving-left .featured-art{
    transform:translateX(-18px) scale(.985);
}

.featured-meta{
    display:flex;
    align-items:center;
    gap:12px;

    width:min(100%,520px);
}

.featured-position{
    margin-left:auto;

    color:rgba(230,244,255,.62);

    font-size:.61rem;
    font-weight:700;
    letter-spacing:.12em;
}

.featured-tags{
    display:flex;
    flex-wrap:wrap;
    gap:7px;

    margin-top:14px;
}

.featured-tags span{
    display:inline-flex;
    align-items:center;

    min-height:27px;
    padding:5px 9px;

    color:rgba(235,247,255,.84);
    background:rgba(3,12,24,.26);

    border:1px solid rgba(190,224,255,.14);
    border-radius:999px;

    font-size:.64rem;
    font-weight:650;
    letter-spacing:.04em;

    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}

.featured-navigation{
    position:absolute;
    right:20px;
    bottom:18px;
    z-index:8;

    display:flex;
    align-items:center;
    gap:7px;

    padding:5px;

    background:rgba(2,10,20,.46);

    border:1px solid rgba(160,214,255,.18);
    border-radius:999px;

    box-shadow:
        0 12px 28px rgba(0,0,0,.28),
        inset 0 1px rgba(255,255,255,.045);

    backdrop-filter:blur(14px) saturate(125%);
    -webkit-backdrop-filter:blur(14px) saturate(125%);
}

.featured-arrow{
    position:relative;

    display:grid;
    place-items:center;

    width:38px;
    height:38px;
    padding:0;

    color:rgba(237,248,255,.9);
    background:
        linear-gradient(
            145deg,
            rgba(15,37,60,.92),
            rgba(3,13,24,.94)
        );

    border:1px solid rgba(87,223,255,.24);
    border-radius:50%;

    box-shadow:
        0 7px 18px rgba(0,0,0,.28),
        inset 0 1px rgba(255,255,255,.05);

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

.featured-arrow::after{
    position:absolute;
    inset:3px;

    border:1px solid rgba(255,255,255,.045);
    border-radius:inherit;

    content:"";
    pointer-events:none;
}

.featured-arrow svg{
    position:relative;
    z-index:2;

    width:16px;
    height:16px;
}

.featured-arrow:hover,
.featured-arrow:focus-visible{
    color:#04121f;
    background:linear-gradient(145deg,#93efff,var(--cyan));
    border-color:rgba(255,255,255,.56);

    box-shadow:
        0 10px 22px rgba(0,0,0,.25),
        0 0 22px rgba(87,223,255,.24);

    transform:translateY(-1px);
}

.featured-arrow:active{
    transform:scale(.95);
}

.featured-dots{
    position:static;

    display:flex;
    align-items:center;
    gap:1px;
}

.featured-dots button{
    flex:0 0 20px;

    width:20px;
    height:34px;
}

.featured-dots button::after{
    width:5px;
    height:5px;

    box-shadow:0 0 0 1px rgba(255,255,255,.04);
}

.featured-dots button.on::after{
    width:14px;

    box-shadow:0 0 12px rgba(87,223,255,.35);
}

.featured-art .moon{
    background:
        radial-gradient(
            circle at 36% 32%,
            #f3f9ff,
            color-mix(in srgb,var(--featured-glow) 70%,#bfd8f4) 50%,
            color-mix(in srgb,var(--featured-two) 76%,#315f8e) 78%,
            var(--featured-one)
        );

    box-shadow:
        0 0 88px 26px color-mix(in srgb,var(--featured-glow) 24%,transparent);
}

.featured-art .equaliser i{
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb,var(--featured-glow) 82%,white),
            color-mix(in srgb,var(--featured-glow) 28%,transparent)
        );
}

.primary-button.is-playing{
    box-shadow:
        0 0 0 4px rgba(87,223,255,.08),
        0 0 26px rgba(87,223,255,.3),
        0 14px 34px rgba(0,0,0,.24);
}

.screen-reader-status{
    position:absolute;

    width:1px;
    height:1px;
    padding:0;
    margin:-1px;

    overflow:hidden;

    clip:rect(0,0,0,0);
    white-space:nowrap;

    border:0;
}

@media (max-width:1050px){
    .featured-card{
        min-height:340px;
    }
}

@media (max-width:650px){
    .featured-card{
        min-height:310px;
    }

    .featured-content{
        padding:22px 22px 76px;
    }

    .featured-content h1{
        max-width:78%;
        font-size:clamp(2rem,10vw,2.55rem);
    }

    .featured-description{
        max-width:70%;
    }

    .featured-meta{
        width:min(100%,430px);
    }

    .featured-navigation{
        right:12px;
        bottom:12px;

        gap:4px;
        padding:4px;
    }

    .featured-arrow{
        width:34px;
        height:34px;
    }

    .featured-arrow svg{
        width:14px;
        height:14px;
    }

    .featured-dots button{
        width:17px;
        height:30px;
        flex-basis:17px;
    }
}

@media (max-width:420px){
    .featured-card{
        min-height:320px;
    }

    .featured-content{
        padding:20px 18px 72px;
    }

    .featured-content h1{
        max-width:84%;
        font-size:1.95rem;
    }

    .featured-description{
        max-width:76%;
        display:-webkit-box;
        overflow:hidden;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:2;
    }

    .featured-tags{
        max-width:75%;
    }

    .featured-position{
        display:none;
    }

    .featured-arrow{
        width:32px;
        height:32px;
    }
}

@media (prefers-reduced-motion:reduce){
    .featured-content,
    .featured-art,
    .featured-words,
    .featured-background,
    .featured-arrow{
        transition-duration:.01ms !important;
    }
}


/* Zatimes release archive */
.release-archive{padding:clamp(20px,3vw,40px);margin:30px 0;border:1px solid rgba(113,234,255,.18);border-radius:24px;background:linear-gradient(150deg,rgba(13,37,57,.92),rgba(4,12,24,.94));color:#eef8ff}
.release-archive h2{font-size:clamp(1.7rem,3vw,2.6rem);letter-spacing:-.045em;margin:4px 0 8px}.release-archive p{color:#a7bdcc;margin-bottom:22px}
.release-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}.release-card{display:grid;gap:8px;padding:12px;border:1px solid rgba(137,203,236,.14);border-radius:16px;color:inherit;text-decoration:none;background:#0a1a29;transition:transform .18s,border-color .18s}.release-card:hover{transform:translateY(-3px);border-color:#36cee9}.release-card img,.release-art{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;background:linear-gradient(130deg,#143b57,#07111d);display:grid;place-items:center;font-size:32px}.release-card strong{font-size:1.05rem;line-height:1.3}.release-card small{color:#a7bdcc}.archive-pages{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}.archive-pages button{border:1px solid rgba(137,203,236,.28);border-radius:10px;padding:10px 14px;min-width:42px;color:#eef8ff;background:#102538;cursor:pointer}.archive-pages button[aria-current=page]{background:#2bcceb;color:#04121d}.archive-pages button:disabled{opacity:.4;cursor:default}.player-download{display:inline-flex;align-items:center;justify-content:center;background:#2bdcff;color:#04121d!important;padding:9px 18px;border-radius:999px;font-weight:750;text-decoration:none}.player-download[hidden]{display:none}.music-player .player{justify-content:center}

.music-player{display:flex;align-items:center;justify-content:space-between;gap:clamp(12px,3vw,32px)}.music-player .player-centre{flex:1;display:flex;justify-content:center}.music-player .player{display:flex;align-items:center;justify-content:center;gap:18px}.music-player .player-download{min-width:110px}.featured-card[hidden],.release-feature[hidden]{display:none!important}.featured-dots{display:flex;flex-wrap:wrap;gap:7px}.featured-dots button{min-width:34px;min-height:34px}.release-feature{min-height:280px;display:flex;flex-direction:column;justify-content:center;gap:12px}.release-feature .archive-pages{margin-top:10px}

.music-player{min-height:82px;padding:12px clamp(16px,3vw,38px)}.music-player .player-centre{min-width:210px}.music-player .now{min-width:0}.music-player .now-information{min-width:0}.music-player .now-information strong,.music-player .now-information small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.music-player .player-download[hidden]{display:none!important}#phpReleaseFeature .featured-dots{display:none!important}

.music-player .like-button,.music-player .timeline,.music-player .volume,.music-player .player button:not(#mainPlay),.music-player .queue-panel{display:none!important}.music-player .player{display:flex;justify-content:center;align-items:center;gap:18px}.music-player .player-download[hidden]{display:none!important}

/* Keep keyboard focus on the rounded search field, without an inner rectangle. */
.search-box input:focus,
.search-box input:focus-visible {
    outline: none;
    box-shadow: none;
}
.search-box:focus-within {
    border-color: var(--line-bright);
}
/* ============================================================
   HOME — SINGLES-ONLY UI
   ------------------------------------------------------------
   These rules are appended so the existing stylesheet remains
   intact for the rest of the project. They only take effect on
   the Home page elements/classes used by the Singles view.
   ============================================================ */

/* Hide the old Home discovery sections without deleting their
   original styles or JavaScript. */
.featured-card,
.featured-section,
.genres,
.genre-section,
.sound-filter,
.sound-filters,
.browse-all,
.browse-section,
.made-section,
.made-grid,
#featuredCard,
#genres {
    display: none !important;
}

/* If an old section wrapper contains a removed Home-only block,
   collapse the wrapper as well. */
.section-block:has(.featured-card),
.section-block:has(.genres),
.section-block:has(#featuredCard),
.section-block:has(#genres),
.section-block:has(.made-grid) {
    display: none !important;
}

/* Give the existing track area a clean Singles landing-page
   presentation. The JS adds .home-singles-grid at runtime. */
#tracks.home-singles-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
}

/* Hide an old table header if the original index.html contains one. */
.track-header {
    display: none !important;
}

/* Single card */
#tracks.home-singles-grid .home-single-card {
    position: relative;
    min-width: 0;
    min-height: 0;
    padding: 0;
    display: block;
    overflow: hidden;
    background: linear-gradient(
        160deg,
        rgba(13, 35, 63, 0.92),
        rgba(5, 14, 27, 0.96)
    );
    border: 1px solid rgba(105, 190, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
    animation: riseIn 0.48s var(--home-delay) both;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

#tracks.home-singles-grid .home-single-card:hover {
    transform: translateY(-4px);
    border-color: rgba(87, 223, 255, 0.42);
    box-shadow:
        0 20px 44px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(87, 223, 255, 0.06);
}

/* Artwork comes directly from uploaded release metadata. */
#tracks.home-singles-grid .home-single-art {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
        radial-gradient(
            circle at 72% 20%,
            rgba(87, 223, 255, 0.42),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #14599d,
            #061323 76%
        );
    background-size: cover;
    background-position: center;
}

#tracks.home-singles-grid .home-single-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.02),
            rgba(0, 0, 0, 0.44)
        );
    pointer-events: none;
}

#tracks.home-singles-grid .home-art-fallback {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.22em;
}

/* Play button sits over the artwork and is always easy to find. */
#tracks.home-singles-grid .home-single-play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #04121f;
    background: var(--cyan);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42);
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

#tracks.home-singles-grid .home-single-play svg {
    width: 19px;
    height: 19px;
}

#tracks.home-singles-grid .home-single-play:hover {
    background: var(--white);
    transform: scale(1.06);
}

/* Card information */
#tracks.home-singles-grid .home-single-info {
    min-width: 0;
    padding: 13px 13px 14px;
}

#tracks.home-singles-grid .home-single-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

#tracks.home-singles-grid .home-single-title {
    min-width: 0;
    overflow: hidden;
    color: var(--white);
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.92rem;
    font-weight: 700;
}

#tracks.home-singles-grid a.home-single-title:hover {
    color: var(--cyan);
}

#tracks.home-singles-grid .home-single-like {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    margin-left: auto;
    padding: 0;
    color: var(--muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 50%;
}

#tracks.home-singles-grid .home-single-like svg {
    width: 16px;
    height: 16px;
}

#tracks.home-singles-grid .home-single-like:hover {
    color: var(--cyan);
    background: rgba(87, 223, 255, 0.09);
    border-color: rgba(87, 223, 255, 0.24);
}

#tracks.home-singles-grid .home-single-like.liked {
    color: var(--green);
    text-shadow: 0 0 14px rgba(36, 232, 120, 0.52);
}

#tracks.home-singles-grid .home-single-artist {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.74rem;
}

#tracks.home-singles-grid .home-single-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    overflow: hidden;
    color: var(--muted-dark);
    font-size: 0.66rem;
}

#tracks.home-singles-grid .home-single-meta > span:not(.home-meta-dot) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#tracks.home-singles-grid .home-meta-dot {
    flex: 0 0 auto;
    color: var(--cyan);
}

/* Compact pagination at the bottom of the Singles list. */
.home-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    margin-top: 24px;
    padding-bottom: 4px;
}

.home-page-list {
    display: flex;
    align-items: center;
    gap: 5px;
}

.home-page-button {
    display: grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    color: var(--muted);
    background: rgba(8, 22, 40, 0.82);
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 0.72rem;
    font-weight: 700;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.home-page-button:hover:not(:disabled) {
    color: var(--white);
    background: rgba(35, 140, 255, 0.16);
    border-color: var(--line-bright);
    transform: translateY(-1px);
}

.home-page-button[aria-current="page"] {
    color: #04121f;
    background: var(--cyan);
    border-color: var(--cyan);
}

.home-page-button:disabled {
    cursor: default;
    opacity: 0.34;
}

.home-page-prev,
.home-page-next {
    padding-inline: 13px;
}

.home-page-ellipsis {
    display: grid;
    place-items: center;
    min-width: 22px;
    color: var(--muted-dark);
    font-size: 0.8rem;
}

/* The no-singles state is deliberately visually quiet so Home can
   remain empty until a published single exists. */
.home-singles-empty {
    display: none !important;
}

/* Keep the Home content compact so pagination sits close to the
   final row rather than leaving a large empty vertical gap. */
#tracks.home-singles-grid + .home-pagination {
    margin-bottom: 0;
}

/* Responsive layout */
@media (max-width: 1100px) {
    #tracks.home-singles-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 780px) {
    #tracks.home-singles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .home-pagination {
        margin-top: 18px;
    }

    .home-page-button {
        min-width: 34px;
        height: 34px;
    }

    .home-page-prev,
    .home-page-next {
        padding-inline: 10px;
    }
}

@media (max-width: 460px) {
    #tracks.home-singles-grid {
        gap: 11px !important;
    }

    #tracks.home-singles-grid .home-single-info {
        padding: 10px 10px 11px;
    }

    #tracks.home-singles-grid .home-single-play {
        right: 8px;
        bottom: 8px;
        width: 38px;
        height: 38px;
    }

    #tracks.home-singles-grid .home-single-title {
        font-size: 0.82rem;
    }

    #tracks.home-singles-grid .home-single-artist {
        font-size: 0.68rem;
    }

    #tracks.home-singles-grid .home-single-meta {
        font-size: 0.6rem;
    }

    .home-page-button {
        min-width: 31px;
        height: 31px;
        padding-inline: 7px;
        font-size: 0.65rem;
    }

    .home-page-prev,
    .home-page-next {
        padding-inline: 8px;
    }
}


/* ========================================
   HOME — EXTRA MOBILE RESPONSIVE POLISH
   Keeps Home single-only and makes the card/pagination layout
   comfortable on phones without changing other pages.
======================================== */

@media (max-width: 650px) {
    #tracks.home-singles-grid {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: start;
    }

    #tracks.home-singles-grid .home-single-card {
        min-width: 0;
        overflow: hidden;
    }

    #tracks.home-singles-grid .home-single-art {
        aspect-ratio: 1 / 1;
        min-height: 0;
    }

    #tracks.home-singles-grid .home-single-title,
    #tracks.home-singles-grid .home-single-artist,
    #tracks.home-singles-grid .home-single-meta {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-pagination {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
        overflow: visible;
        padding: 2px 0 4px;
    }

    .home-page-button {
        flex: 0 0 auto;
        touch-action: manipulation;
    }
}

@media (max-width: 390px) {
    .content {
        padding-inline: 11px;
    }

    #tracks.home-singles-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    #tracks.home-singles-grid .home-single-card {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        min-height: 92px;
    }

    #tracks.home-singles-grid .home-single-art {
        width: 92px;
        height: 92px;
        aspect-ratio: auto;
    }

    #tracks.home-singles-grid .home-single-info {
        min-width: 0;
        padding: 11px 10px;
    }

    #tracks.home-singles-grid .home-single-play {
        right: 7px;
        bottom: 7px;
        width: 34px;
        height: 34px;
    }

    .home-pagination {
        gap: 5px;
        margin-top: 14px;
    }

    .home-page-button {
        min-width: 30px;
        height: 30px;
        padding-inline: 6px;
        font-size: 0.64rem;
    }

    .home-page-prev,
    .home-page-next {
        padding-inline: 7px;
    }
}

@media (max-width: 330px) {
    .topbar {
        padding-inline: 9px;
    }

    .mobile-logo {
        margin-right: 7px;
        font-size: 0.68rem;
    }

    .search-box {
        min-width: 0;
        padding-inline: 11px;
    }

    .content {
        padding-inline: 9px;
    }

    #tracks.home-singles-grid .home-single-card {
        grid-template-columns: 78px minmax(0, 1fr);
        min-height: 78px;
    }

    #tracks.home-singles-grid .home-single-art {
        width: 78px;
        height: 78px;
    }

    #tracks.home-singles-grid .home-single-info {
        padding: 9px;
    }
}

/* ============================================================
   BEATZA HOME — PUBLISHED SINGLE CARDS
   ------------------------------------------------------------
   The Home catalogue is data-driven. Published releases from the
   API become cards automatically. Cards are deliberately quiet
   until selected; Play and Download are revealed only after the
   visitor clicks a card.
   ============================================================ */

#tracks.home-singles-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important;
    gap: clamp(16px, 1.8vw, 24px) !important;
    align-items: start;
}

#tracks.home-singles-grid .home-single-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(126, 205, 255, 0.14);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(14, 31, 52, 0.96), rgba(5, 13, 25, 0.98));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    outline: none;
    animation: riseIn 0.42s var(--home-delay) both;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

#tracks.home-singles-grid .home-single-card:hover,
#tracks.home-singles-grid .home-single-card:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(87, 223, 255, 0.42);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(87, 223, 255, 0.05);
}

#tracks.home-singles-grid .home-single-card.is-expanded {
    border-color: rgba(87, 223, 255, 0.52);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.4), 0 0 30px rgba(87, 223, 255, 0.07);
}

#tracks.home-singles-grid .home-single-art {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 72% 20%, rgba(87, 223, 255, 0.3), transparent 28%), linear-gradient(145deg, #14599d, #061323 76%);
}

#tracks.home-singles-grid .home-single-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

#tracks.home-singles-grid .home-single-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

#tracks.home-singles-grid .home-single-card:hover .home-single-art img,
#tracks.home-singles-grid .home-single-card:focus-visible .home-single-art img {
    transform: scale(1.035);
}

#tracks.home-singles-grid .home-art-fallback {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.22em;
}

#tracks.home-singles-grid .home-single-info {
    min-width: 0;
    padding: 14px 14px 15px;
}

#tracks.home-singles-grid .home-single-title {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1.28;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#tracks.home-singles-grid .home-single-artist {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#tracks.home-singles-grid .home-single-meta {
    display: block;
    margin-top: 8px;
    overflow: hidden;
    color: var(--muted-dark);
    font-size: 0.68rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Hidden until the card is selected. */
#tracks.home-singles-grid .home-single-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-height: 0;
    padding: 0 14px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: max-height 0.28s ease, opacity 0.2s ease, transform 0.28s ease, padding 0.28s ease;
}

#tracks.home-singles-grid .home-single-card.is-expanded .home-single-actions {
    max-height: 74px;
    padding: 0 14px 14px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#tracks.home-singles-grid .home-single-play,
#tracks.home-singles-grid .home-single-download {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 11px;
    font-size: 0.72rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

#tracks.home-singles-grid .home-single-play {
    position: static;
    right: auto;
    bottom: auto;
    width: auto;
    height: auto;
    padding: 0 12px;
    color: #04121f;
    background: var(--cyan);
    border: 1px solid var(--cyan);
    border-radius: 11px;
    box-shadow: none;
    cursor: pointer;
}

#tracks.home-singles-grid .home-single-play svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

#tracks.home-singles-grid .home-single-play:hover:not(:disabled),
#tracks.home-singles-grid .home-single-download:hover {
    transform: translateY(-1px);
}

#tracks.home-singles-grid .home-single-play:hover:not(:disabled) {
    background: var(--white);
    border-color: var(--white);
}

#tracks.home-singles-grid .home-single-play:disabled {
    color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    opacity: 0.55;
}

#tracks.home-singles-grid .home-single-download {
    padding: 0 10px;
    color: var(--white);
    background: rgba(87, 223, 255, 0.08);
    border: 1px solid rgba(87, 223, 255, 0.22);
    cursor: pointer;
}

#tracks.home-singles-grid .home-single-download:hover {
    color: var(--cyan);
    background: rgba(87, 223, 255, 0.13);
    border-color: rgba(87, 223, 255, 0.42);
}

/* Home does not use the legacy pagination controls. */
#tracks.home-singles-grid + .home-pagination,
.home-pagination {
    display: none !important;
}

@media (max-width: 1100px) {
    #tracks.home-singles-grid {
        grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)) !important;
    }
}

@media (max-width: 700px) {
    #tracks.home-singles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 13px !important;
    }

    #tracks.home-singles-grid .home-single-card {
        border-radius: 16px;
    }

    #tracks.home-singles-grid .home-single-info {
        padding: 11px 11px 12px;
    }

    #tracks.home-singles-grid .home-single-actions {
        padding-inline: 11px;
    }

    #tracks.home-singles-grid .home-single-card.is-expanded .home-single-actions {
        padding: 0 11px 11px;
    }
}

@media (max-width: 430px) {
    #tracks.home-singles-grid {
        gap: 10px !important;
    }

    #tracks.home-singles-grid .home-single-title {
        font-size: 0.86rem;
    }

    #tracks.home-singles-grid .home-single-artist {
        font-size: 0.7rem;
    }

    #tracks.home-singles-grid .home-single-meta {
        font-size: 0.62rem;
    }

    #tracks.home-singles-grid .home-single-actions {
        grid-template-columns: 1fr;
    }
}


/* Visible ZATIMES watermark on release artwork */
#tracks.home-singles-grid .home-single-art{position:relative;overflow:hidden}
#tracks.home-singles-grid .home-single-art::before{
    content:"ZATIMES";
    position:absolute;
    right:9px;
    bottom:9px;
    z-index:2;
    padding:4px 6px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:5px;
    background:rgba(0,0,0,.42);
    color:rgba(255,255,255,.78);
    font-size:8px;
    font-weight:800;
    letter-spacing:.18em;
    pointer-events:none;
}

body:not(.has-player) {
    --player-height: 0px;
}

body:not(.has-player) .music-player {
    display: none;
}
/* The artwork and the title are the way into a release. */
#tracks.home-singles-grid .home-single-art[data-action="open"],
#tracks.home-singles-grid .home-single-title[data-action="open"] {
    cursor: pointer;
}

#tracks.home-singles-grid .home-single-title[data-action="open"]:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}