.msb-language-switch{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 9px;border:1px solid rgba(30,215,96,.46);border-radius:12px;background:rgba(30,215,96,.025);color:var(--text-sec,#b3b3b3);font:750 11px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;text-decoration:none;letter-spacing:.4px;box-shadow:0 0 0 1px rgba(30,215,96,.025);transition:.18s ease;cursor:pointer}
.msb-language-switch:hover{color:var(--primary,#1ed760);border-color:rgba(30,215,96,.72);background:rgba(30,215,96,.07);box-shadow:0 0 10px rgba(30,215,96,.07)}
.mobile-header .msb-language-switch{width:36px;min-width:36px;flex:0 0 36px;padding:0}
html[lang="en"],html[lang="en"] body{direction:ltr!important}
html[lang="en"] body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;text-align:left}
html[lang="en"] button,html[lang="en"] input,html[lang="en"] textarea,html[lang="en"] select{font-family:inherit}
@media (min-width:992px){
  .desktop-sidebar .sidebar-logo{position:relative;padding-bottom:34px!important}.desktop-sidebar .sidebar-logo>.msb-language-switch{position:absolute;top:84px;left:14px;right:auto;z-index:4;width:34px;height:34px;min-width:34px;padding:0}
  html[lang="en"] .desktop-sidebar{left:0!important;right:auto!important;border-left:0!important;border-right:1px solid var(--border,#2a2a2a)!important}
  html[lang="en"] .main-container{margin-left:260px!important;margin-right:0!important}
  html[lang="en"] .install-btn{left:280px!important;right:auto!important}
  html[lang="en"] .desktop-sidebar .sidebar-logo .msbn-native-launcher{left:14px!important;right:auto!important}
}
html[lang="en"] .sidebar-menu li a,html[lang="en"] .sidebar-user-link,html[lang="en"] .sidebar-search-box,html[lang="en"] .mobile-header,html[lang="en"] .app-page-header{direction:ltr;text-align:left}
html[lang="en"] .sidebar-search input,html[lang="en"] .search-input,html[lang="en"] input[type="search"]{text-align:left!important;direction:ltr!important}
html[lang="en"] .app-back-btn i,html[lang="en"] [class*="back"] .fa-arrow-right{transform:rotate(180deg)}
html[lang="en"] .msb-artist-card__open .fa-arrow-left{transform:rotate(180deg)}
html[lang="en"] .new-player,html[lang="en"] .player-modal,html[lang="en"] .app-song-page,html[lang="en"] .msb-sub-page,html[lang="en"] .msb-account-page,html[lang="en"] .msb-dashboard{direction:ltr!important;text-align:left}
html[lang="en"] .artist-names,html[lang="en"] .song-title,html[lang="en"] .song-artist,html[lang="en"] .playlist-title,html[lang="en"] .msb-term-identity-copy{text-align:left!important;direction:ltr!important}
html[lang="en"] .msb-term-identity-copy{align-items:flex-start!important}
html[lang="en"] .msb-language-switch{direction:ltr!important}
@media(max-width:430px){.mobile-header .msb-language-switch{width:34px;min-width:34px;height:34px}}
@media(max-width:360px){.mobile-header .msb-language-switch{width:31px;min-width:31px;height:31px;font-size:10px}}
html[lang="en"] .msb-featured-artist__followers:after{content:" followers"!important}

/* English desktop owns the opposite sidebar edge. Keep the fixed player inside
   the content safe area instead of reusing the Persian right-sidebar geometry. */
@media (min-width:992px){
  html[lang="en"] .new-player{
    left:260px!important;
    right:0!important;
    border-left:1px solid var(--border,#2a2a2a)!important;
    border-right:0!important;
  }
}
html[lang="en"] .new-player-title,
html[lang="en"] .new-player-artist{
  direction:ltr!important;
  text-align:left!important;
  unicode-bidi:plaintext;
}

/* ===== Native English geometry / alignment ===== */
html[lang="en"] .msb-back-to-top{left:auto!important;right:18px!important}
@media(max-width:991px){html[lang="en"] .msb-back-to-top{left:auto!important;right:14px!important}}

html[lang="en"] .music-details,
html[lang="en"] .app-song-info,
html[lang="en"] .song-title,
html[lang="en"] .artist-name,
html[lang="en"] .app-song-title,
html[lang="en"] .app-song-artist,
html[lang="en"] .app-song-title-main,
html[lang="en"] .artist-names,
html[lang="en"] .artist-name-item,
html[lang="en"] .new-player-title,
html[lang="en"] .new-player-artist,
html[lang="en"] .popup-song-title,
html[lang="en"] .popup-song-artist,
html[lang="en"] .grid-card-info,
html[lang="en"] .grid-card-title,
html[lang="en"] .msb-playlist-rec-card__info,
html[lang="en"] .dashboard-song-card-info,
html[lang="en"] .recently-info,
html[lang="en"] .recently-title-text,
html[lang="en"] .recently-artist,
html[lang="en"] .top-song-title,
html[lang="en"] .top-song-artist,
html[lang="en"] .song-info-modern{
  direction:ltr!important;text-align:left!important;unicode-bidi:plaintext;
}
html[lang="en"] .music-card,
html[lang="en"] .msb-home-content,
html[lang="en"] .msb-home-section,
html[lang="en"] .section-header,
html[lang="en"] .section-title,
html[lang="en"] .recommended-section,
html[lang="en"] .moods-section{direction:ltr!important}
html[lang="en"] .section-header,
html[lang="en"] .related-header-app{flex-direction:row!important}

/* Artist and playlist components ship RTL-first; English owns a real LTR layout. */
html[lang="en"] .msb-artists-directory,
html[lang="en"] .msb-artists-archive-shell,
html[lang="en"] .msb-artists-archive-content,
html[lang="en"] .msb-artists-hero,
html[lang="en"] .msb-artists-toolbar,
html[lang="en"] .playlist-page,
html[lang="en"] .playlist-hero,
html[lang="en"] .playlist-discovery,
html[lang="en"] .msb-playlist-archive-page,
html[lang="en"] .msb-playlist-archive-host,
html[lang="en"] .single-playlist-container,
html[lang="en"] .msb-playlist-single-host{direction:ltr!important;text-align:left!important}
html[lang="en"] .msb-artist-card__info,
html[lang="en"] .msb-featured-artist__info,
html[lang="en"] .grid-card-info,
html[lang="en"] .msb-playlist-rec-card__info,
html[lang="en"] .playlist-hero-copy,
html[lang="en"] .playlist-discovery-heading,
html[lang="en"] .playlist-discovery-hint{text-align:left!important;direction:ltr!important}
html[lang="en"] .msb-featured-artist__info{align-items:flex-start!important}

/* Dashboard / account / club: change the component geometry, not user-entered content. */
html[lang="en"] .msb-dashboard,
html[lang="en"] .dashboard-container,
html[lang="en"] .dashboard-section,
html[lang="en"] .dashboard-section-header,
html[lang="en"] .msb-account-page,
html[lang="en"] .msb-club-hero,
html[lang="en"] .msb-club-rewards-wrap,
html[lang="en"] .msb-club-reward-card,
html[lang="en"] .msb-club-reward-modal,
html[lang="en"] .msb-club-reward-modal-card{direction:ltr!important;text-align:left!important}
html[lang="en"] .msb-club-reward-card,
html[lang="en"] .msb-club-reward-modal-description,
html[lang="en"] .msb-club-reward-modal-note{text-align:left!important}
html[lang="en"] .msb-club-reward-modal-close{left:auto!important;right:14px!important}
html[lang="en"] .msb-club-reward-modal-brand{padding-left:0!important;padding-right:44px!important}

/* Full player modal / drawers. Player Core is intentionally untouched. */
html[lang="en"] .player-modal-title,
html[lang="en"] .player-modal-artist{direction:ltr!important;unicode-bidi:plaintext}
html[lang="en"] .playlist-header-modal,
html[lang="en"] .details-header-modal,
html[lang="en"] .lyrics-header-modal,
html[lang="en"] .playlist-list-modal,
html[lang="en"] .playlist-modal-item,
html[lang="en"] .playlist-modal-info,
html[lang="en"] .details-content-modal,
html[lang="en"] .details-modal-value,
html[lang="en"] .details-modal-note,
html[lang="en"] .lyrics-content-modal{direction:ltr!important;text-align:left!important}
html[lang="en"] .playlist-modal-item:hover{padding-left:20px!important;padding-right:16px!important}
html[lang="en"] .playlist-modal-item.active{border-left:3px solid var(--primary)!important;border-right:0!important;background:linear-gradient(90deg,rgba(29,185,84,.15),transparent)!important}

/* English lyrics + opt-in original Persian lyrics/translation. */
html[lang="en"] .lyrics-content-app{direction:ltr!important;text-align:left!important}
.msb-lyrics-bilingual{display:block;white-space:pre-line}
.msb-lyrics-primary{direction:ltr;text-align:left;unicode-bidi:plaintext;white-space:pre-line}
.msb-lyrics-primary-empty{color:var(--text-sec,#a7a7a7);font-style:italic}
.msb-lyrics-translation[hidden]{display:none!important}
html[lang="en"] .msb-lyrics-translation[data-msb-lang-preserve]{direction:rtl!important;text-align:right!important;unicode-bidi:plaintext;white-space:pre-line;font-family:'Vazirmatn',Tahoma,Arial,sans-serif!important;margin-top:14px;padding-top:14px;border-top:1px solid var(--border,#2a2a2a)}
.msb-lyrics-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.msb-lyrics-translation-toggle{border:1px solid rgba(30,215,96,.28);background:rgba(30,215,96,.08);color:var(--primary,#1ed760);border-radius:999px;padding:7px 12px;font-size:11px;font-weight:800;cursor:pointer;font-family:inherit;line-height:1.3}
.msb-lyrics-translation-toggle:hover{background:rgba(30,215,96,.16)}
.msb-lyrics-translation-toggle--inline{display:block;margin:0 0 12px auto}
html[lang="en"] .lyrics-content-modal .msb-lyrics-translation-toggle--inline{margin-left:0;margin-right:auto}

/* Inputs may contain user content; let the Unicode algorithm pick the correct direction. */
html[lang="en"] textarea:not([data-msb-force-ltr]),
html[lang="en"] input[dir="auto"]{unicode-bidi:plaintext}


/* ===== Component-specific LTR completion ===== */
html[lang="en"] .artist-page-container,
html[lang="en"] .artist-header,
html[lang="en"] .artist-info,
html[lang="en"] .artist-details,
html[lang="en"] .artist-header-meta,
html[lang="en"] .artist-stats,
html[lang="en"] .artist-tabs,
html[lang="en"] .artist-tab-content,
html[lang="en"] .artist-songs-list,
html[lang="en"] .artist-song-item,
html[lang="en"] .artist-albums-grid,
html[lang="en"] .album-card,
html[lang="en"] .artist-video-player-layout,
html[lang="en"] .artist-video-playlist,
html[lang="en"] .other-artists-section,
html[lang="en"] .other-artists-grid{direction:ltr!important}
html[lang="en"] .artist-details,
html[lang="en"] .artist-bio,
html[lang="en"] .song-info,
html[lang="en"] .album-info,
html[lang="en"] .artist-video-item-info,
html[lang="en"] .other-artist-name{text-align:left!important;direction:ltr!important;unicode-bidi:plaintext}

html[lang="en"] .dashboard-modern,
html[lang="en"] .dashboard-content-modern,
html[lang="en"] .welcome-card,
html[lang="en"] .stats-full-row,
html[lang="en"] .stat-card,
html[lang="en"] .dashboard-quick-nav,
html[lang="en"] .dashboard-subscription-compact,
html[lang="en"] .personal-suggestions-section,
html[lang="en"] .recently-played-section,
html[lang="en"] .recently-header,
html[lang="en"] .recently-list,
html[lang="en"] .recently-item,
html[lang="en"] .playlists-modern,
html[lang="en"] .playlists-header-modern,
html[lang="en"] .playlists-grid-modern,
html[lang="en"] .playlists-list-modern,
html[lang="en"] .dashboard-following-group,
html[lang="en"] .songs-page-container,
html[lang="en"] .songs-hero-mini,
html[lang="en"] .songs-list-modern,
html[lang="en"] .song-item-modern{direction:ltr!important}
html[lang="en"] .welcome-text,
html[lang="en"] .stat-card-info,
html[lang="en"] .dashboard-section-header,
html[lang="en"] .playlists-title-modern,
html[lang="en"] .playlist-info-modern,
html[lang="en"] .playlist-title-display,
html[lang="en"] .row-title,
html[lang="en"] .row-meta,
html[lang="en"] .followed-playlist-info,
html[lang="en"] .followed-playlists-heading-copy,
html[lang="en"] .songs-hero-mini-info,
html[lang="en"] .song-title-modern,
html[lang="en"] .song-artist-modern{text-align:left!important;direction:ltr!important;unicode-bidi:plaintext}

html[lang="en"] .playlist-header-top,
html[lang="en"] .playlist-hero-main,
html[lang="en"] .playlist-hero-toolbar,
html[lang="en"] .playlist-search-container,
html[lang="en"] .playlist-category-rail,
html[lang="en"] .playlist-grid,
html[lang="en"] .grid-card,
html[lang="en"] .grid-card-main,
html[lang="en"] .grid-card-footer,
html[lang="en"] .msb-playlist-recommendations,
html[lang="en"] .msb-playlist-recommendations__head,
html[lang="en"] .msb-playlist-recommendations__rail{direction:ltr!important}

/* Keep true user-authored/Persian blocks readable even on an English shell. */
html[lang="en"] [data-msb-lang-preserve="fa"]{direction:rtl!important;text-align:right!important;font-family:'Vazirmatn',Tahoma,Arial,sans-serif!important}


/* ===== 1.3.3 track-page composition: LTR text, Persian-equivalent centered geometry ===== */
html[lang="en"] .app-song-page .app-song-info,
html[lang="en"] .app-song-page .app-song-info-center,
html[lang="en"] .app-song-page .app-song-title,
html[lang="en"] .app-song-page .app-song-title-main,
html[lang="en"] .app-song-page .song-title,
html[lang="en"] .app-song-page .artist-names,
html[lang="en"] .app-song-page .artist-name-item{
  direction:ltr!important;text-align:center!important;unicode-bidi:plaintext;
}
html[lang="en"] .app-song-page .app-artist-wrapper,
html[lang="en"] .app-song-page .app-song-stats{direction:ltr!important;justify-content:center!important;text-align:center!important}
html[lang="en"] .app-song-page .artist-names{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px}
html[lang="en"] .app-song-page .app-song-actions{direction:ltr!important;justify-content:center!important}
html[lang="en"] .msb-player-inline-lyrics-wrap--english{direction:ltr!important;text-align:left!important;margin-top:16px}
html[lang="en"] .msb-player-inline-lyrics-wrap--english textarea{direction:ltr!important;text-align:left!important;unicode-bidi:plaintext}

/* Notification content follows the English shell; Persian-preserved content remains excluded. */
html[lang="en"] #msb-smart-notify-root .msbn-root,
html[lang="en"] #msb-smart-notify-root .msbn-center,
html[lang="en"] #msb-smart-notify-root .msbn-center-panel{direction:ltr!important}
html[lang="en"] #msb-smart-notify-root .msbn-center-item,
html[lang="en"] #msb-smart-notify-root .msbn-center-item-copy,
html[lang="en"] #msb-smart-notify-root .msbn-center-item-copy time,
html[lang="en"] #msb-smart-notify-root .msbn-push-control{text-align:left!important;direction:ltr!important}
html[lang="en"] #msb-smart-notify-root .msbn-center-item.is-unread .msbn-center-item-copy b:before{margin-left:0!important;margin-right:7px!important}

/* ===== 1.3.3 subscription native LTR geometry ===== */
html[lang="en"] .msb-subscription-page,
html[lang="en"] .msb-subscription-page .msb-subscription-header,
html[lang="en"] .msb-subscription-page .msb-coupon-box,
html[lang="en"] .msb-subscription-page .msb-plans-grid,
html[lang="en"] .msb-subscription-page .msb-plan-card,
html[lang="en"] .msb-subscription-page .plan-features{direction:ltr!important}
html[lang="en"] .msb-subscription-page .msb-coupon-toggle,
html[lang="en"] .msb-subscription-page .msb-coupon-content,
html[lang="en"] .msb-subscription-page .plan-features{text-align:left!important}
html[lang="en"] .msb-subscription-page .msb-plans-grid{direction:ltr!important}
html[lang="en"] .msb-subscription-page .msb-plan-card,
html[lang="en"] .msb-subscription-page .msb-subscription-header,
html[lang="en"] .msb-subscription-page .msb-subscription-status{text-align:center!important}
html[lang="en"] .msb-subscription-page .msb-coupon-row input{direction:ltr!important;text-align:left!important}


/* ===== 1.3.4 English lyrics workspace ===== */
html[lang="en"] .app-song-page .app-lyrics{
  border:1px solid rgba(255,255,255,.075);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012));overflow:hidden;
}
html[lang="en"] .app-song-page .lyrics-header-app{padding:16px 18px;border-bottom:1px solid rgba(255,255,255,.065);align-items:center}
html[lang="en"] .app-song-page .lyrics-header-app h3{margin:0;display:flex;align-items:center;gap:8px;font-size:16px;letter-spacing:-.01em}
html[lang="en"] .app-song-page .msb-lyrics-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
html[lang="en"] .app-song-page .msb-lyrics-translation-toggle,
html[lang="en"] .app-song-page .copy-lyrics-app{min-height:34px;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:800}
html[lang="en"] .app-song-page .lyrics-content-app{padding:22px 18px;min-height:118px;line-height:2;white-space:pre-wrap}
html[lang="en"] .app-song-page .msb-lyrics-primary{max-width:860px;margin:0 auto;text-align:left!important;direction:ltr!important;unicode-bidi:plaintext}
html[lang="en"] .app-song-page .msb-lyrics-primary-empty{white-space:normal;display:grid;gap:6px;align-content:center;min-height:76px;color:#b9b9b9;font-style:normal}
html[lang="en"] .app-song-page .msb-lyrics-primary-empty:before{content:"English lyrics are not available yet";font-size:15px;font-weight:900;color:#fff}
html[lang="en"] .app-song-page .msb-lyrics-primary-empty{font-size:0}
html[lang="en"] .app-song-page .msb-lyrics-primary-empty:after{content:"You can view the Persian lyrics or help add the English version below.";font-size:12px;line-height:1.8;color:#929292}
html[lang="en"] .app-song-page .msb-lyrics-translation{margin:16px auto 0;padding:18px;border-radius:16px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06);line-height:2.15;white-space:pre-wrap}
html[lang="en"] .app-song-page .msb-song-feedback-lyrics-only{margin-top:12px;border-radius:20px;padding:15px 16px;background:linear-gradient(110deg,rgba(30,215,96,.08),rgba(255,255,255,.018));border:1px solid rgba(30,215,96,.22)}
html[lang="en"] .app-song-page .msb-song-feedback-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center}
html[lang="en"] .app-song-page .msb-song-feedback-copy{text-align:left!important;direction:ltr!important}
html[lang="en"] .app-song-page .msb-song-feedback-copy strong{display:block;font-size:13px;margin-bottom:3px}
html[lang="en"] .app-song-page .msb-song-feedback-copy small{display:block;color:#9a9a9a;line-height:1.65}
html[lang="en"] .app-song-page .msb-song-feedback-toggle{white-space:nowrap;border-radius:12px;min-height:38px;padding:0 14px;font-weight:900}
html[lang="en"] .app-song-page .msb-song-feedback-form{margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.07);direction:ltr!important;text-align:left!important}
html[lang="en"] .app-song-page .msb-song-feedback-form label{display:block;margin-bottom:8px;font-size:12px;font-weight:900}
html[lang="en"] .app-song-page .msb-song-feedback-form textarea{width:100%;min-height:230px;resize:vertical;border-radius:14px;padding:14px;line-height:1.8;direction:ltr!important;text-align:left!important;unicode-bidi:plaintext}
html[lang="en"] .app-song-page .msb-song-feedback-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px;direction:ltr!important}
html[lang="en"] .lyrics-content-modal .msb-lyrics-primary-empty{font-size:0!important;white-space:normal!important;min-height:auto!important;margin:8px 0 4px!important}
html[lang="en"] .lyrics-content-modal .msb-lyrics-primary-empty:before{content:"English lyrics are not available yet";display:block;font-size:14px!important;font-style:normal;font-weight:900;color:#fff;margin-bottom:6px}
html[lang="en"] .lyrics-content-modal .msb-lyrics-primary-empty:after{content:"Open the Persian lyrics or add the English version below.";display:block;font-size:11px!important;line-height:1.7;color:#969696;font-style:normal}
html[lang="en"] .msb-player-inline-lyrics-wrap--english{margin:18px 18px 22px;padding:16px;border:1px solid rgba(30,215,96,.18);border-radius:18px;background:linear-gradient(145deg,rgba(30,215,96,.07),rgba(255,255,255,.02));box-sizing:border-box}
html[lang="en"] .msb-player-inline-lyrics-head{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;margin-bottom:13px}
html[lang="en"] .msb-player-inline-lyrics-head>i{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:rgba(30,215,96,.12);color:#1ed760}
html[lang="en"] .msb-player-inline-lyrics-head strong,html[lang="en"] .msb-player-inline-lyrics-head span{display:block;text-align:left}
html[lang="en"] .msb-player-inline-lyrics-head span{font-size:11px;line-height:1.65;color:#9b9b9b;margin-top:2px}
html[lang="en"] .msb-player-inline-feedback-form label{font-size:11px;font-weight:900;display:block;margin-bottom:7px}
html[lang="en"] .msb-player-inline-feedback-form textarea{width:100%;min-height:210px;border-radius:13px;padding:12px;box-sizing:border-box;line-height:1.75;background:rgba(0,0,0,.2)}
html[lang="en"] .msb-player-inline-feedback-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
html[lang="en"] .msb-player-inline-feedback-footer small{font-size:10px;line-height:1.6;color:#8f8f8f}
html[lang="en"] .msb-player-inline-feedback-footer button{white-space:nowrap;border-radius:11px;min-height:36px;padding:0 12px;font-weight:900}
@media(max-width:700px){
 html[lang="en"] .app-song-page .msb-song-feedback-row{grid-template-columns:38px 1fr}.app-song-page .msb-song-feedback-toggle{grid-column:1/-1;width:100%}
 html[lang="en"] .msb-player-inline-feedback-footer{align-items:stretch;flex-direction:column}html[lang="en"] .msb-player-inline-feedback-footer button{width:100%}
}

/* ===== 1.3.5 multilingual lyrics + English taxonomy geometry ===== */
html[lang="en"] .app-song-page .app-lyrics{overflow:hidden}
html[lang="en"] .app-song-page .lyrics-header-app{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 16px;
}
html[lang="en"] .app-song-page .msb-lyrics-actions{margin-left:auto;min-width:0;max-width:100%;gap:8px}
html[lang="en"] .msb-lyrics-language-switcher{
  display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;direction:ltr!important;text-align:left!important;
}
html[lang="en"] .msb-lyrics-language-label{
  display:inline-flex;align-items:center;gap:6px;color:#8f9691;font-size:10px;font-weight:800;white-space:nowrap;
}
html[lang="en"] .msb-lyrics-language-label i{color:var(--primary,#1ed760);font-size:12px}
html[lang="en"] .msb-lyrics-language-options{display:flex;align-items:center;gap:5px;min-width:0;flex-wrap:wrap}
html[lang="en"] .msb-lyrics-language-btn{
  min-height:30px;padding:5px 10px;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:rgba(255,255,255,.035);
  color:#a8aaa9;font:inherit;font-size:10px;font-weight:850;line-height:1;cursor:pointer;transition:background .18s,border-color .18s,color .18s,transform .18s;
}
html[lang="en"] .msb-lyrics-language-btn:hover{color:#fff;border-color:rgba(30,215,96,.25);background:rgba(30,215,96,.07)}
html[lang="en"] .msb-lyrics-language-btn.is-active{color:#061108;background:var(--primary,#1ed760);border-color:var(--primary,#1ed760);box-shadow:0 5px 16px rgba(30,215,96,.14)}
html[lang="en"] .app-song-page .lyrics-content-app{
  width:100%;min-width:0;max-width:100%;box-sizing:border-box;padding:16px 18px;min-height:0;line-height:1.92;overflow:hidden;
}
html[lang="en"] .msb-lyrics-multilang{width:100%;min-width:0;max-width:100%;box-sizing:border-box;white-space:normal!important}
html[lang="en"] .msb-lyrics-language-panel{
  width:100%;min-width:0;max-width:860px;box-sizing:border-box;margin:0 auto;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;
  font-size:13px;line-height:2;color:#e8e8e8;
}
html[lang="en"] .msb-lyrics-language-panel[hidden]{display:none!important}
html[lang="en"] .msb-lyrics-language-panel[dir="ltr"]{direction:ltr!important;text-align:left!important;unicode-bidi:plaintext}
html[lang="en"] .msb-lyrics-language-panel[dir="rtl"]{direction:rtl!important;text-align:right!important;font-family:'Vazirmatn',Tahoma,Arial,sans-serif!important}
html[lang="en"] .msb-lyrics-language-panel.msb-lyrics-primary-empty{
  min-height:0!important;padding:12px 13px;border:1px dashed rgba(255,255,255,.075);border-radius:13px;background:rgba(255,255,255,.018);
  color:#999;font-size:12px!important;font-style:normal;line-height:1.65;white-space:normal!important;
}
html[lang="en"] .msb-lyrics-language-panel.msb-lyrics-primary-empty:before,
html[lang="en"] .msb-lyrics-language-panel.msb-lyrics-primary-empty:after{content:none!important}
html[lang="en"] .app-song-page .msb-song-feedback-lyrics-only{margin-top:10px;padding:12px 14px;border-radius:17px}
html[lang="en"] .app-song-page .msb-song-feedback-row{grid-template-columns:36px minmax(0,1fr) auto;gap:10px}
html[lang="en"] .app-song-page .msb-song-feedback-icon{width:36px;height:36px;border-radius:11px}
html[lang="en"] .app-song-page .msb-song-feedback-copy strong{font-size:12.5px;margin-bottom:2px}
html[lang="en"] .app-song-page .msb-song-feedback-copy small{font-size:10.5px;line-height:1.55}
html[lang="en"] .app-song-page .msb-song-feedback-form{margin-top:10px;padding-top:10px}
html[lang="en"] .app-song-page .msb-song-feedback-form textarea{min-height:145px;max-height:420px;padding:12px 13px;line-height:1.72;border-radius:12px}
html[lang="en"] .app-song-page .msb-song-feedback-form-actions{margin-top:8px}

/* Full Player: drawer owns its width; no child is allowed to create horizontal scroll. */
html[lang="en"] .lyrics-content-modal{
  overflow-x:hidden!important;overflow-y:auto;white-space:normal!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
}
html[lang="en"] .lyrics-content-modal>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html[lang="en"] .lyrics-content-modal .msb-lyrics-multilang,
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-panel{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-panel{padding:0 2px;white-space:pre-wrap!important;overflow-wrap:anywhere!important;line-height:1.92}
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-panel.msb-lyrics-primary-empty{margin:0!important;padding:10px 11px!important;font-size:11.5px!important}
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-panel.msb-lyrics-primary-empty:before,
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-panel.msb-lyrics-primary-empty:after{content:none!important}
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-switcher--inline{
  position:sticky;top:0;z-index:2;width:100%;padding:8px 0 10px;margin:0 0 10px;background:linear-gradient(#0b0d0c 72%,rgba(11,13,12,0));
}
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-switcher--inline .msb-lyrics-language-label{font-size:9.5px}
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-btn{min-height:28px;padding:5px 9px;font-size:9.5px}
html[lang="en"] .msb-player-inline-lyrics-wrap--english{
  width:auto!important;max-width:none!important;min-width:0!important;margin:12px 0 16px!important;padding:12px!important;overflow:hidden!important;
  border-radius:15px!important;box-sizing:border-box!important;
}
html[lang="en"] .msb-player-inline-lyrics-head{grid-template-columns:34px minmax(0,1fr);gap:9px;margin:0}
html[lang="en"] .msb-player-inline-lyrics-head>i{width:34px;height:34px;border-radius:10px}
html[lang="en"] .msb-player-inline-lyrics-head strong{font-size:12px}
html[lang="en"] .msb-player-inline-lyrics-head span{font-size:9.8px;line-height:1.5}
html[lang="en"] .msb-player-inline-feedback-toggle{
  width:100%;min-height:34px;margin-top:10px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(30,215,96,.22);
  border-radius:10px;background:rgba(30,215,96,.08);color:var(--primary,#1ed760);font:inherit;font-size:10.5px;font-weight:900;cursor:pointer;
}
html[lang="en"] .msb-player-inline-feedback-form{width:100%!important;min-width:0!important;max-width:100%!important;margin-top:10px!important;padding-top:10px!important;border-top:1px solid rgba(255,255,255,.065);box-sizing:border-box!important}
html[lang="en"] .msb-player-inline-feedback-form[hidden]{display:none!important}
html[lang="en"] .msb-player-inline-feedback-form textarea{width:100%!important;min-width:0!important;max-width:100%!important;min-height:135px!important;max-height:330px;padding:11px!important;box-sizing:border-box!important;resize:vertical}
html[lang="en"] .msb-player-inline-feedback-footer{margin-top:8px;gap:8px}
html[lang="en"] .msb-player-inline-feedback-footer small{font-size:9px;line-height:1.45}
html[lang="en"] .msb-player-inline-feedback-footer button{min-height:34px;padding:0 10px;font-size:10px}

/* English category/tag archive is a true LTR component, not mirrored Persian geometry. */
html[lang="en"] .msb-term-archive,
html[lang="en"] .msb-term-hero,
html[lang="en"] .msb-term-content,
html[lang="en"] .msb-term-toolbar,
html[lang="en"] .msb-term-toolbar-actions,
html[lang="en"] .msb-term-grid,
html[lang="en"] .msb-term-list,
html[lang="en"] .msb-term-list-item,
html[lang="en"] .msb-term-card,
html[lang="en"] .msb-term-card-main,
html[lang="en"] .msb-term-card-footer,
html[lang="en"] .msb-term-card-actions{direction:ltr!important}
html[lang="en"] .msb-term-archive{font-family:inherit!important}
html[lang="en"] .msb-term-header-top{direction:ltr!important}
html[lang="en"] .msb-term-identity-copy,
html[lang="en"] .msb-term-description,
html[lang="en"] .msb-term-card-info,
html[lang="en"] .msb-term-card-title,
html[lang="en"] .msb-term-card-artist,
html[lang="en"] .msb-term-list-info,
html[lang="en"] .msb-term-list-title,
html[lang="en"] .msb-term-list-artist{text-align:left!important;direction:ltr!important;unicode-bidi:plaintext}
html[lang="en"] .msb-term-card-index{left:9px!important;right:auto!important}
html[lang="en"] .msb-term-media-badge{right:9px!important;left:auto!important}
html[lang="en"] .msb-term-visible-status{direction:ltr!important;text-align:right!important}
html[lang="en"] .msb-term-list-item{grid-template-columns:36px 56px minmax(0,1fr) auto!important}
html[lang="en"] .msb-term-list-item:hover{transform:translateX(2px)}
html[lang="en"] .msb-term-list-actions-wrap,
html[lang="en"] .msb-term-card-actions{margin-left:auto;margin-right:0}
html[lang="en"] .msb-term-load-more-btn,
html[lang="en"] .msb-term-play-all,
html[lang="en"] .msb-term-view-toggle{direction:ltr!important}
@media(max-width:700px){
  html[lang="en"] .app-song-page .lyrics-header-app{align-items:flex-start}
  html[lang="en"] .app-song-page .msb-lyrics-actions{width:100%;justify-content:flex-start;margin-left:0}
  html[lang="en"] .msb-lyrics-language-switcher{width:100%;align-items:flex-start;flex-direction:column;gap:6px}
  html[lang="en"] .app-song-page .msb-song-feedback-row{grid-template-columns:34px minmax(0,1fr)}
  html[lang="en"] .app-song-page .msb-song-feedback-toggle{grid-column:1/-1;width:100%}
  html[lang="en"] .msb-player-inline-feedback-footer{align-items:stretch;flex-direction:column}
  html[lang="en"] .msb-player-inline-feedback-footer button{width:100%}
}


/* ===== 1.3.6 English mobile polish: centered lyrics, stable feedback, queue order, dashboard balance ===== */
/* Track lyrics: preserve LTR/RTL semantics, but keep the reading column visually centered. */
html[lang="en"] .app-song-page .lyrics-header-app{
  justify-content:center!important;
  text-align:center!important;
}
html[lang="en"] .app-song-page .lyrics-header-app h3{
  flex:0 0 100%;
  justify-content:center!important;
  text-align:center!important;
}
html[lang="en"] .app-song-page .msb-lyrics-actions{
  width:100%;
  margin:0 auto!important;
  justify-content:center!important;
  align-items:center!important;
}
html[lang="en"] .app-song-page .msb-lyrics-language-switcher{
  justify-content:center!important;
  text-align:center!important;
}
html[lang="en"] .app-song-page .msb-lyrics-language-options{
  justify-content:center!important;
}
html[lang="en"] .app-song-page .lyrics-content-app{
  text-align:center!important;
}
html[lang="en"] .app-song-page .msb-lyrics-language-panel,
html[lang="en"] .app-song-page .msb-lyrics-language-panel[dir="ltr"],
html[lang="en"] .app-song-page .msb-lyrics-language-panel[dir="rtl"]{
  text-align:center!important;
  margin-inline:auto!important;
}
html[lang="en"] .app-song-page .msb-song-feedback-lyrics-only{
  max-width:960px;
  margin-inline:auto!important;
}
html[lang="en"] .app-song-page .msb-song-feedback-copy{
  text-align:center!important;
}
html[lang="en"] .app-song-page .msb-song-feedback-row{
  grid-template-columns:36px minmax(0,1fr) auto;
}
html[lang="en"] .app-song-page .msb-song-feedback-form{
  max-width:760px;
  margin-inline:auto!important;
}

/* Full Player lyrics drawer: center the lyrics/buttons and never create horizontal overflow. */
html[lang="en"] .lyrics-content-modal{
  text-align:center!important;
  overflow-x:hidden!important;
}
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-switcher--inline{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  text-align:center!important;
}
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-options{
  justify-content:center!important;
}
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-panel,
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-panel[dir="ltr"],
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-panel[dir="rtl"]{
  text-align:center!important;
  margin-inline:auto!important;
  padding-inline:8px!important;
}
html[lang="en"] .msb-player-inline-lyrics-wrap--english{
  text-align:center!important;
}
html[lang="en"] .msb-player-inline-lyrics-head{
  grid-template-columns:34px minmax(0,1fr)!important;
  max-width:100%!important;
  align-items:center!important;
}
html[lang="en"] .msb-player-inline-lyrics-head strong,
html[lang="en"] .msb-player-inline-lyrics-head span{
  text-align:center!important;
}
html[lang="en"] .msb-player-inline-feedback-form{
  text-align:left!important;
}
html[lang="en"] .msb-player-inline-feedback-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  min-width:0;
}
html[lang="en"] .msb-player-inline-feedback-close{
  min-height:34px;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:10px;
  background:rgba(255,255,255,.035);
  color:#bdbdbd;
  font:inherit;
  font-size:10px;
  font-weight:850;
  cursor:pointer;
}
html[lang="en"] .msb-player-inline-feedback-close:hover{
  color:#fff;
  background:rgba(255,255,255,.07);
}

/* English Queue: requested mobile reading order - cover on the right, text beside it, right aligned. */
html[lang="en"] #modalPlaylistList .playlist-modal-item{
  flex-direction:row-reverse!important;
  text-align:right!important;
}
html[lang="en"] #modalPlaylistList .playlist-modal-item-info{
  text-align:right!important;
  direction:ltr!important;
}
html[lang="en"] #modalPlaylistList .playlist-modal-item-title,
html[lang="en"] #modalPlaylistList .playlist-modal-item-artist{
  direction:ltr!important;
  text-align:right!important;
  unicode-bidi:plaintext;
}
html[lang="en"] #modalPlaylistList .playlist-modal-item:hover{
  padding-right:16px!important;
  padding-left:20px!important;
}
html[lang="en"] #modalPlaylistList .playlist-modal-item.active{
  border-right:3px solid var(--primary)!important;
  border-left:0!important;
  background:linear-gradient(270deg,rgba(29,185,84,.15),transparent)!important;
}

/* Mobile dashboard: keep the Persian build's balanced geometry while English text stays LTR. */
@media(max-width:767px){
  html[lang="en"] .dashboard-modern .stats-full-row{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
  }
  html[lang="en"] .dashboard-modern .stat-card{
    min-width:0!important;
    width:auto!important;
    padding:10px 6px!important;
    align-items:center!important;
    justify-content:flex-start!important;
    text-align:center!important;
  }
  html[lang="en"] .dashboard-modern .stat-card-info{
    width:100%!important;
    min-width:0!important;
    text-align:center!important;
  }
  html[lang="en"] .dashboard-modern .stat-card-info strong,
  html[lang="en"] .dashboard-modern .stat-card-info span{
    text-align:center!important;
    margin-inline:auto!important;
  }
  html[lang="en"] .dashboard-modern .stat-card-info strong{
    font-size:13px!important;
    line-height:1.25!important;
  }
  html[lang="en"] .dashboard-modern .stat-card-info span{
    font-size:8.5px!important;
    line-height:1.35!important;
  }
  html[lang="en"] .dashboard-modern .stat-card-club .stat-card-info strong{
    font-size:12.5px!important;
  }
  html[lang="en"] .dashboard-modern .welcome-modern{
    min-height:88px;
  }
  html[lang="en"] .dashboard-modern .welcome-text{
    min-width:0;
  }
  html[lang="en"] .dashboard-modern .dashboard-quick-nav{
    align-items:center!important;
  }
  html[lang="en"] .dashboard-modern .subscription-compact-card,
  html[lang="en"] .dashboard-modern .personal-suggestions-section,
  html[lang="en"] .dashboard-modern .recently-played-section,
  html[lang="en"] .dashboard-modern .msb-offline-music-section{
    text-align:left!important;
  }

  /* Lyrics controls become a compact, centered control cluster on phones. */
  html[lang="en"] .app-song-page .lyrics-header-app{
    align-items:center!important;
    padding:12px 13px!important;
  }
  html[lang="en"] .app-song-page .msb-lyrics-actions{
    justify-content:center!important;
    align-items:center!important;
    gap:7px!important;
  }
  html[lang="en"] .app-song-page .msb-lyrics-language-switcher{
    width:auto!important;
    max-width:100%!important;
    align-items:center!important;
    flex-direction:column!important;
    gap:6px!important;
  }
  html[lang="en"] .app-song-page .msb-song-feedback-row{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    gap:8px!important;
  }
  html[lang="en"] .app-song-page .msb-song-feedback-copy{
    width:100%!important;
    text-align:center!important;
  }
  html[lang="en"] .app-song-page .msb-song-feedback-toggle{
    width:min(100%,260px)!important;
    margin-inline:auto!important;
  }
  html[lang="en"] .lyrics-content-modal .msb-lyrics-language-switcher--inline{
    flex-direction:column!important;
    align-items:center!important;
  }
  html[lang="en"] .msb-player-inline-lyrics-head{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    text-align:center!important;
  }
  html[lang="en"] .msb-player-inline-feedback-footer{
    align-items:stretch!important;
  }
  html[lang="en"] .msb-player-inline-feedback-actions{
    width:100%;
    justify-content:stretch;
  }
  html[lang="en"] .msb-player-inline-feedback-actions button{
    flex:1 1 0;
    width:auto!important;
  }
}

@media(max-width:767px){
  html[lang="en"] .dashboard-modern .stat-card-club .stat-club-badge{
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    top:6px!important;
    white-space:nowrap!important;
  }
  html[lang="en"] .dashboard-modern .stat-card-club{
    padding-top:14px!important;
  }
}


/* ===== 1.3.7 lyrics completeness + deterministic queue alignment ===== */
/* Track page must show the complete lyrics. The base theme caps lyrics at 400px; English
   language variants own the page height and should never be clipped by that legacy cap. */
html[lang="en"] .app-song-page .app-lyrics{
  overflow:visible!important;
}
html[lang="en"] .app-song-page .lyrics-content-app{
  max-height:none!important;
  height:auto!important;
  overflow:visible!important;
  overflow-x:visible!important;
  overflow-y:visible!important;
}

/* Center every physical lyrics line reliably. pre-line intentionally collapses stray leading
   spaces/tabs from legacy lyrics fields while preserving line breaks and blank verses. */
html[lang="en"] .app-song-page .msb-lyrics-language-panel,
html[lang="en"] .app-song-page .msb-lyrics-language-panel[dir="ltr"],
html[lang="en"] .app-song-page .msb-lyrics-language-panel[dir="rtl"],
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-panel,
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-panel[dir="ltr"],
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-panel[dir="rtl"]{
  text-align:center!important;
  text-align-last:center!important;
  text-indent:0!important;
  white-space:pre-line!important;
  unicode-bidi:isolate!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  margin-inline:auto!important;
}
html[lang="en"] .app-song-page .msb-lyrics-language-panel[dir="ltr"],
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-panel[dir="ltr"]{
  direction:ltr!important;
}
html[lang="en"] .app-song-page .msb-lyrics-language-panel[dir="rtl"],
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-panel[dir="rtl"]{
  direction:rtl!important;
}

/* The full-player drawer keeps its own vertical scroll, but never a horizontal one. */
html[lang="en"] .lyrics-content-modal{
  overflow-x:hidden!important;
  overflow-y:auto!important;
}

/* Queue: fixed two-column geometry. Text always starts from one clean left edge and the cover
   always occupies the right column, regardless of title length. */
html[lang="en"] #modalPlaylistList .playlist-modal-item{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 48px!important;
  grid-template-rows:auto!important;
  align-items:center!important;
  column-gap:12px!important;
  direction:ltr!important;
  text-align:left!important;
}
html[lang="en"] #modalPlaylistList .playlist-modal-item>img{
  grid-column:2!important;
  grid-row:1!important;
  justify-self:end!important;
  width:48px!important;
  height:48px!important;
  margin:0!important;
}
html[lang="en"] #modalPlaylistList .playlist-modal-item-info{
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  text-align:left!important;
  direction:ltr!important;
}
html[lang="en"] #modalPlaylistList .playlist-modal-item-title,
html[lang="en"] #modalPlaylistList .playlist-modal-item-artist{
  width:100%!important;
  min-width:0!important;
  text-align:left!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
}
html[lang="en"] #modalPlaylistList .playlist-modal-item.active{
  border-right:3px solid var(--primary)!important;
  border-left:0!important;
  background:linear-gradient(270deg,rgba(29,185,84,.15),transparent)!important;
}
html[lang="en"] #modalPlaylistList .playlist-modal-item:hover{
  padding-left:18px!important;
  padding-right:16px!important;
}

@media(max-width:767px){
  html[lang="en"] .app-song-page .lyrics-content-app{
    padding-inline:14px!important;
  }
  html[lang="en"] .app-song-page .msb-lyrics-language-panel,
  html[lang="en"] .lyrics-content-modal .msb-lyrics-language-panel{
    width:100%!important;
    max-width:100%!important;
    padding-inline:6px!important;
  }
}

/* ===== 1.3.8 dashboard menu/support + Club English polish ===== */
/* In English the three-dot launcher sits on the right edge of the welcome card. Open the
   dropdown inward (to the left) so it never gets clipped by the viewport. */
html[lang="en"] .dashboard-modern .user-dropdown,
html[lang="en"] #dashboardMainContent .user-dropdown{
  left:auto!important;
  right:0!important;
  text-align:left!important;
  direction:ltr!important;
  max-width:min(220px,calc(100vw - 24px))!important;
}
html[lang="en"] .dashboard-modern .dropdown-item,
html[lang="en"] #dashboardMainContent .dropdown-item{
  text-align:left!important;
  direction:ltr!important;
  justify-content:flex-start!important;
}

/* English support card mirrors the clean Persian geometry: copy on the left, CTA pinned to
   the far right. The support plugin's mobile rule uses margin-right:auto, so override it. */
html[lang="en"] .msb-support-dashboard-card{
  direction:ltr!important;
  text-align:left!important;
}
html[lang="en"] .msb-support-dashboard-card .msb-support-dashboard-copy{
  order:1!important;
  min-width:0!important;
  text-align:left!important;
}
html[lang="en"] .msb-support-dashboard-card [data-msb-support-open]{
  order:2!important;
  margin-left:auto!important;
  margin-right:0!important;
  flex:0 0 auto!important;
}

/* Club is a native LTR surface in English. Keep centered metric cards centered, while text
   panels and reward cards read from left to right. */
html[lang="en"] .msb-club-page,
html[lang="en"] .msb-club-section{
  direction:ltr!important;
}
html[lang="en"] .msb-club-identity,
html[lang="en"] .msb-club-panel,
html[lang="en"] .msb-club-levels,
html[lang="en"] .msb-club-contributions,
html[lang="en"] .msb-club-history,
html[lang="en"] .msb-club-reward-card,
html[lang="en"] .msb-club-reward-copy,
html[lang="en"] .msb-club-referral{
  text-align:left!important;
}
html[lang="en"] .msb-club-balance-card,
html[lang="en"] .msb-club-metrics>div,
html[lang="en"] .msb-club-level-step,
html[lang="en"] .msb-club-rewards-summary>div{
  text-align:center!important;
}
html[lang="en"] .msb-club-balance-card i,
html[lang="en"] .msb-club-share i,
html[lang="en"] .msb-club-history-toggle i,
html[lang="en"] .msb-club-page .dashboard-section-header h3 i{
  margin-left:0!important;
  margin-right:6px!important;
}
@media(max-width:767px){
  html[lang="en"] .dashboard-modern .user-dropdown,
  html[lang="en"] #dashboardMainContent .user-dropdown{
    right:0!important;
    left:auto!important;
    min-width:170px!important;
    max-width:calc(100vw - 28px)!important;
  }
  html[lang="en"] .msb-support-dashboard-card [data-msb-support-open]{
    margin-left:auto!important;
    margin-right:0!important;
  }
}


/* ===== 1.3.9 player lyrics state stability ===== */
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-panel.msb-lyrics-primary-empty > .msb-player-inline-lyrics-wrap--english{
  width:100%!important;max-width:100%!important;margin:10px 0 2px!important;font-size:initial;white-space:normal!important;
}
html[lang="en"] .lyrics-content-modal .msb-lyrics-language-panel.msb-lyrics-primary-empty[data-msb-feedback-open="1"]{
  overflow:visible!important;
}

/* ===== 1.3.10 deterministic lyrics panel ownership ===== */
/* Never let language-specific typography resurrect a hidden sibling panel. */
html[lang="en"] .msb-lyrics-multilang > [data-msb-lyrics-language-panel],
html[lang="fa"] .msb-lyrics-multilang > [data-msb-lyrics-language-panel]{
  display:none!important;
}
html[lang="en"] .msb-lyrics-multilang > [data-msb-lyrics-language-panel].is-active,
html[lang="fa"] .msb-lyrics-multilang > [data-msb-lyrics-language-panel].is-active{
  display:block!important;
}
html[lang="en"] .msb-lyrics-multilang > [data-msb-lyrics-language-panel].msb-lyrics-primary-empty.is-active,
html[lang="fa"] .msb-lyrics-multilang > [data-msb-lyrics-language-panel].msb-lyrics-primary-empty.is-active{
  display:grid!important;
}



/* 1.3.13 — Full Player Track details native English geometry.
   These rules remove the inherited RTL/justify geometry before the drawer becomes visible. */
html[lang="en"] .player-modal-details .details-header-modal,
html[lang="en"] .player-modal-details .details-content-modal,
html[lang="en"] .player-modal-details .msb-player-details-data,
html[lang="en"] .player-modal-details .details-modal-item,
html[lang="en"] .player-modal-details .details-modal-label,
html[lang="en"] .player-modal-details .details-modal-value,
html[lang="en"] .player-modal-details .details-modal-note,
html[lang="en"] .player-modal-details .msb-player-inline-report-wrap,
html[lang="en"] .player-modal-details .msb-player-inline-report-form {
  direction:ltr!important;
  text-align:left!important;
}
html[lang="en"] .player-modal-details .details-modal-note {
  text-align:left!important;
}
html[lang="en"] .player-modal-details .details-modal-item {
  grid-template-columns:auto minmax(0,1fr)!important;
}
html[lang="en"] .player-modal-details .details-modal-value {
  justify-self:start;
}


/* 1.3.14 — Track details English prose uses true paragraph justification.
   Metadata rows stay left-aligned; only the long release-description block is justified. */
html[lang="en"] .player-modal-details .details-modal-note {
  direction:ltr!important;
  text-align:justify!important;
  text-align-last:left!important;
  unicode-bidi:plaintext!important;
  overflow-wrap:anywhere;
}
