/* r58pm · ns.css — New Songs titles readable (avrumi: dark blue on black), Select bar, small toast. Light theme lives in the inline <style id="nslt"> in <head>. */
html.mtl .ytx .yxs .yxt b,html.mtl .ytx .yxa > b,html.mtl .ytx .yxh,html.mtl #ytmhome .yxs b,html.mtl #ytmhome .yxa b{color:#f4f4f5!important}
html.mtl .ytx .yxs .yxt small,html.mtl .ytx .yxa > small,html.mtl #ytmhome .yxs small,html.mtl #ytmhome .yxa small{color:#a1a1aa!important}
h3.yxh.nshh{display:flex!important;align-items:center;gap:10px;flex-wrap:wrap}
.nsselb{display:inline-flex!important;align-items:center;gap:6px;margin-left:auto;padding:6px 14px;min-height:34px;border-radius:999px;border:1px solid #52525b;background:#18181b;color:#f4f4f5;font:600 13px/1 var(--mxf,system-ui);cursor:pointer;visibility:visible!important;opacity:1!important}
.nsselb:hover{background:#27272a}.nsselb .nsck{position:static;display:inline-grid;width:16px;height:16px;margin:0;border-radius:4px}
html.nssel .nsselb{background:#f4f4f5;color:#0b0b0c;border-color:#f4f4f5}
.nsck{display:none;place-items:center;width:22px;height:22px;border-radius:6px;border:2px solid #a1a1aa;background:rgba(0,0,0,.35);color:transparent;box-sizing:border-box;flex:none}
.nsck svg{width:14px;height:14px}
.nsselb .nsck{display:inline-grid;border-width:1.5px;color:currentColor}
html.nssel #ytmhome .yxs[data-l="h"]{position:relative;cursor:pointer}
html.nssel #ytmhome .yxs[data-l="h"] > .nsck{display:grid;margin:0 10px 0 2px;align-self:center}
html.nssel #ytmhome .yxa[data-hal]{position:relative;cursor:pointer}
html.nssel #ytmhome .yxa[data-hal] > .nsck{display:grid;position:absolute;top:8px;left:8px;z-index:5}
html.nssel #ytmhome .nson > .nsck{background:#f4f4f5;border-color:#f4f4f5;color:#0b0b0c}
html.nssel #ytmhome .yxs.nson{background:rgba(255,255,255,.08)!important;border-radius:8px}
html.nssel #ytmhome .nsno{opacity:.45}
html.nssel #ytmhome .yxs .yxpl{display:none!important}
#nsselbar{position:fixed;left:0;right:0;margin:0 auto;width:max-content;bottom:calc(96px + env(safe-area-inset-bottom));z-index:2147483000;display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center;max-width:calc(100vw - 16px);box-sizing:border-box;padding:10px 12px;border-radius:16px;background:#18181b;color:#f4f4f5;border:1px solid #3f3f46;box-shadow:0 18px 40px -12px rgba(0,0,0,.7);font:500 14px/1.2 var(--mxf,system-ui)}
#nsselbar .nsn{padding:0 6px;font-weight:700;white-space:nowrap}
#nsselbar button{white-space:nowrap;display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 14px;border-radius:999px;border:1px solid #3f3f46;background:#27272a;color:#f4f4f5;font:600 14px/1 var(--mxf,system-ui);cursor:pointer}
#nsselbar .nsdl{background:#f4f4f5;color:#0b0b0c;border-color:#f4f4f5}#nsselbar .nsdl[disabled]{opacity:.5;cursor:default}
#nsselbar .nsdl svg{width:18px;height:18px}
#nstoast{position:fixed;left:50%;bottom:calc(160px + env(safe-area-inset-bottom));transform:translate(-50%,20px);z-index:2147483100;padding:10px 16px;border-radius:12px;background:#27272a;color:#f4f4f5;font:500 14px/1.3 var(--mxf,system-ui);opacity:0;pointer-events:none;transition:.2s}
#nstoast.on{opacity:1;transform:translate(-50%,0)}
@media (max-width:760px){#nsselbar{bottom:calc(84px + env(safe-area-inset-bottom));gap:6px;padding:8px;flex-wrap:nowrap}#nsselbar .nsn{padding:0 2px;font-size:13px}#nsselbar button{padding:0 10px;min-height:36px;font-size:13px}#nsselbar .nsdl svg{width:16px;height:16px}.nsselb{padding:5px 12px}}
/* Telegram: big videos open in an on-site player window instead of the Telegram app */
.nsemb{position:relative;display:block;width:100%;max-width:520px;aspect-ratio:16/9;border:0;border-radius:12px;overflow:hidden;background:#111;color:#fff;cursor:pointer;padding:0}
.nsemb img{width:100%;height:100%;object-fit:cover;display:block}
.nsemb .nsplay{position:absolute;inset:0;display:grid;place-items:center;font:700 15px/1.2 var(--mxf,system-ui);text-shadow:0 1px 6px #000}
.nsemb .nsplay i{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:rgba(0,0,0,.55);font-style:normal;font-size:24px;margin-bottom:6px}
.nsembm{position:fixed;inset:0;z-index:2147483200;display:flex;align-items:center;justify-content:center;padding:14px;background:rgba(0,0,0,.8)}
.nsembm .nsembc{position:relative;width:min(560px,100%);max-height:90vh;background:#fff;border-radius:14px;overflow:hidden}
.nsembm iframe{display:block;width:100%;height:min(78vh,640px);border:0;background:#fff}
.nsembm .nsembx{position:absolute;top:8px;right:8px;z-index:2;width:36px;height:36px;border-radius:50%;border:0;background:rgba(0,0,0,.65);color:#fff;font-size:18px;cursor:pointer}
/* r58pm light-theme fix (avrumi Oct 21 2026 11:54 PM "Yes it looks bad"): the page is inverted in light mode, so these get DARK source colors here and show LIGHT. Dark mode (html.mxdark) untouched. */
html.nslt:not(.mxdark) form.smsearch{background:#1c1c1f!important;border-color:#34343a!important;box-shadow:none!important}
html.nslt:not(.mxdark) form.smsearch input{color:#f4f4f5!important;background:transparent!important}
html.nslt:not(.mxdark) form.smsearch input::placeholder{color:#8b8b94!important}
html.nslt:not(.mxdark) form.smsearch > svg,html.nslt:not(.mxdark) form.smsearch .smx{color:#a1a1aa!important}
html.nslt:not(.mxdark) form.mxsbox input{background:#1c1c1f!important;border-color:#34343a!important;color:#f4f4f5!important}
html.nslt:not(.mxdark) form.mxsbox input::placeholder{color:#8b8b94!important}
html.nslt:not(.mxdark) .yhchip,html.nslt:not(.mxdark) #main .yhchip,html.nslt:not(.mxdark) .tgcat{background:#1c1c1f!important;border:1px solid #34343a!important;color:#d4d4d8!important}
html.nslt:not(.mxdark) .yhchip.on,html.nslt:not(.mxdark) #main .yhchip.on,html.nslt:not(.mxdark) .mxchip.on,html.nslt:not(.mxdark) #main .mxchip.on,html.nslt:not(.mxdark) .tgcat.on{background:#0f2c55!important;border-color:#24497f!important;color:#e3eeff!important;box-shadow:none!important}
html.nslt:not(.mxdark) .tgcat.on small,html.nslt:not(.mxdark) .yhchip.on small{color:#c3d6f5!important}
html.nslt:not(.mxdark) #hfab{background:#1c1c1f!important;color:#f4f4f5!important;border:1px solid #34343a!important}
html.nslt:not(.mxdark) a.tgbtn{background:#0f2c55!important;color:#e3eeff!important}
html.nslt:not(.mxdark) li.r a.dl,html.nslt:not(.mxdark) .hero .cnt{background:#0f2c55!important;color:#e3eeff!important}
html.nslt:not(.mxdark) li.r a.dl .ic{background:#e3eeff!important;color:#0f2c55!important}
html.nslt:not(.mxdark) li.r a.dl small{color:#c3d6f5!important}
html.nslt:not(.mxdark) #ytmhome .yxac,html.nslt:not(.mxdark) #ytmhome .yxart{background-color:#26262b!important}
html.nslt:not(.mxdark) #ytmhome .yxhead b{color:#f4f4f5!important}
html.nslt:not(.mxdark) .mxplang button.on,html.nslt:not(.mxdark) .aeb.pri,html.nslt:not(.mxdark) .mxside .aeacc .aeb.pri,html.nslt:not(.mxdark) .mxview{background:#0f2c55!important;border-color:#24497f!important;color:#e3eeff!important}
html.nslt:not(.mxdark) .mxview:hover{background:#163a6e!important}
