/* ============================================================
   CAKED LEGACY — SHOP POPUP (v1)
   Approved 2026-04-27. Mobile-first, click-driven, no scroll-heavy.
   Scope all rules under .shop-popup so we never collide with
   the rest of the site or the legacy rack-stage CSS.
   ============================================================ */

/* The popup host is wrapped in .info-box (z-index:8 from source CSS),
   which creates a stacking context that traps the popup under the
   page header (z-index:10). Bump the .info-box parent above the
   header so the popup, its close X, and design BACK button are all
   clickable instead of being covered. */
.info-box:has(.shop-popup-host){
    z-index: 9999 !important;
}
.info-box__body.shop-popup-host{
    z-index: 9999 !important;
}

.shop-popup {
    --pink:   #ff3df2;
    --cyan:   #38bdf8;
    --red:    #ef4444;
    --yellow: #ffeb3b;
    --purple: #a020f0;
    --ink:    #07060b;
    --ink-2:  #14101c;
    --ink-3:  #1f1830;

    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: rgba(4, 2, 8, 0.94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* The actual UI container — fills viewport on mobile,
   becomes a centered phone-shaped frame on desktop. */
.shop-popup .sp-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0c0717 0%, #0a0612 60%, #06040d 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 61, 242, 0.18);
    overflow: hidden;
}
@media (min-width: 560px) {
    .shop-popup {
        align-items: center;
    }
    .shop-popup .sp-frame {
        width: min(460px, 96vw);
        height: min(900px, 94vh);
        border-radius: 22px;
        box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 80px rgba(255,61,242,0.25), inset 0 0 0 1px rgba(255,61,242,0.18);
    }
}

/* ===== DESKTOP: wide 2-column landscape layout ===== */
@media (min-width: 900px) {
    .shop-popup .sp-frame {
        width: min(1040px, 92vw);
        height: min(720px, 92vh);
    }
    /* Apparel + Accessories panels: hero (left) + info (right), rack spans below */
    .shop-popup .sp-panel[data-sp-panel="apparel"].is-active,
    .shop-popup .sp-panel[data-sp-panel="accessories"].is-active {
        display: grid;
        grid-template-columns: 1.15fr 1fr;
        grid-template-rows: minmax(0, 1fr) auto auto;
        grid-template-areas:
            "hero info"
            "rackh rackh"
            "racks racks";
    }
    .shop-popup .sp-panel[data-sp-panel="apparel"].is-active > .sp-hero,
    .shop-popup .sp-panel[data-sp-panel="accessories"].is-active > .sp-hero {
        grid-area: hero;
        padding: 28px 12px 28px 32px;
    }
    .shop-popup .sp-panel[data-sp-panel="apparel"].is-active > .sp-info,
    .shop-popup .sp-panel[data-sp-panel="accessories"].is-active > .sp-info {
        grid-area: info;
        align-self: center;
        padding: 24px 32px 24px 12px;
    }
    .shop-popup .sp-panel[data-sp-panel="apparel"].is-active > .sp-rack-head,
    .shop-popup .sp-panel[data-sp-panel="accessories"].is-active > .sp-rack-head {
        grid-area: rackh;
    }
    .shop-popup .sp-panel[data-sp-panel="apparel"].is-active > .sp-rack-scroll,
    .shop-popup .sp-panel[data-sp-panel="accessories"].is-active > .sp-rack-scroll {
        grid-area: racks;
    }
    /* Bigger info type to match the wider canvas */
    .shop-popup .sp-info-title { font-size: 32px; }
    .shop-popup .sp-info-price { font-size: 38px; }
    .shop-popup .sp-info-eyebrow { font-size: 11px; }
    .shop-popup .sp-info-edition { font-size: 12px; }
    .shop-popup .sp-cta-row { margin-top: 20px; }
    .shop-popup .sp-btn { font-size: 15px; padding: 15px 18px; }
    /* Bigger rack thumbnails on desktop */
    .shop-popup .sp-rack-card { flex: 0 0 96px; height: 108px; }
    /* Pull the cart panel a bit narrower so it doesn't feel empty */
    .shop-popup .sp-panel[data-sp-panel="cart"] .sp-cart-list,
    .shop-popup .sp-panel[data-sp-panel="cart"] .sp-cart-footer {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
}
@media (min-width: 1280px) {
    .shop-popup .sp-frame {
        width: min(1100px, 86vw);
        height: min(740px, 90vh);
    }
}

.shop-popup * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.shop-popup .sp-display {
    font-family: 'F37Judge', Impact, "Arial Black", sans-serif;
    letter-spacing: 0.02em;
}

/* ===== HUD CORNER BRACKETS ===== */
.shop-popup .sp-hud { position: relative; }
.shop-popup .sp-hud-c {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid var(--cyan);
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(56,189,248,0.6));
    z-index: 5;
}

/* ===== HANGER OUTLINE ===== */
.shop-popup .sp-hanger-block { pointer-events: none; }
.shop-popup .sp-hud-tl { top: 8px; left: 8px;  border-right: 0; border-bottom: 0; }
.shop-popup .sp-hud-tr { top: 8px; right: 8px; border-left: 0;  border-bottom: 0; }
.shop-popup .sp-hud-bl { bottom: 8px; left: 8px;  border-right: 0; border-top: 0; }
.shop-popup .sp-hud-br { bottom: 8px; right: 8px; border-left: 0;  border-top: 0; }

/* ===== COMBINED BAR: close X + tabs + cart icon ===== */
.shop-popup .sp-tabs {
    display: flex;
    align-items: stretch;
    gap: 2px;
    padding: 0;
    background: rgba(8, 4, 16, 0.94);
    border-bottom: 1px solid rgba(255,61,242,0.22);
    box-shadow: 0 6px 14px rgba(0,0,0,0.45);
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

/* Text tabs (APPAREL / ACCESSORIES) */
.shop-popup .sp-tab {
    position: relative;
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 6px 12px;
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 13px; letter-spacing: 0.1em;
    color: #888;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}
.shop-popup .sp-tab:hover { color: #ddd; }
.shop-popup .sp-tab.is-active {
    color: var(--pink);
    text-shadow: 0 0 1px rgba(0,0,0,.7), 0 0 10px rgba(255,61,242,0.7);
}
.shop-popup .sp-tab.is-active::after {
    content: "";
    position: absolute;
    left: 16%; right: 16%;
    bottom: 3px; height: 2px;
    background: var(--pink);
    box-shadow: 0 0 10px rgba(255,61,242,0.85);
}

/* Icon slots inside the bar (close on left, cart on right) */
.shop-popup .sp-tab-icon {
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.shop-popup .sp-tab-icon-close {
    color: var(--red);
    font-size: 18px;
    line-height: 1;
    text-shadow: 0 0 10px rgba(239,68,68,0.7);
}
.shop-popup .sp-tab-icon-close:hover {
    color: #fff;
    text-shadow: 0 0 12px #ff5050, 0 0 22px rgba(239,68,68,0.7);
}
.shop-popup .sp-tab-icon-cart {
    color: var(--cyan);
    position: relative;
}
.shop-popup .sp-tab-icon-cart svg {
    width: 18px; height: 18px;
    filter: drop-shadow(0 0 6px rgba(56,189,248,0.7));
}
.shop-popup .sp-tab-icon-cart:hover svg {
    filter: drop-shadow(0 0 10px rgba(56,189,248,0.95));
}
.shop-popup .sp-tab-icon-cart.is-active {
    color: var(--pink);
}
.shop-popup .sp-tab-icon-cart.is-active svg {
    filter: drop-shadow(0 0 8px rgba(255,61,242,0.85));
}
.shop-popup .sp-tab-icon-cart.is-active::after {
    /* keep underline rule from .sp-tab.is-active::after */
    left: 18%; right: 18%;
}
.shop-popup .sp-cart-badge {
    position: absolute;
    top: 4px; right: 4px;
    background: var(--yellow);
    color: #1a1300;
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 9px; letter-spacing: 0.04em;
    padding: 1px 5px;
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(255,235,59,0.55);
    line-height: 1.2;
    pointer-events: none;
}

/* ===== PANELS ===== */
.shop-popup .sp-panel {
    display: none;
    flex: 1;
    min-height: 0;
    flex-direction: column;
}
.shop-popup .sp-panel.is-active { display: flex; }

/* ===== HERO PHOTO ZONE ===== */
.shop-popup .sp-hero {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 18px 18px;
}
.shop-popup .sp-hero-photo {
    position: relative;
    max-width: 100%; max-height: 100%;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.shop-popup .sp-hero-photo img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 22px 28px rgba(0,0,0,0.7)) drop-shadow(0 0 22px rgba(255,61,242,0.18));
    pointer-events: none;
    user-select: none;
}

.shop-popup .sp-hanger {
    position: absolute;
    left: 50%; top: -6px;
    width: 110px; height: 38px;
    transform: translateX(-50%);
    border: 1.5px solid rgba(255,255,255,0.55);
    border-bottom: 0;
    border-radius: 60px 60px 0 0 / 30px 30px 0 0;
    opacity: 0.55;
    pointer-events: none;
    user-select: none;
}
.shop-popup .sp-hanger::before {
    content: "";
    position: absolute;
    left: 50%; top: -10px;
    width: 12px; height: 14px;
    border: 1.5px solid rgba(255,255,255,0.55);
    border-bottom: 0;
    border-radius: 50% 50% 0 0;
    transform: translateX(-50%);
}

/* Floating sticker positions */
.shop-popup .sp-sticker-tr { position: absolute; top: 30px;  right: 14px; transform: rotate(8deg); z-index: 4; pointer-events: none; }
.shop-popup .sp-sticker-bl { position: absolute; bottom: 56px; left: 12px; transform: rotate(-6deg); z-index: 4; pointer-events: none; }

/* ===== CHIPS / STICKERS ===== */
.shop-popup .sp-chip {
    display: inline-flex; align-items: center;
    padding: 4px 9px;
    border-radius: 4px;
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 11px; letter-spacing: 0.06em; line-height: 1;
    text-transform: uppercase;
}
.shop-popup .sp-chip-pink   { background: var(--pink);   color: #0a0612; box-shadow: 0 0 12px rgba(255,61,242,0.6); }
.shop-popup .sp-chip-cyan   { background: var(--cyan);   color: #06121f; box-shadow: 0 0 12px rgba(56,189,248,0.55); }
.shop-popup .sp-chip-yellow { background: var(--yellow); color: #1a1300; box-shadow: 0 0 12px rgba(255,235,59,0.55); }
.shop-popup .sp-chip-paper  { background: #f5efe2; color: #1a0a16; box-shadow: 0 4px 0 rgba(0,0,0,0.4); transform: rotate(-3deg); }

/* ===== INFO BAR (under hero) ===== */
.shop-popup .sp-info {
    padding: 8px 16px 14px;
    flex-shrink: 0;
}
.shop-popup .sp-info-row {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 12px;
}
.shop-popup .sp-info-eyebrow {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 10px; letter-spacing: 0.18em;
    color: var(--cyan);
}
.shop-popup .sp-info-title {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 22px; letter-spacing: 0.04em;
    line-height: 1; margin: 4px 0 0;
}
.shop-popup .sp-info-edition {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    margin-top: 4px;
}
.shop-popup .sp-info-price-wrap { text-align: right; }
.shop-popup .sp-info-price {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 26px;
    color: var(--pink);
    text-shadow: 0 0 8px rgba(255,61,242,0.85), 0 0 18px rgba(255,61,242,0.45);
    line-height: 1;
}
.shop-popup .sp-info-currency {
    font-size: 10px; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.45);
    margin-top: 4px;
}

.shop-popup .sp-options-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* ===== SEGMENT TOGGLE (FRONT/BACK) ===== */
.shop-popup .sp-seg {
    display: inline-flex; padding: 3px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(56,189,248,0.25);
    border-radius: 999px;
}
.shop-popup .sp-seg button {
    background: transparent; border: none;
    padding: 6px 14px;
    border-radius: 999px;
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 12px; letter-spacing: 0.08em;
    color: #aaa;
    cursor: pointer;
    transition: all .15s ease;
}
.shop-popup .sp-seg button.is-active {
    background: var(--cyan); color: #06121f;
    box-shadow: 0 0 10px rgba(56,189,248,0.6);
}

/* ===== SIZE PILLS ===== */
.shop-popup .sp-size-row { display: flex; gap: 6px; }
.shop-popup .sp-pill {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 12px; letter-spacing: 0.06em;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.14);
    color: #ddd;
    cursor: pointer;
    transition: all .15s ease;
}
.shop-popup .sp-pill:hover { border-color: rgba(255,61,242,0.5); color: #fff; }
.shop-popup .sp-pill.is-active {
    background: var(--pink); color: #0a0612; border-color: var(--pink);
    box-shadow: 0 0 12px rgba(255,61,242,0.55);
}

/* ===== CTAs ===== */
.shop-popup .sp-cta-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 14px;
}
.shop-popup .sp-btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'F37Judge', Impact, sans-serif;
    text-transform: uppercase; letter-spacing: 0.04em;
    font-size: 14px; line-height: 1;
    padding: 13px 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease, background .18s ease;
}
.shop-popup .sp-btn-pink {
    background: var(--pink); color: #0a0612;
    box-shadow: 0 0 0 1px rgba(255,61,242,0.85), 0 0 16px rgba(255,61,242,0.55);
}
.shop-popup .sp-btn-pink:hover { transform: scale(1.04); filter: brightness(1.1); }
.shop-popup .sp-btn-cyan {
    background: transparent; color: var(--cyan);
    border: 1px solid rgba(56,189,248,0.7);
    box-shadow: 0 0 14px rgba(56,189,248,0.35);
}
.shop-popup .sp-btn-cyan:hover { transform: scale(1.04); background: rgba(56,189,248,0.08); }
.shop-popup .sp-btn-pink svg { margin-right: 8px; }
.shop-popup .sp-btn-full { grid-column: 1 / -1; width: 100%; }

/* ===== BOTTOM RACK STRIP — pinned full-width to popup edge ===== */
.shop-popup .sp-rack-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px 6px;
    background: rgba(8, 4, 16, 0.85);
    border-top: 1px solid rgba(255,61,242,0.18);
    flex-shrink: 0;
}
.shop-popup .sp-rack-head-label {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 10px; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.55);
}
.shop-popup .sp-rack-scroll {
    display: flex; gap: 8px;
    width: 100%;
    overflow-x: auto;
    padding: 8px 10px 12px;
    background: rgba(8, 4, 16, 0.85);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    flex-shrink: 0;
}
.shop-popup .sp-rack-scroll::-webkit-scrollbar { display: none; }
.shop-popup .sp-rack-card {
    flex: 0 0 78px;
    height: 88px;
    position: relative;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.4));
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    scroll-snap-align: start;
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.shop-popup .sp-rack-card:hover { transform: translateY(-2px); }
.shop-popup .sp-rack-card.is-active {
    border-color: rgba(255,61,242,0.85);
    box-shadow: 0 0 0 1px rgba(255,61,242,0.7), 0 0 16px rgba(255,61,242,0.45);
}
.shop-popup .sp-rack-card img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 6px;
}
.shop-popup .sp-rack-card-name {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 4px 6px;
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 9px; letter-spacing: 0.05em; line-height: 1;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
    text-align: center;
}

/* ===== CART PANEL ===== */
.shop-popup .sp-cart-list {
    flex: 1; min-height: 0;
    overflow-y: auto;
    padding: 12px 16px 8px;
    display: flex; flex-direction: column; gap: 8px;
}
.shop-popup .sp-cart-list::-webkit-scrollbar { width: 4px; }
.shop-popup .sp-cart-list::-webkit-scrollbar-thumb { background: rgba(255,61,242,0.4); border-radius: 99px; }

.shop-popup .sp-cart-empty {
    text-align: center;
    padding: 50px 20px;
}
.shop-popup .sp-cart-empty-title {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 28px;
    color: var(--pink);
    text-shadow: 0 0 10px rgba(255,61,242,0.7);
}
.shop-popup .sp-cart-empty-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin-top: 8px;
    line-height: 1.5;
}

.shop-popup .sp-cart-row {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
}
.shop-popup .sp-cart-thumb {
    width: 64px; height: 64px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
}
.shop-popup .sp-cart-thumb img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 6px;
}
.shop-popup .sp-cart-name {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 14px; letter-spacing: 0.04em; line-height: 1.1;
}
.shop-popup .sp-cart-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    margin-top: 3px;
}
.shop-popup .sp-qty {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 2px;
    margin-top: 6px;
}
.shop-popup .sp-qty button {
    width: 24px; height: 24px;
    border-radius: 999px;
    border: none;
    background: rgba(56,189,248,0.18);
    color: var(--cyan);
    font-family: 'F37Judge', Impact, sans-serif;
    cursor: pointer;
    line-height: 1;
}
.shop-popup .sp-qty span {
    font-family: 'F37Judge', Impact, sans-serif;
    min-width: 14px;
    text-align: center;
}
.shop-popup .sp-cart-side {
    display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.shop-popup .sp-cart-line-total {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 16px;
    color: var(--pink);
    text-shadow: 0 0 8px rgba(255,61,242,0.7);
}
.shop-popup .sp-cart-remove {
    background: transparent; border: none;
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 10px; letter-spacing: 0.16em;
    color: var(--red);
    cursor: pointer;
}
.shop-popup .sp-cart-remove:hover { text-shadow: 0 0 10px rgba(239,68,68,0.6); }

.shop-popup .sp-cart-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 12px 16px 14px;
    display: none;
    flex-shrink: 0;
}
.shop-popup .sp-cart-footer.is-on { display: block; }
.shop-popup .sp-totals-row {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 4px;
}
.shop-popup .sp-totals-grand {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 18px;
    color: #fff;
    margin: 4px 0 8px;
}
.shop-popup .sp-totals-grand .sp-grand-amt {
    color: var(--pink);
    text-shadow: 0 0 8px rgba(255,61,242,0.85);
}

/* ===== BACK BUTTON (used on design overlay & checkout header) ===== */
.shop-popup .sp-back-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(239,68,68,0.12);
    color: var(--red);
    border: none;
    box-shadow: 0 0 0 1px rgba(239,68,68,0.7), 0 0 14px rgba(239,68,68,0.55);
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 12px; letter-spacing: 0.14em;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s ease, filter .15s ease;
}
.shop-popup .sp-back-btn:hover { transform: scale(1.04); filter: brightness(1.15); }
.shop-popup .sp-back-btn svg { width: 11px; height: 11px; }

/* ===== DESIGN OVERLAY ===== */
.shop-popup .sp-design {
    position: absolute;
    inset: 0;
    background: rgba(4, 2, 8, 0.86);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    z-index: 30;
}
.shop-popup .sp-design.is-open { display: flex; }
.shop-popup .sp-design-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    background: rgba(8, 4, 16, 0.92);
    border-bottom: 1px solid rgba(56,189,248,0.25);
    box-shadow: 0 6px 14px rgba(0,0,0,0.45);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.shop-popup .sp-design-head-label {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 12px; letter-spacing: 0.18em;
    color: var(--cyan);
}
.shop-popup .sp-design-art {
    flex: 1;
    position: relative;
    margin: 14px;
    background: radial-gradient(ellipse at center, rgba(160,32,240,0.30), transparent 70%);
    border: 1px solid rgba(56,189,248,0.25);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.shop-popup .sp-design-art img {
    max-width: 90%; max-height: 90%;
    object-fit: contain;
    transform: scale(1.4);
    filter: drop-shadow(0 0 30px rgba(255,61,242,0.35));
}
.shop-popup .sp-design-corner-tl { position: absolute; top: 12px; left: 12px; }
.shop-popup .sp-design-corner-tr { position: absolute; top: 12px; right: 12px; }
.shop-popup .sp-design-corner-bl { position: absolute; bottom: 12px; left: 12px; }
.shop-popup .sp-design-corner-br { position: absolute; bottom: 12px; right: 12px; }

.shop-popup .sp-design-info { padding: 0 16px 16px; }
.shop-popup .sp-design-name {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 22px;
    margin-top: 4px;
}
.shop-popup .sp-design-lore {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    margin-top: 8px;
    line-height: 1.5;
}
.shop-popup .sp-design-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}
.shop-popup .sp-design-spec {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px;
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 10px; letter-spacing: 0.12em;
    color: rgba(255,255,255,0.55);
}
.shop-popup .sp-design-spec strong {
    display: block; color: #fff;
    margin-top: 2px; font-weight: 700;
}

/* ===== CHECKOUT SLIDE PANEL ===== */
.shop-popup .sp-checkout {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #0a0612 0%, #06040d 100%);
    transform: translateY(100%);
    transition: transform .35s ease;
    display: flex; flex-direction: column;
    z-index: 40;
}
.shop-popup .sp-checkout.is-open { transform: translateY(0); }
.shop-popup .sp-checkout-body {
    flex: 1; min-height: 0;
    overflow-y: auto;
    padding: 8px 16px;
    display: flex; flex-direction: column; gap: 16px;
}
.shop-popup .sp-checkout-body::-webkit-scrollbar { width: 4px; }
.shop-popup .sp-checkout-body::-webkit-scrollbar-thumb { background: rgba(56,189,248,0.4); border-radius: 99px; }
.shop-popup .sp-checkout-section-title {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 10px; letter-spacing: 0.18em;
    color: var(--cyan);
    margin-bottom: 8px;
}
.shop-popup .sp-field {
    display: block; width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 14px;
    color: #fff;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    font-family: inherit;
}
.shop-popup .sp-field:focus {
    border-color: rgba(56,189,248,0.7);
    box-shadow: 0 0 12px rgba(56,189,248,0.25);
}
.shop-popup .sp-field::placeholder { color: rgba(255,255,255,0.35); }
.shop-popup .sp-field-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.shop-popup .sp-field-stack { display: flex; flex-direction: column; gap: 8px; }
.shop-popup .sp-checkout-disclaimer {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    margin-top: 6px;
}
.shop-popup .sp-checkout-foot {
    padding: 6px 16px 16px;
    flex-shrink: 0;
}

/* ===== TOAST ===== */
.shop-popup .sp-toast {
    position: absolute;
    left: 50%;
    bottom: 96px;
    transform: translate(-50%, 14px);
    background: var(--pink);
    color: #0a0612;
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 12px; letter-spacing: 0.08em;
    padding: 9px 14px;
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(255,61,242,0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 50;
}
.shop-popup .sp-toast.is-on {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ===== HIDE LEGACY RACK STAGE WHEN SHOP POPUP TAKES OVER ===== */
/* The legacy rack-popup container stays in markup but is hidden;
   the new .shop-popup is used instead. */
.shop-popup-host { display: contents; }


/* ============================================================
   BLACKA POPUP v3 — app-style redesign matching shop-popup
   Scoped under .blacka-popup--v3 to override legacy merch.min.css.
   ============================================================ */

/* Force the .info-box parent above the page header (same fix as shop popup) */
.info-box:has(.blacka-popup--v3:not(.hidden)){ z-index: 9999 !important; }

/* The popup body becomes the dark fullscreen backdrop */
.info-box__body.blacka-popup--v3 {
    z-index: 9999 !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    background: rgba(4, 2, 8, 0.94) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    overflow: hidden !important;
}

/* Wipe legacy .blacka-stage chrome — we re-style under .bp-* below */
.blacka-popup--v3 .blacka-stage {
    --pink:   #ff3df2;
    --cyan:   #38bdf8;
    --red:    #ef4444;
    --yellow: #ffeb3b;
    all: unset;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    -webkit-tap-highlight-color: transparent;
}
.blacka-popup--v3 *, .blacka-popup--v3 *::before, .blacka-popup--v3 *::after { box-sizing: border-box; }

/* ===== FRAME ===== */
.blacka-popup--v3 .bp-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0c0717 0%, #0a0612 60%, #06040d 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 61, 242, 0.18);
    overflow: hidden;
}
@media (min-width: 560px) {
    .blacka-popup--v3 .blacka-stage { align-items: center; }
    .blacka-popup--v3 .bp-frame {
        width: min(460px, 96vw);
        height: min(900px, 94vh);
        border-radius: 22px;
        box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 80px rgba(255,61,242,0.25), inset 0 0 0 1px rgba(255,61,242,0.18);
    }
}
@media (min-width: 900px) {
    .blacka-popup--v3 .bp-frame {
        width: min(1040px, 92vw);
        height: min(720px, 92vh);
    }
}
@media (min-width: 1280px) {
    .blacka-popup--v3 .bp-frame {
        width: min(1100px, 86vw);
        height: min(740px, 90vh);
    }
}

/* ===== HUD CORNERS ===== */
.blacka-popup--v3 .bp-hud-c {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid var(--cyan);
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(56,189,248,0.6));
    z-index: 5;
}
.blacka-popup--v3 .bp-hud-tl { top: 8px; left: 8px;  border-right: 0; border-bottom: 0; }
.blacka-popup--v3 .bp-hud-tr { top: 8px; right: 8px; border-left: 0;  border-bottom: 0; }
.blacka-popup--v3 .bp-hud-bl { bottom: 8px; left: 8px;  border-right: 0; border-top: 0; }
.blacka-popup--v3 .bp-hud-br { bottom: 8px; right: 8px; border-left: 0;  border-top: 0; }

/* ===== TAB BAR (shared look with shop popup) ===== */
.blacka-popup--v3 .bp-tabs {
    display: flex;
    align-items: stretch;
    background: rgba(8, 4, 16, 0.94);
    border-bottom: 1px solid rgba(255,61,242,0.22);
    box-shadow: 0 6px 14px rgba(0,0,0,0.45);
    flex-shrink: 0;
    position: relative;
    z-index: 4;
}
.blacka-popup--v3 .bp-tab {
    position: relative;
    flex: 1;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 14px 6px 12px;
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 13px; letter-spacing: 0.1em;
    color: #888;
    transition: color .18s ease;
}
.blacka-popup--v3 .bp-tab:hover { color: #ddd; }
.blacka-popup--v3 .bp-tab.is-active {
    color: var(--pink);
    text-shadow: 0 0 1px rgba(0,0,0,.7), 0 0 10px rgba(255,61,242,0.7);
}
.blacka-popup--v3 .bp-tab.is-active::after {
    content: "";
    position: absolute;
    left: 16%; right: 16%;
    bottom: 3px; height: 2px;
    background: var(--pink);
    box-shadow: 0 0 10px rgba(255,61,242,0.85);
}
.blacka-popup--v3 .bp-tab-icon {
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.blacka-popup--v3 .bp-tab-icon-close {
    color: var(--red);
    font-size: 18px;
    line-height: 1;
    text-shadow: 0 0 10px rgba(239,68,68,0.7);
}
.blacka-popup--v3 .bp-tab-icon-close:hover {
    color: #fff;
    text-shadow: 0 0 12px #ff5050, 0 0 22px rgba(239,68,68,0.7);
}
.blacka-popup--v3 .bp-tab-icon-play {
    color: var(--cyan);
}
.blacka-popup--v3 .bp-tab-icon-play svg {
    width: 18px; height: 18px;
    filter: drop-shadow(0 0 6px rgba(56,189,248,0.7));
}
.blacka-popup--v3 .bp-tab-icon-play.is-active { color: var(--pink); }
.blacka-popup--v3 .bp-tab-icon-play.is-active svg { filter: drop-shadow(0 0 8px rgba(255,61,242,0.85)); }

/* ===== PANELS ===== */
.blacka-popup--v3 .bp-panel {
    display: none;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
}
.blacka-popup--v3 .bp-panel.is-active { display: flex; }

/* ===== TRACKS PANEL ===== */
.blacka-popup--v3 .bp-record-zone {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 18px 6px;
}
.blacka-popup--v3 .bp-record-shell {
    position: relative;
    width: min(70vmin, 280px);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    touch-action: pan-y;
}
.blacka-popup--v3 .bp-record-shell.is-dragging { cursor: grabbing; }
.blacka-popup--v3 .bp-record-glow {
    position: absolute;
    inset: -8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,61,242,0.35), transparent 60%);
    filter: blur(14px);
    pointer-events: none;
    z-index: 1;
}
.blacka-popup--v3 .bp-record {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #1a0b15 0 18%, transparent 18.5%),
        repeating-radial-gradient(circle at center, #0a0510 0 1px, #181020 2px 3px),
        #07040c;
    box-shadow:
        0 0 0 2px rgba(255,61,242,0.35),
        0 0 30px rgba(255,61,242,0.4),
        inset 0 0 40px rgba(0,0,0,0.7);
    z-index: 2;
}
.blacka-popup--v3 .bp-record.is-playing { animation: bp-spin 6s linear infinite; }
@keyframes bp-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.blacka-popup--v3 .bp-record-center {
    position: absolute;
    left: 50%; top: 50%;
    width: 44%;
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    border: 2px solid rgba(56,189,248,0.55);
    box-shadow: 0 0 14px rgba(56,189,248,0.5), inset 0 0 8px rgba(0,0,0,0.6);
    background: #06040d;
}
.blacka-popup--v3 .bp-record-center img {
    width: 100%; height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}
.blacka-popup--v3 .bp-needle {
    position: absolute;
    top: -6%;
    right: 2%;
    width: 36%;
    height: 6px;
    background: linear-gradient(90deg, transparent 0, rgba(255,255,255,0.35) 8%, #f5efe2 80%, #fff 100%);
    transform-origin: right center;
    transform: rotate(18deg);
    pointer-events: none;
    z-index: 3;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.7));
}

/* Prev/Next controls flank the record */
.blacka-popup--v3 .bp-ctrl {
    background: transparent;
    border: 1px solid rgba(255,61,242,0.5);
    color: var(--pink);
    width: 40px; height: 40px;
    border-radius: 999px;
    font-size: 16px;
    cursor: pointer;
    margin: 0 10px;
    box-shadow: 0 0 12px rgba(255,61,242,0.35);
    transition: transform .15s ease, box-shadow .15s ease, color .15s ease, background .15s ease;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.blacka-popup--v3 .bp-ctrl:hover {
    transform: scale(1.08);
    background: rgba(255,61,242,0.12);
    color: #fff;
    box-shadow: 0 0 18px rgba(255,61,242,0.6);
}

/* Now-playing block */
.blacka-popup--v3 .bp-now {
    text-align: center;
    padding: 6px 16px 8px;
    flex-shrink: 0;
}
.blacka-popup--v3 .bp-now-kicker {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 10px; letter-spacing: 0.2em;
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(56,189,248,0.5);
}
.blacka-popup--v3 .bp-now-title {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 26px; letter-spacing: 0.04em;
    color: #fff;
    margin-top: 4px;
    text-shadow: 0 0 1px rgba(0,0,0,.8), 0 0 14px rgba(255,61,242,0.55);
}
.blacka-popup--v3 .bp-now-artist {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 12px; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* CTA row */
.blacka-popup--v3 .bp-cta-row {
    display: flex;
    justify-content: center;
    padding: 4px 16px 12px;
    flex-shrink: 0;
}
.blacka-popup--v3 .bp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: 'F37Judge', Impact, sans-serif;
    text-transform: uppercase; letter-spacing: 0.06em;
    font-size: 13px; line-height: 1;
    padding: 12px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease, background .18s ease;
}
.blacka-popup--v3 .bp-btn-cyan {
    background: transparent;
    color: var(--cyan);
    border: 1px solid rgba(56,189,248,0.7);
    box-shadow: 0 0 14px rgba(56,189,248,0.35);
}
.blacka-popup--v3 .bp-btn-cyan:hover {
    background: rgba(56,189,248,0.12);
    transform: scale(1.04);
}
.blacka-popup--v3 .bp-btn-pink {
    background: var(--pink);
    color: #0a0612;
    box-shadow: 0 0 0 1px rgba(255,61,242,0.85), 0 0 16px rgba(255,61,242,0.55);
}
.blacka-popup--v3 .bp-btn-pink:hover { transform: scale(1.04); filter: brightness(1.1); }

/* Queue */
.blacka-popup--v3 .bp-queue-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px 6px;
    background: rgba(8, 4, 16, 0.85);
    border-top: 1px solid rgba(255,61,242,0.18);
    flex-shrink: 0;
}
.blacka-popup--v3 .bp-queue-label {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 10px; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.55);
}
.blacka-popup--v3 .bp-queue {
    display: flex; gap: 8px;
    width: 100%;
    overflow-x: auto;
    padding: 8px 10px 12px;
    background: rgba(8, 4, 16, 0.85);
    scrollbar-width: none;
    flex-shrink: 0;
    align-items: stretch;
}
.blacka-popup--v3 .bp-queue::-webkit-scrollbar { display: none; }

/* Queue items (generated by JS with .blacka-stage__queue-item) */
.blacka-popup--v3 .blacka-stage__queue-item {
    all: unset;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 6px 6px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.4));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
    color: #fff;
    font-family: 'F37Judge', Impact, sans-serif;
}
.blacka-popup--v3 .blacka-stage__queue-item:hover { transform: translateY(-2px); border-color: rgba(255,61,242,0.5); }
.blacka-popup--v3 .blacka-stage__queue-item.is-active {
    border-color: rgba(255,61,242,0.85);
    box-shadow: 0 0 0 1px rgba(255,61,242,0.7), 0 0 16px rgba(255,61,242,0.45);
}
.blacka-popup--v3 .blacka-stage__queue-thumb {
    flex: 0 0 44px;
    width: 44px; height: 44px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.blacka-popup--v3 .blacka-stage__queue-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.blacka-popup--v3 .blacka-stage__queue-meta {
    display: flex; flex-direction: column;
    line-height: 1.2;
}
.blacka-popup--v3 .blacka-stage__queue-name {
    font-size: 12px; letter-spacing: 0.04em;
    color: #fff;
}
.blacka-popup--v3 .blacka-stage__queue-sub {
    font-size: 10px; letter-spacing: 0.12em;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

/* ===== ARTIST PANEL ===== */
.blacka-popup--v3 .bp-artist {
    flex: 1;
    overflow-y: auto;
    padding: 18px 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    text-align: center;
}
.blacka-popup--v3 .bp-artist-photo {
    position: relative;
    width: 160px; height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,61,242,0.55);
    box-shadow: 0 0 30px rgba(255,61,242,0.45);
    flex-shrink: 0;
}
.blacka-popup--v3 .bp-artist-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.blacka-popup--v3 .bp-artist-photo .bp-chip {
    position: absolute;
    top: 8px; right: -8px;
    transform: rotate(8deg);
}
.blacka-popup--v3 .bp-chip {
    display: inline-flex; align-items: center;
    padding: 4px 9px;
    border-radius: 4px;
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 11px; letter-spacing: 0.06em; line-height: 1;
    text-transform: uppercase;
}
.blacka-popup--v3 .bp-chip-pink { background: var(--pink); color: #0a0612; box-shadow: 0 0 12px rgba(255,61,242,0.6); }
.blacka-popup--v3 .bp-artist-info {
    width: 100%;
    max-width: 480px;
}
.blacka-popup--v3 .bp-artist-handle {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 11px; letter-spacing: 0.2em;
    color: var(--cyan);
}
.blacka-popup--v3 .bp-artist-name {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 32px; letter-spacing: 0.04em;
    margin: 4px 0 6px;
    text-shadow: 0 0 1px rgba(0,0,0,.7), 0 0 14px rgba(255,61,242,0.5);
}
.blacka-popup--v3 .bp-artist-tagline {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}
.blacka-popup--v3 .bp-artist-bio {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.55;
    margin: 0 0 14px;
}
.blacka-popup--v3 .bp-artist-links {
    display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 14px;
}
.blacka-popup--v3 .bp-artist-link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
    font-family: 'F37Judge', Impact, sans-serif;
}
.blacka-popup--v3 .bp-artist-link:hover {
    border-color: rgba(255,61,242,0.6);
    background: rgba(255,61,242,0.06);
}
.blacka-popup--v3 .bp-artist-link span:first-child {
    font-size: 11px; letter-spacing: 0.2em;
    color: var(--pink);
}
.blacka-popup--v3 .bp-artist-link span:nth-child(2) {
    font-size: 11px;
    color: rgba(255,255,255,0.65);
}
.blacka-popup--v3 .bp-artist-foot {
    display: flex; justify-content: space-between;
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 10px; letter-spacing: 0.2em;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 10px;
}

/* ===== VIDEO PANEL ===== */
.blacka-popup--v3 .bp-video {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.blacka-popup--v3 .bp-video-shell {
    width: 100%;
    height: 100%;
    max-width: 920px;
    max-height: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(56,189,248,0.35);
    box-shadow: 0 0 30px rgba(56,189,248,0.25);
    background: #000;
}
.blacka-popup--v3 .bp-poster {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #000;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .25s ease;
}
.blacka-popup--v3 .bp-poster.is-hidden { opacity: 0; pointer-events: none; }
.blacka-popup--v3 .bp-poster img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.65;
}
.blacka-popup--v3 .bp-poster-btn {
    position: relative;
    z-index: 2;
    width: 84px; height: 84px;
    border-radius: 50%;
    background: rgba(255,61,242,0.92);
    color: #0a0612;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 32px;
    box-shadow: 0 0 30px rgba(255,61,242,0.7);
    transition: transform .2s ease, box-shadow .2s ease;
}
.blacka-popup--v3 .bp-poster:hover .bp-poster-btn {
    transform: scale(1.08);
    box-shadow: 0 0 42px rgba(255,61,242,0.9);
}
.blacka-popup--v3 .bp-poster-hint {
    position: absolute;
    bottom: 18px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 11px; letter-spacing: 0.22em;
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(56,189,248,0.7);
}
.blacka-popup--v3 .blacka-stage__player-shell iframe {
    width: 100%; height: 100%;
    border: 0;
    position: absolute;
    inset: 0;
}

/* Backwards-compat alias for the JS poster hide */
.blacka-popup--v3 .blacka-stage__player-poster.is-hidden,
.blacka-popup--v3 .bp-poster.is-hidden { opacity: 0; pointer-events: none; }

/* ===== DESKTOP: 2-column TRACKS layout ===== */
@media (min-width: 900px) {
    .blacka-popup--v3 .bp-panel[data-bp-panel="tracks"].is-active {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        grid-template-rows: 1fr auto auto;
        grid-template-areas:
            "record info"
            "qhead qhead"
            "queue queue";
    }
    .blacka-popup--v3 .bp-panel[data-bp-panel="tracks"].is-active > .bp-record-zone {
        grid-area: record;
        padding: 28px 12px 28px 28px;
    }
    .blacka-popup--v3 .bp-record-shell { width: min(420px, 80%); }
    .blacka-popup--v3 .bp-panel[data-bp-panel="tracks"].is-active > .bp-now,
    .blacka-popup--v3 .bp-panel[data-bp-panel="tracks"].is-active > .bp-cta-row {
        grid-area: info;
    }
    .blacka-popup--v3 .bp-panel[data-bp-panel="tracks"].is-active > .bp-now {
        grid-area: info;
        align-self: end;
        text-align: left;
        padding: 24px 28px 0 12px;
    }
    .blacka-popup--v3 .bp-panel[data-bp-panel="tracks"].is-active > .bp-cta-row {
        grid-area: info;
        align-self: start;
        justify-content: flex-start;
        padding: 16px 28px 24px 12px;
        margin-top: 80px;
    }
    .blacka-popup--v3 .bp-panel[data-bp-panel="tracks"].is-active > .bp-queue-head { grid-area: qhead; }
    .blacka-popup--v3 .bp-panel[data-bp-panel="tracks"].is-active > .bp-queue { grid-area: queue; }
    .blacka-popup--v3 .bp-now-title { font-size: 38px; }
    .blacka-popup--v3 .bp-now-kicker { font-size: 11px; }
    .blacka-popup--v3 .bp-now-artist { font-size: 13px; }

    /* Artist panel: photo left, info right */
    .blacka-popup--v3 .bp-artist {
        flex-direction: row;
        align-items: stretch;
        text-align: left;
        gap: 32px;
        padding: 32px;
    }
    .blacka-popup--v3 .bp-artist-photo {
        width: 240px; height: 240px;
        align-self: center;
    }
    .blacka-popup--v3 .bp-artist-info { flex: 1; align-self: center; }
    .blacka-popup--v3 .bp-artist-name { font-size: 44px; }
}


/* ============================================================
   STARSHOW POPUP v3 — app-style redesign on the rooftop page
   ============================================================ */

/* Force info-box parent above the page header */
.info-box:has(.starshow-popup--v3:not(.hidden)){ z-index: 9999 !important; }

/* The popup body becomes the dark fullscreen backdrop */
.info-box__body.starshow-popup--v3 {
    z-index: 9999 !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    background: rgba(4, 2, 8, 0.94) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    overflow: hidden !important;
    perspective: none !important;
}

/* Override legacy retro chrome on the wrapper */
.starshow-popup--v3 .info-artist.retro-ui {
    --pink:   #ff3df2;
    --cyan:   #38bdf8;
    --red:    #ef4444;
    --yellow: #ffeb3b;
    all: unset;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden !important;
}
.starshow-popup--v3 .info-artist.retro-ui::before { content: none !important; }
.starshow-popup--v3 *, .starshow-popup--v3 *::before, .starshow-popup--v3 *::after { box-sizing: border-box; }

/* ===== FRAME ===== */
.starshow-popup--v3 .bp-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0c0717 0%, #0a0612 60%, #06040d 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 61, 242, 0.18);
    overflow: hidden;
}
@media (min-width: 560px) {
    .starshow-popup--v3 .info-artist.retro-ui { align-items: center; }
    .starshow-popup--v3 .bp-frame {
        width: min(460px, 96vw);
        height: min(900px, 94vh);
        border-radius: 22px;
        box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 80px rgba(255,61,242,0.25), inset 0 0 0 1px rgba(255,61,242,0.18);
    }
}
@media (min-width: 900px) {
    .starshow-popup--v3 .bp-frame {
        width: min(1040px, 92vw);
        height: min(720px, 92vh);
    }
}
@media (min-width: 1280px) {
    .starshow-popup--v3 .bp-frame {
        width: min(1100px, 86vw);
        height: min(740px, 90vh);
    }
}

/* HUD corners */
.starshow-popup--v3 .bp-hud-c {
    position: absolute;
    width: 18px; height: 18px;
    border: 2px solid var(--cyan);
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(56,189,248,0.6));
    z-index: 5;
}
.starshow-popup--v3 .bp-hud-tl { top: 8px; left: 8px;  border-right: 0; border-bottom: 0; }
.starshow-popup--v3 .bp-hud-tr { top: 8px; right: 8px; border-left: 0;  border-bottom: 0; }
.starshow-popup--v3 .bp-hud-bl { bottom: 8px; left: 8px;  border-right: 0; border-top: 0; }
.starshow-popup--v3 .bp-hud-br { bottom: 8px; right: 8px; border-left: 0;  border-top: 0; }

/* Tab bar */
.starshow-popup--v3 .bp-tabs {
    display: flex;
    align-items: stretch;
    background: rgba(8, 4, 16, 0.94);
    border-bottom: 1px solid rgba(255,61,242,0.22);
    box-shadow: 0 6px 14px rgba(0,0,0,0.45);
    flex-shrink: 0;
    position: relative;
    z-index: 4;
}
.starshow-popup--v3 .bp-tab {
    position: relative;
    flex: 1;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 14px 6px 12px;
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 13px; letter-spacing: 0.1em;
    color: #888;
    transition: color .18s ease;
}
.starshow-popup--v3 .bp-tab:hover { color: #ddd; }
.starshow-popup--v3 .bp-tab.is-active {
    color: var(--pink);
    text-shadow: 0 0 1px rgba(0,0,0,.7), 0 0 10px rgba(255,61,242,0.7);
}
.starshow-popup--v3 .bp-tab.is-active::after {
    content: "";
    position: absolute;
    left: 16%; right: 16%;
    bottom: 3px; height: 2px;
    background: var(--pink);
    box-shadow: 0 0 10px rgba(255,61,242,0.85);
}
.starshow-popup--v3 .bp-tab-icon { flex: 0 0 48px; display: inline-flex; align-items: center; justify-content: center; }
.starshow-popup--v3 .bp-tab-icon-close {
    color: var(--red);
    font-size: 18px;
    line-height: 1;
    text-shadow: 0 0 10px rgba(239,68,68,0.7);
}
.starshow-popup--v3 .bp-tab-icon-close:hover {
    color: #fff;
    text-shadow: 0 0 12px #ff5050, 0 0 22px rgba(239,68,68,0.7);
}

/* Panels */
.starshow-popup--v3 .bp-panel {
    display: none;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
}
.starshow-popup--v3 .bp-panel.is-active { display: flex; }

/* ===== DATES PANEL (slot machine) ===== */
.starshow-popup--v3 .bp-dates-head {
    text-align: center;
    padding: 14px 16px 6px;
    flex-shrink: 0;
}
.starshow-popup--v3 .bp-now-kicker {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 10px; letter-spacing: 0.2em;
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(56,189,248,0.5);
}
.starshow-popup--v3 .bp-now-title {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 22px; letter-spacing: 0.04em;
    color: #fff;
    margin-top: 4px;
    text-shadow: 0 0 1px rgba(0,0,0,.8), 0 0 14px rgba(255,61,242,0.55);
}
.starshow-popup--v3 .slot-machine {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 4px 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.starshow-popup--v3 .slot-machine::-webkit-scrollbar { width: 4px; }
.starshow-popup--v3 .slot-machine::-webkit-scrollbar-thumb { background: rgba(255,61,242,0.4); border-radius: 99px; }

/* ===== ARTIST PANEL ===== */
.starshow-popup--v3 .bp-artist {
    flex: 1;
    overflow-y: auto;
    padding: 18px 18px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.starshow-popup--v3 .bp-artist-info {
    width: 100%;
    text-align: left;
}
.starshow-popup--v3 .bp-artist-handle {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 11px; letter-spacing: 0.2em;
    color: var(--cyan);
}
.starshow-popup--v3 .bp-artist-name {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 32px; letter-spacing: 0.04em;
    margin: 4px 0 6px;
    text-shadow: 0 0 1px rgba(0,0,0,.7), 0 0 14px rgba(255,61,242,0.5);
}
.starshow-popup--v3 .bp-artist-tagline {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}
.starshow-popup--v3 .bp-artist-bio {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.55;
    margin: 0 0 14px;
}
.starshow-popup--v3 .bp-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}
.starshow-popup--v3 .bp-stat {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 8px 10px;
}
.starshow-popup--v3 .bp-stat-label {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 9px; letter-spacing: 0.2em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
}
.starshow-popup--v3 .bp-stat-value {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 14px; letter-spacing: 0.06em;
    color: #fff;
}
.starshow-popup--v3 .bp-stat-value--on {
    color: #2dd47f;
    text-shadow: 0 0 8px rgba(45,212,127,0.55);
}
.starshow-popup--v3 .bp-bars {
    display: flex; flex-direction: column; gap: 8px;
    margin-bottom: 14px;
}
.starshow-popup--v3 .bp-bar {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 12px;
}
.starshow-popup--v3 .bp-bar-label {
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 10px; letter-spacing: 0.18em;
    color: rgba(255,255,255,0.55);
}
.starshow-popup--v3 .bp-bar-track {
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}
.starshow-popup--v3 .bp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pink), var(--cyan));
    box-shadow: 0 0 8px rgba(255,61,242,0.55);
    border-radius: 999px;
}
.starshow-popup--v3 .bp-artist-links {
    display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 14px;
}
.starshow-popup--v3 .bp-artist-link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-family: 'F37Judge', Impact, sans-serif;
    transition: border-color .15s ease, background .15s ease;
}
.starshow-popup--v3 .bp-artist-link:hover {
    border-color: rgba(255,61,242,0.6);
    background: rgba(255,61,242,0.06);
}
.starshow-popup--v3 .bp-artist-link span:first-child {
    font-size: 11px; letter-spacing: 0.2em;
    color: var(--pink);
}
.starshow-popup--v3 .bp-artist-link span:nth-child(2) {
    font-size: 11px;
    color: rgba(255,255,255,0.65);
}
.starshow-popup--v3 .bp-artist-foot {
    display: flex; justify-content: space-between;
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 10px; letter-spacing: 0.2em;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 10px;
}

/* ===== LIVE PANEL ===== */
.starshow-popup--v3 .bp-live {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.starshow-popup--v3 .bp-live-block {
    border: 1px solid rgba(56,189,248,0.25);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0,0,0,0.4);
}
.starshow-popup--v3 .bp-live-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 14px;
    background: rgba(8,4,16,0.85);
    border-bottom: 1px solid rgba(56,189,248,0.25);
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 10px; letter-spacing: 0.2em;
    color: var(--cyan);
}
.starshow-popup--v3 .bp-live-video {
    aspect-ratio: 16 / 9;
    position: relative;
    background: #000;
    display: flex; align-items: center; justify-content: center;
}
.starshow-popup--v3 .bp-live-video-placeholder {
    text-align: center;
    color: rgba(255,255,255,0.55);
    padding: 18px;
}
.starshow-popup--v3 .bp-live-video-title {
    display: block;
    font-family: 'F37Judge', Impact, sans-serif;
    font-size: 14px; letter-spacing: 0.16em;
    color: var(--pink);
    text-shadow: 0 0 10px rgba(255,61,242,0.55);
}
.starshow-popup--v3 .bp-live-video-sub {
    display: block;
    font-size: 11px;
    margin-top: 6px;
    letter-spacing: 0.1em;
}
.starshow-popup--v3 .bp-live-audio {
    height: 232px;
    background: #000;
}
.starshow-popup--v3 .bp-live-audio iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===== DESKTOP: 2-column LIVE side-by-side ===== */
@media (min-width: 900px) {
    .starshow-popup--v3 .bp-panel[data-bp-panel="live"].is-active > .bp-live {
        display: grid;
        grid-template-columns: 1.4fr 1fr;
        gap: 18px;
    }
    .starshow-popup--v3 .bp-artist {
        max-width: 720px;
        margin: 0 auto;
        padding: 32px;
    }
    .starshow-popup--v3 .bp-artist-name { font-size: 44px; }
    .starshow-popup--v3 .bp-stat-row { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Hide the old retro chrome that was replaced ===== */
.starshow-popup--v3 .starshow-popup__frame,
.starshow-popup--v3 .starshow-popup__inner,
.starshow-popup--v3 .info-artist__media,
.starshow-popup--v3 .info-artist__close,
.starshow-popup--v3 .info-artist__button,
.starshow-popup--v3 .retro-topbar,
.starshow-popup--v3 .retro-footer { display: none !important; }

/* ============================================================
   HOODIE SWIPE-TO-FLIP (2026-05-07)
   Swipe horizontally on the hero photo to spin the product
   from front to back. Only fires when state.side actually
   changes (JS skips products without a distinct back image).
   ============================================================ */
.sp-hero-photo {
    perspective: 900px;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.sp-hero-photo img {
    will-change: transform, opacity;
}
.sp-hero-photo.sp-flip-spin img {
    animation: sp-flip-spin 0.46s cubic-bezier(.34, 1.18, .55, 1);
}
@keyframes sp-flip-spin {
    0%   { transform: rotateY(0deg);   opacity: 1; }
    45%  { transform: rotateY(95deg);  opacity: 0.35; }
    55%  { transform: rotateY(-95deg); opacity: 0.35; }
    100% { transform: rotateY(0deg);   opacity: 1; }
}

/* ================================================================
   BLACKA POPUP — PERSISTENT ARTIST IDENTITY BAR
   Always-on header above the tab nav so the popup immediately
   reads as "BLACKA DA DON" regardless of which panel is open.
   Avatar + name + handle + live indicator + animated waveform.
   ================================================================ */
.blacka-popup--v3 .bp-artist-bar {
    position: relative;
    flex-shrink: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(10px, 2.5vw, 16px);
    padding: 14px clamp(12px, 3vw, 18px) 12px;
    background:
        radial-gradient(circle at 18% 50%, rgba(255, 61, 242, 0.20) 0%, transparent 55%),
        radial-gradient(circle at 90% 100%, rgba(56, 189, 248, 0.18) 0%, transparent 55%),
        linear-gradient(180deg, #1a0935 0%, #0a0420 50%, #06020e 100%);
    border-bottom: 2px solid rgba(255, 61, 242, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 6px 22px rgba(255, 61, 242, 0.18),
        0 8px 14px rgba(0, 0, 0, 0.45);
}
/* Magenta scan stripe at the top edge — gives it a "broadcast HUD" feel */
.blacka-popup--v3 .bp-artist-bar::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--cyan) 20%,
        var(--pink) 50%,
        var(--cyan) 80%,
        transparent 100%);
    box-shadow: 0 0 10px rgba(255, 61, 242, 0.6);
    opacity: 0.85;
}

/* Avatar — round photo with neon ring + animated pulse */
.blacka-popup--v3 .bp-artist-bar__avatar {
    position: relative;
    width: clamp(56px, 14vw, 70px);
    height: clamp(56px, 14vw, 70px);
    border-radius: 50%;
    overflow: visible;
    flex-shrink: 0;
}
.blacka-popup--v3 .bp-artist-bar__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 25%;
    border: 2px solid var(--pink);
    box-shadow:
        0 0 0 2px #06020e,
        0 0 0 3px var(--pink),
        0 0 18px rgba(255, 61, 242, 0.7),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.blacka-popup--v3 .bp-artist-bar__pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--pink);
    opacity: 0.55;
    animation: bp-pulse 2.2s ease-out infinite;
    pointer-events: none;
}
@keyframes bp-pulse {
    0%   { transform: scale(0.95); opacity: 0.65; }
    100% { transform: scale(1.25); opacity: 0; }
}

/* Identity stack — handle + name + location */
.blacka-popup--v3 .bp-artist-bar__id {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.blacka-popup--v3 .bp-artist-bar__handle {
    font-family: 'Courier New', monospace;
    font-size: clamp(9px, 2.2vw, 11px);
    letter-spacing: 0.18em;
    color: var(--cyan);
    text-shadow: 0 0 6px rgba(56, 189, 248, 0.55);
    text-transform: uppercase;
    line-height: 1;
}
.blacka-popup--v3 .bp-artist-bar__name {
    font-family: 'F37Judge', Impact, sans-serif;
    font-style: italic;
    font-weight: 800;
    font-size: clamp(20px, 5.5vw, 30px);
    line-height: 1;
    letter-spacing: 0.04em;
    color: #fff;
    margin: 0;
    text-shadow:
        0 0 12px rgba(255, 61, 242, 0.7),
        0 0 28px rgba(255, 61, 242, 0.45),
        0 1px 1px rgba(0, 0, 0, 0.55);
    /* truncate on really narrow screens */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.blacka-popup--v3 .bp-artist-bar__loc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Courier New', monospace;
    font-size: clamp(9px, 2vw, 10.5px);
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
}
.blacka-popup--v3 .bp-artist-bar__live {
    color: #ff3b3b;
    text-shadow: 0 0 8px rgba(255, 59, 59, 0.7);
    animation: bp-live-blink 1.4s ease-in-out infinite;
    letter-spacing: 0.18em;
    font-weight: 700;
}
@keyframes bp-live-blink {
    0%, 100% { opacity: 1;   }
    50%      { opacity: 0.5; }
}

/* Right-side animated waveform — broadcasts vibe of music playing */
.blacka-popup--v3 .bp-artist-bar__waveform {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 28px;
    flex-shrink: 0;
}
.blacka-popup--v3 .bp-artist-bar__waveform i {
    display: block;
    width: 3px;
    background: linear-gradient(180deg, var(--cyan) 0%, var(--pink) 100%);
    border-radius: 1px;
    box-shadow: 0 0 5px rgba(255, 61, 242, 0.5);
    animation: bp-wave 1.2s ease-in-out infinite;
    height: 50%;
}
.blacka-popup--v3 .bp-artist-bar__waveform i:nth-child(2)   { animation-delay: 0.08s; height: 80%; }
.blacka-popup--v3 .bp-artist-bar__waveform i:nth-child(3)   { animation-delay: 0.16s; height: 60%; }
.blacka-popup--v3 .bp-artist-bar__waveform i:nth-child(4)   { animation-delay: 0.24s; height: 95%; }
.blacka-popup--v3 .bp-artist-bar__waveform i:nth-child(5)   { animation-delay: 0.32s; height: 45%; }
.blacka-popup--v3 .bp-artist-bar__waveform i:nth-child(6)   { animation-delay: 0.40s; height: 70%; }
.blacka-popup--v3 .bp-artist-bar__waveform i:nth-child(7)   { animation-delay: 0.48s; height: 90%; }
.blacka-popup--v3 .bp-artist-bar__waveform i:nth-child(8)   { animation-delay: 0.56s; height: 55%; }
.blacka-popup--v3 .bp-artist-bar__waveform i:nth-child(9)   { animation-delay: 0.64s; height: 75%; }
.blacka-popup--v3 .bp-artist-bar__waveform i:nth-child(10)  { animation-delay: 0.72s; height: 40%; }
.blacka-popup--v3 .bp-artist-bar__waveform i:nth-child(11)  { animation-delay: 0.80s; height: 85%; }
.blacka-popup--v3 .bp-artist-bar__waveform i:nth-child(12)  { animation-delay: 0.88s; height: 65%; }
@keyframes bp-wave {
    0%, 100% { transform: scaleY(0.3); }
    50%      { transform: scaleY(1);   }
}

/* On very narrow screens, hide the right-side waveform to keep
   the name from getting squeezed. */
@media (max-width: 380px) {
    .blacka-popup--v3 .bp-artist-bar__waveform { display: none; }
}
