@font-face{font-family:"Mukta Mahee";src:url(fonts/MuktaMahee-Regular.woff) format("woff");font-weight:400;font-display:swap}
@font-face{font-family:"Mukta Mahee";src:url(fonts/MuktaMahee-Bold.woff) format("woff");font-weight:700;font-display:swap}
@font-face{font-family:"Noto Serif Gurmukhi";src:url(fonts/NotoSerifGurmukhi-VF.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:Ubuntu;src:url(fonts/Ubuntu-Regular.woff) format("woff");font-weight:400;font-display:swap}
@font-face{font-family:Ubuntu;src:url(fonts/Ubuntu-Bold.woff) format("woff");font-weight:700;font-display:swap}
/* v6 (15 Nov 2026): light, modern blue media app */
:root{--bg:#F4F7FC;--card:#fff;--ink:#14213D;--muted:#55627A;--line:#DCE4F2;--blue:#2F6FD6;--blue2:#4A8BEA;--blue-d:#1F56B3;--soft:#E8F0FD;--ring:#1A4DB0;--fs:17px;--r:14px;--sh:0 1px 2px rgba(20,33,61,.06),0 4px 14px rgba(20,33,61,.07)}
*{box-sizing:border-box}
html{font-size:var(--fs);-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Ubuntu,"Mukta Mahee",helvetica,sans-serif;min-height:100vh;padding-bottom:84px;line-height:1.45}
a{color:var(--blue-d)}
:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 5px var(--ring)}
/* header */
#topbar{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px);display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 14px 0;border-bottom:1px solid var(--line);box-shadow:0 2px 10px rgba(20,33,61,.05)}
#title{display:flex;align-items:center;gap:8px;font-weight:700;font-size:1.05rem;color:var(--ink);text-decoration:none;white-space:nowrap;border-radius:10px;padding:2px 4px}
#title .tlogo{width:40px;height:30px;border-radius:7px;object-fit:cover;box-shadow:0 1px 3px rgba(0,0,0,.18)}
#tools{margin-left:auto;display:flex;align-items:center;gap:6px}
#sform{display:flex;align-items:center;background:var(--soft);border:1px solid transparent;border-radius:999px;overflow:hidden;transition:border-color .15s,background .15s}
#sform:focus-within{background:#fff;border-color:var(--blue)}
#q{border:0;background:transparent;padding:8px 6px 8px 14px;font:inherit;font-size:.9rem;width:min(40vw,340px);color:var(--ink);outline:none}
#q::placeholder{color:#6B7891}
#mic{border:0;background:transparent;font-size:.95rem;padding:6px 10px;cursor:pointer;border-radius:999px}
#tools>button{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:4px 9px;font:inherit;font-size:.78rem;cursor:pointer}
#tools>button:hover{border-color:var(--blue);color:var(--blue-d)}
#tabs{flex-basis:100%;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;margin:0 -4px}
#tabs::-webkit-scrollbar{display:none}
#tabs a{flex:none;text-decoration:none;color:var(--muted);font-weight:700;font-size:.92rem;padding:8px 14px 9px;border-bottom:3px solid transparent;border-radius:10px 10px 0 0}
#tabs a:hover{color:var(--blue-d);background:var(--soft)}
#tabs a[aria-current]{color:var(--blue-d);border-bottom-color:var(--blue)}
#unofficial{margin:8px 14px 0;text-align:center;font-size:.68rem;line-height:1.4;color:var(--muted)}
#unofficial a{text-decoration:none;color:var(--muted)}#unofficial .en{opacity:.85}
#content{max-width:1280px;margin:0 auto;padding:4px 0 10px;outline:none}
.center{text-align:center}
/* headings */
h2.sec{font-size:1.02rem;font-weight:700;margin:22px 14px 8px;color:var(--ink);letter-spacing:.01em}
h1.pt{font-size:1.3rem;margin:16px 14px 4px;color:var(--ink);line-height:1.35}
.crumb{margin:10px 14px 0;font-size:.8rem;color:var(--muted)}.crumb a{color:var(--blue-d);text-decoration:none}
.note{font-size:.82rem;color:var(--muted);margin:4px 14px}
.quote{background:var(--card);color:var(--ink);width:max-content;max-width:94%;margin:14px auto 0;padding:12px 20px;text-align:center;font-family:"Noto Serif Gurmukhi",serif;font-size:.95rem;line-height:1.7;border-radius:var(--r);box-shadow:var(--sh);border:1px solid var(--line)}
.quote small{display:block;color:var(--muted);font-family:"Mukta Mahee",sans-serif;font-size:.7rem}
.logo{display:block;margin:12px auto 6px;width:120px;height:auto;border-radius:12px;box-shadow:var(--sh)}
/* list rows */
ul.pageitem{border-radius:var(--r);background:var(--card);border:1px solid var(--line);box-shadow:var(--sh);margin:4px 12px 18px;padding:0;list-style:none;overflow:hidden}
ul.pageitem li{border-top:1px solid var(--line)}ul.pageitem li:first-child{border-top:0}
.menu{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 30px 8px 12px;text-decoration:none;color:var(--ink);position:relative;transition:background .12s}
.menu:hover{background:var(--soft)}
.menu:focus{background:var(--soft);outline:none}
.menu:focus-visible{box-shadow:inset 0 0 0 3px var(--ring)}
.menu img{width:auto;height:34px;border-radius:6px}
.menu img.th{width:112px;height:63px;object-fit:cover;border-radius:10px;background:#dde5f2;flex:none}
.menu .name{font-weight:700;font-size:1rem;flex:1;min-width:0}
.menu .comment{font-size:.88rem;white-space:nowrap;color:var(--blue-d)}
.menu:after{content:"›";position:absolute;right:12px;top:50%;transform:translateY(-52%);font-size:1.3rem;color:#9AA7BD}
.menu.play:after{content:"▶";font-size:.75rem;color:var(--blue)}
.menu .gb{font-family:"Noto Serif Gurmukhi",serif;font-weight:500;display:block;font-size:1rem;line-height:1.6}
.menu .sub{display:block;font-weight:400;font-size:.8rem;color:var(--muted)}
.textbox{padding:10px 14px;border-top:1px solid var(--line)}
.gurbani{font-family:"Noto Serif Gurmukhi",serif;font-size:1.25rem;line-height:1.9;margin:0;padding:0;list-style:none}
.gurbani li{padding:4px 14px;border-top:1px solid var(--line)}
.gurbani li.has{background:#F0F5FE}
.gurbani .chips{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 4px}
.chip{font-family:"Mukta Mahee",sans-serif;font-size:.78rem;border:1px solid #BFD0EE;border-radius:999px;padding:3px 11px;background:#fff;color:var(--blue-d);cursor:pointer;text-decoration:none}
.chip:hover,.chip:focus{background:var(--blue);border-color:var(--blue);color:#fff;outline:none}
.pager{display:flex;justify-content:space-between;gap:8px;margin:10px 12px}
.btn[hidden]{display:none!important}.btn{display:inline-block;border:1px solid #BFD0EE;border-radius:999px;background:#fff;color:var(--blue-d);font:inherit;font-weight:700;font-size:.88rem;padding:7px 16px;text-decoration:none;cursor:pointer;transition:background .12s,color .12s}
.btn:hover,.btn:focus{background:var(--blue);border-color:var(--blue);color:#fff;outline:none}
.bar{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.clamp{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.x{border:0;background:transparent;color:var(--muted);font-size:.8rem;cursor:pointer;padding:4px 10px;border-left:1px solid var(--line)}
.x:hover,.x:focus{background:var(--soft);color:var(--blue-d);outline:none}
.row2{display:flex;align-items:stretch}.row2 .menu{flex:1}
.apx{display:inline-block;margin-inline-start:6px;padding:0 7px;border-radius:999px;background:#FFF3CD;color:#6B4E00;font-size:.8em;font-weight:normal}
/* media cards */
.angjump{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:10px 14px 0;font-size:.85rem;color:var(--muted)}
.angjump input{width:5.5em;border:1px solid var(--line);border-radius:999px;padding:6px 10px;font:inherit;color:var(--ink);background:#fff}
.angjump .btn{padding:5px 14px}
.shelf{margin:6px 0 4px}
.shh{display:flex;align-items:baseline;justify-content:space-between;margin:0 14px}
.shh h2.sec{margin-left:0}
.more{font-size:.85rem;font-weight:700;color:var(--blue-d);text-decoration:none;padding:4px 8px;border-radius:999px;white-space:nowrap}
.more:hover,.more:focus{background:var(--soft)}
.cards{display:grid;grid-auto-flow:column;grid-auto-columns:min(70vw,268px);gap:14px;overflow-x:auto;padding:4px 14px 14px;scroll-snap-type:x proximity;scrollbar-width:thin;scroll-padding:0 14px}
.cards .vcard{scroll-snap-align:start}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px 14px;padding:6px 14px 14px}
.vcard{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:var(--ink);border-radius:var(--r);padding:0 0 8px;position:relative;transition:transform .15s}
.vcard:hover .thumb{box-shadow:0 6px 20px rgba(31,86,179,.22)}
.vcard:focus{outline:none}
.vcard:focus-visible .thumb,.vcard:focus .thumb{box-shadow:0 0 0 3px #fff,0 0 0 6px var(--ring)}
.thumb{position:relative;display:block;aspect-ratio:16/9;border-radius:var(--r);overflow:hidden;background:linear-gradient(135deg,#DCE6F7,#EEF3FB);box-shadow:var(--sh);transition:box-shadow .15s}
.thumb img{width:100%;height:100%;object-fit:cover;display:block}
.athumb{background:#0B1A4A}.athumb img{object-fit:contain;padding:10% 22%}
.dur{position:absolute;right:8px;bottom:8px;background:rgba(10,18,40,.82);color:#fff;font-size:.72rem;font-weight:700;padding:2px 7px;border-radius:6px;font-family:Ubuntu,sans-serif}
.playmark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:32px;height:32px;border-radius:50%;background:rgba(10,18,40,.72);color:#fff;font-size:13px;line-height:32px;text-align:center;font-family:Ubuntu,sans-serif;font-weight:700;padding-left:2px;pointer-events:none;box-shadow:0 1px 6px rgba(0,0,0,.28);z-index:1}
html.tv .playmark{width:40px;height:40px;font-size:15px;line-height:40px}
.prog{position:absolute;left:8px;top:8px;background:var(--blue);color:#fff;font-size:.72rem;font-weight:700;padding:2px 8px;border-radius:999px}
.vt{font-weight:700;font-size:.95rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding:0 2px}
.vt .gb,.vtitle .gb{font-family:"Noto Serif Gurmukhi",serif;font-weight:600}
.vs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:.78rem;color:var(--muted);padding:0 2px}
.badge{display:inline-block;background:var(--soft);color:var(--blue-d);font-weight:700;border-radius:999px;padding:1px 9px;font-size:.76rem}
.badge.apx2{background:#FFF3CD;color:#6B4E00}
.ser{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.flt{display:block;margin:6px 14px;font-size:.85rem;color:var(--muted)}
.flt select{font:inherit;border:1px solid var(--line);border-radius:10px;padding:6px 10px;background:#fff;color:var(--ink);max-width:100%}
/* video page */
.vplayer{position:relative;aspect-ratio:16/9;background:#000;border-radius:0;overflow:hidden;max-width:1100px;margin:0 auto;box-shadow:var(--sh)}
.vplayer.vshort{aspect-ratio:9/16;max-width:min(420px,100%);max-height:78vh}
.vplayer iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vinfo{max-width:1100px;margin:0 auto;padding:4px 14px}
.vtitle{font-size:1.2rem;line-height:1.45;margin:12px 0 4px}
.vmeta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0;font-size:.85rem;color:var(--muted)}
.vlist{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px 14px;padding:4px 14px 14px;max-width:1100px;margin:0 auto}
@media (min-width:900px){.vplayer{margin-top:14px;border-radius:var(--r)}}
/* footer */
#footer{text-align:center;margin:26px 12px 8px;font-size:.74rem;line-height:1.5;color:var(--muted)}
#footer a{color:var(--muted)}
#footer img{vertical-align:middle;height:22px;width:auto;border-radius:4px}
#footer .small{font-size:.66rem;margin:2px 0}
/* mini player (persistent) */
#player{position:fixed;left:8px;right:8px;bottom:8px;z-index:1000;background:rgba(255,255,255,.97);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 28px rgba(20,33,61,.18);padding:6px 10px calc(6px + env(safe-area-inset-bottom));max-width:1100px;margin:0 auto}
.prow{display:flex;align-items:center;gap:4px;flex-wrap:nowrap;overflow-x:auto}
.prow button{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;min-width:36px;height:34px;font-size:.85rem;cursor:pointer;flex:none}
.prow button:hover{border-color:var(--blue);color:var(--blue-d)}
.prow button.big{min-width:46px;height:40px;font-size:1.05rem;background:var(--blue);border-color:var(--blue);color:#fff}
.prow button.big:hover{background:var(--blue-d)}
.prow button:focus{outline:none;border-color:var(--ring)}.prow button:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 5px var(--ring)}
#seek,#vol{accent-color:var(--blue)}
#seek{flex:1;min-width:80px}#vol{width:70px}
#tcur,#tdur{font-size:.75rem;min-width:36px;text-align:center;font-family:Ubuntu,sans-serif;color:var(--muted)}
#pinfo{font-size:.78rem;color:var(--ink);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:3px 4px 0}
#ytbox{position:absolute;right:8px;bottom:calc(100% + 6px);width:256px;height:144px;border-radius:12px;overflow:hidden;background:#000;box-shadow:var(--sh)}
#ytbox iframe,#yt{width:100%;height:100%;display:block}
.resume{display:inline-flex;gap:6px;align-items:center;font-size:.78rem;font-weight:400;padding:2px 4px;color:var(--muted)}
.resume button{min-width:auto;padding:1px 9px;border:1px solid #BFD0EE;border-radius:999px;background:#fff;color:var(--blue-d);font:inherit;cursor:pointer}
@media (max-width:640px){#q{width:34vw}#vol,#tools>button{display:none}.prow button{min-width:32px}#ytbox{width:200px;height:113px}#title span{font-size:.98rem}.grid,.vlist{grid-template-columns:1fr 1fr;gap:14px 10px}.vt{font-size:.86rem}.angjump{justify-content:center}}
@media (max-width:380px){.grid,.vlist{grid-template-columns:1fr}}
/* TV / big screens */
@media (min-width:1600px){:root{--fs:22px}#content{max-width:1600px}.cards{grid-auto-columns:340px}}
html.tv{--fs:24px}html.tv #content{max-width:1700px}
html.tv .menu{min-height:64px}
html.tv .cards{grid-auto-columns:360px}
html.tv .menu:focus,html.tv .chip:focus,html.tv .btn:focus,html.tv .prow button:focus,html.tv #tabs a:focus{box-shadow:0 0 0 3px #fff,0 0 0 7px var(--ring)}
html.tv .vcard:focus .thumb{box-shadow:0 0 0 4px #fff,0 0 0 9px var(--ring);transform:scale(1.03)}
#player.ytmode .prow button:not([data-k=close]),#player.ytmode .prow input,#player.ytmode .prow span{display:none}
#player.ytmode .prow{justify-content:flex-end}
.ytbtn{display:block;text-align:center;background:#c4302b;color:#fff;font-weight:700;border-radius:10px;padding:12px;margin:2px 0 6px;text-decoration:none;font-size:1rem;position:relative;z-index:1001}
.ytbtn[hidden]{display:none}
.ytbtn:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 5px var(--ring);outline:none}
#mic.off{opacity:.45}
#toast{position:fixed;left:50%;transform:translateX(-50%);top:70px;z-index:1100;background:var(--ink);color:#fff;border-radius:12px;padding:10px 16px;max-width:92vw;font-size:.9rem;box-shadow:0 8px 24px rgba(0,0,0,.25);font-family:"Mukta Mahee",sans-serif}
#toast[hidden]{display:none}
#player.ytmode{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
#player[hidden],#player.ytmode[hidden]{display:none}
#player.ytmode .ytbtn{flex:1;margin:0;padding:10px}
#player.ytmode .prow{flex:none}
#player.ytmode #pinfo{flex-basis:100%;order:3}

/* v7: credit line in footer, clear of mini-player */
#footer #unofficial{margin:8px auto 0;max-width:760px;font-size:.7rem;line-height:1.5;padding:0}
#footer #unofficial a{color:var(--muted);text-decoration:none}
body:has(#player:not([hidden])){padding-bottom:calc(150px + env(safe-area-inset-bottom))}

/* v8: Bani shelves */
.shh .cnt{font-size:.72em;font-weight:600;color:var(--muted);background:var(--soft);border-radius:999px;padding:1px 8px;margin-left:6px;vertical-align:middle}
.crumb{margin:12px 14px 0;font-size:.85rem}.crumb a{color:var(--blue-d);text-decoration:none}
.vmeta .blink{color:var(--blue-d);text-decoration:none;font-weight:600}

/* v9: English beside Punjabi (smaller, lighter) */
.en{font-family:Ubuntu,helvetica,sans-serif;font-size:.72em;font-weight:400;color:var(--muted);letter-spacing:.01em;margin-left:.35em;white-space:nowrap}
#tabs .en{font-size:.68em}
.vt .en,.blink .en{display:block;margin:2px 0 0;white-space:normal}
.shh .sec .en{font-size:.62em}
.btn .en,.more .en{font-size:.78em;color:inherit;opacity:.8}
.badge .en{color:inherit;opacity:.8}
.ytsmall{margin:6px 14px 0;font-size:.78rem}.ytsmall a{color:var(--muted)}
.tv .ytsmall{display:none}
#unofficial .en{font-size:inherit;margin-left:0;white-space:normal;color:inherit;font-family:inherit}
/* v9 (1:39am): search hidden; #/search route still works */
#sform,#tabs a[data-tab="s"],#tabs a[href="#/search"]{display:none!important}
/* v9: big, focusable Close on the mini-player (TV remote) */
.prow button.pclose{margin-left:auto;padding:8px 16px;border-radius:999px;font-weight:700;background:#FDECEC;color:#B42318;border:1px solid #F5C2C0;white-space:nowrap;min-width:auto}
.prow button.pclose .en{color:inherit;opacity:.85}
.prow button.pclose:hover,.prow button.pclose:focus{background:#B42318;color:#fff}
html.tv .prow button.pclose{font-size:1.15rem;padding:10px 22px}
html.tv #player button:focus,html.tv #player input:focus{box-shadow:0 0 0 3px #fff,0 0 0 6px var(--ring);transform:scale(1.08)}

/* v10 (1:46am): simpler player */
#pbar{height:4px;background:var(--line);border-radius:4px;overflow:hidden;margin:0 2px 6px}#pbar i{display:block;height:100%;width:0;background:var(--blue);transition:width .9s linear}
#player .prow{gap:10px;align-items:center}
#player .prow button.big{min-width:56px;height:48px;font-size:1.3rem}
#player .prow button.mid{height:44px;padding:0 16px;font-size:1rem;font-weight:700}
#player #pinfo{flex:1;min-width:0;padding:0 4px;font-size:.85rem}
#ptime{font-size:.78rem;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
#player .prow button.pclose{margin-left:0;height:44px}
@media (max-width:640px){#ptime{display:none}#player .prow button.mid .en,#player .prow button.pclose .en{display:none}}
.vbtns{display:flex;gap:12px;flex-wrap:wrap;padding:14px 14px 4px}
.vb{display:inline-flex;align-items:center;gap:6px;padding:12px 22px;border-radius:999px;font-weight:700;font-size:1.05rem;text-decoration:none;border:1px solid var(--line);background:var(--card);color:var(--ink);cursor:pointer;font-family:inherit}
.vb.pri{background:var(--blue);border-color:var(--blue);color:#fff}.vb.pri .en{color:#e6eeff}
.vb:hover,.vb:focus{border-color:var(--ring)}
html.tv .vb{font-size:1.2rem;padding:14px 28px}
html.tv .vb:focus{box-shadow:0 0 0 3px #fff,0 0 0 7px var(--ring);transform:scale(1.05)}
.vinfo .vmeta{margin:4px 0 0}

/* v11 (1:53am): video fits the screen */
.vplayer:not(.vshort){width:100%;max-width:none;aspect-ratio:auto;height:auto;max-height:none;background:#000;display:flex;justify-content:center;align-items:center;padding:0;margin:0;border-radius:0;overflow:hidden}
.vplayer:not(.vshort) iframe{position:static;display:block;width:min(100%,calc((100dvh - var(--hdr,112px)) * 16 / 9));height:auto;aspect-ratio:16/9;max-height:calc(100dvh - var(--hdr,112px));border:0;border-radius:0}
@media (max-width:640px){:root{--hdr:104px}}
/* phone landscape: full screen */
@media (orientation:landscape) and (max-height:520px){
 body.vpage #topbar,body.vpage #footer{display:none}
 body.vpage .vplayer:not(.vshort){position:fixed;inset:0;z-index:900;height:100dvh;margin:0}
 body.vpage .vplayer:not(.vshort) iframe{width:min(100vw,calc(100dvh * 16 / 9));max-height:100dvh}
 body.vpage{overflow:hidden}
}
/* TV: the player is the whole screen, letterboxed 16:9; Back returns to the list */
html.tv body.vpage{overflow:hidden;padding:0}
html.tv body.vpage #topbar,html.tv body.vpage #footer,html.tv body.vpage .vinfo,html.tv body.vpage .shelf,html.tv body.vpage .ytsmall,html.tv body.vpage #player{display:none!important}
html.tv body.vpage #content{padding:0!important;margin:0;max-width:none}
html.tv body.vpage .vplayer:not(.vshort){position:fixed;inset:0;width:100vw;height:100vh;z-index:900;margin:0}
html.tv body.vpage .vplayer:not(.vshort) iframe{width:min(100vw,calc(100vh * 16 / 9));height:auto;max-height:100vh}
html.tv body.vpage .vbtns{position:fixed;left:0;right:0;bottom:5vh;z-index:950;justify-content:center;padding:0;transition:opacity .4s}
html.tv body.vpage .vb{background:rgba(10,16,30,.82);color:#fff;border-color:rgba(255,255,255,.25)}
html.tv body.vpage .vb.pri{background:#fff;color:#0B1220}
html.tv body.vpage.idle .vbtns{opacity:0}
@media (max-width:640px){.vbtns{gap:8px;padding:12px 12px 2px}.vb{padding:10px 14px;font-size:.95rem}.vb .en{display:none}}
/* v12b (P0 1:57am): Fire TV's WebView draws the video on a surface BEHIND the page, so everything over the video must be see-through */
html.tv.vpage,html.tv body.vpage,html.tv body.vpage #content,html.tv body.vpage .vplayer,html.tv body.vpage .vplayer iframe{background:transparent!important;background-image:none!important}

/* v14: tidy home */
.home .shelf{margin:8px 0 30px}
.home .shh{margin-bottom:10px}
.home .vcard .vs .ser{display:none}
.home .hero .hm .ser{display:none}
.homelinks{margin:10px 0 30px;opacity:.85}
html.tv .home .shelf{margin-bottom:36px}

/* v28: hero Resume / Video Banis / Audio layout is in player.css (loaded last) */
html.tv body.vpage .vbtns{flex-wrap:nowrap}
html.tv body.vpage .vb{white-space:nowrap;font-size:1rem;padding:12px 20px}

/* v27: audio tab – series cards + clean track list */
.acard .athumb{background:linear-gradient(135deg,#1b2a4a,#0f1830)}
.acard .aicon{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:2.2rem;opacity:.85;pointer-events:none}
.audiohome h1.pt{margin-bottom:8px}
.tracks{display:flex;flex-direction:column;gap:10px;padding:10px 14px 22px;max-width:900px}
.track{display:grid;grid-template-columns:3.2rem minmax(0,1fr) auto 28px;align-items:center;gap:8px 12px;padding:12px 14px;border-radius:var(--r);background:var(--card);border:1px solid var(--line);box-shadow:var(--sh);text-decoration:none;color:var(--ink);position:relative;min-height:58px}
.track:hover{background:var(--soft)}
.track:focus,.track:focus-visible{outline:none;box-shadow:0 0 0 3px #fff,0 0 0 6px var(--ring)}
.track.on{border-color:var(--blue);background:var(--soft)}
.tnum{font-weight:700;font-variant-numeric:tabular-nums;color:var(--blue-d);font-family:Ubuntu,sans-serif;text-align:center;font-size:.95rem}
.tbody{min-width:0}
.tname{font-weight:700;font-size:.98rem;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.td{font-size:.78rem;color:var(--muted);font-family:Ubuntu,sans-serif;white-space:nowrap;padding:0 2px}
.tplay{width:28px;height:28px;border-radius:50%;background:rgba(10,18,40,.08);color:var(--blue-d);display:flex;align-items:center;justify-content:center;font-size:11px;padding-left:2px;flex:none;line-height:28px;text-align:center}
.track.on .tplay{background:var(--blue);color:#fff}
.tbar{display:block;height:3px;background:rgba(20,33,61,.12);border-radius:99px;margin-top:6px;overflow:hidden}
.tbar i{display:block;height:100%;max-width:100%;background:var(--blue);border-radius:99px}
html.tv .track{min-height:68px;padding:14px 18px;gap:10px 16px}
html.tv .track:focus,html.tv .track:focus-visible{transform:scale(1.01);box-shadow:0 0 0 4px #fff,0 0 0 9px var(--ring)}
html.tv .tplay{width:34px;height:34px;line-height:34px;font-size:13px}

/* v29: Terms & Credit page + footer notice / focus */
.terms{max-width:760px;margin:0 auto;padding:4px 22px 48px}
.terms .lead{font-size:1.05rem;font-weight:700;margin:8px 0 18px;color:var(--ink)}
.terms h2{font-size:1.05rem;font-weight:700;margin:26px 0 8px;color:var(--ink);letter-spacing:.01em}
.terms p{margin:0 0 12px;line-height:1.65;font-size:.95rem}
.terms .links{margin-top:22px;color:var(--muted)}
.terms a{color:var(--blue-d);border-radius:6px}
#footer .notice{margin:10px 12px 0;font-size:.72rem;color:var(--muted)}
#footer a{border-radius:8px}
#footer a:focus,#footer a:focus-visible,.terms a:focus,.terms a:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 5px var(--ring)}
html.tv #footer a:focus,html.tv #footer a:focus-visible,html.tv .terms a:focus,html.tv .terms a:focus-visible{box-shadow:0 0 0 3px #fff,0 0 0 7px var(--ring)}
html.tv .terms{padding:8px 4vw 56px;max-width:900px}
html.tv .terms p,html.tv .terms .lead{font-size:1.05rem}

#adminline{margin-top:8px;font-size:.72rem;color:var(--muted)}

/* additive numbered / continuous-play section + optional crossref (v42) */
.subsec{margin-top:18px;padding-top:8px;border-top:1px solid var(--soft,#e6e6e6)}
.ska-no{display:inline-block;font-weight:700;color:var(--blue-d,#0E3196);margin-right:6px;font-size:.86em}
.ska-xr{font-weight:500;opacity:.85;font-size:.92em}

.ska-xrline{display:block;font-size:.78em;line-height:1.35;font-weight:500;color:var(--blue-d,#0E3196);opacity:.92;margin-top:3px;padding:0 2px;max-height:5.6em;overflow:hidden;word-break:break-word}
.ska-xrline .en{display:block;opacity:.82;font-weight:400;font-size:.95em;margin-left:0;white-space:normal;overflow:hidden}
.ska-skip{font-size:.92em;white-space:normal;overflow:hidden}
.ska-skip .en{display:block;margin-left:0;white-space:normal}
.vinfo .ska-xrline{margin:.25em 0 .4em;max-height:7em}
.ska-skip-inline{grid-column:1/-1;margin:.4em 0;padding:.5em .75em;background:var(--soft,#f3f4f8);border-radius:8px}
/* v48: Fire TV app – video opens in the YouTube app (Amazon WebView black-picture bug) */
.vytapp{max-width:720px;margin:14px auto 0;text-align:center}
.vytapp img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--r);display:block;background:#000}
.vytapp .note{margin-top:10px}

/* v50 Shorts: vertical 9:16 cards and a denser shorts grid */
.vcard.short .thumb{aspect-ratio:9/16}
.vcard.short .vt{font-size:.86rem;line-height:1.35;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.grid.shorts-grid{grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:16px 10px}
.cards.shorts-cards{grid-auto-columns:min(42vw,168px)}
@media (max-width:640px){.grid.shorts-grid{grid-template-columns:repeat(3,1fr);gap:12px 8px}.vcard.short .vt{font-size:.8rem}}
@media (max-width:380px){.grid.shorts-grid{grid-template-columns:repeat(2,1fr)}}
html.tv .grid.shorts-grid{grid-template-columns:repeat(auto-fill,minmax(164px,1fr));gap:16px 12px}
html.tv .cards.shorts-cards{grid-auto-columns:176px}

/* v49: centre vertical Shorts player (player.css had margin:0, which pushed it left) */
.vplayer.vshort{display:block;position:relative;aspect-ratio:9/16;width:min(420px,92vw);max-width:min(420px,100%);max-height:78vh;height:auto;margin:12px auto 0!important;left:auto;right:auto}
html.tv .vplayer.vshort{width:min(480px,36vw);max-height:78vh;margin:16px auto 0!important}
@media (max-width:640px){.vplayer.vshort{width:min(100%,calc(78vh * 9 / 16));max-width:92vw;margin:8px auto 0!important}}
html.tv body.vpage .vplayer.vshort{position:relative;inset:auto;z-index:auto;width:min(480px,36vw);height:auto;margin:16px auto 0!important}
.vcont{position:absolute;left:0;right:0;bottom:0;z-index:6;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;padding:14px 12px;background:rgba(8,12,24,.86);color:#fff}
.vcont[hidden]{display:none}
.vcont p{margin:0;font-weight:700}
html.tv .vcont .vb:focus{box-shadow:0 0 0 3px #fff,0 0 0 7px var(--ring)}

/* v55: Fire TV remote – View All is clearly focused; Explore / Back to Shorts stack so Up/Down reaches them */
html.tv a.more:focus,html.tv a.more:focus-visible{outline:none;box-shadow:0 0 0 3px #fff,0 0 0 7px var(--ring);background:var(--soft)}
.vshbtns{display:flex;gap:12px;flex-wrap:wrap}
html.tv .vshbtns{flex-direction:column;align-items:stretch;gap:8px}

/* v56: Shorts player — Back to Shorts at the top; Return to Main Menu at the bottom */
.vbtns-short{flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:10px}
.vbtns-top,.vbtns-mid,.vbtns-bot{display:flex;gap:12px;flex-wrap:wrap}
.vbtns-top{justify-content:flex-start}
.vbtns-mid,.vbtns-bot{justify-content:center}
.vbtns-bot{margin-top:4px}
html.tv body.vpage .vbtns.vbtns-short{flex-wrap:nowrap;flex-direction:column;align-items:stretch}
html.tv #vshortback:focus,html.tv #vexplore:focus,html.tv #vshome:focus{box-shadow:0 0 0 3px #fff,0 0 0 7px var(--ring)}

/* v61: Jaap Sahib folder subtitles + in-app PDF reader */
.vsub{display:block;font-size:.8rem;line-height:1.4;color:var(--muted,#5a6a80);padding:0 2px;font-weight:500}
.vsub .en{display:block;margin-top:1px;font-size:.92em;opacity:.85}
.dcard .dthumb{background:radial-gradient(120% 90% at 20% 0%,rgba(127,211,255,.40),transparent 60%),linear-gradient(135deg,#0B2C8C,#071C5C)}
.dcard .atn{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:12px 14px;font-weight:700;font-size:1.05rem;line-height:1.35;color:#eaf6ff;text-shadow:0 1px 3px rgba(0,0,0,.6)}
html.rpage #getapp-bar,body.rpage #getapp-bar{display:none!important}
body.rpage{padding-bottom:12px!important}
body.rpage #footer{display:none}
.reader{margin:6px 0 0;display:flex;flex-direction:column;gap:8px;min-height:calc(100dvh - 250px)}
.rstage{background:#1a1f2c;border-radius:var(--r,12px);overflow:auto;flex:1;min-height:42vh;max-height:calc(100dvh - 280px);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:10px;-webkit-overflow-scrolling:touch;outline:none}
.rstage:focus{box-shadow:0 0 0 3px #fff,0 0 0 7px var(--ring,#4aa3ff)}
.rstage canvas{display:block;background:#fff;max-width:none;height:auto;box-shadow:0 4px 24px rgba(0,0,0,.35)}
.rbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;padding:8px 8px 12px;position:sticky;bottom:0;z-index:6;background:var(--bg,#0E3196)}
.rbar .btn{min-width:44px;min-height:44px;padding:8px 16px;font-size:1rem}
.rbar .rzoom{font-size:1.3rem;font-weight:700;min-width:48px}
.rpage{font-weight:700;min-width:6.5rem;text-align:center}
html.tv .rstage{max-height:calc(100vh - 260px)}
html.tv .rbar .btn{min-height:52px;font-size:1.15rem;padding:10px 20px}
html.tv .rbar .btn:focus{box-shadow:0 0 0 3px #fff,0 0 0 7px var(--ring,#4aa3ff)}
@media (max-width:640px){.reader{min-height:calc(100dvh - 230px)}.rstage{max-height:calc(100dvh - 250px);min-height:40vh}.rbar{gap:6px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}.rbar .btn{padding:8px 12px}}
/* v68 TV: keep the "All parts present" / gaps note clear of the focus ring on the first row */
html.tv .subsec .ska-skip{margin-top:.3em;margin-bottom:1.1em;line-height:1.5;overflow:visible;position:relative;z-index:1}
/* v68 TV: other-channel credit on cards is one short line (full credit stays on the video page) */
html.tv .vcard .ch-credit .en{display:none}
html.tv .vcard .ch-credit{-webkit-line-clamp:1;font-size:.8rem}
