/* Sach Khoj MP3 player · TV fit (v99, 30 Nov 2026). Inside a 5% safe area; small English-only header buttons; title said once. */
html.tv{--sx:5vw;--sy:5vh}
html.tv:not(#_) #topbar{padding:var(--sy) var(--sx) .4rem!important;box-sizing:border-box;max-width:100vw;gap:10px!important;flex-wrap:nowrap!important}
html.tv:not(#_) #topbar .tb-btn{font-size:12px!important;padding:3px 9px!important;min-height:0!important;line-height:1.2!important}
html.tv:not(#_) #topbar .tb-btn [lang=pa]{display:none!important}
html.tv:not(#_) #top-title [lang=pa]{display:none!important}
html.tv:not(#_) #top-title{font-size:15px!important;white-space:nowrap;flex:1 1 auto;text-align:center;min-width:0}
html.tv:not(#_) #main{padding-left:var(--sx)!important;padding-right:var(--sx)!important;box-sizing:border-box;max-width:100vw}
html.tv:not(#_) #foot{padding-left:var(--sx)!important;padding-right:var(--sx)!important;padding-bottom:var(--sy)!important;box-sizing:border-box}
/* v99: the iPod stays on screen while the series list scrolls (sticky inside the safe area), and fits a 540px-high TV */
html.tv:not(#_) #ipod{position:sticky!important;top:var(--sy,5vh)!important;align-self:start!important}
@media (max-height:620px){html.tv:not(#_) #wheel{width:200px!important;margin:8px auto 4px!important}}
/* body overflow-x:hidden made <body> a scroll box, which stopped the sticky iPod; clip keeps the no-sideways-scroll rule without that */
html.tv:not(#_) body{overflow-x:clip!important;overflow-y:visible!important}
/* the centre Play button is centred without transform (the one TV focus style turns transforms off on focus) */
html.tv:not(#_) #wheel #w-ok{left:31%!important;top:31%!important;transform:none!important}
/* v99d (GM review): Car mode button = ONE small sedan outline icon only (icon A), no label, every device; name kept in title/aria-label */
html:not(#_):not(#_):not(#_) #carbtn:has(.cf-car-ico)>.en{display:none!important}
html:not(#_):not(#_):not(#_) #carbtn:has(.cf-car-ico){padding:4px 7px!important;gap:0!important;min-width:0!important;min-height:0!important;line-height:1!important}
/* v99d: phone - header buttons tiny so the header is one line (Back to app, Car, title, Share) */
@media (max-width:640px){html:not(.tv):not(#_):not(#_) :is(#back-app,#share-btn){font-size:12px!important;line-height:1.2!important;padding:4px 8px!important;min-height:0!important;height:auto!important;min-width:0!important}}
/* v99e: phone - slim one-line header: short English title (ellipsis if needed), Share stays on the line */
@media (max-width:640px){html:not(.tv):not(#_):not(#_) #topbar{flex-wrap:nowrap!important;gap:6px!important}
html:not(.tv):not(#_):not(#_) #top-title{flex:1 1 auto!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:14px!important;margin:0!important;text-align:center}
html:not(.tv):not(#_):not(#_) #top-title>[lang=pa]{display:none!important}
html:not(.tv):not(#_):not(#_) #top-title>.en{display:inline!important;position:static!important;width:auto!important;height:auto!important;clip:auto!important;font-size:inherit!important}
html:not(.tv):not(#_):not(#_) #topbar>*:not(#top-title){flex:0 0 auto!important}}
