/* 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}}
