/* =========================================================
   NOW PLAYING + PRESENCE
   ========================================================= */

.cs-hero__now-playing,
.cs-hero__presence,
.cs-hero__online {
    position: relative;
    z-index: 3;
}

.cs-hero__now-playing {
    padding: 8px 16px;
    border-radius: var(--cs-radius-pill);

    background: rgba(18, 10, 31, 0.6);
    border: 1px solid rgba(157, 77, 255, 0.25);

    font-size: 0.88rem;
    color: var(--cs-muted);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.cs-hero__now-playing:empty {
    display: none;
}

.cs-hero__now-playing[data-active="true"] {
    border-color: rgba(0, 230, 215, 0.45);
    box-shadow: 0 0 24px -8px rgba(0, 230, 215, 0.5);
}

.cs-hero__now-playing[data-active="true"]::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cs-teal);
    box-shadow: 0 0 10px var(--cs-teal);
    animation: cs-hero-pulse 1.6s ease-in-out infinite;
}

@keyframes cs-hero-pulse {
    0%, 100% { opacity: 1;   transform: scale(1);   }
    50%      { opacity: 0.5; transform: scale(0.8); }
}

.cs-hero__presence:empty,
.cs-hero__online:empty {
    display: none;
}

.cs-hero__presence {
    font-size: 0.85rem;
    color: var(--cs-footer);
}

.cs-hero__online {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(187, 187, 187, 0.4);
    margin-left: 6px;
    vertical-align: middle;
}

.cs-hero__online[data-online="true"],
.cs-hero[data-online="true"] .cs-hero__online {
    background: var(--cs-teal);
    box-shadow: 0 0 12