/* ==============================
   STREAMS — cinematic deck + rail
   ============================== */

.streams {
    --str-pad: clamp(1.25rem, 4vw, 4rem);
    --str-line: rgba(255, 255, 255, 0.08);
    --str-border: rgba(255, 255, 255, 0.14);
    --str-spotify: #1db954;
    --str-soundcloud: #ff5500;

    position: relative;
    width: 100%;
    min-height: 100vh;
    background: transparent;
    color: #fff;
    direction: inherit;
    overflow-x: clip;
    padding: clamp(5rem, 9vw, 7rem) 0 clamp(5rem, 8vw, 6.5rem);
    z-index: 3;
}

.streams__tape {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    padding: 0.5rem 0;
    border-block: 1px solid var(--str-line);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.streams__tape-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.streams__tape-text {
    flex-shrink: 0;
    padding-right: 2rem;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(0.72rem, 1.3vw, 0.9rem);
    letter-spacing: 0.38em;
    color: rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.streams__inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--str-pad);
}

/* --- Header --- */

.streams__header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 1.25rem 2rem;
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
    min-width: 0;
}

.streams__eyebrow {
    grid-column: 1 / -1;
    display: inline-block;
    width: fit-content;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.42em;
    color: rgba(255, 255, 255, 0.45);
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--str-border);
    border-radius: 999px;
}

.streams__heading {
    display: block;
    margin: 0;
    max-width: 100%;
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    letter-spacing: 0.04em;
    line-height: 0.95;
    perspective: 900px;
}

.streams__heading:not(.streams__heading--whole) {
    white-space: nowrap;
}

.streams__char {
    display: inline-block;
    transform-origin: 50% 100%;
    will-change: transform, opacity;
}

.streams__heading--whole {
    display: block;
}

.streams__heading-text {
    display: inline-block;
}

.streams__subtitle {
    grid-column: 1;
    margin: 0.65rem 0 0;
    max-width: 44ch;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(0.88rem, 1.5vw, 1.02rem);
    letter-spacing: 0.14em;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
}

.streams__links {
    grid-column: 2;
    grid-row: 2 / 5;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

.streams__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.66rem;
    letter-spacing: 0.26em;
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.streams__link svg {
    width: 13px;
    height: 13px;
}

.streams__link--spotify:hover {
    border-color: var(--str-spotify);
    background: rgba(29, 185, 84, 0.1);
    box-shadow: 0 0 28px rgba(29, 185, 84, 0.22);
}

.streams__link--soundcloud:hover {
    border-color: var(--str-soundcloud);
    background: rgba(255, 85, 0, 0.08);
    box-shadow: 0 0 28px rgba(255, 85, 0, 0.18);
}

/* --- Stage: grid deck + glass queue column --- */

.streams__stage {
    position: relative;
    margin-top: clamp(0.15rem, 1.2vw, 0.65rem);
}

.streams__stage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 2.85rem);
    align-items: start;
}

@media (min-width: 1025px) {
    .streams__stage-grid:has(.streams__stage-side) {
        grid-template-columns: minmax(0, 1.12fr) minmax(252px, 336px);
        align-items: stretch;
    }
}

.streams__stage-main {
    position: relative;
    isolation: isolate;
    min-width: 0;
}

.streams__stage-side {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: clamp(1rem, 2.2vw, 1.35rem);
    border-radius: 16px;
    background: rgba(10, 10, 10, 0.92);
    border: 1px solid var(--str-line);
}

@media (max-width: 1024px) {
    .streams__stage-side {
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: none;
    }
}

/* Deck (hero player) */

.streams__deck {
    position: relative;
    z-index: 2;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--str-border);
    background: #080808;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.streams.is-playing .streams__deck {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.streams__deck-backdrop {
    position: absolute;
    inset: -8%;
    background-image: var(--deck-art, none);
    background-size: cover;
    background-position: center;
    filter: blur(40px) saturate(0.85);
    opacity: 0.22;
    transform: scale(1.08);
    transition: opacity 0.6s ease;
}

.streams.is-loading .streams__deck-backdrop {
    opacity: 0.35;
}

.streams__deck-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0.75) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 38%);
    pointer-events: none;
    z-index: 1;
}

.streams__deck-gridlines {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
}

/* Player — custom visual (like music videos), hidden engine */

.streams__deck .streams__player {
    position: relative;
    z-index: 2;
    padding: clamp(1.25rem, 2.6vw, 2rem) clamp(1.25rem, 2.8vw, 2.25rem) clamp(1.1rem, 2.2vw, 1.65rem);
}

.streams__player-screen {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--str-border);
    background: #050505;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.streams__player-screen--local {
    border-color: rgba(255, 255, 255, 0.12);
}

.streams__player-screen--spotify {
    border-color: rgba(29, 185, 84, 0.28);
}

.streams__player-screen--soundcloud {
    border-color: rgba(255, 85, 0, 0.25);
}

.streams__player-swap {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    opacity: 0;
    background: #fff;
    mix-blend-mode: overlay;
    transform: scale(1.1);
}

.streams__player-ratio {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    z-index: 1;
    border-radius: clamp(8px, 1.2vw, 12px);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.streams__player-visual {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
}

.streams__player-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.7s ease, filter 0.5s ease;
}

.streams__player-art--fallback {
    background: linear-gradient(145deg, #1a1a1a 0%, #060606 100%);
}

.streams.is-playing .streams__player-art {
    transform: scale(1.04);
}

.streams__player-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, transparent 45%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 30%);
    pointer-events: none;
}

.streams__player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
}

.streams__play-btn {
    width: clamp(76px, 11vw, 102px);
    height: clamp(76px, 11vw, 102px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.streams__play-btn svg {
    width: 34px;
    height: 34px;
    margin-left: 4px;
}

.streams__play-icon--pause svg {
    margin-left: 0;
    width: 28px;
    height: 28px;
}

.streams__play-btn:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(0, 0, 0, 0.58);
}

.streams.is-playing .streams__play-btn {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.45);
}

.streams__player-waves {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 42px;
    opacity: 0.25;
    transition: opacity 0.4s ease;
}

.streams.is-playing .streams__player-waves {
    opacity: 0.85;
}

.streams__wave-bar {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: streams-wave 0.85s ease-in-out infinite;
    animation-play-state: paused;
}

.streams.is-playing .streams__wave-bar {
    animation-play-state: running;
    animation-delay: calc(var(--w-i, 0) * 0.045s);
}

@keyframes streams-wave {
    0%, 100% { height: 6px; opacity: 0.35; }
    50% { height: calc(8px + (var(--w-i, 0) % 6) * 4px); opacity: 1; }
}

.streams__player-platform {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 4;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.24em;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--str-border);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
}

.streams__player-platform--local {
    color: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.18);
}

.streams__player-platform--spotify {
    color: var(--str-spotify);
    border-color: rgba(29, 185, 84, 0.45);
}

.streams__player-platform--soundcloud {
    color: var(--str-soundcloud);
    border-color: rgba(255, 85, 0, 0.42);
}

/* Audio engine — off-screen (SoundCloud) or visible overlay (Spotify) */
.streams__player-engine--external {
    display: none;
}

.streams__player-engine {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 320px;
    height: 320px;
    overflow: hidden;
    opacity: 0.001;
    pointer-events: none;
    z-index: -1;
}

.streams__player-engine .streams__audio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0.001;
    pointer-events: none;
}

.streams__player-engine .streams__iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Legacy iframe embeds (no longer used on front; kept for backwards compatibility). */
.streams.is-spotify-playing .streams__player-engine {
    position: absolute;
    inset: 0;
    left: 0;
    bottom: auto;
    width: 100%;
    height: 100%;
    opacity: 1;
    pointer-events: auto;
    z-index: 6;
}

.streams.is-spotify-playing .streams__player-visual {
    opacity: 0;
    pointer-events: none;
}

.streams.is-spotify-playing .streams__player-engine .streams__iframe {
    width: 100%;
    height: 100%;
}

.streams__player-grain,
.streams__player-scan {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.streams__player-grain {
    opacity: 0.16;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

.streams__player-scan {
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.03) 50%, transparent);
    background-size: 100% 220%;
    animation: streams-scan 7s ease-in-out infinite;
    opacity: 0.45;
}

@keyframes streams-scan {
    0%, 100% { background-position: 0 0; }
    50% { background-position: 0 100%; }
}

.streams__player-meta {
    padding: 1.25rem 0.15rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin-top: 0;
}

.streams__player-meta--split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.75rem;
}

.streams__player-meta-main {
    flex: 1 1 12rem;
    min-width: 0;
}

.streams__player-meta-aside {
    flex: 0 0 auto;
    text-align: end;
    padding-bottom: 0.1rem;
}

.streams__player-meta-aside:has(#js-streams-active-duration[hidden]) .streams__player-duration-label {
    display: none;
}

.streams__player-duration-label {
    display: block;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.52rem;
    letter-spacing: 0.36em;
    color: rgba(255, 255, 255, 0.28);
    margin-bottom: 0.2rem;
}

.streams__player-label {
    display: block;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.38em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.45rem;
}

.streams__player-title {
    margin: 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 1.9rem);
    letter-spacing: 0.04em;
    line-height: 1.08;
}

.streams__player-album {
    margin: 0.45rem 0 0;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.42);
}

.streams__player-date {
    display: block;
    margin-top: 0.4rem;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.32);
}

.streams__open-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.66rem;
    letter-spacing: 0.26em;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
}

.streams__open-link svg {
    width: 13px;
    height: 13px;
}

.streams__open-link:hover {
    color: #fff;
    gap: 0.6rem;
}

.streams__player-duration {
    margin: 0.5rem 0 0;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.38);
}

.streams__player-duration--hero {
    margin: 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    letter-spacing: 0.06em;
    line-height: 1;
    color: rgba(255, 255, 255, 0.88);
}

.streams__player-title,
.streams__player-album,
.streams__player-date,
.streams__player-duration,
.streams__player-duration-label {
    will-change: transform, opacity;
}

.streams.is-loading .streams__player-art {
    opacity: 0.5;
}

/* --- Track rail (horizontal posters) --- */

.streams__rail-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.streams__rail-eyebrow {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.38em;
    color: rgba(255, 255, 255, 0.42);
}

.streams__rail-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--str-line), transparent);
}

.streams__rail-count {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 1.75rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.18);
    line-height: 1;
}

.streams__rail-scroll {
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 1rem;
    margin: 0 calc(var(--str-pad) * -0.35);
    padding-left: calc(var(--str-pad) * 0.35);
    padding-right: calc(var(--str-pad) * 0.35);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

/* Desktop: queue as vertical stack inside glass side panel */
@media (min-width: 1025px) {
    .streams__stage-side .streams__rail-head {
        margin-bottom: 0.85rem;
        gap: 0.6rem;
    }

    .streams__stage-side .streams__rail-eyebrow {
        font-size: 0.62rem;
        letter-spacing: 0.44em;
        color: rgba(255, 255, 255, 0.4);
    }

    .streams__stage-side .streams__rail-count {
        font-size: 1.4rem;
        color: rgba(255, 255, 255, 0.14);
    }

    .streams__stage-side .streams__rail-scroll {
        overflow-x: visible;
        overflow-y: auto;
        max-height: min(68vh, 620px);
        margin: 0;
        padding: 0 0.2rem 0.85rem 0;
        mask-image: linear-gradient(180deg, transparent, #000 3%, #000 93%, transparent);
        scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
    }

    .streams__stage-side .streams__playlist {
        flex-direction: column;
        width: 100%;
        min-width: 0;
        gap: 0.42rem;
        padding: 0.1rem 0 0.35rem;
    }

    .streams__stage-side .streams__track {
        flex: 0 0 auto;
        width: 100%;
        scroll-snap-align: none;
    }

    .streams__stage-side .streams__track-btn {
        flex-direction: row;
        align-items: center;
        gap: 0.72rem;
        padding: 0.42rem 0.48rem 0.42rem 0.38rem;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.035);
        border: 1px solid rgba(255, 255, 255, 0.07);
        transition: background 0.3s ease, border-color 0.3s ease, transform 0.32s ease;
    }

    .streams__stage-side .streams__track-btn:hover {
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.12);
    }

    .streams__stage-side .streams__track.is-active .streams__track-btn {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .streams__stage-side .streams__track-num {
        display: none;
    }

    .streams__stage-side .streams__track-poster {
        width: 54px;
        flex-shrink: 0;
        border-radius: 10px;
    }

    .streams__stage-side .streams__track-btn:hover .streams__track-poster,
    .streams__stage-side .streams__track.is-active .streams__track-poster {
        transform: none;
    }

    .streams__stage-side .streams__track-info {
        padding: 0 0.1rem 0 0;
        opacity: 0.7;
    }

    .streams__stage-side .streams__track.is-active .streams__track-info {
        opacity: 1;
    }

    .streams__stage-side .streams__track-title {
        font-size: 0.8rem;
        line-height: 1.22;
    }

    .streams__stage-side .streams__track-time {
        margin-top: 0.12rem;
        font-size: 0.56rem;
        letter-spacing: 0.16em;
        color: rgba(255, 255, 255, 0.38);
    }
}

.streams__playlist {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    display: flex;
    gap: clamp(1rem, 2vw, 1.35rem);
    width: max-content;
    min-width: 100%;
}

.streams__track {
    flex: 0 0 clamp(200px, 22vw, 260px);
    scroll-snap-align: start;
}

.streams__track-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    text-align: start;
}

.streams__track-num {
    position: absolute;
    top: -0.35rem;
    left: -0.15rem;
    z-index: 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(3.5rem, 8vw, 5rem);
    line-height: 1;
    color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
    transition: color 0.4s ease;
}

.streams__track.is-active .streams__track-num {
    color: rgba(255, 255, 255, 0.14);
}

.streams__track-poster {
    position: relative;
    z-index: 1;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0c0c0c;
    transition:
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.streams__track-poster img,
.streams__track-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease, filter 0.45s ease;
}

.streams__track-fallback {
    background: linear-gradient(160deg, #1c1c1c, #080808);
}

.streams__track:not(.is-active) .streams__track-poster img {
    filter: grayscale(0.85) brightness(0.75);
}

.streams__track-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 55%);
    pointer-events: none;
}

.streams__track-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.streams__track-play svg {
    width: 36px;
    height: 36px;
}

.streams__track-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.5rem;
    letter-spacing: 0.14em;
    padding: 0.2rem 0.45rem;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.streams__track-time {
    display: block;
    margin-top: 0.25rem;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.35);
}

.streams__track--local.is-active .streams__track-badge {
    color: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.22);
}

.streams__track--spotify.is-active .streams__track-badge {
    color: var(--str-spotify);
    border-color: rgba(29, 185, 84, 0.4);
}

.streams__track--soundcloud.is-active .streams__track-badge {
    color: var(--str-soundcloud);
    border-color: rgba(255, 85, 0, 0.4);
}

.streams__track-btn:hover .streams__track-play,
.streams__track.is-active .streams__track-play {
    opacity: 1;
}

.streams__track-btn:hover .streams__track-poster,
.streams__track.is-active .streams__track-poster {
    transform: translateY(-6px);
}

.streams__track.is-active .streams__track-poster {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.streams__track--local.is-active .streams__track-poster {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.streams__track--spotify.is-active .streams__track-poster {
    box-shadow: 0 28px 55px rgba(29, 185, 84, 0.18);
}

.streams__track--soundcloud.is-active .streams__track-poster {
    box-shadow: 0 28px 55px rgba(255, 85, 0, 0.15);
}

.streams__track.is-active .streams__track-poster img {
    filter: none;
    transform: scale(1.04);
}

.streams__track-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0 0.15rem;
    opacity: 0.55;
    transition: opacity 0.35s ease;
}

.streams__track.is-active .streams__track-info {
    opacity: 1;
}

.streams__track-title {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.streams__track-album {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.38);
}

.streams__empty {
    padding: 4rem 2rem;
    text-align: center;
    border: 1px dashed var(--str-border);
    border-radius: 8px;
    font-family: 'Bebas Neue', Impact, sans-serif;
    letter-spacing: 0.1em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
}

.streams:not(.is-gsap):not(.is-ready) .streams__header,
.streams:not(.is-gsap):not(.is-ready) .streams__stage {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.streams:not(.is-gsap).is-visible .streams__header,
.streams:not(.is-gsap).is-visible .streams__stage {
    opacity: 1;
    transform: none;
}

@media (max-width: 1024px) {
    .streams__deck .streams__player {
        padding: 1.2rem;
    }

    .streams__track {
        flex: 0 0 min(72vw, 280px);
    }
}

@media (max-width: 480px) {
    .streams__player-meta-aside {
        width: 100%;
        text-align: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .streams__wave-bar,
    .streams__player-scan {
        animation: none;
    }

    .streams__tape-track {
        transform: none !important;
    }

    .streams:not(.is-gsap) .streams__header,
    .streams:not(.is-gsap) .streams__stage,
    .streams.is-gsap .streams__header,
    .streams.is-gsap .streams__stage {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
