.msb-artists-directory{--msb-directory-build:5654;--ar-accent:var(--primary,#1ed760);--ar-bg:var(--bg,#080808);--ar-card:var(--bg-card,#141414);--ar-soft:var(--hover,#1d1d1d);--ar-text:var(--text,#fff);--ar-muted:var(--text-sec,#a7a7a7);--ar-border:rgba(255,255,255,.09);max-width:1240px;margin:0 auto;padding:20px 22px 100px;direction:rtl;color:var(--ar-text);font-family:inherit;box-sizing:border-box}
        .msb-artists-directory *{box-sizing:border-box}.msb-artists-directory button,.msb-artists-directory input{font-family:inherit}
        .msb-artists-hero{position:relative;min-height:270px;padding:34px;display:flex;align-items:center;overflow:hidden;border:1px solid var(--ar-border);border-radius:30px;background:radial-gradient(circle at 15% 15%,rgba(30,215,96,.22),transparent 33%),linear-gradient(125deg,rgba(255,255,255,.065),rgba(255,255,255,.015) 48%),#101311;box-shadow:0 26px 70px rgba(0,0,0,.28);isolation:isolate}
        .msb-artists-hero:before{content:"";position:absolute;width:380px;height:380px;border-radius:50%;left:-140px;bottom:-220px;background:rgba(30,215,96,.12);filter:blur(8px);z-index:-1}.msb-artists-hero:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(90deg,#000,transparent 72%);z-index:-1}
        .msb-artists-hero__nav{position:absolute;top:18px;left:18px;display:flex;gap:9px;z-index:3}.msb-artists-icon-btn{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--ar-border);border-radius:14px;background:rgba(0,0,0,.34);backdrop-filter:blur(10px);color:#fff;cursor:pointer;transition:.2s ease}.msb-artists-icon-btn:hover{color:#07110a;background:var(--ar-accent);border-color:var(--ar-accent);transform:translateY(-2px)}
        .msb-artists-hero__content{position:relative;z-index:2;max-width:650px}.msb-artists-hero__eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:12px;color:var(--ar-accent);font-size:12px;font-weight:900}.msb-artists-hero h1{margin:0 0 8px;font-size:clamp(27px,4vw,45px);line-height:1.35;letter-spacing:-.03em}.msb-artists-hero p{max-width:580px;margin:0;color:var(--ar-muted);font-size:14px;line-height:2}.msb-artists-hero__stats{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.msb-artists-hero__stats span{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(0,0,0,.22);color:#d8d8d8;font-size:11px}.msb-artists-hero__stats strong,.msb-artists-hero__stats i{color:var(--ar-accent)}
        .msb-artists-hero__faces{position:absolute;left:95px;bottom:40px;width:290px;height:145px;direction:ltr}.msb-artists-hero__faces span{position:absolute;left:0;bottom:0;width:104px;height:104px;border:5px solid #101311;border-radius:34px;overflow:hidden;background:#222;box-shadow:0 18px 35px rgba(0,0,0,.4);transform:rotate(-7deg);transition:.25s ease}.msb-artists-hero__faces span:nth-child(2){left:42px;bottom:24px;transform:rotate(5deg)}.msb-artists-hero__faces span:nth-child(3){left:84px;transform:rotate(-3deg)}.msb-artists-hero__faces span:nth-child(4){left:126px;bottom:24px;transform:rotate(6deg)}.msb-artists-hero__faces span:nth-child(5){left:168px;transform:rotate(-5deg)}.msb-artists-hero__faces span:hover{z-index:8;transform:translateY(-9px) rotate(0) scale(1.04)}.msb-artists-hero__faces img{width:100%;height:100%;object-fit:cover;display:block}
        .msb-artists-toolbar{position:sticky;top:8px;z-index:20;margin:22px 0 28px;padding:12px;display:flex;align-items:center;gap:12px;border:1px solid var(--ar-border);border-radius:22px;background:rgba(12,12,12,.88);backdrop-filter:blur(18px);box-shadow:0 14px 40px rgba(0,0,0,.2)}
        .msb-artists-search{min-width:260px;flex:1;height:48px;padding:0 15px;display:flex;align-items:center;gap:10px;border:1px solid var(--ar-border);border-radius:15px;background:rgba(255,255,255,.04);color:var(--ar-muted);transition:.2s ease}.msb-artists-search:focus-within{border-color:rgba(30,215,96,.65);box-shadow:0 0 0 3px rgba(30,215,96,.1)}.msb-artists-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#fff;font-size:13px}.msb-artists-search input::placeholder{color:#767676}.msb-artists-search__clear{width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(255,255,255,.07);color:#aaa;cursor:pointer}.msb-artists-search__loading{color:var(--ar-accent)}
        .msb-artists-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none}.msb-artists-tabs::-webkit-scrollbar{display:none}.msb-artists-tab{height:44px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;border:1px solid transparent;border-radius:13px;background:transparent;color:#aaa;font-size:11px;font-weight:800;cursor:pointer;transition:.2s ease}.msb-artists-tab:hover{color:#fff;background:rgba(255,255,255,.06)}.msb-artists-tab.is-active{color:#07110a;background:var(--ar-accent);box-shadow:0 9px 22px rgba(30,215,96,.18)}
        .msb-artists-results-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:16px}.msb-artists-results-head h2{margin:0;font-size:21px}.msb-artists-results-head p{margin:3px 0 0;color:var(--ar-muted);font-size:11px}.msb-artists-results-count{padding:6px 11px;border:1px solid var(--ar-border);border-radius:999px;color:var(--ar-muted);font-size:10px}
        .msb-artists-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px;min-height:180px;align-items:stretch}.msb-artists-directory .msb-artist-card{position:relative;min-width:0;height:100%;padding:10px;display:flex;flex-direction:column;overflow:hidden;isolation:isolate;border:1px solid var(--ar-border);border-radius:22px;background:linear-gradient(160deg,rgba(255,255,255,.045),rgba(255,255,255,.012)),var(--ar-card);box-shadow:0 12px 32px rgba(0,0,0,.16);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}.msb-artists-directory .msb-artist-card:hover{transform:translateY(-6px);border-color:rgba(30,215,96,.4);box-shadow:0 20px 46px rgba(0,0,0,.3)}.msb-artists-directory .msb-artist-card.is-user-following{border-color:rgba(30,215,96,.35);background:linear-gradient(160deg,rgba(30,215,96,.085),rgba(255,255,255,.012)),var(--ar-card)}
        .msb-artist-card__main{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;color:inherit!important;text-decoration:none!important}.msb-artist-card__image{position:relative;aspect-ratio:1/1;overflow:hidden;border-radius:17px;background:#202020}.msb-artist-card__image:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.72));pointer-events:none}.msb-artist-card__image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease}.msb-artist-card:hover .msb-artist-card__image img{transform:scale(1.06)}.msb-artist-card__followers{position:absolute;right:9px;bottom:9px;z-index:2;display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:rgba(5,5,5,.78);backdrop-filter:blur(8px);color:var(--ar-accent);font-size:9px}.msb-artist-card__followers.is-zero{color:#c7c7c7}.msb-artist-card__following-badge{position:absolute;top:9px;right:9px;z-index:2;padding:5px 8px;border-radius:999px;background:var(--ar-accent);color:#07110a;font-size:8px;font-weight:900;box-shadow:0 8px 20px rgba(0,0,0,.28)}.msb-artist-card__open{position:absolute;left:9px;bottom:9px;z-index:2;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.92);color:#111;font-size:10px;transform:translateX(-7px);opacity:0;transition:.2s ease}.msb-artist-card:hover .msb-artist-card__open{transform:none;opacity:1}
        .msb-artist-card__info{padding:11px 3px 9px;text-align:right;min-width:0}.msb-artist-card__info h3{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#fff;font-size:14px;line-height:1.7}.msb-artist-card__info p{margin:2px 0 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ar-muted);font-size:10px}.msb-artist-card__follow{width:100%;height:38px;margin-top:auto;flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(30,215,96,.25);border-radius:12px;background:rgba(30,215,96,.08);color:var(--ar-accent);font-size:10px;font-weight:900;cursor:pointer;transition:.2s ease}.msb-artist-card__follow:hover{background:var(--ar-accent);color:#07110a}.msb-artist-card__follow.following{background:rgba(30,215,96,.18);border-color:rgba(30,215,96,.38)}.msb-artist-card__follow:disabled{opacity:.55;cursor:wait}
        .msb-artists-skeleton{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}.msb-artists-skeleton span{aspect-ratio:.78;border-radius:22px;background:linear-gradient(90deg,rgba(255,255,255,.035),rgba(255,255,255,.085),rgba(255,255,255,.035));background-size:220% 100%;animation:msbArtistsShimmer 1.2s linear infinite}@keyframes msbArtistsShimmer{to{background-position:-220% 0}}
        .msb-artists-empty{padding:58px 20px;text-align:center;border:1px dashed rgba(255,255,255,.12);border-radius:24px;background:rgba(255,255,255,.025)}.msb-artists-empty__icon{width:68px;height:68px;margin:0 auto 14px;display:grid;place-items:center;border-radius:23px;background:rgba(30,215,96,.1);color:var(--ar-accent);font-size:25px}.msb-artists-empty h3{margin:0 0 6px;font-size:18px}.msb-artists-empty p{margin:0;color:var(--ar-muted);font-size:12px}.msb-artists-empty button{margin-top:18px;padding:10px 18px;border:0;border-radius:999px;background:var(--ar-accent);color:#07110a;font-weight:900;cursor:pointer}
        .msb-artists-load-more{min-height:72px;padding:26px 0 4px;display:flex;align-items:center;justify-content:center;color:var(--ar-muted);font-size:11px}.msb-artists-load-more button{min-height:44px;padding:0 20px;display:inline-flex;align-items:center;gap:9px;border:1px solid rgba(30,215,96,.3);border-radius:999px;background:rgba(30,215,96,.08);color:var(--ar-accent);font-size:11px;font-weight:900;cursor:pointer;transition:.2s ease}.msb-artists-load-more button:hover{background:var(--ar-accent);color:#07110a;transform:translateY(-2px)}.msb-artists-load-more>span{display:inline-flex;align-items:center;gap:8px}.msb-artists-directory [hidden]{display:none!important}
        @media(max-width:1180px){.msb-artists-grid,.msb-artists-skeleton{grid-template-columns:repeat(4,minmax(0,1fr))}.msb-artists-hero__faces{left:45px;opacity:.72}.msb-artists-hero__content{max-width:58%}}
        @media(max-width:900px){.msb-artists-directory{padding:14px 14px 90px}.msb-artists-hero{min-height:240px;padding:28px 24px}.msb-artists-hero__content{max-width:70%}.msb-artists-hero__faces{left:-20px;transform:scale(.82)}.msb-artists-toolbar{position:relative;top:auto;flex-direction:column;align-items:stretch}.msb-artists-tabs{width:100%}.msb-artists-tab{flex:1}.msb-artists-grid,.msb-artists-skeleton{grid-template-columns:repeat(3,minmax(0,1fr))}}
        @media(max-width:620px){.msb-artists-directory{padding:8px 8px 82px}.msb-artists-hero{min-height:255px;padding:64px 18px 22px;align-items:flex-end;border-radius:23px}.msb-artists-hero__nav{top:12px;left:12px}.msb-artists-icon-btn{width:38px;height:38px;border-radius:12px}.msb-artists-hero__content{max-width:100%}.msb-artists-hero h1{font-size:25px}.msb-artists-hero p{font-size:12px;line-height:1.9}.msb-artists-hero__faces{left:-36px;top:20px;bottom:auto;opacity:.22;transform:scale(.72)}.msb-artists-toolbar{margin:14px 0 22px;padding:8px;border-radius:17px}.msb-artists-search{min-width:0;height:44px}.msb-artists-tabs{padding-bottom:2px}.msb-artists-tab{min-width:105px;height:40px;padding:0 10px;flex:0 0 auto}.msb-artists-results-head{align-items:center}.msb-artists-results-head h2{font-size:17px}.msb-artists-results-head p{font-size:10px}.msb-artists-grid,.msb-artists-skeleton{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.msb-artist-card{padding:7px;border-radius:17px}.msb-artist-card__image{border-radius:13px}.msb-artist-card__info{padding:8px 2px 6px}.msb-artist-card__info h3{font-size:12px}.msb-artist-card__follow{height:35px;font-size:9px;border-radius:10px}.msb-artist-card__open{display:none}.msb-artist-card__following-badge{font-size:0;width:24px;height:24px;display:grid;place-items:center;padding:0}.msb-artist-card__following-badge i{font-size:9px}}
        @media(max-width:360px){.msb-artists-grid,.msb-artists-skeleton{grid-template-columns:1fr 1fr}.msb-artists-results-count{display:none}.msb-artists-hero__stats span:last-child{display:none}}
        @media(prefers-reduced-motion:reduce){.msb-artists-directory *{animation:none!important;transition:none!important}}

/* 4.5.1: ایزوله‌سازی کارت‌های داینامیک از استایل قدیمی قالب و افزونه. */
.msb-artists-directory .msb-artist-card,.msb-artists-directory .msb-artist-card *{box-sizing:border-box}
.msb-artists-directory .msb-artist-card__main,.msb-artists-directory .msb-artist-card__main:hover,.msb-artists-directory .msb-artist-card__main:focus{color:inherit!important;text-decoration:none!important}
.msb-artists-directory .msb-artist-card__image{width:100%;min-height:0}
.msb-artists-directory .msb-artist-card__info{text-align:right!important}
.msb-artists-directory .msb-artist-card__info h3,.msb-artists-directory .msb-artist-card__info p{padding:0!important}
.msb-artists-directory .msb-artist-card__follow{font-family:inherit!important;line-height:1!important}


/* =========================================================
 * 4.5.2 — چیدمان تطبیقی، جستجوی بزرگ‌تر و تجربه موبایل بهتر
 * ======================================================= */
.msb-artists-directory .msb-artists-hero__eyebrow{display:none!important}

.msb-artists-directory .msb-artists-toolbar{
    display:grid;
    grid-template-columns:minmax(430px,1fr) auto;
    align-items:center;
    gap:12px;
}
.msb-artists-directory .msb-artists-search{
    width:100%;
    min-width:430px;
    height:52px;
    padding-inline:17px;
    border-radius:16px;
}
.msb-artists-directory .msb-artists-search input{
    font-size:14px;
    line-height:1.5;
}
.msb-artists-directory .msb-artists-tabs{
    width:max-content;
    max-width:100%;
}
.msb-artists-directory .msb-artists-tab{
    min-width:96px;
}
.msb-artists-directory .msb-artists-tab.is-active,
.msb-artists-directory .msb-artists-tab.is-active:hover,
.msb-artists-directory .msb-artists-tab[aria-selected="true"]{
    color:#fff!important;
    background:var(--ar-accent)!important;
    border-color:var(--ar-accent)!important;
    text-shadow:0 1px 1px rgba(0,0,0,.18);
}
.msb-artists-directory .msb-artists-tab.is-active i,
.msb-artists-directory .msb-artists-tab[aria-selected="true"] i{
    color:#fff!important;
}

.msb-artists-directory .msb-artists-grid,
.msb-artists-directory .msb-artists-skeleton{
    grid-template-columns:repeat(5,minmax(0,1fr));
}
.msb-artists-directory .msb-artist-card{
    min-height:0;
}
.msb-artists-directory .msb-artist-card__follow.following{
    color:var(--ar-accent);
}
.msb-artists-directory .msb-artist-card__follow.following:hover{
    color:#07110a;
}

@media (max-width:1180px){
    .msb-artists-directory .msb-artists-toolbar{
        grid-template-columns:minmax(360px,1fr) auto;
    }
    .msb-artists-directory .msb-artists-search{
        min-width:360px;
    }
    .msb-artists-directory .msb-artists-grid,
    .msb-artists-directory .msb-artists-skeleton{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}

@media (max-width:900px){
    .msb-artists-directory{
        padding:14px 14px 125px;
    }
    .msb-artists-directory .msb-artists-toolbar{
        position:relative;
        top:auto;
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:10px;
    }
    .msb-artists-directory .msb-artists-search{
        width:100%;
        min-width:0;
    }
    .msb-artists-directory .msb-artists-tabs{
        width:100%;
    }
    .msb-artists-directory .msb-artists-tab{
        min-width:0;
        flex:1 1 0;
    }
    .msb-artists-directory .msb-artists-grid,
    .msb-artists-directory .msb-artists-skeleton{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media (max-width:620px){
    .msb-artists-directory{
        padding:8px 9px 155px;
    }
    .msb-artists-directory .msb-artists-hero{
        min-height:248px;
        padding:68px 17px 20px;
        align-items:flex-end;
        border-radius:22px;
    }
    .msb-artists-directory .msb-artists-hero__content{
        width:100%;
        max-width:100%;
    }
    .msb-artists-directory .msb-artists-hero h1{
        max-width:270px;
        margin-bottom:8px;
        font-size:24px;
        line-height:1.55;
        letter-spacing:-.02em;
    }
    .msb-artists-directory .msb-artists-hero p{
        max-width:285px;
        font-size:11.5px;
        line-height:1.95;
    }
    .msb-artists-directory .msb-artists-hero__stats{
        gap:7px;
        margin-top:13px;
    }
    .msb-artists-directory .msb-artists-hero__stats span{
        min-height:34px;
        padding:7px 10px;
        font-size:10px;
    }
    .msb-artists-directory .msb-artists-hero__stats span:last-child{
        display:none;
    }
    .msb-artists-directory .msb-artists-hero__faces{
        top:10px;
        left:-46px;
        bottom:auto;
        width:245px;
        height:125px;
        opacity:.18;
        transform:scale(.76);
        transform-origin:left top;
        pointer-events:none;
    }
    .msb-artists-directory .msb-artists-hero__nav{
        top:11px;
        left:11px;
        gap:7px;
    }
    .msb-artists-directory .msb-artists-icon-btn{
        width:38px;
        height:38px;
        border-radius:12px;
    }

    .msb-artists-directory .msb-artists-toolbar{
        margin:13px 0 20px;
        padding:9px;
        gap:9px;
        border-radius:18px;
    }
    .msb-artists-directory .msb-artists-search{
        height:50px;
        padding-inline:14px;
        border-radius:14px;
        background:rgba(255,255,255,.055);
    }
    .msb-artists-directory .msb-artists-search input{
        font-size:12.5px;
    }
    .msb-artists-directory .msb-artists-tabs{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:7px;
        overflow:visible;
        padding:0;
    }
    .msb-artists-directory .msb-artists-tab{
        width:100%;
        min-width:0;
        height:42px;
        padding:0 8px;
        border:1px solid rgba(255,255,255,.055);
        border-radius:12px;
        background:rgba(255,255,255,.025);
        font-size:10.5px;
    }

    .msb-artists-directory .msb-artists-results-head{
        margin-bottom:12px;
        align-items:center;
    }
    .msb-artists-directory .msb-artists-results-head h2{
        font-size:17px;
        line-height:1.55;
    }
    .msb-artists-directory .msb-artists-results-head p{
        margin-top:1px;
        font-size:9.5px;
    }
    .msb-artists-directory .msb-artists-results-count{
        padding:5px 8px;
        font-size:9px;
    }

    .msb-artists-directory .msb-artists-grid,
    .msb-artists-directory .msb-artists-skeleton{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:9px;
    }
    .msb-artists-directory .msb-artist-card{
        padding:7px;
        border-radius:17px;
        box-shadow:0 9px 24px rgba(0,0,0,.2);
    }
    .msb-artists-directory .msb-artist-card:hover{
        transform:none;
    }
    .msb-artists-directory .msb-artist-card__image{
        border-radius:12px;
    }
    .msb-artists-directory .msb-artist-card__followers{
        right:7px;
        bottom:7px;
        padding:4px 7px;
        font-size:8.5px;
    }
    .msb-artists-directory .msb-artist-card__info{
        padding:8px 2px 6px;
    }
    .msb-artists-directory .msb-artist-card__info h3{
        font-size:12px;
        line-height:1.65;
    }
    .msb-artists-directory .msb-artist-card__info p{
        font-size:9px;
    }
    .msb-artists-directory .msb-artist-card__follow{
        height:36px;
        border-radius:10px;
        font-size:9.5px;
    }
    .msb-artists-directory .msb-artist-card__following-badge{
        top:7px;
        right:7px;
        width:25px;
        height:25px;
        display:grid;
        place-items:center;
        padding:0;
        border-radius:50%;
        font-size:0;
    }
    .msb-artists-directory .msb-artist-card__following-badge i{
        font-size:9px;
    }
    .msb-artists-directory .msb-artists-load-more{
        min-height:78px;
        padding-top:24px;
    }
    .msb-artists-directory .msb-artists-load-more button{
        min-height:46px;
        padding-inline:22px;
    }
}

@media (max-width:360px){
    .msb-artists-directory .msb-artists-hero h1{
        font-size:22px;
    }
    .msb-artists-directory .msb-artists-tab{
        font-size:10px;
    }
    .msb-artists-directory .msb-artists-results-count{
        display:inline-flex;
    }
}

/* =========================================================
 * 4.5.3 — جستجوی موبایل، شمارنده زنده و کارت افقی جدید
 * ======================================================= */
.msb-artists-directory .msb-artists-search input[type="search"]::-webkit-search-cancel-button,
.msb-artists-directory .msb-artists-search input[type="search"]::-webkit-search-decoration,
.msb-artists-directory .msb-artists-search input::-ms-clear,
.msb-artists-directory .msb-artists-search input::-ms-reveal{
    display:none!important;
    width:0!important;
    height:0!important;
    -webkit-appearance:none!important;
}
.msb-artists-directory .msb-artists-search__clear{
    flex:0 0 auto;
}
.msb-artists-directory .msb-artist-card__follow.is-loading{
    position:relative;
    opacity:.78;
    cursor:wait;
}

@media (max-width:620px){
    .msb-artists-directory{
        padding-inline:12px;
    }

    .msb-artists-directory .msb-artists-toolbar{
        padding:10px;
        gap:10px;
        border-radius:20px;
    }
    .msb-artists-directory .msb-artists-search{
        height:58px;
        padding-inline:16px 11px;
        gap:11px;
        border-radius:17px;
        border-color:rgba(255,255,255,.12);
        background:rgba(255,255,255,.065);
    }
    .msb-artists-directory .msb-artists-search>i{
        flex:0 0 auto;
        font-size:18px;
        color:#d5d5d5;
    }
    .msb-artists-directory .msb-artists-search input{
        min-height:42px;
        font-size:14px;
        font-weight:650;
    }
    .msb-artists-directory .msb-artists-search input::placeholder{
        color:#8e8e8e;
        font-size:12px;
        font-weight:500;
    }
    .msb-artists-directory .msb-artists-search__clear{
        width:34px;
        height:34px;
        border:1px solid rgba(255,255,255,.08);
        background:rgba(255,255,255,.075);
        font-size:12px;
    }
    .msb-artists-directory .msb-artists-search__loading{
        flex:0 0 auto;
        font-size:14px;
    }

    /* کارت‌های موبایل از گرید فشرده دو ستونه به فهرست افقی تبدیل می‌شوند. */
    .msb-artists-directory .msb-artists-grid,
    .msb-artists-directory .msb-artists-skeleton{
        grid-template-columns:1fr!important;
        gap:10px;
    }
    .msb-artists-directory .msb-artist-card{
        position:relative;
        display:block;
        min-height:142px;
        padding:10px;
        overflow:hidden;
        border-radius:20px;
        background:
            linear-gradient(110deg,rgba(255,255,255,.052),rgba(255,255,255,.012) 58%),
            var(--ar-card);
        box-shadow:0 10px 28px rgba(0,0,0,.22);
    }
    .msb-artists-directory .msb-artist-card:before{
        content:"";
        position:absolute;
        inset:12px auto 12px 0;
        width:3px;
        border-radius:4px;
        background:linear-gradient(180deg,transparent,var(--ar-accent),transparent);
        opacity:.28;
        pointer-events:none;
    }
    .msb-artists-directory .msb-artist-card.is-user-following:before{
        opacity:1;
    }
    .msb-artists-directory .msb-artist-card__main{
        display:grid;
        grid-template-columns:112px minmax(0,1fr);
        align-items:center;
        gap:13px;
        min-height:112px;
    }
    .msb-artists-directory .msb-artist-card__image{
        width:112px;
        height:112px;
        aspect-ratio:auto;
        align-self:start;
        border-radius:16px;
        box-shadow:0 8px 22px rgba(0,0,0,.28);
    }
    .msb-artists-directory .msb-artist-card__image:after{
        inset:52% 0 0;
    }
    .msb-artists-directory .msb-artist-card__image img{
        transform:none!important;
    }
    .msb-artists-directory .msb-artist-card__info{
        align-self:center;
        min-width:0;
        padding:3px 0 47px!important;
    }
    .msb-artists-directory .msb-artist-card__info h3{
        display:-webkit-box;
        overflow:hidden;
        white-space:normal;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:2;
        font-size:15px;
        line-height:1.65;
        text-overflow:ellipsis;
    }
    .msb-artists-directory .msb-artist-card__info p{
        margin-top:4px;
        font-size:10.5px;
        line-height:1.7;
    }
    .msb-artists-directory .msb-artist-card__follow{
        position:absolute;
        right:135px;
        left:10px;
        bottom:10px;
        width:auto;
        height:39px;
        margin:0;
        border-radius:12px;
        font-size:10.5px;
        letter-spacing:0;
    }
    .msb-artists-directory .msb-artist-card__followers{
        right:7px;
        bottom:7px;
        min-height:24px;
        padding:4px 7px;
        font-size:9px;
    }
    .msb-artists-directory .msb-artist-card__following-badge{
        top:7px;
        right:7px;
        width:28px;
        height:28px;
        padding:0;
        display:grid;
        place-items:center;
        border-radius:50%;
        font-size:0;
    }
    .msb-artists-directory .msb-artist-card__following-badge i{
        font-size:10px;
    }
    .msb-artists-directory .msb-artist-card__open{
        display:grid;
        left:7px;
        bottom:7px;
        width:25px;
        height:25px;
        transform:none;
        opacity:.92;
        background:rgba(255,255,255,.88);
    }
    .msb-artists-directory .msb-artists-skeleton span{
        width:100%;
        height:142px;
        aspect-ratio:auto;
        border-radius:20px;
    }
}

@media (max-width:380px){
    .msb-artists-directory{
        padding-inline:9px;
    }
    .msb-artists-directory .msb-artist-card__main{
        grid-template-columns:98px minmax(0,1fr);
        min-height:98px;
        gap:11px;
    }
    .msb-artists-directory .msb-artist-card__image{
        width:98px;
        height:98px;
        border-radius:14px;
    }
    .msb-artists-directory .msb-artist-card{
        min-height:130px;
    }
    .msb-artists-directory .msb-artist-card__follow{
        right:119px;
        height:37px;
    }
    .msb-artists-directory .msb-artist-card__info{
        padding-bottom:43px!important;
    }
    .msb-artists-directory .msb-artist-card__info h3{
        font-size:14px;
    }
    .msb-artists-directory .msb-artists-skeleton span{
        height:130px;
    }
}


/* =========================================================
 * 4.5.5 — ایزوله‌سازی کارت‌ها و حذف اجرای دوگانه قالب
 * ======================================================= */
.msb-artists-directory #artistsGrid > [data-msb-artist-card="6"]{
    display:flex;
    flex-direction:column;
    width:100%;
    max-width:100%;
    margin:0;
    font-family:inherit;
    color:var(--ar-text);
}
.msb-artists-directory #artistsGrid > [data-msb-artist-card="6"] .msb-artist-card__main{
    width:100%;
    min-width:0;
    color:inherit;
    text-decoration:none!important;
}
.msb-artists-directory #artistsGrid > [data-msb-artist-card="6"] .msb-artist-card__follow{
    flex:0 0 auto;
    width:100%;
    font-family:inherit!important;
}
.msb-artists-directory #artistsGrid[aria-busy="true"]{
    pointer-events:none;
}

@media (max-width:620px){
    .msb-artists-directory #artistsGrid > [data-msb-artist-card="6"]{
        display:block;
        width:100%;
    }
    .msb-artists-directory #artistsGrid > [data-msb-artist-card="6"] .msb-artist-card__main{
        display:grid;
    }
}

/* =========================================================
 * 4.6.0 — بازطراحی حرفه‌ای آرشیو هنرمندان در موبایل
 * ======================================================= */
.msb-artists-directory .msb-artist-card__main:focus-visible,
.msb-artists-directory .msb-artist-card__follow:focus-visible,
.msb-artists-directory .msb-artists-tab:focus-visible,
.msb-artists-directory .msb-artists-icon-btn:focus-visible{
    outline:2px solid var(--ar-accent);
    outline-offset:3px;
}

@media (max-width:620px){
    .msb-artists-directory{
        padding:8px 10px 138px;
    }

    .msb-artists-directory .msb-artists-hero{
        min-height:184px;
        padding:58px 16px 17px;
        align-items:flex-end;
        border-radius:24px;
        background:
            radial-gradient(circle at 5% 0%,rgba(30,215,96,.24),transparent 38%),
            linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.012) 56%),
            #0e120f;
        box-shadow:0 16px 42px rgba(0,0,0,.3);
    }
    .msb-artists-directory .msb-artists-hero:before{
        width:250px;
        height:250px;
        left:-110px;
        bottom:-165px;
    }
    .msb-artists-directory .msb-artists-hero h1{
        max-width:255px;
        margin:0 0 5px;
        font-size:21px;
        line-height:1.5;
    }
    .msb-artists-directory .msb-artists-hero p{
        max-width:280px;
        margin:0;
        font-size:10.5px;
        line-height:1.85;
    }
    .msb-artists-directory .msb-artists-hero__stats{
        margin-top:10px;
    }
    .msb-artists-directory .msb-artists-hero__stats span{
        min-height:30px;
        padding:5px 9px;
        font-size:9.5px;
        border-radius:10px;
    }
    .msb-artists-directory .msb-artists-hero__faces{
        top:3px;
        left:-65px;
        width:220px;
        height:105px;
        opacity:.16;
        transform:scale(.68);
    }
    .msb-artists-directory .msb-artists-hero__nav{
        top:10px;
        left:10px;
    }
    .msb-artists-directory .msb-artists-icon-btn{
        width:36px;
        height:36px;
        border-radius:11px;
        font-size:13px;
        backdrop-filter:blur(12px);
    }

    .msb-artists-directory .msb-artists-toolbar{
        margin:11px 0 17px;
        padding:8px;
        gap:8px;
        border-radius:18px;
        background:rgba(18,18,18,.92);
        box-shadow:0 10px 28px rgba(0,0,0,.2);
    }
    .msb-artists-directory .msb-artists-search{
        height:50px;
        padding-inline:14px 10px;
        border-radius:14px;
    }
    .msb-artists-directory .msb-artists-search>i{
        font-size:15px;
    }
    .msb-artists-directory .msb-artists-search input{
        min-height:38px;
        font-size:13px;
    }
    .msb-artists-directory .msb-artists-search input::placeholder{
        font-size:11px;
    }
    .msb-artists-directory .msb-artists-search__clear{
        width:32px;
        height:32px;
    }
    .msb-artists-directory .msb-artists-tabs{
        display:flex;
        width:100%;
        gap:7px;
        padding:1px 0 4px;
        overflow-x:auto;
        overflow-y:hidden;
        scroll-snap-type:x proximity;
        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
    }
    .msb-artists-directory .msb-artists-tabs::-webkit-scrollbar{display:none}
    .msb-artists-directory .msb-artists-tab{
        flex:0 0 auto;
        min-width:max-content;
        height:38px;
        padding:0 12px;
        gap:6px;
        border-radius:11px;
        font-size:10px;
        scroll-snap-align:start;
        white-space:nowrap;
    }

    .msb-artists-directory .msb-artists-results-head{
        margin:0 2px 10px;
    }
    .msb-artists-directory .msb-artists-results-head h2{
        font-size:16px;
    }
    .msb-artists-directory .msb-artists-results-head p{
        display:none;
    }
    .msb-artists-directory .msb-artists-results-count{
        min-height:27px;
        padding:5px 9px;
        border-radius:9px;
        font-size:9px;
    }

    .msb-artists-directory .msb-artists-grid,
    .msb-artists-directory .msb-artists-skeleton{
        grid-template-columns:1fr!important;
        gap:8px;
    }
    .msb-artists-directory #artistsGrid > [data-msb-artist-card="6"]{
        min-height:116px;
        padding:8px;
        border-radius:18px;
        border-color:rgba(255,255,255,.075);
        background:
            radial-gradient(circle at 100% 0%,rgba(30,215,96,.07),transparent 38%),
            linear-gradient(112deg,rgba(255,255,255,.05),rgba(255,255,255,.012) 58%),
            var(--ar-card);
        box-shadow:0 8px 22px rgba(0,0,0,.2);
    }
    .msb-artists-directory #artistsGrid > [data-msb-artist-card="6"]:active{
        transform:scale(.992);
    }
    .msb-artists-directory #artistsGrid > [data-msb-artist-card="6"]:before{
        inset:10px auto 10px 0;
        width:3px;
    }
    .msb-artists-directory #artistsGrid > [data-msb-artist-card="6"] .msb-artist-card__main{
        grid-template-columns:94px minmax(0,1fr);
        gap:11px;
        min-height:94px;
    }
    .msb-artists-directory .msb-artist-card__image{
        width:94px;
        height:94px;
        border-radius:15px;
        box-shadow:0 6px 18px rgba(0,0,0,.28);
    }
    .msb-artists-directory .msb-artist-card__info{
        padding:2px 0 40px!important;
    }
    .msb-artists-directory .msb-artist-card__info h3{
        font-size:14px;
        line-height:1.55;
        -webkit-line-clamp:1;
    }
    .msb-artists-directory .msb-artist-card__info p{
        margin-top:2px;
        font-size:9.5px;
    }
    .msb-artists-directory .msb-artist-card__follow,
    .msb-artists-directory #artistsGrid > [data-msb-artist-card="6"] .msb-artist-card__follow{
        right:113px;
        left:8px;
        bottom:8px;
        width:auto;
        height:35px;
        border-radius:11px;
        font-size:10px;
    }
    .msb-artists-directory .msb-artist-card__followers{
        right:6px;
        bottom:6px;
        min-height:22px;
        padding:3px 6px;
        border-radius:8px;
        font-size:8.5px;
        backdrop-filter:blur(9px);
    }
    .msb-artists-directory .msb-artist-card__following-badge{
        top:6px;
        right:6px;
        width:25px;
        height:25px;
    }
    .msb-artists-directory .msb-artist-card__open{
        left:6px;
        bottom:6px;
        width:23px;
        height:23px;
        font-size:8px;
    }
    .msb-artists-directory .msb-artists-skeleton span{
        height:116px;
        border-radius:18px;
    }
    .msb-artists-directory .msb-artists-load-more{
        min-height:68px;
        padding-top:18px;
    }
    .msb-artists-directory .msb-artists-load-more button{
        min-height:43px;
        border-radius:13px;
        font-size:11px;
    }
}

@media (max-width:360px){
    .msb-artists-directory{
        padding-inline:7px;
    }
    .msb-artists-directory #artistsGrid > [data-msb-artist-card="6"] .msb-artist-card__main{
        grid-template-columns:86px minmax(0,1fr);
        min-height:86px;
        gap:9px;
    }
    .msb-artists-directory .msb-artist-card__image{
        width:86px;
        height:86px;
        border-radius:13px;
    }
    .msb-artists-directory .msb-artist-card__follow,
    .msb-artists-directory #artistsGrid > [data-msb-artist-card="6"] .msb-artist-card__follow{
        right:103px;
    }
}

@media (max-width:620px){
    .msb-artists-directory .msb-artists-tab{
        width:auto!important;
        max-width:none;
    }
}


/* =========================================================
 * 4.7.0 — آرشیو کشف هنرمند؛ UI حرفه‌ای بدون درخواست دیتابیس اضافه
 * ======================================================= */
.msb-artists-directory{
    --ar-panel:rgba(255,255,255,.035);
    --ar-panel-strong:rgba(255,255,255,.06);
}
.msb-artists-directory .msb-artists-hero{
    min-height:230px;
    padding:30px 32px;
}
.msb-artists-directory .msb-artists-hero h1{
    font-size:clamp(26px,3.6vw,40px);
}

/* منتخب‌ها از همان ۲۵ نتیجه اولیه ساخته می‌شوند و هیچ منبع داده جدا ندارند. */
.msb-artists-featured{
    margin:18px 0 0;
    padding:17px;
    overflow:hidden;
    border:1px solid var(--ar-border);
    border-radius:24px;
    background:linear-gradient(135deg,rgba(30,215,96,.07),rgba(255,255,255,.018) 46%),var(--ar-card);
    box-shadow:0 16px 42px rgba(0,0,0,.16);
}
.msb-artists-featured__head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    margin-bottom:13px;
}
.msb-artists-featured__head>div>span{
    display:flex;
    align-items:center;
    gap:6px;
    margin-bottom:4px;
    color:var(--ar-accent);
    font-size:9px;
    font-weight:900;
}
.msb-artists-featured__head h2{
    margin:0;
    font-size:17px;
    line-height:1.6;
}
.msb-artists-featured__head small{
    color:var(--ar-muted);
    font-size:9px;
}
.msb-artists-featured__rail{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:minmax(210px,1fr);
    grid-template-rows:1fr;
    gap:10px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    padding:1px 1px 4px;
}
.msb-artists-featured__rail::-webkit-scrollbar{display:none}
.msb-featured-artist{
    position:relative;
    min-width:0;
    min-height:82px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 36px;
    align-items:center;
    gap:7px;
    padding:8px;
    scroll-snap-align:start;
    border:1px solid rgba(255,255,255,.07);
    border-radius:18px;
    background:rgba(7,7,7,.42);
    transition:border-color .2s ease,transform .2s ease,background .2s ease;
}
.msb-featured-artist:hover{
    transform:translateY(-2px);
    border-color:rgba(30,215,96,.35);
    background:rgba(255,255,255,.045);
}
.msb-featured-artist.is-user-following{border-color:rgba(30,215,96,.34)}
.msb-featured-artist__main{
    min-width:0;
    display:flex;
    align-items:center;
    gap:10px;
    color:inherit!important;
    text-decoration:none!important;
}
.msb-featured-artist__image{
    position:relative;
    width:62px;
    height:62px;
    flex:0 0 62px;
    overflow:hidden;
    border-radius:17px;
    background:#222;
}
.msb-featured-artist__image img{width:100%;height:100%;display:block;object-fit:cover}
.msb-featured-artist__image>i{
    position:absolute;
    right:4px;
    bottom:4px;
    width:18px;
    height:18px;
    display:grid;
    place-items:center;
    border:2px solid #111;
    border-radius:50%;
    background:var(--ar-accent);
    color:#06100a;
    font-size:7px;
}
.msb-featured-artist__info{min-width:0;display:flex;flex-direction:column;align-items:flex-start;text-align:right}
.msb-featured-artist__info strong{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:1.8}
.msb-featured-artist__info small{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ar-muted);font-size:8.5px}
.msb-featured-artist__followers{margin-top:4px;color:var(--ar-accent);font-size:8px;font-weight:800}
.msb-featured-artist__followers:after{content:" دنبال‌کننده";color:var(--ar-muted);font-weight:500}
.msb-featured-artist__follow{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border:1px solid rgba(30,215,96,.28);
    border-radius:12px;
    background:rgba(30,215,96,.09);
    color:var(--ar-accent);
    cursor:pointer;
}
.msb-featured-artist__follow.following{background:var(--ar-accent);color:#07110a}
.msb-featured-artist__follow:disabled{opacity:.55;cursor:wait}

.msb-artists-results-tools{display:flex;align-items:center;gap:8px}
.msb-artists-layout-switch{
    display:flex;
    align-items:center;
    gap:3px;
    padding:3px;
    border:1px solid var(--ar-border);
    border-radius:12px;
    background:var(--ar-panel);
}
.msb-artists-layout-switch button{
    width:31px;
    height:31px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:9px;
    background:transparent;
    color:var(--ar-muted);
    cursor:pointer;
    font-size:10px;
}
.msb-artists-layout-switch button.is-active{
    background:var(--ar-accent);
    color:#07110a;
    box-shadow:0 5px 14px rgba(30,215,96,.18);
}

/* نمای فهرستی روی دسکتاپ و موبایل با همان HTML؛ بدون دریافت دوباره داده. */
.msb-artists-directory.is-list-view .msb-artists-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:11px;
}
.msb-artists-directory.is-list-view .msb-artist-card{
    min-height:104px;
    padding:9px;
    flex-direction:row;
    align-items:center;
    gap:10px;
    border-radius:19px;
}
.msb-artists-directory.is-list-view .msb-artist-card__main{
    min-width:0;
    flex:1 1 auto;
    flex-direction:row;
    align-items:center;
    gap:11px;
}
.msb-artists-directory.is-list-view .msb-artist-card__image{
    width:84px;
    height:84px;
    flex:0 0 84px;
    aspect-ratio:auto;
    border-radius:15px;
}
.msb-artists-directory.is-list-view .msb-artist-card__info{
    min-width:0;
    flex:1 1 auto;
    padding:0;
}
.msb-artists-directory.is-list-view .msb-artist-card__info h3{font-size:13px}
.msb-artists-directory.is-list-view .msb-artist-card__info p{font-size:9px}
.msb-artists-directory.is-list-view .msb-artist-card__follow{
    width:94px;
    height:38px;
    margin:0;
    flex:0 0 94px;
}
.msb-artists-directory.is-list-view .msb-artist-card__open{display:none}
.msb-artists-directory.is-list-view .msb-artist-card:hover{transform:translateY(-2px)}

@media (max-width:900px){
    .msb-artists-directory .msb-artists-toolbar{
        position:sticky!important;
        top:7px!important;
        z-index:30;
        margin:14px 0 18px;
        padding:8px;
        background:rgba(10,10,10,.93);
        backdrop-filter:blur(18px);
    }
    .msb-artists-directory .msb-artists-tabs{
        display:flex!important;
        width:100%;
        gap:6px;
        overflow-x:auto!important;
        padding-bottom:1px;
    }
    .msb-artists-directory .msb-artists-tab{
        min-width:105px!important;
        flex:0 0 auto!important;
    }
    .msb-artists-directory.is-list-view .msb-artists-grid{grid-template-columns:1fr}
}

@media (max-width:620px){
    .msb-artists-directory{padding:7px 8px 145px}
    .msb-artists-directory .msb-artists-hero{
        min-height:198px;
        padding:56px 16px 17px;
        border-radius:21px;
    }
    .msb-artists-directory .msb-artists-hero h1{
        max-width:250px;
        margin-bottom:5px;
        font-size:21px;
        line-height:1.5;
    }
    .msb-artists-directory .msb-artists-hero p{
        max-width:270px;
        display:-webkit-box;
        overflow:hidden;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        font-size:10px;
        line-height:1.8;
    }
    .msb-artists-directory .msb-artists-hero__stats{margin-top:9px}
    .msb-artists-directory .msb-artists-hero__stats span{min-height:30px;padding:5px 9px;font-size:9px}
    .msb-artists-directory .msb-artists-hero__faces{opacity:.13;transform:scale(.62)}

    .msb-artists-featured{
        margin-top:11px;
        padding:12px;
        border-radius:19px;
    }
    .msb-artists-featured__head{align-items:center;margin-bottom:9px}
    .msb-artists-featured__head h2{font-size:14px}
    .msb-artists-featured__head small{display:none}
    .msb-artists-featured__rail{
        grid-auto-columns:minmax(225px,82vw);
        gap:8px;
    }
    .msb-featured-artist{min-height:75px;border-radius:16px}
    .msb-featured-artist__image{width:56px;height:56px;flex-basis:56px;border-radius:15px}

    .msb-artists-directory .msb-artists-toolbar{
        top:5px!important;
        gap:7px;
        margin:11px 0 17px;
        border-radius:17px;
    }
    .msb-artists-directory .msb-artists-search{height:45px;border-radius:13px}
    .msb-artists-directory .msb-artists-tabs{display:flex!important;grid-template-columns:none!important}
    .msb-artists-directory .msb-artists-tab{
        width:auto!important;
        min-width:103px!important;
        height:38px;
        border-radius:11px;
        font-size:9.5px;
    }

    .msb-artists-directory .msb-artists-results-head{margin-bottom:10px}
    .msb-artists-directory .msb-artists-results-head h2{font-size:15px}
    .msb-artists-directory .msb-artists-results-head p{font-size:8.5px}
    .msb-artists-results-tools{gap:5px}
    .msb-artists-directory .msb-artists-results-count{display:none}
    .msb-artists-layout-switch{padding:2px;border-radius:10px}
    .msb-artists-layout-switch button{width:29px;height:29px;border-radius:8px}

    .msb-artists-directory.is-list-view .msb-artists-grid{grid-template-columns:1fr;gap:8px}
    .msb-artists-directory.is-list-view .msb-artist-card{
        min-height:88px;
        padding:7px;
        gap:8px;
        border-radius:16px;
        box-shadow:0 8px 22px rgba(0,0,0,.16);
    }
    .msb-artists-directory.is-list-view .msb-artist-card__main{gap:9px}
    .msb-artists-directory.is-list-view .msb-artist-card__image{
        width:72px;
        height:72px;
        flex-basis:72px;
        border-radius:13px;
    }
    .msb-artists-directory.is-list-view .msb-artist-card__image:after{inset:55% 0 0}
    .msb-artists-directory.is-list-view .msb-artist-card__followers{
        right:5px;
        bottom:5px;
        padding:3px 5px;
        font-size:7px;
    }
    .msb-artists-directory.is-list-view .msb-artist-card__following-badge{
        top:5px;
        right:5px;
        width:20px;
        height:20px;
        font-size:0;
        display:grid;
        place-items:center;
        padding:0;
    }
    .msb-artists-directory.is-list-view .msb-artist-card__info h3{font-size:12px;line-height:1.65}
    .msb-artists-directory.is-list-view .msb-artist-card__info p{margin-top:1px;font-size:8.5px}
    .msb-artists-directory.is-list-view .msb-artist-card__follow{
        width:39px;
        height:39px;
        flex-basis:39px;
        border-radius:12px;
        font-size:0;
    }
    .msb-artists-directory.is-list-view .msb-artist-card__follow i{font-size:10px}

    .msb-artists-directory.is-grid-view .msb-artists-grid,
    .msb-artists-directory.is-grid-view .msb-artists-skeleton{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:9px;
    }
}

@media (max-width:360px){
    .msb-artists-featured__rail{grid-auto-columns:86vw}
    .msb-artists-directory.is-list-view .msb-artist-card__image{width:66px;height:66px;flex-basis:66px}
}

/* 4.7.0 hotfix: خنثی‌سازی کامل جای‌گذاری مطلق نسخه‌های قدیمی در نمای فهرستی. */
.msb-artists-directory.is-list-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"]{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    min-height:102px;
    padding:9px!important;
    gap:10px;
}
.msb-artists-directory.is-list-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"] .msb-artist-card__main{
    display:flex!important;
    grid-template-columns:none!important;
    flex:1 1 auto!important;
    flex-direction:row!important;
    align-items:center!important;
    min-height:0!important;
    gap:11px!important;
}
.msb-artists-directory.is-list-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"] .msb-artist-card__info{
    align-self:center!important;
    padding:0!important;
}
.msb-artists-directory.is-list-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"] .msb-artist-card__follow{
    position:static!important;
    inset:auto!important;
    right:auto!important;
    left:auto!important;
    bottom:auto!important;
    width:92px!important;
    height:38px!important;
    margin:0!important;
    flex:0 0 92px!important;
    font-size:9px!important;
}

@media (max-width:620px){
    .msb-artists-directory.is-list-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"]{
        min-height:86px!important;
        padding:7px!important;
        gap:7px!important;
    }
    .msb-artists-directory.is-list-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"] .msb-artist-card__main{
        gap:9px!important;
    }
    .msb-artists-directory.is-list-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"] .msb-artist-card__image{
        width:70px!important;
        height:70px!important;
        flex:0 0 70px!important;
    }
    .msb-artists-directory.is-list-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"] .msb-artist-card__follow{
        width:78px!important;
        height:37px!important;
        flex-basis:78px!important;
        border-radius:11px!important;
        font-size:8px!important;
    }
    .msb-artists-directory.is-list-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"] .msb-artist-card__follow i{
        font-size:8px!important;
    }
}

@media (max-width:360px){
    .msb-artists-directory.is-list-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"] .msb-artist-card__image{
        width:64px!important;
        height:64px!important;
        flex-basis:64px!important;
    }
    .msb-artists-directory.is-list-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"] .msb-artist-card__follow{
        width:72px!important;
        flex-basis:72px!important;
        font-size:7.5px!important;
    }
}

/* 4.7.0 hotfix: نمای شبکه‌ای واقعی در موبایل، مستقل از CSS فهرستی نسخه 4.6. */
@media (max-width:620px){
    .msb-artists-directory.is-grid-view #artistsGrid.msb-artists-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:9px!important;
    }
    .msb-artists-directory.is-grid-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"]{
        display:flex!important;
        flex-direction:column!important;
        align-items:stretch!important;
        min-height:0!important;
        padding:7px!important;
        gap:0!important;
        border-radius:17px!important;
    }
    .msb-artists-directory.is-grid-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"] .msb-artist-card__main{
        display:flex!important;
        grid-template-columns:none!important;
        flex:1 1 auto!important;
        flex-direction:column!important;
        align-items:stretch!important;
        min-height:0!important;
        gap:0!important;
    }
    .msb-artists-directory.is-grid-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"] .msb-artist-card__image{
        width:100%!important;
        height:auto!important;
        flex:0 0 auto!important;
        aspect-ratio:1/1!important;
        align-self:stretch!important;
        border-radius:12px!important;
    }
    .msb-artists-directory.is-grid-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"] .msb-artist-card__info{
        align-self:stretch!important;
        padding:8px 2px 6px!important;
    }
    .msb-artists-directory.is-grid-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"] .msb-artist-card__info h3{
        display:block!important;
        overflow:hidden!important;
        white-space:nowrap!important;
        text-overflow:ellipsis!important;
        font-size:12px!important;
    }
    .msb-artists-directory.is-grid-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"] .msb-artist-card__follow{
        position:static!important;
        inset:auto!important;
        width:100%!important;
        height:35px!important;
        margin-top:auto!important;
        flex:0 0 35px!important;
        border-radius:10px!important;
        font-size:9px!important;
    }
    .msb-artists-directory.is-grid-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"] .msb-artist-card__open{
        display:none!important;
    }
}


/* =========================================================
 * 4.7.1 — کنترل دسکتاپ اسلایدر منتخب‌ها و حذف فضای خالی اضافه
 * این بخش فقط ظاهر/تعامل مرورگر را تغییر می‌دهد و هیچ درخواست شبکه‌ای ندارد.
 * ======================================================= */
.msb-artists-featured__actions{
    display:flex;
    align-items:center;
    gap:10px;
}
.msb-artists-featured__nav{
    display:flex;
    align-items:center;
    gap:6px;
    direction:rtl;
}
.msb-artists-featured__nav button{
    width:32px;
    height:32px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.1);
    border-radius:10px;
    background:rgba(255,255,255,.045);
    color:#fff;
    cursor:pointer;
    transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.msb-artists-featured__nav button:hover{
    border-color:rgba(30,215,96,.42);
    background:var(--ar-accent);
    color:#07110a;
    transform:translateY(-1px);
}
.msb-artists-featured__rail{
    cursor:grab;
    scroll-behavior:smooth;
    user-select:none;
    -webkit-user-select:none;
}
.msb-artists-featured__rail.is-dragging{
    cursor:grabbing;
    scroll-behavior:auto;
    scroll-snap-type:none!important;
}
@media (min-width:621px) and (pointer:fine){
    .msb-artists-featured__rail{
        touch-action:pan-y;
    }
}
.msb-artists-featured__rail img{
    -webkit-user-drag:none;
    user-drag:none;
}

@media (min-width:621px){
    .msb-artists-directory{
        padding-bottom:0!important;
    }
    .msb-artists-directory .msb-artists-load-more{
        min-height:0!important;
        margin:0!important;
        padding:14px 0 78px!important;
    }
}

@media (max-width:620px){
    .msb-artists-featured__actions>small,
    .msb-artists-featured__nav{
        display:none!important;
    }
    .msb-artists-featured__rail{
        cursor:auto;
        user-select:auto;
        -webkit-user-select:auto;
    }
}

/* =========================================================
 * 4.7.2 — ترتیب صحیح فلش‌های RTL و Drag مستقیم ردیف دنبال‌شده‌ها
 * فقط CSS/JS سمت مرورگر؛ بدون Query یا درخواست شبکه‌ای جدید.
 * ======================================================= */
.msb-artists-featured__nav{
    direction:rtl!important;
}
.msb-artists-featured__rail.is-dragging,
.msb-artists-directory.is-following-view #artistsGrid.is-dragging{
    cursor:grabbing!important;
    scroll-snap-type:none!important;
    scroll-behavior:auto!important;
}
html.msb-artists-is-dragging,
html.msb-artists-is-dragging *{
    cursor:grabbing!important;
    user-select:none!important;
    -webkit-user-select:none!important;
}

@media (min-width:621px){
    .msb-artists-directory.is-following-view #artistsGrid.msb-artists-grid{
        display:grid!important;
        grid-template-columns:none!important;
        grid-auto-flow:column!important;
        grid-auto-columns:minmax(190px,220px)!important;
        align-items:stretch!important;
        gap:14px!important;
        min-height:0!important;
        overflow-x:auto!important;
        overflow-y:hidden!important;
        padding:4px 2px 16px!important;
        scroll-snap-type:x proximity;
        overscroll-behavior-inline:contain;
        scrollbar-width:none;
        cursor:grab;
        user-select:none;
        -webkit-user-select:none;
    }
    .msb-artists-directory.is-following-view #artistsGrid.msb-artists-grid::-webkit-scrollbar{
        display:none;
    }
    .msb-artists-directory.is-following-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"]{
        width:auto!important;
        min-width:0!important;
        scroll-snap-align:start;
    }
    .msb-artists-directory.is-following-view .msb-artists-load-more{
        padding-top:10px!important;
    }
}

@media (max-width:620px){
    .msb-artists-directory.is-following-view #artistsGrid.msb-artists-grid{
        cursor:auto;
        user-select:auto;
        -webkit-user-select:auto;
    }
}


/* =========================================================
 * 4.7.3 — حذف متن فنی و یکپارچه‌سازی فاصله پایین با پوسته قالب
 * تنها فضای واقعی پلیر/نوار موبایل رزرو می‌شود؛ بدون Query یا Ajax جدید.
 * ======================================================= */
body.msb-artists-archive-active .main-container.msb-artists-archive-shell{
    padding-bottom:0!important;
}
body.msb-artists-archive-active .main-content.msb-artists-archive-content{
    padding-bottom:var(--msb-desktop-fixed-ui-clearance,62px)!important;
}
body.msb-artists-archive-active .msb-artists-directory{
    padding-bottom:0!important;
}
body.msb-artists-archive-active .msb-artists-directory .msb-artists-load-more{
    min-height:0!important;
    margin:0!important;
    padding:8px 0 6px!important;
}
.msb-artists-featured__actions{
    min-height:32px;
}
.msb-artists-featured__actions:empty{
    display:none;
}

@media (max-width:991px){
    body.msb-artists-archive-active .main-container.msb-artists-archive-shell{
        padding-bottom:0!important;
    }
    body.msb-artists-archive-active .main-content.msb-artists-archive-content{
        padding-bottom:var(--msb-mobile-fixed-ui-clearance,var(--msb-mobile-player-clearance,138px))!important;
    }
    body.msb-artists-archive-active .msb-artists-directory{
        padding-bottom:0!important;
    }
    body.msb-artists-archive-active .msb-artists-directory .msb-artists-load-more{
        min-height:0!important;
        padding:8px 0 6px!important;
    }
}
@media (max-width:620px){
    .msb-artists-featured__actions{display:none!important}
}

/* =========================================================
 * 4.7.4 — هدرهای کوتاه‌تر و خواناتر در آرشیو و پروفایل هنرمند
 * تغییرات صرفاً نمایشی‌اند و هیچ درخواست یا Query جدیدی ایجاد نمی‌کنند.
 * ======================================================= */
.msb-artists-directory .msb-artists-hero{
    min-height:188px;
    padding:24px 28px;
}
.msb-artists-directory .msb-artists-hero__content{
    max-width:610px;
}
.msb-artists-directory .msb-artists-hero h1{
    max-width:560px;
    margin-bottom:6px;
    font-size:clamp(28px,3.2vw,37px);
    line-height:1.28;
    font-weight:950;
    letter-spacing:-.035em;
    text-wrap:balance;
    text-shadow:0 2px 18px rgba(0,0,0,.34);
}
.msb-artists-directory .msb-artists-hero p{
    max-width:540px;
    font-size:12.5px;
    line-height:1.8;
}
.msb-artists-directory .msb-artists-hero__stats{
    margin-top:13px;
}
.msb-artists-directory .msb-artists-hero__stats span{
    min-height:30px;
    padding:5px 10px;
}
.msb-artists-directory .msb-artists-hero__faces{
    left:72px;
    bottom:23px;
    width:250px;
    height:120px;
    transform:scale(.86);
    transform-origin:left bottom;
}

@media (max-width:900px){
    .msb-artists-directory .msb-artists-hero{
        min-height:174px;
        padding:22px 22px;
    }
    .msb-artists-directory .msb-artists-hero__content{max-width:72%}
    .msb-artists-directory .msb-artists-hero__faces{
        left:-18px;
        bottom:14px;
        transform:scale(.68);
        opacity:.48;
    }
}

@media (max-width:620px){
    .msb-artists-directory .msb-artists-hero{
        min-height:154px;
        padding:48px 14px 13px;
        align-items:flex-end;
        border-radius:19px;
    }
    .msb-artists-directory .msb-artists-hero__content{
        max-width:100%;
    }
    .msb-artists-directory .msb-artists-hero h1{
        max-width:245px;
        margin:0 0 4px;
        font-size:21px;
        line-height:1.38;
        letter-spacing:-.025em;
    }
    .msb-artists-directory .msb-artists-hero p{
        max-width:270px;
        font-size:9.5px;
        line-height:1.65;
        -webkit-line-clamp:1;
    }
    .msb-artists-directory .msb-artists-hero__stats{
        margin-top:7px;
    }
    .msb-artists-directory .msb-artists-hero__stats span{
        min-height:27px;
        padding:4px 8px;
        font-size:8.5px;
        border-radius:9px;
    }
    .msb-artists-directory .msb-artists-hero__nav{
        top:9px;
        left:9px;
        gap:6px;
    }
    .msb-artists-directory .msb-artists-icon-btn{
        width:34px;
        height:34px;
        border-radius:10px;
        font-size:12px;
    }
    .msb-artists-directory .msb-artists-hero__faces{
        top:-7px;
        left:-88px;
        bottom:auto;
        opacity:.10;
        transform:scale(.53);
    }
    .msb-artists-featured{
        margin-top:8px;
    }
}

@media (max-width:420px){
    .msb-artists-directory .msb-artists-hero{
        min-height:139px;
        padding-top:45px;
    }
    .msb-artists-directory .msb-artists-hero h1{
        max-width:230px;
        font-size:20px;
        line-height:1.34;
    }
    .msb-artists-directory .msb-artists-hero p,
    .msb-artists-directory .msb-artists-hero__faces{
        display:none!important;
    }
    .msb-artists-directory .msb-artists-hero__stats{
        margin-top:8px;
    }
}

/* =========================================================
 * 4.7.6 — هدر یک‌ردیفه آرشیو در موبایل
 * عنوان، بازگشت و اشتراک‌گذاری در یک ردیف؛ بدون درخواست جدید.
 * ======================================================= */
@media (max-width:620px){
    .msb-artists-directory .msb-artists-hero{
        display:grid!important;
        grid-template-columns:minmax(0,1fr) auto;
        grid-template-areas:
            "title nav"
            "stats stats";
        align-items:center!important;
        gap:8px 9px;
        min-height:0!important;
        padding:11px 11px 10px!important;
        border-radius:18px;
    }
    .msb-artists-directory .msb-artists-hero__content{
        display:contents!important;
    }
    .msb-artists-directory .msb-artists-hero h1{
        grid-area:title;
        align-self:center;
        max-width:none!important;
        margin:0!important;
        padding:0;
        overflow:hidden;
        font-size:18px!important;
        line-height:1.45!important;
        letter-spacing:-.02em;
        white-space:nowrap;
        text-overflow:ellipsis;
    }
    .msb-artists-directory .msb-artists-hero__nav{
        position:static!important;
        grid-area:nav;
        align-self:center;
        display:flex;
        gap:5px!important;
        margin:0;
        direction:rtl;
    }
    .msb-artists-directory .msb-artists-icon-btn{
        width:32px!important;
        height:32px!important;
        border-radius:9px!important;
        font-size:11px!important;
    }
    .msb-artists-directory .msb-artists-hero__stats{
        grid-area:stats;
        min-width:0;
        margin:0!important;
        display:flex;
        align-items:center;
    }
    .msb-artists-directory .msb-artists-hero__stats span{
        min-height:25px!important;
        padding:4px 8px!important;
        font-size:8.5px!important;
        border-radius:8px!important;
    }
    .msb-artists-directory .msb-artists-hero__stats span:nth-child(2),
    .msb-artists-directory .msb-artists-hero p,
    .msb-artists-directory .msb-artists-hero__faces{
        display:none!important;
    }
}

@media (max-width:360px){
    .msb-artists-directory .msb-artists-hero{
        grid-template-columns:minmax(0,1fr) 69px;
        gap:7px;
        padding-inline:9px!important;
    }
    .msb-artists-directory .msb-artists-hero h1{
        font-size:16.5px!important;
    }
    .msb-artists-directory .msb-artists-icon-btn{
        width:31px!important;
        height:31px!important;
    }
}


/* =========================================================
 * 4.9.8 — فاصله پایین داینامیک و SPA-safe
 * فاصله ثابت 122px حذف شد. افزونه از مقدار واقعی پلیر/Bottom Nav
 * که قالب در --msb-mobile-player-clearance قرار می‌دهد استفاده می‌کند.
 * ======================================================= */
body.msb-artists-archive-active .main-container.msb-artists-archive-shell{
    padding-bottom:0!important;
}
body.msb-artists-archive-active .msb-artists-directory{
    padding-bottom:0!important;
}
@media (max-width:991px){
    body.msb-artists-archive-active .main-container.msb-artists-archive-shell{
        padding-bottom:0!important;
    }
    body.msb-artists-archive-active .main-content.msb-artists-archive-content{
        padding-bottom:var(--msb-mobile-fixed-ui-clearance,var(--msb-mobile-player-clearance,138px))!important;
    }
    body.msb-artists-archive-active .msb-artists-directory{
        padding-bottom:0!important;
    }
    body.msb-artists-archive-active .msb-artists-directory .msb-artists-load-more{
        min-height:0!important;
        margin:0!important;
        padding:14px 0 10px!important;
    }
}
@media (max-width:480px){
    body.msb-artists-archive-active .main-content.msb-artists-archive-content{
        padding-bottom:var(--msb-mobile-fixed-ui-clearance,var(--msb-mobile-player-clearance,138px))!important;
    }
}

/* =========================================================
 * 5.2.0 — Drag موس هم جهت لمس + بهینه سازی رندر
 * هیچ Query یا درخواست شبکه ای از این بخش ساخته نمی شود.
 * ======================================================= */
@media (min-width:621px) and (pointer:fine){
    .msb-artists-featured__rail,
    .msb-artists-directory.is-following-view #artistsGrid{
        contain:layout paint style;
        will-change:scroll-position;
        overscroll-behavior-inline:contain;
    }
    .msb-artists-featured__rail.is-dragging,
    .msb-artists-directory.is-following-view #artistsGrid.is-dragging{
        scroll-behavior:auto!important;
        scroll-snap-type:none!important;
    }
}

/* =========================================================
 * 5.4.0 — یکپارچه سازی چیدمان دنبال شده ها با تمام Viewها
 * Following دیگر روی دسکتاپ Rail افقی اختصاصی نیست و دقیقاً از همان
 * List/Grid عمومی استفاده می کند. این بخش فقط CSS است و هیچ Query/Ajax ندارد.
 * ======================================================= */
.msb-artists-directory.is-following-view #artistsGrid.msb-artists-grid{
    overflow:visible!important;
    overflow-x:visible!important;
    overflow-y:visible!important;
    grid-auto-flow:row!important;
    grid-auto-columns:auto!important;
    min-height:180px!important;
    padding:0!important;
    cursor:default!important;
    user-select:auto!important;
    -webkit-user-select:auto!important;
    scroll-snap-type:none!important;
    contain:none!important;
    will-change:auto!important;
}
.msb-artists-directory.is-following-view #artistsGrid > .msb-artist-card[data-msb-artist-card="6"]{
    width:auto!important;
    min-width:0!important;
    scroll-snap-align:none!important;
}
.msb-artists-directory.is-following-view .msb-artists-load-more{
    padding-top:26px!important;
}

@media (min-width:1181px){
    .msb-artists-directory.is-following-view:not(.is-list-view) #artistsGrid.msb-artists-grid,
    .msb-artists-directory.is-following-view.is-grid-view #artistsGrid.msb-artists-grid{
        display:grid!important;
        grid-template-columns:repeat(5,minmax(0,1fr))!important;
        gap:17px!important;
    }
}
@media (min-width:901px) and (max-width:1180px){
    .msb-artists-directory.is-following-view:not(.is-list-view) #artistsGrid.msb-artists-grid,
    .msb-artists-directory.is-following-view.is-grid-view #artistsGrid.msb-artists-grid{
        display:grid!important;
        grid-template-columns:repeat(4,minmax(0,1fr))!important;
        gap:17px!important;
    }
}
@media (min-width:621px) and (max-width:900px){
    .msb-artists-directory.is-following-view:not(.is-list-view) #artistsGrid.msb-artists-grid,
    .msb-artists-directory.is-following-view.is-grid-view #artistsGrid.msb-artists-grid{
        display:grid!important;
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
        gap:17px!important;
    }
}
@media (min-width:621px){
    .msb-artists-directory.is-following-view.is-list-view #artistsGrid.msb-artists-grid{
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:11px!important;
    }
}
@media (max-width:620px){
    .msb-artists-directory.is-following-view.is-list-view #artistsGrid.msb-artists-grid{
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:8px!important;
    }
    .msb-artists-directory.is-following-view.is-grid-view #artistsGrid.msb-artists-grid{
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:9px!important;
    }
}



/* =========================================================
 * 5.5.0 — Follow badge compact + Featured desktop click fix
 * Browser-only: zero DB query / Ajax / API request.
 * ======================================================= */
.msb-artists-directory .msb-artist-card__following-badge{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border-radius:50%!important;
    font-size:0!important;
    line-height:1!important;
    pointer-events:none!important;
}
.msb-artists-directory .msb-artist-card__following-badge i{
    font-size:9px!important;
    line-height:1!important;
}
@media (min-width:621px) and (pointer:fine){
    .msb-artists-featured__rail{
        touch-action:pan-y;
    }
    .msb-featured-artist__main{
        cursor:pointer;
    }
}


/* 5.6.6 — light search clarity; geometry stays identical to dark */
html[data-theme="light"] .msb-artists-directory .msb-artists-toolbar{
    background:rgba(255,255,255,.96)!important;
    border-color:#dfe8e2!important;
    box-shadow:0 7px 20px rgba(24,55,36,.045)!important;
    backdrop-filter:none!important;
}
html[data-theme="light"] .msb-artists-directory .msb-artists-search{
    height:48px!important;
    background:#f8fbf9!important;
    border:1px solid #d9e5dd!important;
    box-shadow:none!important;
    outline:0!important;
}
html[data-theme="light"] .msb-artists-directory .msb-artists-search:focus-within{
    background:#fff!important;
    border-color:rgba(22,139,73,.55)!important;
    box-shadow:0 0 0 2px rgba(22,139,73,.09)!important;
}
html[data-theme="light"] .msb-artists-directory .msb-artists-search input,
html[data-theme="light"] .msb-artists-directory .msb-artists-search input:focus{
    color:#172019!important;
    background:transparent!important;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
}
html[data-theme="light"] .msb-artists-directory .msb-artists-search input::placeholder{color:#8b978f!important}
html[data-theme="light"] .msb-artists-directory .msb-artists-search>i{color:#68766d!important}
html[data-theme="light"] .msb-artists-directory .msb-artists-search__clear{background:#edf3ef!important;color:#647168!important}
@media(max-width:620px){html[data-theme="light"] .msb-artists-directory .msb-artists-search{height:44px!important}}


/* =========================================================
 * 5.6.7 — Desktop player safe-area, theme-independent
 * در نسخه‌های قبلی فاصله پایین آرشیو روی دسکتاپ صفر می‌شد و در تم
 * تاریک دکمه Load More/آخرین ردیف کارت‌ها می‌توانست زیر Mini Player
 * قرار بگیرد. تم روشن به‌صورت اتفاقی از override پوسته فاصله داشت.
 * این بخش هندسه Dark/Light را یکسان می‌کند و فقط فضای واقعی پلیر را
 * رزرو می‌کند؛ بدون Query، Ajax یا JavaScript جدید.
 * ======================================================= */
@media (min-width: 992px) {
    body.msb-artists-archive-active .main-container.msb-artists-archive-shell {
        padding-bottom: 0 !important;
    }
    body.msb-artists-archive-active .main-content.msb-artists-archive-content {
        padding-bottom: var(--msb-desktop-fixed-ui-clearance, var(--msb-desktop-player-clearance, 62px)) !important;
    }
    body.msb-artists-archive-active .msb-artists-directory {
        padding-bottom: 0 !important;
    }
    body.msb-artists-archive-active .msb-artists-directory .msb-artists-load-more {
        margin-bottom: 0 !important;
    }
}


/* 5.6.12 — Voice Search UX: browser/Google online recognition, zero extra MSB requests */
.msb-artists-directory .msb-artists-search input{
    text-align:right;
}
.msb-artists-directory .msb-artists-search input::placeholder{
    text-align:right;
    direction:rtl;
}
.msb-artists-directory .msb-artists-search__voice{
    flex:0 0 auto;
    width:30px;
    height:30px;
    display:inline-grid;
    place-items:center;
    padding:0;
    border:0;
    border-radius:10px;
    background:rgba(255,255,255,.055);
    color:var(--ar-muted);
    cursor:pointer;
    transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.msb-artists-directory .msb-artists-search__voice:hover{
    color:#fff;
    background:rgba(255,255,255,.1);
}
.msb-artists-directory .msb-artists-search__voice.is-listening{
    color:#fff!important;
    background:var(--ar-accent)!important;
    box-shadow:0 0 0 4px rgba(30,215,96,.13),0 0 18px rgba(30,215,96,.34);
    animation:msbArtistVoicePulse 1.2s ease-in-out infinite;
}
.msb-artists-directory .msb-artists-search.is-listening{
    border-color:rgba(30,215,96,.7);
    box-shadow:0 0 0 3px rgba(30,215,96,.11);
}
@keyframes msbArtistVoicePulse{
    0%,100%{transform:scale(1);box-shadow:0 0 0 4px rgba(30,215,96,.12),0 0 15px rgba(30,215,96,.28)}
    50%{transform:scale(1.06);box-shadow:0 0 0 7px rgba(30,215,96,.06),0 0 24px rgba(30,215,96,.42)}
}
html[data-theme="light"] .msb-artists-directory .msb-artists-search__voice{background:#edf3ef;color:#68766d}
html[data-theme="light"] .msb-artists-directory .msb-artists-search__voice.is-listening{background:var(--ar-accent)!important;color:#fff!important}
@media(prefers-reduced-motion:reduce){.msb-artists-directory .msb-artists-search__voice.is-listening{animation:none!important}}


/* 5.6.13 — canonical bottom tail: theme owns the fixed UI reserve. */
@media (max-width:991px){
    body.msb-artists-archive-active .main-container.msb-artists-archive-shell{padding-bottom:0!important}
    body.msb-artists-archive-active .main-content.msb-artists-archive-content{padding-bottom:var(--msb-mobile-fixed-ui-clearance,var(--msb-mobile-player-clearance,138px))!important}
    body.msb-artists-archive-active .msb-artists-directory{padding-bottom:0!important}
    body.msb-artists-archive-active .msb-artists-directory .msb-artists-load-more{min-height:0!important;margin:0!important;padding:12px 0 8px!important}
}


/* 5.6.14 — one Safe Area owner: theme main-content only. */
@media (max-width:991px){
 body.msb-artists-archive-active .main-container.msb-artists-archive-shell{padding-bottom:0!important}
 body.msb-artists-archive-active .main-content.msb-artists-archive-content{padding-bottom:var(--msb-mobile-fixed-ui-clearance,var(--msb-mobile-player-clearance,138px))!important}
 body.msb-artists-archive-active .msb-artists-directory{padding-bottom:0!important}
 body.msb-artists-archive-active .msb-artists-directory .msb-artists-load-more{min-height:0!important;margin-bottom:0!important;padding-bottom:6px!important}
 body.msb-artist-profile-active .msb-artist-profile-main{padding-bottom:0!important;margin-bottom:0!important}
 #artistPageContainer.artist-page-container{padding-bottom:0!important;margin-bottom:0!important}
 #artistPageContainer .other-artists-section{margin-bottom:0!important}
}


/* ===== 5.6.21 native English directory composition ===== */
html[lang="en"] .msb-artists-directory{direction:ltr!important}
html[lang="en"] .msb-artists-directory .msb-artists-hero{min-height:250px;padding:38px 360px 38px 30px;align-items:center}
html[lang="en"] .msb-artists-directory .msb-artists-hero__content{max-width:650px;text-align:left!important;direction:ltr!important;z-index:3}
html[lang="en"] .msb-artists-directory .msb-artists-hero h1{font-size:clamp(30px,3.8vw,46px);line-height:1.12;margin-bottom:12px;max-width:610px}
html[lang="en"] .msb-artists-directory .msb-artists-hero p{max-width:610px;line-height:1.75;text-align:left!important}
html[lang="en"] .msb-artists-directory .msb-artists-hero__stats{justify-content:flex-start;direction:ltr!important;margin-top:18px;position:relative;z-index:4}
html[lang="en"] .msb-artists-directory .msb-artists-hero__stats span{direction:ltr!important;white-space:nowrap}
html[lang="en"] .msb-artists-directory .msb-artists-hero__faces{left:auto!important;right:38px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;width:285px;justify-content:flex-end;z-index:2;pointer-events:none}
html[lang="en"] .msb-artists-directory .msb-artists-hero__nav{left:auto!important;right:18px!important;top:18px!important;z-index:5}
html[lang="en"] .msb-artists-directory .msb-artists-featured__head,
html[lang="en"] .msb-artists-directory .msb-artists-results-head,
html[lang="en"] .msb-artists-directory .msb-artists-toolbar{direction:ltr!important}
html[lang="en"] .msb-artists-directory .msb-artists-featured__head>div:first-child,
html[lang="en"] .msb-artists-directory .msb-artists-results-head>div:first-child{text-align:left!important}
html[lang="en"] .msb-artists-directory .msb-featured-artist__info,
html[lang="en"] .msb-artists-directory .msb-artist-card__info{text-align:left!important;direction:ltr!important}
html[lang="en"] .msb-artists-directory .msb-featured-artist__followers:after{content:" followers"!important}
html[lang="en"] .msb-artists-directory .msb-artists-search input{direction:ltr!important;text-align:left!important}
@media(max-width:1050px){html[lang="en"] .msb-artists-directory .msb-artists-hero{padding-right:300px}html[lang="en"] .msb-artists-directory .msb-artists-hero__faces{right:20px!important;width:240px}}
@media(max-width:760px){html[lang="en"] .msb-artists-directory .msb-artists-hero{padding:72px 22px 28px;min-height:auto}html[lang="en"] .msb-artists-directory .msb-artists-hero__faces{display:none!important}html[lang="en"] .msb-artists-directory .msb-artists-hero__content{max-width:none}html[lang="en"] .msb-artists-directory .msb-artists-hero h1{font-size:31px}}

/* Player artist -> official artist profile.
 * Only the rendered artist NAME owns the navigation hit-area. The surrounding
 * playlist row stays fully owned by Player Core, so tapping artwork/title/empty
 * card space selects and plays that queue item normally. */
.msb-artist-route-hit {
    display: inline;
    cursor: pointer;
    transition: color .16s ease, opacity .16s ease;
}

.msb-artist-route-hit:hover {
    color: var(--primary) !important;
}

.msb-artist-route-hit:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 5px;
}



/* ===== Song page artist follow — 5.6.32 / zero-prefetch compact surface ===== */
.msb-song-artists-follow {
    position: relative;
    margin: 12px 0 14px;
    padding: 10px 11px;
    border: 1px solid rgba(30,215,96,.12);
    border-radius: 17px;
    background:
        radial-gradient(300px 100px at 92% -35%, rgba(30,215,96,.12), transparent 70%),
        linear-gradient(145deg, rgba(14,18,15,.96), rgba(8,10,9,.985));
    box-shadow: 0 10px 28px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.02);
    overflow: hidden;
}
.msb-song-artists-follow__head {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: rgba(255,255,255,.78);
    font-size: 10.5px;
    font-weight: 900;
}
.msb-song-artists-follow__head-icon {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #43e77e;
    background: rgba(30,215,96,.09);
    border: 1px solid rgba(30,215,96,.15);
}
.msb-song-artists-follow__head-icon i { font-size: 9px; }
.msb-song-artists-follow__rail {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.msb-song-artist-chip {
    flex: 1 1 210px;
    min-width: 0;
    max-width: 310px;
    height: 58px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.msb-song-artist-chip:hover {
    border-color: rgba(30,215,96,.20);
    background: rgba(30,215,96,.035);
    transform: translateY(-1px);
}
.msb-song-artist-chip__identity {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none !important;
}
.msb-song-artist-chip__avatar {
    position: relative;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border-radius: 12px;
    background: #121713;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
.msb-song-artist-chip__avatar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(30,215,96,.10);
    pointer-events: none;
}
.msb-song-artist-chip__avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.035);
}
.msb-song-artist-chip__name {
    min-width: 0;
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.msb-song-artist-follow {
    flex: 0 0 auto;
    min-width: 84px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border: 1px solid rgba(30,215,96,.24);
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(30,215,96,.14), rgba(30,215,96,.07));
    color: #54ec89;
    font-family: inherit;
    font-size: 9.5px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
    transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.msb-song-artist-follow:hover,
.msb-song-artist-follow:focus-visible {
    color: #77f3a1;
    border-color: rgba(30,215,96,.40);
    background: rgba(30,215,96,.15);
    outline: none;
}
.msb-song-artist-follow.following {
    color: #dfffea;
    border-color: rgba(30,215,96,.38);
    background: rgba(30,215,96,.18);
}
.msb-song-artist-follow:disabled { opacity: .68; cursor: wait; }
.msb-song-artist-follow i { font-size: 8.5px; }

html[data-theme="light"] .msb-song-artists-follow {
    border-color: rgba(22,163,74,.11);
    background: linear-gradient(145deg, #fff, #f7faf8);
    box-shadow: 0 8px 24px rgba(15,23,42,.06);
}
html[data-theme="light"] .msb-song-artists-follow__head { color: #4b5563; }
html[data-theme="light"] .msb-song-artist-chip {
    border-color: rgba(15,23,42,.08);
    background: rgba(15,23,42,.025);
}
html[data-theme="light"] .msb-song-artist-chip__name { color: #111827; }

@media (max-width: 640px) {
    .msb-song-artists-follow {
        margin: 10px 0 12px;
        padding: 8px 0 9px;
        border-radius: 15px;
    }
    .msb-song-artists-follow__head {
        margin-bottom: 7px;
        padding: 0 9px;
        font-size: 9.5px;
    }
    .msb-song-artists-follow__head-icon {
        width: 23px;
        height: 23px;
        border-radius: 8px;
    }
    .msb-song-artists-follow__rail {
        flex-wrap: nowrap;
        gap: 7px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding: 0 9px 1px;
        -webkit-overflow-scrolling: touch;
    }
    .msb-song-artists-follow__rail::-webkit-scrollbar { display: none; }
    .msb-song-artist-chip {
        flex: 0 0 min(74vw, 244px);
        max-width: none;
        height: 54px;
        padding: 5px;
        border-radius: 13px;
        scroll-snap-align: start;
        transform: none !important;
    }
    .msb-song-artists-follow__rail > .msb-song-artist-chip:only-child {
        flex-basis: min(88vw, 300px);
    }
    .msb-song-artist-chip__avatar {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }
    .msb-song-artist-chip__name { font-size: 11.5px; }
    .msb-song-artist-follow {
        min-width: 76px;
        height: 32px;
        padding: 0 8px;
        border-radius: 10px;
        font-size: 8.8px;
    }
}


/* ===== Song hero inline Follow — 5.6.34 / icon-only + verified state ===== */
.msb-song-hero .app-artist-wrapper.has-inline-follow {
    overflow: visible;
}
.msb-song-hero .msb-artist-names--inline-follow {
    gap: 5px 7px;
}
.msb-song-artist-inline-unit {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.msb-song-inline-follow-shell {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}
html[dir="ltr"] .msb-song-artist-inline-unit > .msb-song-inline-follow-shell {
    order: 2;
}
.msb-song-inline-follow-button {
    width: 29px;
    min-width: 29px;
    height: 29px;
    padding: 0;
    border: 1px solid rgba(30,215,96,.30);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(30,215,96,.16), rgba(30,215,96,.07));
    color: #55ee8b;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 5px 16px rgba(0,0,0,.10);
    font-family: inherit;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.msb-song-inline-follow-button > span {
    display: none !important;
}
.msb-song-inline-follow-button {
    overflow: hidden;
}
.msb-song-inline-follow-button > i {
    width: auto !important;
    height: auto !important;
    flex: 0 0 auto !important;
    display: inline !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: currentColor !important;
    font-size: 9px !important;
    opacity: 1 !important;
}
.msb-song-inline-follow-button:hover,
.msb-song-inline-follow-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(30,215,96,.52);
    background: linear-gradient(135deg, rgba(30,215,96,.24), rgba(30,215,96,.11));
    color: #86f6ac;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 7px 18px rgba(0,0,0,.13);
    outline: none;
}
.msb-song-inline-follow-button.following {
    color: #e7ffef;
    border-color: rgba(30,215,96,.42);
    background: rgba(30,215,96,.19);
}
.msb-song-inline-follow-button.is-multi {
    width: 27px;
    min-width: 27px;
    height: 27px;
    padding: 0;
    font-size: 9px;
}
.msb-song-inline-follow-button:disabled {
    opacity: .66;
    cursor: wait;
    transform: none;
}
html[data-theme="light"] .msb-song-inline-follow-button {
    border-color: rgba(22,163,74,.24);
    background: linear-gradient(135deg, rgba(22,163,74,.10), rgba(22,163,74,.045));
    color: #16823d;
    box-shadow: none;
}
html[data-theme="light"] .msb-song-inline-follow-button.following {
    border-color: rgba(22,163,74,.34);
    background: rgba(22,163,74,.12);
    color: #116c33;
}


/* Related header Follow — 5.6.35 / same state as Hero, no extra surface */
.msb-song-related-follow-shell {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}
.msb-song-related-follow-button {
    min-width: 82px;
    width: auto;
    height: 29px;
    padding: 0 10px;
    border-radius: 999px;
    gap: 5px;
    font-size: 10px;
    line-height: 1;
    box-shadow: none;
}
.msb-song-related-follow-button > i {
    font-size: 8.5px;
}
.msb-song-related-follow-button.following {
    color: #dfffea;
    border-color: rgba(30,215,96,.34);
    background: rgba(30,215,96,.14);
}
html[data-theme="light"] .msb-song-related-follow-button.following {
    color: #116c33;
    border-color: rgba(22,163,74,.30);
    background: rgba(22,163,74,.10);
}

@media (max-width: 640px) {
    .msb-song-hero .app-artist-wrapper.has-inline-follow {
        width: 100%;
        max-width: 100%;
        min-height: 34px;
        padding: 4px 6px;
        overflow: hidden;
        justify-content: center;
        text-align: center;
    }
    .msb-song-hero .msb-artist-names--inline-follow {
        width: 100%;
        max-width: 100%;
        flex-wrap: nowrap;
        justify-content: center;
        justify-content: safe center;
        gap: 5px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding: 0 1px;
    }
    .msb-song-hero .msb-artist-names--inline-follow::-webkit-scrollbar { display: none; }
    .msb-song-artist-inline-unit,
    .msb-song-hero .msb-artist-names--inline-follow .artist-sep {
        flex: 0 0 auto;
    }
    .msb-song-hero .msb-artist-names--inline-follow .artist-name-item {
        max-width: min(44vw, 156px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .msb-song-inline-follow-button {
        width: 28px;
        min-width: 28px;
        height: 28px;
        padding: 0;
        font-size: 9px;
    }
    .msb-song-inline-follow-button.is-multi {
        width: 26px;
        min-width: 26px;
        height: 26px;
        padding: 0;
        font-size: 8.7px;
    }
    .msb-song-related-follow-button {
        min-width: 76px;
        height: 27px;
        padding: 0 9px;
        font-size: 9.2px;
    }
}


/* 5.6.53 — English search direction: the server-rendered surface language wins. */
.msb-artists-directory[data-language="en"] .msb-artists-search{direction:ltr!important;}
.msb-artists-directory[data-language="en"] .msb-artists-search input{direction:ltr!important;text-align:left!important;}
.msb-artists-directory[data-language="en"] .msb-artists-search input::placeholder{direction:ltr!important;text-align:left!important;}
html[lang^="en"] .msb-artists-directory .msb-artists-search input::placeholder{direction:ltr!important;text-align:left!important;}


/* 5.6.54 — Shared recommended artists surface (artist + song pages). */
.msb-song-recommended-artists {
    margin: 22px 0;
    padding: 18px;
    border: 1px solid rgba(30,215,96,.12);
    border-radius: 20px;
    background: linear-gradient(145deg,rgba(30,215,96,.055),rgba(255,255,255,.018));
    overflow: hidden;
    font-family: inherit;
}
.msb-song-recommended-artists__head {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
}
.msb-song-recommended-artists__head h3 { margin:3px 0 0; font-size:18px; line-height:1.35; }
.msb-song-recommended-artists__eyebrow { display:inline-flex;align-items:center;gap:6px;color:#1ed760;font-size:10px;font-weight:800; }
.msb-song-recommended-artists__all { display:inline-flex;align-items:center;gap:6px;color:#1ed760;text-decoration:none;font-size:11px;font-weight:800;white-space:nowrap; }
.msb-song-recommended-artists__rail { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px; }
.msb-song-recommended-artist { min-width:0;padding:10px;border:1px solid rgba(255,255,255,.06);border-radius:15px;background:rgba(255,255,255,.025); }
.msb-song-recommended-artist__identity { display:flex;align-items:center;gap:9px;min-width:0;color:inherit;text-decoration:none; }
.msb-song-recommended-artist__avatar { width:46px;height:46px;flex:0 0 46px;border-radius:13px;overflow:hidden;background:rgba(255,255,255,.05); }
.msb-song-recommended-artist__avatar img { width:100%;height:100%;object-fit:cover;display:block; }
.msb-song-recommended-artist__identity strong { min-width:0;font-size:11px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.msb-song-recommended-artist__follow { width:100%;min-height:29px;margin-top:8px;padding:5px 7px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid rgba(30,215,96,.23);border-radius:9px;background:rgba(30,215,96,.08);color:#1ed760;font:inherit;font-size:9.5px;font-weight:800;cursor:pointer; }
.msb-song-recommended-artist__follow.following { background:rgba(30,215,96,.18);border-color:rgba(30,215,96,.38); }
.msb-song-recommended-artist__follow:disabled { opacity:.65;cursor:wait; }
html[dir="ltr"] .msb-song-recommended-artists__all i { transform:scaleX(-1); }
@media (max-width:991px) {
    .msb-song-recommended-artists { margin:16px 0;padding:14px 12px;border-radius:17px; }
    .msb-song-recommended-artists__head { align-items:center;margin-bottom:11px; }
    .msb-song-recommended-artists__head h3 { font-size:15px; }
    .msb-song-recommended-artists__rail { display:flex;gap:9px;overflow-x:auto;overflow-y:hidden;padding:1px 1px 6px;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch; }
    .msb-song-recommended-artists__rail::-webkit-scrollbar { display:none; }
    .msb-song-recommended-artist { flex:0 0 132px;width:132px;scroll-snap-align:start;padding:9px; }
    .msb-song-recommended-artist__identity { flex-direction:column;gap:7px;text-align:center; }
    .msb-song-recommended-artist__avatar { width:62px;height:62px;flex-basis:62px;border-radius:16px; }
    .msb-song-recommended-artist__identity strong { width:100%;font-size:10.5px; }
    .msb-song-recommended-artist__follow { min-height:28px;margin-top:7px;font-size:9px; }
}
html[data-theme="light"] .msb-song-recommended-artists {
    background: linear-gradient(145deg,rgba(30,215,96,.07),rgba(255,255,255,.96));
    border-color: rgba(18,123,59,.14);
}
html[data-theme="light"] .msb-song-recommended-artist {
    background: rgba(255,255,255,.82);
    border-color: rgba(15,23,42,.08);
}
html[data-theme="light"] .msb-song-recommended-artist__identity strong { color:#111827; }
html[data-theme="light"] .msb-song-recommended-artist__follow {
    background: rgba(22,163,74,.08);
    border-color: rgba(22,163,74,.2);
    color:#15803d;
}
html[data-theme="light"] .msb-song-recommended-artist__follow.following {
    background: rgba(22,163,74,.14);
    border-color: rgba(22,163,74,.32);
}

/* 5.6.55 — reserve recommendation cards stay in DOM for the existing follow-state batch,
   but only the discovery-first visible set is painted. */
[data-msb-artist-recommendations] [data-recommendation-card].is-reco-hidden { display:none!important; }

/* 5.6.70 — recommendation visibility has a single owner.
 * Follow state is recorded in DOM/runtime, but only the JS rebalance pass toggles
 * .is-reco-hidden. Do not add :has(.following) display rules here: they can hide
 * a card after a completed rebalance without promoting a reserve candidate. */


/* =============================================================
 * 5.6.60 — Gapless discovery + polished song-page artist cards
 * Pure layout/presentation. Reserve candidates remain display:none until
 * the existing follow-state batch promotes them. No request/query is added.
 * =========================================================== */
@media (min-width:992px){
    .msb-song-recommended-artists__rail{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        align-items:stretch;
        gap:11px;
    }
    .msb-song-recommended-artist{
        box-sizing:border-box;
        flex:0 1 calc((100% - 44px)/5);
        width:calc((100% - 44px)/5);
        max-width:calc((100% - 44px)/5);
        min-width:0;
        min-height:158px;
        padding:13px 11px 11px;
        display:flex;
        flex-direction:column;
        align-items:stretch;
        position:relative;
        overflow:hidden;
        border-color:rgba(30,215,96,.09);
        background:
            radial-gradient(circle at 50% -25%,rgba(30,215,96,.11),transparent 54%),
            rgba(255,255,255,.025);
        transition:border-color .18s ease,background .18s ease,transform .18s ease;
    }
    .msb-song-recommended-artist:hover{
        transform:translateY(-2px);
        border-color:rgba(30,215,96,.26);
        background:
            radial-gradient(circle at 50% -25%,rgba(30,215,96,.17),transparent 54%),
            rgba(255,255,255,.035);
    }
    .msb-song-recommended-artist__identity{
        flex:1 1 auto;
        flex-direction:column;
        justify-content:flex-start;
        gap:8px;
        text-align:center;
    }
    .msb-song-recommended-artist__avatar{
        width:66px;
        height:66px;
        flex:0 0 66px;
        border-radius:50%;
        border:2px solid rgba(30,215,96,.28);
        box-shadow:0 7px 18px rgba(0,0,0,.2);
    }
    .msb-song-recommended-artist__copy{
        width:100%;
        min-width:0;
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:3px;
    }
    .msb-song-recommended-artist__identity strong{
        width:100%;
        font-size:11.5px;
        font-weight:800;
        text-align:center;
    }
    .msb-song-recommended-artist__meta{
        display:inline-flex;
        align-items:center;
        gap:4px;
        min-height:19px;
        padding:2px 6px;
        border-radius:999px;
        background:rgba(0,0,0,.22);
        color:#aeb7b1;
        font-size:8.5px;
        font-weight:700;
        line-height:1;
    }
    .msb-song-recommended-artist__meta i{color:#1ed760;font-size:8px}
    .msb-song-recommended-artist__follow{
        margin-top:9px;
        min-height:31px;
        border-radius:10px;
    }
}
@media (max-width:991px){
    .msb-song-recommended-artist__copy{
        width:100%;
        min-width:0;
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:2px;
    }
    .msb-song-recommended-artist__meta{
        display:inline-flex;
        align-items:center;
        gap:3px;
        color:#9ca6a0;
        font-size:8px;
        font-weight:700;
    }
    .msb-song-recommended-artist__meta i{color:#1ed760;font-size:7px}
}
html[data-theme="light"] .msb-song-recommended-artist__meta{
    background:rgba(15,23,42,.055);
    color:#64748b;
}


/* 5.6.74 — Local artist search history. LocalStorage-only; selecting a query uses the existing search request. */
.msb-artists-directory .msb-artists-toolbar{position:relative}
.msb-artists-directory .msb-artists-search-history{
    position:absolute;z-index:45;top:calc(100% + 7px);inset-inline-start:12px;
    width:min(440px,calc(100% - 24px));padding:7px;box-sizing:border-box;
    border:1px solid var(--ar-border);border-radius:14px;background:rgba(12,12,12,.98);
    box-shadow:0 14px 34px rgba(0,0,0,.3);direction:rtl;backdrop-filter:blur(18px)
}
.msb-artists-directory[data-language="en"] .msb-artists-search-history{direction:ltr}
.msb-artists-directory .msb-artists-search-history[hidden]{display:none!important}
.msb-artists-search-history__head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 5px 6px}
.msb-artists-search-history__head strong{font-size:10px;color:var(--ar-text)}
.msb-artists-search-history__head button,
.msb-artists-search-history__row button{border:0;font-family:inherit;cursor:pointer}
.msb-artists-search-history__head button{padding:5px 7px;border-radius:8px;background:transparent;color:var(--ar-muted);font-size:9px}
.msb-artists-search-history__row{display:flex;align-items:center;gap:3px;border-radius:9px}
.msb-artists-search-history__row:hover{background:rgba(255,255,255,.045)}
.msb-artists-search-history__row button[data-history-query]{flex:1;min-width:0;min-height:36px;padding:6px 7px;display:flex;align-items:center;gap:8px;background:transparent;color:var(--ar-text);text-align:start;font-size:10px}
.msb-artists-search-history__row button[data-history-query] span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msb-artists-search-history__row button[data-history-query] i{color:var(--ar-muted);font-size:9px}
.msb-artists-search-history__row button[data-history-remove]{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:transparent;color:var(--ar-muted)}
html[data-theme="light"] .msb-artists-directory .msb-artists-search-history{background:rgba(255,255,255,.98);box-shadow:0 14px 34px rgba(15,23,42,.12)}
@media(max-width:900px){
    .msb-artists-directory .msb-artists-search-history{top:58px;inset-inline:8px;width:auto}
}
@media(max-width:620px){
    .msb-artists-directory .msb-artists-search-history{top:54px;padding:6px;border-radius:12px}
    .msb-artists-search-history__row button[data-history-query]{min-height:40px;font-size:11px}
}
