/* V127 context menu portal: independent of nested results/studio scroll panes. */
html body .v127-song-popover.track-menu,
html body .v127-song-popover.track-more-menu{
 position:fixed!important; z-index:2147480000!important;
 inset:auto!important;top:var(--v127-top)!important;left:var(--v127-left)!important;
 width:var(--v127-width,308px)!important;max-width:calc(100vw - 20px)!important;
 max-height:var(--v127-max-height,565px)!important; min-width:0!important;
 overflow-x:hidden!important;overflow-y:auto!important;
 overscroll-behavior:contain;
 display:block!important; box-sizing:border-box!important; margin:0!important;
 border:1px solid #394253!important;border-radius:14px!important;
 padding:7px!important;color:#f6f7fb!important;
 background:#191b22!important;box-shadow:0 20px 60px #000b!important;
 direction:rtl!important;text-align:right!important;isolation:isolate;
 scrollbar-width:thin;scrollbar-color:#545968 #191b22;
}
html body .v127-song-popover[hidden]{display:none!important}

html body .v127-song-popover .v127-menu-songhead{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:center;padding:8px 8px 10px;margin:0 0 6px;border-bottom:1px solid #383e49}
html body .v127-song-popover .v127-menu-songhead .art{width:64px;height:64px;border-radius:14px;overflow:hidden;background:linear-gradient(135deg,#213042,#18202e);display:grid;place-items:center;font-size:24px;color:#d7dfeb}
html body .v127-song-popover .v127-menu-songhead .art img{width:100%;height:100%;object-fit:cover;display:block}
html body .v127-song-popover .v127-menu-songhead .copy{min-width:0;display:grid;gap:5px}
html body .v127-song-popover .v127-menu-songhead .copy b{font-size:14px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}
html body .v127-song-popover .v127-menu-songhead .copy small{font-size:11px;line-height:1.5;color:#9ca8b8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .v127-song-popover .v127-menu-songhead .meta{display:flex;align-items:center;justify-content:space-between;gap:8px}
html body .v127-song-popover .v127-menu-songhead .meta em{font-style:normal;font-size:10px;color:#7f8da1}
html body .v127-song-popover .v127-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 10px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.02em}
html body .v127-song-popover .v127-status-pill.is-completed{background:#0f3a2c;color:#9df2bc;border:1px solid #1d6a49}
html body .v127-song-popover .v127-status-pill.is-failed{background:#411723;color:#ffb0bc;border:1px solid #7f2f3e}
html body .v127-song-popover .v127-status-pill.is-processing,
html body .v127-song-popover .v127-status-pill.is-queued{background:#3b2d0d;color:#ffd978;border:1px solid #7a5b12}
html body .v127-song-popover .v127-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:3px 5px 5px;padding:8px;border-bottom:1px solid #383e49;color:#dbe3ee;font-size:12px}
html body .v127-song-popover .v127-menu-heading small{font-size:10px;color:#8c99aa}
html body .v127-song-popover a,
html body .v127-song-popover button,
html body .v127-song-popover summary{display:flex!important;box-sizing:border-box!important;justify-content:flex-start!important;align-items:center!important;width:100%!important;min-height:39px!important;border:0!important;border-radius:8px!important;gap:9px!important;padding:8px 11px!important;margin:0!important;background:transparent!important;color:#f2f4f8!important;font-size:12px!important;font-weight:600!important;text-align:right!important;line-height:1.5!important;white-space:normal!important;text-decoration:none!important;cursor:pointer}
html body .v127-song-popover summary{justify-content:space-between!important;list-style:none!important}
html body .v127-song-popover summary::-webkit-details-marker{display:none}
html body .v127-song-popover summary span{font-size:20px;color:#98a6b6;transition:transform .15s}
html body .v127-song-popover details[open]>summary span{transform:rotate(90deg)}
html body .v127-song-popover a:hover,
html body .v127-song-popover button:hover,
html body .v127-song-popover summary:hover,
html body .v127-song-popover button:focus-visible,
html body .v127-song-popover a:focus-visible{background:#323844!important;outline:none!important}
html body .v127-song-popover button[disabled]{opacity:.42!important;cursor:not-allowed!important}
html body .v127-song-popover .v127-menu-divider{height:1px;margin:7px 5px;background:#323945}
html body .v127-song-popover .v127-submenu{display:block!important;margin:0!important;border:0!important;background:transparent!important}
html body .v127-song-popover .v127-subitems{border-right:2px solid #586780;margin:0 11px 5px 2px;padding-right:7px}
html body .v127-song-popover .v127-subitems a,
html body .v127-song-popover .v127-subitems button{color:#c9d5e4!important;font-size:11px!important;min-height:35px!important}
html body .v127-song-popover [data-song-action="trash"]{color:#ff98a7!important}
html body .naghma-action-card select{width:100%;border:1px solid #2a3748;background:#0b1119;color:#f5f7fb;border-radius:11px;padding:11px}
.v127-trash-list{display:grid;gap:10px;max-width:1050px}
.v127-trash-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#141a24;border:1px solid #30394a;border-radius:13px;padding:15px}
.v127-trash-row>div{flex:1;min-width:180px;display:grid;gap:6px}.v127-trash-row b{font-size:14px}.v127-trash-row small{color:#8796a9}
.v127-trash-row button{padding:9px 13px;border:1px solid #364961;border-radius:9px;background:#192434;color:#eaf1f9}
.v127-trash-row button.danger-link{color:#fca5a5;border-color:#723942}
@media(max-width:700px){html body .v127-song-popover.track-menu,html body .v127-song-popover.track-more-menu{width:calc(100vw - 20px)!important;left:10px!important;right:auto!important;top:auto!important;bottom:calc(var(--player-h,60px) + 68px + env(safe-area-inset-bottom))!important;max-height:min(56dvh,510px)!important}}

/* NAGHMA_SONGMENU_2026: clearer rows, icons in a fixed column, bigger text */
html body .v127-song-popover{font-family:'IBM Plex Sans Arabic','Readex Pro',system-ui,sans-serif!important}
html body .v127-song-popover :is(a,button,summary){font-size:14px!important;font-weight:500!important;min-height:40px!important;gap:10px!important;border-radius:10px!important}
html body .v127-song-popover :is(a,button,summary)>i{font-style:normal!important;width:20px;flex:none;text-align:center;font-size:15px!important;color:#A7B6D4!important;transform:none!important}
html body .v127-song-popover :is(a,button,summary)>span{font-size:14px!important;color:inherit!important;flex:1;text-align:start;transform:none!important}
html body .v127-song-popover summary>span[aria-hidden]{flex:none;font-size:18px!important;color:#A7B6D4!important;transition:transform .15s}
html body .v127-song-popover details[open]>summary>span[aria-hidden]{transform:rotate(90deg)!important}
html[dir=rtl] body .v127-song-popover summary>span[aria-hidden]{transform:scaleX(-1)!important}
html[dir=rtl] body .v127-song-popover details[open]>summary>span[aria-hidden]{transform:rotate(90deg)!important}
html body .v127-song-popover .v127-subitems{border:0!important;margin:0 0 6px!important;padding:4px!important;background:rgba(148,163,255,.06)!important;border-radius:10px!important}
html body .v127-song-popover .v127-subitems :is(a,button){font-size:13.5px!important;min-height:38px!important;color:#DCE4FF!important}
html body .v127-song-popover .ngm-new{font-style:normal;font-size:10.5px;padding:2px 8px;border-radius:999px;background:rgba(96,165,250,.18);color:#BFDBFE;flex:none}
html body .v127-song-popover small{flex:none;font-size:11.5px!important;color:#7083A8!important}
html body .v127-song-popover .ngm-off{opacity:.4!important;cursor:not-allowed!important}
html body .v127-song-popover .ngm-danger{color:#FCA5A5!important}
html body .v127-song-popover .ngm-danger>i{color:#FCA5A5!important}
html body .v127-song-popover [aria-pressed=true]>i{color:#60A5FA!important}
html body .v127-song-popover .ngm-note{margin:6px 10px;font-size:13px;color:#A7B6D4}
html body .v127-song-popover .ngm-pl-new{display:flex;gap:6px;padding:6px 4px 4px}
html body .v127-song-popover .ngm-pl-new input{flex:1;min-width:0;height:34px;border-radius:8px;border:1px solid #203466;background:#0B1638;color:#F1F5FF;padding:0 10px;font:inherit;font-size:13px}
html body .v127-song-popover .ngm-pl-new button{flex:none!important;min-height:34px!important;width:auto!important;padding:0 12px!important;background:#12214D!important;color:#F1F5FF!important;justify-content:center!important}
html body .v127-song-popover :is(a,button,summary):focus-visible{outline:2px solid #93C5FD!important;outline-offset:-2px}
/* style line under the title: only where the list is wide */
#recentJobs .ngm-style{display:none}
@media (min-width:1101px){#recentJobs .track-copy .ngm-style{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-size:12.5px;color:#7083A8;line-height:1.6;margin-top:2px;max-width:60ch}}
