@font-face{font-family:"SL Display";src:url("fonts/Lora-VF.woff2") format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:NotoSerifGurmukhi;src:url("fonts/NotoSerifGurmukhi-VF.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:MuktaMahee;src:url("fonts/MuktaMahee-Regular.woff") format("woff");font-weight:400;font-display:swap}
@font-face{font-family:MuktaMahee;src:url("fonts/MuktaMahee-Bold.woff") format("woff");font-weight:700;font-display:swap}

:root{
  --bg:#fbf8f2;--card:#fff;--ink:#1d1d1f;--muted:#6b6b70;--line:#e6e0d4;
  --acc:#1f4e8c;--acc2:#e07b00;--sk:#f4efe4;
  --sl-navy:#13294b;--sl-gold:#e8b23a;--dz-saffron:#d9822b;--dz-blue:#1f4e8c;--dz-navy:#16365f;--dz-gold:#b07a12;
  --dz-display:"SL Display",Lora,"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif;
  --gur:NotoSerifGurmukhi,"Noto Sans Gurmukhi","Nirmala UI","Raavi","Mukta Mahee","Gurmukhi MN",sans-serif;
  --live:#22c55e;--off:#6b7280;--amber:#f59e0b;
  --dz-lattice:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23b07a12' stroke-opacity='.075' stroke-width='1'%3E%3Cpath d='M36 0L72 36L36 72L0 36Z'/%3E%3C/g%3E%3Cg fill='%23d9822b' fill-opacity='.06'%3E%3Cpath d='M36 28l2.4 5.6L44 36l-5.6 2.4L36 44l-2.4-5.6L28 36l5.6-2.4z'/%3E%3C/g%3E%3Cg fill='%231f4e8c' fill-opacity='.05'%3E%3Ccircle cx='0' cy='0' r='2.2'/%3E%3Ccircle cx='72' cy='0' r='2.2'/%3E%3Ccircle cx='0' cy='72' r='2.2'/%3E%3Ccircle cx='72' cy='72' r='2.2'/%3E%3C/g%3E%3C/svg%3E");
  --dz-band:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='8' viewBox='0 0 28 8'%3E%3Cpath d='M7 0l7 4-7 4-7-4z' fill='%23d9822b'/%3E%3Cpath d='M21 0l7 4-7 4-7-4z' fill='%231f4e8c' fill-opacity='.85'/%3E%3Ccircle cx='14' cy='4' r='1' fill='%23b07a12'/%3E%3C/svg%3E");
  --dz-khanda:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%231f4e8c' stroke-opacity='.045' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='100' cy='108' r='42' stroke-width='9'/%3E%3Cpath d='M100 14l9 26-2 104-7 12-7-12-2-104z' stroke-width='5'/%3E%3Cpath d='M84 146h32M100 150v26' stroke-width='6'/%3E%3Ccircle cx='100' cy='182' r='5' stroke-width='4'/%3E%3Cpath d='M122 186C72 178 38 140 46 84' stroke-width='6'/%3E%3Cpath d='M78 186C128 178 162 140 154 84' stroke-width='6'/%3E%3Cpath d='M112 176l10 14M88 176l-10 14' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E");
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;min-height:100%;background:var(--bg);color:var(--ink);
  font:16px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,MuktaMahee,sans-serif}
body{
  background-color:#fbf7ef;
  background-image:var(--dz-khanda),var(--dz-lattice),linear-gradient(180deg,#fdf6ea 0,#fbf8f2 320px,#f8f5ee 100%);
  background-repeat:no-repeat,repeat,no-repeat;
  background-size:min(46vw,520px) auto,72px 72px,100% 100%;
  background-position:right -4vw bottom 6vh,0 0,0 0;
  background-attachment:fixed,fixed,fixed;
  padding-bottom:120px
}
body.dz-gurbani,body.tv,html.tv body{
  background-image:none;background-color:#fbf8f2
}
a{color:var(--acc);text-decoration:none}
a:hover{text-decoration:underline}
button,input,select{font:inherit;color:inherit}
.btn,button,select{padding:.35em .8em;border-radius:8px;border:1px solid #c9c1b0;background:#fff;cursor:pointer}
.btn.primary,button.primary{background:var(--acc);border-color:var(--acc);color:#fff}
.muted{color:var(--muted)}.small{font-size:.86em}
.hidden,[hidden]{display:none!important}

/* ---- header / side rail ---- */
header.top{
  position:sticky;top:0;z-index:40;background:#16365f;color:#fff;
  display:flex;flex-wrap:wrap;gap:.4em 1em;align-items:center;padding:.55em 1em;
  box-shadow:0 1px 0 rgba(0,0,0,.04)
}
header.top::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:6px;background:var(--dz-band) repeat-x center/28px 6px;opacity:.55;pointer-events:none}
header.top a{color:#fff}
.brand,header.top .brand{font-family:var(--dz-display);font-weight:700;font-size:1.1em;letter-spacing:.01em;color:#fff;text-decoration:none}
.title-row{display:flex;align-items:baseline;gap:.6em}
header.top nav{display:flex;gap:.72em;flex-wrap:wrap}
header.top nav a{
  color:#E8C15A!important;font-weight:700;letter-spacing:0;text-decoration:none;
  border-bottom:2px solid transparent;transition:color .2s,border-color .2s
}
header.top nav a:hover,header.top nav a:focus-visible{color:#FFE08A!important;border-bottom-color:rgba(232,193,90,.7);text-decoration:none}
header.top nav a[aria-current="page"]{color:#FFE9A8!important;border-bottom-color:#E8C15A}
.quicksearch{flex:1;min-width:200px}
.quicksearch input{width:100%;padding:.45em .7em;border-radius:8px;border:0;font-size:1em;color:#1d1d1f}
.hdr-row{display:flex;align-items:center;gap:.5em}
.hdr-left{display:flex;align-items:center;flex-wrap:nowrap;gap:.35em}
#langbtn.hbtn{
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.7);color:#fff;
  border-radius:999px;padding:.38em .7em;cursor:pointer;font-weight:600;font-size:.85em
}
#langbtn.hbtn:hover,#langbtn.hbtn:focus{background:rgba(255,255,255,.26)}

/* Permanent left rail (desktop / TV) */
body.side-nav header.top{
  position:fixed!important;top:0;left:0;bottom:0;width:232px;height:100vh;height:100dvh;
  display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
  justify-content:flex-start!important;align-items:stretch!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  padding:.7em .65em 1em!important;row-gap:.35em!important;
  border-bottom:0!important;border-right:3px solid var(--sl-gold,#e8b23a)!important;
  box-sizing:border-box;z-index:40;background:var(--sl-navy,#13294b)!important
}
body.side-nav header.top::after{display:none}
body.side-nav header.top .title-row{
  order:0!important;flex:0 0 auto!important;width:100%!important;
  justify-content:flex-start!important;margin:0 0 .15em!important;padding:0!important
}
body.side-nav header.top .brand{font-size:1.2em!important;line-height:1.25!important;white-space:normal!important;padding:0 .15em!important}
body.side-nav header.top #qs,body.side-nav header.top .quicksearch{
  order:1!important;flex:0 0 auto!important;width:100%!important;max-width:none!important;
  margin:.15em 0 .45em!important;display:block!important
}
body.side-nav header.top #qs input{
  width:100%!important;height:36px!important;min-height:36px!important;font-size:13px!important;
  padding:0 .8em!important;box-sizing:border-box
}
body.side-nav header.top .hdr-row{
  position:static!important;order:2!important;height:auto!important;width:100%!important;
  margin:.2em 0 .35em!important;padding:0!important;flex:0 0 auto!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important
}
body.side-nav header.top .hdr-left{flex-direction:column!important;align-items:stretch!important;width:100%!important}
body.side-nav header.top #langbtn{width:100%!important;height:34px!important}
body.side-nav header.top nav{
  order:3!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important;
  flex-wrap:nowrap!important;align-items:stretch!important;width:100%!important;gap:2px!important;
  margin:0!important;padding:0!important
}
body.side-nav header.top nav a{
  display:block!important;width:100%!important;box-sizing:border-box;text-align:left!important;
  font-size:15px!important;font-weight:700!important;letter-spacing:.02em!important;
  line-height:1.25!important;white-space:nowrap!important;
  padding:.48em .7em!important;border:0!important;border-left:3px solid transparent!important;
  border-bottom:0!important;border-radius:8px!important;color:#fff!important;text-decoration:none!important
}
body.side-nav header.top nav a:hover{
  background:rgba(255,255,255,.10)!important;color:#ffe9a8!important;border-left-color:#e8b23a!important
}
body.side-nav header.top nav a[aria-current="page"]{
  background:rgba(232,178,58,.32)!important;color:#ffe9a8!important;
  border-left:4px solid #e8b23a!important;box-shadow:inset 0 0 0 1px rgba(232,178,58,.35)!important
}
body.side-nav header.top nav a:focus,
body.side-nav header.top nav a:focus-visible{
  outline:3px solid #e07b00!important;outline-offset:1px!important;color:#ffe9a8!important
}
body.side-nav main#view,
body.side-nav #footer.foot{margin-left:232px}
body.side-nav #player.player{left:232px!important;right:0;width:auto}

@media (max-width:1000px),(max-height:600px){
  body.side-nav header.top{width:196px;padding:.45em .45em .7em!important}
  body.side-nav header.top .brand{font-size:1.05em!important}
  body.side-nav header.top nav a{font-size:13.5px!important;padding:.36em .55em!important}
  body.side-nav header.top #qs input{height:32px!important;min-height:32px!important;font-size:12px!important}
  body.side-nav main#view,body.side-nav #footer.foot{margin-left:196px}
  body.side-nav #player.player{left:196px!important}
}

/* Phone: horizontal navy bar (a 196px rail would hide the page) */
@media (max-width:700px){
  body.side-nav header.top{
    position:sticky!important;top:0;left:0;bottom:auto;width:100%!important;height:auto!important;
    max-height:none;flex-direction:column!important;overflow:visible!important;
    border-right:0!important;border-bottom:3px solid var(--sl-gold,#e8b23a)!important;
    padding:.45em .7em .55em!important
  }
  body.side-nav header.top nav{
    flex-direction:row!important;flex-wrap:nowrap!important;overflow-x:auto!important;
    gap:.4em!important;padding:.15em 0 0!important
  }
  body.side-nav header.top nav a{
    width:auto!important;white-space:nowrap!important;padding:.35em .65em!important;
    border-left:0!important;border-bottom:2px solid transparent!important;font-size:14px!important
  }
  body.side-nav header.top nav a[aria-current="page"]{border-left:0!important;border-bottom-color:#e8b23a!important}
  body.side-nav header.top #qs{order:3!important;margin:.25em 0 0!important}
  body.side-nav header.top .hdr-row{order:1!important;flex-direction:row!important}
  body.side-nav header.top #langbtn{width:auto!important}
  body.side-nav main#view,body.side-nav #footer.foot{margin-left:0}
  body.side-nav #player.player{left:0!important}
  body{font-size:16px;padding-bottom:140px}
  .btn,button,select,a.btn{min-height:44px}
}

/* ---- main / typography ---- */
main#view{max-width:1100px;margin-right:auto;padding:1em 1.1em 2em}
#content{outline:none}
#content.pgin{animation:in .25s ease}
@keyframes in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
h1,h2{font-family:var(--dz-display);font-weight:700;line-height:1.25;color:var(--dz-navy)}
h1{font-size:1.45em;margin:.3em 0 .6em}
h2{font-size:1.15em;margin:1.2em 0 .5em}
body.dz-home main#view #content>h1,body.dz-home #content>h1{
  font-size:clamp(1.65em,1.1em + 2.2vw,2.5em);line-height:1.18;margin:.55em 0 .25em;text-align:center
}
body.dz-home #content>h1::after{content:"";display:block;width:min(260px,60%);height:12px;margin:.35em auto 0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='12' viewBox='0 0 260 12'%3E%3Cpath d='M0 6h112M148 6h112' stroke='%23b07a12' stroke-opacity='.55' stroke-width='1.2'/%3E%3Cpath d='M130 0l6 6-6 6-6-6z' fill='%23d9822b'/%3E%3Ccircle cx='118' cy='6' r='2' fill='%231f4e8c' fill-opacity='.7'/%3E%3Ccircle cx='142' cy='6' r='2' fill='%231f4e8c' fill-opacity='.7'/%3E%3C/svg%3E") center/contain no-repeat}
body.dz-home #content>h1+p.lead{text-align:center;margin-left:auto;margin-right:auto}
.lead{color:var(--muted);max-width:50rem}
.crumb{display:flex;flex-wrap:wrap;gap:.35rem;margin:0 0 .8rem;font-size:.95rem}
.crumb a{color:var(--muted)}
.banner{background:#fff;border:1px solid var(--line);border-radius:12px;padding:.8rem 1rem;margin:1rem 0;box-shadow:0 1px 2px rgba(90,60,10,.05)}
.credit{display:block;margin-top:.35rem;color:var(--muted);font-size:.8rem}

/* ---- tiles / cards / lists ---- */
.grid,.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1em;margin:1.2em 0}
.tile.section-tile,.section-tile{
  position:relative;overflow:hidden;display:flex;align-items:flex-end;gap:.85em;
  min-height:8.2em;padding:1.05em 1.15em;border-radius:18px;color:#f7f4ec;
  text-decoration:none;border:2px solid rgba(255,255,255,.12);
  background-color:#161820;background-image:var(--tile-bg,none);background-size:cover;background-position:center;
  isolation:isolate;box-shadow:0 6px 18px rgba(90,60,10,.08);cursor:pointer
}
.tile.section-tile::before,.section-tile::before{
  content:"";position:absolute;inset:0;z-index:0;
  background:linear-gradient(180deg,rgba(10,12,18,.2) 0%,rgba(10,12,18,.55) 52%,rgba(8,10,14,.82) 100%)
}
.tile.section-tile .tile-body,.section-tile .tile-body{position:relative;z-index:1;flex:1;min-width:0}
.tile.section-tile h2,.tile.section-tile h3,.section-tile h3{
  font-family:var(--dz-display);font-weight:700;margin:0 0 .2em;font-size:clamp(1.18em,1em + .5vw,1.42em);
  line-height:1.22;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.7)
}
.tile.section-tile p,.section-tile .tile-count{margin:0;color:#e6e0d2;font-size:.95em;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.7)}
.tile.section-tile:hover,.section-tile:hover{text-decoration:none;border-color:var(--acc,#1f4e8c)}

.tile-bg-guru{background-color:#1a2a3a;background-image:radial-gradient(1200px 400px at 50% -10%,rgba(232,208,128,.35),transparent 55%),linear-gradient(160deg,#1c3a4e,#0d1822 70%)}
.tile-bg-bhagat{background-color:#2a2218;background-image:linear-gradient(165deg,#3a2a1c,#1a140e 70%)}
.tile-bg-dasam{background-color:#2b2418;background-image:repeating-linear-gradient(0deg,rgba(230,210,160,.08) 0 2px,transparent 2px 18px),linear-gradient(180deg,#3a3120,#1a1610)}
.tile-bg-vichar{background-color:#1c241c;background-image:radial-gradient(circle at 30% 20%,rgba(200,180,120,.25),transparent 45%),linear-gradient(160deg,#243028,#121614)}
.tile-bg-official{background-color:#1a1c28;background-image:radial-gradient(circle at 50% 0%,rgba(212,175,55,.28),transparent 50%),linear-gradient(180deg,#242838,#12141c)}
.tile-bg-en{background-color:#1a2430;background-image:linear-gradient(145deg,#1e3a4c,#121820)}
.tile-bg-hi{background-color:#2a1e18;background-image:linear-gradient(145deg,#4a2a1c,#1a1410)}
.tile-bg-video{background-color:#161820;background-image:linear-gradient(160deg,#243044,#12151c)}
.tile-bg-default{background-color:#181a20;background-image:linear-gradient(160deg,#2a2e38,#14161c)}

.card,.litem,.cal-item{
  background:var(--card);border:1px solid #eadfca;border-radius:12px;padding:1em 1.1em;
  color:var(--ink);text-decoration:none;box-shadow:0 1px 2px rgba(90,60,10,.05),0 6px 18px rgba(90,60,10,.05);
  position:relative
}
.cards>.card::before,.list>.litem::before{
  content:"";position:absolute;left:14px;right:14px;top:-1px;height:3px;border-radius:0 0 3px 3px;
  background:linear-gradient(90deg,transparent,var(--dz-saffron) 20%,var(--dz-blue) 80%,transparent);opacity:.55
}
.litem{display:flex;flex-direction:row;align-items:center;gap:.8rem;min-height:0;cursor:pointer;margin:0}
.litem:hover,.card:hover{border-color:var(--acc);text-decoration:none}
.litem .body,.card .body{flex:1;min-width:0}
.litem h2,.card h2,.cal-item h2{margin:0 0 .3rem;color:var(--dz-navy);font-size:1.12rem}
.litem p,.card p,.cal-item p{margin:0;color:var(--muted);font-size:.92rem}
.list{display:flex;flex-direction:column;gap:.55rem;margin:1rem 0}
.group{margin:1.2rem 0}
.group h2{margin-bottom:.5rem}

.cal-item{display:grid;grid-template-columns:7.5rem 1fr;gap:.6rem}
.cal-item.today{border-color:#d9b46a;background:#fff1d6;box-shadow:0 0 0 1px #e8c15a}
.cal-date{font-weight:700;color:var(--dz-navy)}
.cal-kind{display:inline-block;font-size:.72rem;letter-spacing:.04em;text-transform:uppercase;color:var(--dz-blue)}
.diff{display:block;margin-top:.2rem;color:#9a5200;font-size:.85rem}

.lamp{display:inline-flex;align-items:center;gap:.3rem;font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:.1rem .5rem;border:1px solid var(--line);color:var(--muted);flex-shrink:0;background:#fff}
.lamp i{width:.55rem;height:.55rem;border-radius:50%;background:var(--off);display:inline-block}
.lamp.live{color:#166534;border-color:#166534;background:#f0fdf4}
.lamp.live i{background:var(--live)}
.lamp.offline{color:#6b6b70}
.lamp.untested{color:#9a5200;border-color:#92400e;background:#fff8ee}
.lamp.untested i{background:var(--amber)}

/* ---- Gurbani (font, size, colour only) ---- */
.gurbani,.gur{font-family:var(--gur);font-size:1.32em;line-height:1.7;color:var(--ink)}
.g-line,.line{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:.6em .9em;margin:.5em 0}
.g-meta{font-size:.78em;color:var(--muted);display:flex;gap:.8em;flex-wrap:wrap;font-family:system-ui,sans-serif}
.g-tr{font-size:1rem;color:#3a2a10;margin:.25rem 0 0;font-family:system-ui,sans-serif}
.g-src{font-size:.78rem;color:var(--muted);font-style:italic}
.dz-pagefoot{display:flex;align-items:center;justify-content:center;gap:.8em;margin:.6em 0 1.1em;color:#7a6a4f;font-size:.86em;letter-spacing:.04em}
.dz-pagefoot::before,.dz-pagefoot::after{content:"";flex:1;max-width:220px;height:1px;background:linear-gradient(90deg,transparent,#cdb88f)}
.dz-pagefoot::after{background:linear-gradient(90deg,#cdb88f,transparent)}
.dz-pagefoot b{font-family:var(--dz-display);font-weight:700;color:#5d4a2a}

/* ---- footer ---- */
#footer.foot{text-align:center;padding:.55em 1em .6em;font-size:.86rem;line-height:1.35;color:var(--muted);border-top:0;position:relative;padding-top:1.1em}
#footer.foot::before{content:"";position:absolute;left:10%;right:10%;top:0;height:4px;background:var(--dz-band) repeat-x center/28px 6px;opacity:.35}
#footer .footmenu{display:flex;flex-wrap:wrap;justify-content:center;gap:.1em 1.6em;margin:0 0 .4em}
#footer .footmenu a{display:inline-block;padding:.12em .4em;border-radius:5px;color:var(--dz-navy)}
#footer .notice,#footer .credit-foot{max-width:70em;margin:.25em auto;font-size:.9em}
#footer a:focus,#footer a:focus-visible{outline:3px solid #e07b00;outline-offset:1px}

/* ---- player bar (Sach Khoj / slim horizontal bar) ---- */
#player.player{
  position:fixed;left:0;right:0;bottom:0;z-index:60;
  display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;
  column-gap:.7em;row-gap:.1em;padding:.3em .8em .25em;
  border:0;border-top:2px solid #e8b23a;border-radius:0;background:#fffdf8;
  box-shadow:0 -4px 16px rgba(19,41,75,.14);box-sizing:border-box
}
#player.player[hidden]{display:none!important}
#ytbox{width:min(560px,100%);margin:0 auto .4rem;aspect-ratio:16/9;background:#000;border-radius:10px;overflow:hidden;flex:1 1 100%}
#ytbox iframe{width:100%;height:100%;border:0}
#player .ptitle,#pinfo{order:0;flex:0 1 19em;min-width:6em;font-size:.82em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
#player .slp-ctl,.prow{order:1;flex:1 1 640px;width:auto;display:flex;align-items:center;gap:.35em;min-width:0}
#player .slp-b,.prow button{
  width:34px;height:34px;font-size:14px;border-radius:8px;border:1px solid #d9cdb3;background:#fff;cursor:pointer;padding:0
}
#player .slp-b.slp-sm,.ytbtn{
  width:auto;min-width:34px;padding:0 .7em;border-radius:999px;font-size:12px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;background:var(--acc);color:#fff;border-color:var(--acc);text-decoration:none;height:34px
}
#player #pclose,.prow button.pclose{width:34px;height:34px;border:0;box-shadow:none;margin-left:.15em}
#player #pclose:hover,#player #pclose:focus,.prow button.pclose:hover{background:#dc2626;color:#fff}
body.sl-hplayer #view,body.sl-hplayer main#view{padding-bottom:96px}
body.sl-hplayer #sl-remote-hint{bottom:78px}
body.sl-hplayer .dz-tv-help{bottom:76px}
.vytapp{background:#fff8ee;color:var(--ink);border:1px solid #e6dcc6;border-radius:12px;padding:1rem;text-align:center;margin:0 0 1rem}

/* ---- focus rings (remote / TV) ---- */
:focus{outline:none}
:focus-visible,a:focus,button:focus,.tile:focus,.card:focus,.litem:focus,.cal-item:focus,#pinfo:focus,.g-line:focus{
  outline:4px solid #e07b00;outline-offset:3px;box-shadow:0 0 0 7px rgba(224,123,0,.28);position:relative;z-index:5
}
html.sl-remote a:focus,html.sl-remote button:focus,html.sl-remote input:focus,html.sl-remote select:focus,
html.sl-remote textarea:focus,html.sl-remote [tabindex]:focus,html.sl-remote summary:focus,
html.tv a:focus,html.tv button:focus,html.tv .tile:focus,html.tv .litem:focus,html.tv .cal-item:focus,html.tv .g-line:focus,
body.tv a:focus,body.tv button:focus,body.tv .tile:focus,body.tv .section-tile:focus{
  outline:4px solid #e07b00 !important;outline-offset:3px !important;
  box-shadow:0 0 0 7px rgba(224,123,0,.28) !important;position:relative;z-index:5;text-decoration:none
}
html.tv .tile.section-tile:focus,body.tv .section-tile:focus,body.tv .section-tile:focus-visible{
  outline:4px solid #ffd34d !important;outline-offset:4px !important;border-color:#ffd34d !important;transform:scale(1.03)
}
@media (prefers-reduced-motion:reduce){html.tv .tile:focus,body.tv .section-tile:focus{transform:none}}

/* Silk pointer: ring follows :hover, hide stale :focus on another item */
html.firetv.nts-ptr .tile:hover,html.firetv.nts-ptr .card:hover,html.firetv.nts-ptr .litem:hover,
html.firetv.nts-ptr a:hover,html.firetv.nts-ptr button:hover,html.firetv.nts-ptr .cal-item:hover{
  outline:4px solid #e07b00;outline-offset:3px;box-shadow:0 0 0 7px rgba(224,123,0,.28);text-decoration:none
}
html.firetv.nts-ptr:has(.tile:hover,.card:hover,.litem:hover,.cal-item:hover,a:hover,button:hover) .tile:focus:not(:hover),
html.firetv.nts-ptr:has(.tile:hover,.card:hover,.litem:hover,.cal-item:hover,a:hover,button:hover) .card:focus:not(:hover),
html.firetv.nts-ptr:has(.tile:hover,.card:hover,.litem:hover,.cal-item:hover,a:hover,button:hover) .litem:focus:not(:hover),
html.firetv.nts-ptr:has(.tile:hover,.card:hover,.litem:hover,.cal-item:hover,a:hover,button:hover) .cal-item:focus:not(:hover),
html.firetv.nts-ptr:has(.tile:hover,.card:hover,.litem:hover,.cal-item:hover,a:hover,button:hover) a:focus:not(:hover),
html.firetv.nts-ptr:has(.tile:hover,.card:hover,.litem:hover,.cal-item:hover,a:hover,button:hover) button:focus:not(:hover){
  outline:none;box-shadow:none;transform:none
}

html.tv .grid,body.tv .grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.15em}
html.tv .tile.section-tile,body.tv .section-tile{min-height:10.5em}
html.tv .tile.section-tile h2,body.tv .section-tile h3{font-size:1.45em}

/* TV Menu / Top helper + phone-remote hint (no network address) */
.dz-tv-help{position:fixed;right:12px;bottom:12px;z-index:70;display:none;gap:.4em;padding:.3em}
html.tv .dz-tv-help,body.tv .dz-tv-help{display:flex}
.dz-tv-help .btn{min-height:36px;padding:.25em .85em;font-weight:700;background:#fffdf8;color:#16365f;border:1px solid #e6dcc6;border-radius:8px}
.dz-tv-help .btn:focus,.dz-tv-help .btn:focus-visible{outline:3px solid #e07b00;outline-offset:1px}
#sl-remote-hint{
  display:none;position:fixed;left:12px;bottom:58px;z-index:41;
  background:#fff8ee;border:1px solid #e8d2b0;border-radius:8px;padding:.3em .55em;
  font-size:.8rem;color:#5a3b00;max-width:16em
}
html.tv #sl-remote-hint,body.tv #sl-remote-hint{display:block}
#toast{position:fixed;bottom:5.5rem;left:50%;transform:translateX(-50%);background:#16365f;color:#fff;padding:.5em 1em;border-radius:999px;z-index:80;box-shadow:0 4px 14px rgba(0,0,0,.2)}

@media (max-width:700px){
  .grid,.cards{grid-template-columns:1fr 1fr;gap:.75em}
  .cal-item{grid-template-columns:1fr}
  .tile.section-tile{min-height:7.2em;padding:.9em}
  html body.side-nav.sl-hplayer #player.player,html body.sl-hplayer #player.player{left:0!important;padding:.3em .5em .35em!important}
  #player .ptitle,#pinfo{flex:1 1 100%}
  #player .slp-ctl,.prow{flex:1 1 100%;flex-wrap:wrap}
  #sl-remote-hint{display:none!important}
  body.sl-hplayer main#view{padding-bottom:170px}
}
@media (max-width:420px){ .grid,.cards{grid-template-columns:1fr} }


/* ---- Find a Gurdwara near you (etiquette page) ---- */
.gd-lookup{margin:1.1rem 0 1.4rem;padding:1rem 1.1rem 1.05rem}
.gd-lookup h2{margin:.1em 0 .35em;color:var(--dz-navy);font-size:1.28rem}
.gd-lookup .lead{margin:0 0 .8rem}
.gd-lookup form{display:flex;flex-direction:column;gap:.45rem;align-items:stretch}
.gd-lookup label{font-weight:700;color:var(--dz-navy);font-size:.92rem}
#gd-q{
  width:100%;min-height:48px;padding:.65em .85em;border-radius:10px;
  border:1px solid #d9cdb3;background:#fff;color:var(--ink);font-size:1.05rem
}
#gd-q:focus{outline:3px solid #e07b00;outline-offset:2px;border-color:#e07b00}
.gd-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.15rem}
.gd-actions .btn{min-height:44px;padding:.5em 1.05em;font-weight:700}
.gd-actions .btn.primary{background:var(--dz-navy,#16365f);border-color:var(--dz-navy,#16365f);color:#fff}
.gd-actions .btn.primary:hover,.gd-actions .btn.primary:focus{background:#1f4e8c}
#gd-status{margin:.7rem 0 .35rem;color:var(--muted);min-height:1.2em}
#gd-status.gd-err{color:#8a1f1f}
#gd-status.gd-ok{color:#1f4e8c;font-weight:600}
#gd-map{
  width:100%;height:240px;margin:.6rem 0 .8rem;border-radius:12px;overflow:hidden;
  border:1px solid #eadfca;background:#f3eee4
}
@media (min-width:800px){ #gd-map{height:320px} }
#gd-results.list{margin:.4rem 0 0}
.gd-item{align-items:flex-start}
.gd-item .gd-dist{flex:0 0 auto;font-weight:700;color:var(--dz-navy);min-width:4.8rem}
.gd-item .gd-links{display:flex;flex-wrap:wrap;gap:.4rem .9rem;margin-top:.35rem}
.gd-item .gd-links a{font-weight:700;font-size:.9rem}
.gd-credit{margin-top:.9rem;font-size:.8rem;color:var(--muted);line-height:1.4}
html.tv #gd-map,body.tv #gd-map{display:none!important}
@media (max-width:700px){
  .gd-lookup{padding:.9rem .85rem 1rem}
  .gd-actions .btn{flex:1 1 100%}
}


/* ---- long folders / lists (hundreds of items) ---- */
.list-long .litem, .g-wrap .g-line{content-visibility:auto;contain-intrinsic-size:auto 72px}
.list-long{margin-top:.8rem}
.list .litem{content-visibility:auto;contain-intrinsic-size:auto 72px}

/* ---- Ang reader toolbar ---- */
.g-toolbar{
  position:sticky;top:0;z-index:8;display:flex;flex-wrap:wrap;gap:.45rem .6rem;align-items:center;
  background:#fffdf8;border:1px solid #eadfca;border-radius:12px;padding:.55rem .7rem;margin:0 0 1rem;
  box-shadow:0 4px 14px rgba(90,60,10,.06)
}
body.side-nav .g-toolbar{top:.4rem}
.g-toolbar .btn, .g-goto-row .btn, .g-find-row .btn{min-height:40px;padding:.35em .8em;font-weight:700}
.g-toolbar .btn.is-off, .g-toolbar .btn[aria-disabled="true"]{opacity:.45;pointer-events:none}
.g-goto-row, .g-find-row, form.g-goto{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;flex:1 1 12em}
.g-goto-row input, .g-find-row input, form.g-goto input{
  min-height:40px;border:1px solid #d9cdb3;border-radius:8px;padding:.3em .6em;background:#fff;min-width:5.5em
}
.g-find-row input{flex:1 1 10em;min-width:8em}
.g-goto.card{padding:1rem 1.1rem;margin:1rem 0}
.g-find-status{flex:1 1 100%;color:var(--muted);font-size:.9rem;min-height:1.1em}
.g-line.g-hit{border-color:#d9b46a;box-shadow:0 0 0 1px #e8c15a;background:#fff8e8}
.g-line.g-miss{opacity:.38}
.gurbani mark{background:#ffe08a;color:inherit;padding:0 .05em}
@media (max-width:700px){
  .g-toolbar{position:static;padding:.65rem .7rem}
  .g-toolbar .btn, .g-goto-row, .g-find-row{flex:1 1 100%}
  .g-goto-row input, .g-find-row input{flex:1}
}


/* CONTENT + Library restyle: Gurbani search, Go-to-Ang, Bani pages, media lists */
.g-form.card{padding:1rem 1.1rem;margin:1rem 0}
.g-form h2{margin:0 0 .35rem;color:var(--dz-navy,#16365f);font-size:1.15rem}
.g-form .lead{margin:.2rem 0 .7rem}
.g-form .bar, .g-search .bar{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem}
.g-form input[type="search"], .g-form input[type="number"]{
  min-height:44px;border:1px solid #d9cdb3;border-radius:8px;padding:.35em .7em;background:#fff;flex:1 1 10em;min-width:6em;font-size:1rem
}
.g-form .btn, .g-ang-bottom .btn{min-height:44px;font-weight:700}
.g-ang-bottom{flex-wrap:wrap;gap:.45rem;margin:1rem 0 1.2rem}
.group>h2{color:var(--dz-navy,#16365f);margin:1.2rem 0 .4rem;font-size:1.2rem}
.g-wrap{margin:0 0 1rem}
@media (max-width:700px){
  .g-form .bar{flex-direction:column;align-items:stretch}
  .g-form .btn{width:100%}
  .g-form input[type="search"], .g-form input[type="number"]{width:100%;min-width:0}
}

/* ===== RESTYLE 17 Nov 2026: a friendly step-by-step guide in the Sikh Library look =====
   Colours, fonts, rail and card style follow the private Sikh Library app (sikh_theme.css / side_nav.css).
   Players follow the Sach Khoj app (sachkhoj.pages.dev player.css v47). */
[lang="pa"],.nt-gur{font-family:var(--gur)}
/* light Library cards for every tile (home, rooms, Gurbani hub) */
.tile.section-tile,.section-tile,.tile.nt-step,.tile.nt-ex,.tile.nt-act{
  background:#fff!important;background-image:none!important;color:var(--ink)!important;
  border:1px solid #eadfca!important;border-radius:14px!important;min-height:0!important;
  box-shadow:0 1px 2px rgba(90,60,10,.05),0 6px 18px rgba(90,60,10,.06)!important;position:relative;overflow:hidden;text-decoration:none
}
.tile.section-tile::before,.section-tile::before,.tile.nt-step::before,.tile.nt-ex::before{
  content:""!important;position:absolute;left:14px;right:14px;top:0;height:3px;border-radius:0 0 3px 3px;
  background:linear-gradient(90deg,transparent,var(--dz-saffron) 20%,var(--dz-blue) 80%,transparent)!important;opacity:.6;inset:auto 14px auto 14px
}
.tile.section-tile h2,.tile.section-tile h3,.section-tile h3,.nt-step h3,.nt-ex h3{
  font-family:var(--dz-display);color:var(--dz-navy)!important;text-shadow:none!important;font-weight:700;margin:.1em 0 .3em;font-size:1.12em;line-height:1.25
}
.tile.section-tile p,.section-tile .tile-count,.nt-step p,.nt-ex p{color:var(--muted)!important;text-shadow:none!important;font-weight:400!important;margin:0;font-size:.93em}
.tile.section-tile:hover,.nt-step:hover,.nt-ex:hover,.nt-act:hover{border-color:var(--dz-saffron)!important;text-decoration:none}

/* home hero */
.nt-hero{text-align:center;padding:1.2em .6em 1.4em;margin:.2em 0 1.2em;border-bottom:1px solid #eadfca}
.nt-kicker{font-family:var(--dz-display);color:var(--dz-gold);font-weight:700;letter-spacing:.02em;margin:0 0 .3em;font-size:.98em}
.nt-hero h1,.nt-head h1{font-family:var(--dz-display);font-weight:700;color:var(--dz-navy);margin:.1em 0 .25em;line-height:1.18}
.nt-hero h1{font-size:clamp(1.7em,1.1em + 2.4vw,2.6em)}
.nt-hero h1::after{content:"";display:block;width:min(260px,60%);height:12px;margin:.35em auto 0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='12' viewBox='0 0 260 12'%3E%3Cpath d='M0 6h112M148 6h112' stroke='%23b07a12' stroke-opacity='.55' stroke-width='1.2'/%3E%3Cpath d='M130 0l6 6-6 6-6-6z' fill='%23d9822b'/%3E%3Ccircle cx='118' cy='6' r='2' fill='%231f4e8c' fill-opacity='.7'/%3E%3Ccircle cx='142' cy='6' r='2' fill='%231f4e8c' fill-opacity='.7'/%3E%3C/svg%3E") center/contain no-repeat}
.nt-hero .lead{margin:0 auto 1em;font-size:1.08em}
.nt-herobtn{display:flex;justify-content:center}
a.tile.nt-start{display:inline-flex;align-items:center;gap:.4em;background:var(--dz-navy);color:#ffe9a8!important;border:2px solid var(--sl-gold);
  border-radius:999px;padding:.6em 1.4em;font-weight:700;font-size:1.06em;text-decoration:none;box-shadow:0 6px 18px rgba(22,54,95,.25)}
a.tile.nt-start:hover{background:#1f4e8c}
h2.nt-sec{font-family:var(--dz-display);color:var(--dz-navy);margin:1.3em 0 .25em;font-size:1.35em}
.nt-steps,.nt-explore,.nt-acts{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.8rem;margin:.8rem 0 1rem}
.tile.nt-step{display:flex;gap:.8em;align-items:flex-start;padding:1em 1em .9em}
.nt-num{flex:none;width:2.3em;height:2.3em;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:var(--dz-saffron);color:#fff;font-family:var(--dz-display);font-weight:700;font-size:1.05em;box-shadow:0 2px 6px rgba(217,130,43,.35)}
.nt-sbody{display:block;min-width:0}
.tile.nt-ex{display:block;padding:1em}
.nt-alt{display:block;color:var(--muted);font-weight:400;font-size:.82em;margin-top:.15em}
.nt-step .nt-alt{font-size:.86em;color:#8a7a5a!important}
.nt-src{text-align:center;margin-top:1.4em}

/* chapter pages */
.nt-head{max-width:46rem;margin:.6em 0 1em}
.nt-head h1{font-size:clamp(1.5em,1.1em + 1.6vw,2.2em)}
.nt-h1alt{font-size:1.05em;margin:-.1em 0 .6em}
.nt-article{max-width:46rem}
.nt-block{background:#fff;border:1px solid #eadfca;border-radius:14px;padding:1em 1.2em;margin:0 0 1rem;box-shadow:0 1px 2px rgba(90,60,10,.04)}
.nt-block h2{font-family:var(--dz-display);color:var(--dz-navy);font-size:1.22em;margin:.1em 0 .5em}
.nt-block h2 .nt-alt{font-size:.78em;font-family:inherit}
.nt-block h2 .nt-alt[lang="pa"]{font-family:var(--gur)}
/* 22 Nov 2026: fine-print notes (e.g. How the players work): no card, tiny heading, ~11.5px muted text */
.nt-block.nt-fine{background:none;border:0;border-top:1px solid #eadfca;border-radius:0;box-shadow:none;padding:.5em 0 0;margin:1rem 0 .4rem;font-size:11.5px;line-height:1.45;color:var(--muted)}
.nt-block.nt-fine h2{font-family:inherit;font-size:1em;font-weight:700;color:var(--muted);margin:0 0 .2em}
.nt-block.nt-fine h2 .nt-alt{display:inline;font-size:1em;margin-left:.4em}
.nt-block.nt-fine p,.nt-block.nt-fine .nt-duo,.nt-block.nt-fine .nt-l1,.nt-block.nt-fine .nt-l2,.nt-block.nt-fine .nt-alt{font-size:inherit!important;line-height:inherit;color:inherit;margin:0 0 .2em}
.nt-block.nt-fine .nt-l2,.nt-block.nt-fine .nt-alt{border-left:0;padding-left:0}
html.tv .nt-block.nt-fine,body.tv .nt-block.nt-fine{font-size:15px}
.nt-duo{margin:.2em 0 .8em;line-height:1.6}
.nt-duo .nt-l1{display:block}
.nt-duo .nt-l2{display:block;margin-top:.3em;padding-left:.7em;border-left:3px solid rgba(217,130,43,.45);color:#5d5547;font-size:.95em}
.nt-list{list-style:none;padding:0;margin:.4em 0 .4em}
.nt-list li.nt-duo{background:#fcf8f0;border:1px solid #f0e6d2;border-radius:10px;padding:.6em .8em;margin:0 0 .5em}
.nt-qa h2{font-size:1.1em}
.nt-gloss{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:.7rem;margin:0 0 1rem}
.nt-term{background:#fff;border:1px solid #eadfca;border-radius:12px;padding:.7em .9em}
.nt-term dt{font-family:var(--dz-display);font-weight:700;color:var(--dz-navy)}
.nt-term dt .nt-gur{font-weight:600;color:var(--dz-gold);margin-left:.3em}
.nt-term dd{margin:.3em 0 0}
.nt-term .nt-duo .nt-l2{font-size:.92em}
.nt-pn{display:flex;justify-content:space-between;gap:.7rem;margin:.6rem 0 1rem;max-width:46rem}
.nt-pn .tile{display:inline-flex;align-items:center;gap:.4em;padding:.55em .95em;border-radius:999px;background:#fff;border:1px solid #d9c9a6;color:var(--dz-navy);
  font-weight:700;font-size:.95em;text-decoration:none;max-width:49%;min-width:0}
.nt-pn .tile span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nt-pn .nt-next{margin-left:auto;background:var(--dz-navy);color:#ffe9a8;border-color:var(--sl-gold)}
.nt-pn-top{margin-top:0}
.tile.nt-act{display:flex;align-items:center;padding:.8em 1em;font-weight:700;color:var(--dz-blue)!important}
.nt-more .list{margin:.4rem 0 0}

/* ---- Video page, as in the Sach Khoj app ---- */
.vwrap{background:#0b1220;color:#fff;border-radius:14px;overflow:hidden;margin:0 0 1rem;box-shadow:0 8px 28px rgba(11,18,32,.25)}
.vplayer{position:relative;aspect-ratio:16/9;background:#000;max-width:1100px;margin:0 auto;overflow:hidden}
.vplayer iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vplayer.vytapp{display:flex;align-items:center;justify-content:center;text-align:center;border:0;border-radius:0;padding:0;margin:0 auto;
  background:radial-gradient(circle at 50% 35%,#1d3b74,#05122f 70%)}
.vyt-in{padding:1.2em}.vyt-t{font-family:var(--dz-display);font-size:1.3em;font-weight:700;margin:0 0 .4em}.vplayer .note{color:#cfdcff}
.vbtns{display:flex;flex-wrap:wrap;gap:.6rem;padding:16px 4vw 6px;max-width:1100px;margin:0 auto}
.vb{display:inline-flex;align-items:center;gap:.35em;min-height:44px;padding:0 18px;border-radius:14px;font-weight:700;font-size:1rem;cursor:pointer;text-decoration:none;
  background:rgba(4,18,66,.58);color:#fff!important;border:1px solid rgba(255,255,255,.16);box-shadow:0 4px 14px rgba(2,10,45,.25);transition:transform .15s ease-out,box-shadow .15s ease-out}
.vb.pri{background:linear-gradient(180deg,#FFFFFF 0%,#EEF5FF 55%,#DCE9FF 100%);color:#0A2A8A!important;border:0;box-shadow:0 6px 18px rgba(2,10,45,.35),inset 0 1px 0 #fff}
.vb:hover{text-decoration:none;transform:scale(1.03)}
.vb:focus,.vb:focus-visible,html.tv .vb:focus{outline:4px solid #fff!important;outline-offset:3px!important;box-shadow:0 0 0 9px rgba(255,201,64,.95)!important;transform:scale(1.05)}
.vinfo{max-width:1100px;margin:0 auto;padding:6px 4vw 16px}
.vtitle{font-family:var(--dz-display);color:#fff;font-size:1.3rem;line-height:1.4;margin:8px 0 4px}
.vinfo .vmeta,.vinfo .vmeta a,.vinfo .note{color:#c9d6f2}
body.vpage .crumb{display:none}

/* ---- Bottom audio bar, as in the Sach Khoj app ---- */
#player.skp{position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:1000;max-width:1100px;margin:0 auto;
  background:rgba(5,20,72,.94);color:#fff;border:2px solid rgba(255,255,255,.55);border-radius:14px;box-shadow:0 -8px 30px rgba(2,10,45,.5);
  padding:8px 12px 8px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:block;overflow:visible}
#player.skp[hidden]{display:none!important}
body.side-nav #player.skp{left:calc(232px + 8px)}
@media (max-width:1000px),(max-height:600px){body.side-nav #player.skp{left:calc(196px + 8px)}}
@media (max-width:700px){body.side-nav #player.skp{left:6px;right:6px}}
#player.skp #pbar{position:absolute;left:14px;right:14px;top:0;height:3px;border-radius:3px;background:rgba(255,255,255,.15);overflow:hidden}
#player.skp #pbar i{display:block;height:100%;width:35%;background:linear-gradient(90deg,#FFFFFF,#9FE0FF);box-shadow:0 0 10px rgba(159,224,255,.8);animation:ntlive 2.4s linear infinite}
#player.skp.paused #pbar i{animation-play-state:paused;opacity:.5}
@keyframes ntlive{0%{transform:translateX(-100%)}100%{transform:translateX(300%)}}
#player.skp .prow{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;overflow:visible;padding:6px 4px;width:100%}
#player.skp .prow button,#player.skp .prow a.mid{flex:none;height:42px;min-width:42px;padding:0 14px;border-radius:14px;font-size:.92rem;font-weight:700;cursor:pointer;
  background:rgba(4,18,66,.58);color:#fff;border:1px solid rgba(255,255,255,.16);display:inline-flex;align-items:center;gap:.3em;text-decoration:none;width:auto;box-shadow:0 4px 14px rgba(2,10,45,.25)}
#player.skp .prow button.big{background:linear-gradient(180deg,#FFFFFF 0%,#EEF5FF 55%,#DCE9FF 100%);color:#0A2A8A;border:0;box-shadow:0 6px 18px rgba(2,10,45,.35),inset 0 1px 0 #fff}
#player.skp .prow button.pclose{background:rgba(120,10,30,.55);border-color:rgba(255,255,255,.2);color:#fff;margin-left:0}
#player.skp .prow button.pclose:hover{background:#dc2626}
#player.skp .prow button:focus,#player.skp .prow button:focus-visible,#player.skp .prow a:focus,html.tv #player.skp .prow button:focus,#player.skp #pinfo:focus{
  outline:4px solid #fff!important;outline-offset:3px!important;box-shadow:0 0 0 9px rgba(255,201,64,.95)!important;transform:none}
#player.skp #pinfo{flex:1 1 auto;min-width:0;order:0;color:#fff;font-size:.88rem;font-weight:700;cursor:pointer;border-radius:10px;padding:2px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#player.skp #pinfo::after{content:" ›";color:#5CCBFF;font-weight:700}
#player.skp #pinfo .pt{display:block;overflow:hidden;text-overflow:ellipsis}
#player.skp #pinfo .ps{display:block;font-weight:400;font-size:.78rem;color:#c9d6f2;overflow:hidden;text-overflow:ellipsis}
#player.skp #ptime{flex:none;font-size:.8rem;color:#dbe6ff;white-space:nowrap}
#player.skp .plive{color:#ff6b6b;font-weight:700}
#player.skp .en{color:inherit}
#phint{position:absolute;right:18px;top:-30px;padding:3px 12px;border-radius:999px;background:#12AEFF;color:#fff;font-size:.75rem;font-weight:600;
  box-shadow:0 0 14px rgba(18,174,255,.6);opacity:0;transform:translateY(4px);transition:opacity .15s,transform .15s;pointer-events:none;white-space:nowrap}
#phint.on{opacity:1;transform:none}
html.tv #phint .pk{display:none}
@media (hover:none){#phint .pk{display:none}}
body.np-bar main#view{padding-bottom:120px}
body.np-bar #sl-remote-hint{bottom:96px}
@media (max-width:560px){#player.skp #ptime{display:none}#player.skp .prow a.mid{display:none}#player.skp .prow button .en{display:none}}
html.tv #player.skp{padding:12px 18px}
html.tv #player.skp .prow button{height:52px;font-size:1.05rem}
html.tv body.np-bar main#view{padding-bottom:170px}
@media (prefers-reduced-motion:reduce){#player.skp #pbar i{animation:none;width:100%}.vb{transition:none}}
.vyt-t{color:#fff}
.lamp.play-v,.lamp.play-a{background:#16365f;color:#ffe9a8;border-color:#16365f}
.lamp.play-v i,.lamp.play-a i{background:#e8b23a}
html.tv .nt-duo:focus{outline:4px solid #e07b00!important;outline-offset:3px;border-radius:8px;background:#fff8ec}
/* Restyled list cards are ~100px tall; match the content-visibility estimate so taps don't land on a shifting list (seen in iPhone WebKit). */
.list .litem,.list-long .litem{contain-intrinsic-size:auto 104px}
/* 17 Nov 2026 Silk fix: the remote tip sits in the page area (never over the side menu), and hides itself. */
#sl-remote-hint{left:calc(232px + 14px);bottom:14px;max-width:min(30em,calc(100vw - 232px - 200px));font-size:.85rem;line-height:1.35;box-shadow:0 4px 14px rgba(0,0,0,.15);pointer-events:none}
@media (max-width:1000px),(max-height:600px){ #sl-remote-hint{left:calc(196px + 12px);max-width:min(28em,calc(100vw - 196px - 190px))} }
body.np-bar #sl-remote-hint{bottom:96px}
#sl-remote-hint[hidden]{display:none!important}
/* Clicking an empty spot must never ring the whole page panel. */
html.sl-remote #content:focus,html.tv #content:focus,body.tv #content:focus,#content:focus-visible{outline:none!important;box-shadow:none!important}
/* Pointer (cursor) mode on Fire TV: bigger targets. */
html.firetv body.side-nav header.top nav a{padding-top:.5em!important;padding-bottom:.5em!important}
html.firetv .nt-pn .tile,html.firetv .vb,html.firetv .crumb a{min-height:52px;display:inline-flex;align-items:center}
html.firetv .crumb a{padding:0 .6em}

/* ===== ROUND2 (17 Nov 2026): The Sikh Guide logo, quick Live buttons, listen bar, accordions, Daily Banis,
   reader highlight, finder box, Watch & listen tabs, More button, footnote links, bottom nav items ===== */
header.top .brand img.logo{width:40px;height:40px;vertical-align:middle;margin-right:.4em;border-radius:50%;flex:none}
header.top .brand{display:flex;align-items:center}
header.top .brand .brand-t{line-height:1.2}
.nt-herologo{display:block;width:150px;height:150px;margin:.2em auto .4em;border-radius:50%;box-shadow:0 6px 22px rgba(22,54,95,.25)}
html.tv .nt-herologo{width:120px;height:120px}
.nt-h1pa{display:block;font-family:var(--gur);font-size:.62em;color:var(--dz-saffron);font-weight:700;margin-top:.1em}
/* quick access: Live Radio | Live TV */
.nt-quick{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0}
.nt-quick-hdr{padding:0 .2em}
header.top nav.nt-quick a.nt-qbtn,.nt-qbtn{display:inline-flex;align-items:center;gap:.35em;padding:.45em .8em!important;border-radius:999px;border:2px solid #E8C15A!important;background:#E8C15A;color:#16365f!important;font-weight:800;text-decoration:none;font-size:.95em;line-height:1.2;white-space:nowrap}
header.top nav.nt-quick a.nt-qtv,.nt-qtv{background:#fff;color:#16365f!important}
header.top nav.nt-quick a.nt-qbtn:focus,header.top nav.nt-quick a.nt-qbtn:hover,.nt-qbtn:focus,.nt-qbtn:hover{outline:3px solid #fff;outline-offset:2px;color:#16365f!important;border-bottom-color:#E8C15A!important}
.nt-qbtn [lang=pa],.nt-morebtn [lang=pa]{font-family:var(--gur)}
.nt-qsep{opacity:.5}
body.side-nav header.top nav.nt-quick{flex-direction:column;align-items:stretch;gap:.4rem;margin:.4rem .2rem .6rem}
body.side-nav header.top nav.nt-quick a.nt-qbtn{justify-content:flex-start;white-space:normal;font-size:.9em}
.nt-quick-home{justify-content:center;margin:.2rem 0 1rem}
.nt-quick-home .nt-qbtn{font-size:1.1em;padding:.7em 1.2em!important;border-color:var(--dz-navy)!important}
/* listen */
.nt-listen{margin:.8rem 0 .2rem;padding:.6rem .8rem;border:1px dashed #d9c7a2;border-radius:12px;background:#fffaf0}
.nt-listen-l{margin:0 0 .4rem;font-size:.9em;color:var(--muted)}
.nt-lrow{display:flex;flex-wrap:wrap;gap:.5rem}
.tile.nt-lbtn,.tile.nt-rbtn,.tile.nt-bfull,.tile.nt-bclose,.tile.nt-tab,.tile.nt-morebtn{display:inline-flex;align-items:center;gap:.4em;padding:.55em .95em;border-radius:10px;border:1.5px solid var(--dz-navy);background:#fff;color:var(--dz-navy);font:inherit;font-weight:700;cursor:pointer;text-decoration:none;min-height:44px}
.tile.nt-lbtn small{font-weight:400;color:var(--muted)}
.nt-listen.nt-listen-sm{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .45rem;margin:.45rem 0 .1rem;padding:0;border:0;border-radius:0;background:none}
/* 22 Nov 2026: compact listen row (was a big dashed panel). Lead line stays for screen readers only. */
.nt-listen-sm .nt-listen-l{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.nt-listen-sm .nt-lrow{gap:.4rem}
.nt-listen-sm .tile.nt-lbtn{min-height:38px;padding:.25em .8em;border-radius:999px;border-width:1px;font-size:.85em;font-weight:600;gap:.3em;box-shadow:none}
.nt-listen-sm .tile.nt-lbtn small{font-size:.9em}
.nt-listen-sm .nt-vcred{flex-basis:100%;margin:.1rem 0 0;font-size:.72em;line-height:1.35}
html.tv .nt-listen-sm .tile.nt-lbtn,body.tv .nt-listen-sm .tile.nt-lbtn{min-height:44px;font-size:.9em;padding:.3em 1em}
html.tv .nt-listen-sm .nt-vcred,body.tv .nt-listen-sm .nt-vcred{font-size:14px}
/* Live TV step: no listen box, so pull the channel tiles up under the intro */
.nt-head.nt-head-tabs{margin-bottom:.35rem}
.nt-head.nt-head-tabs>.nt-duo:last-child{margin-bottom:.35rem}
.nt-head-tabs+.nt-article .nt-tabpanel>section.group:first-child{margin-top:.3rem}
.nt-head-tabs+.nt-article .nt-tabpanel>section.group:first-child>h2:first-child{margin-top:.2rem}
/* accordions (History, Rehat) */
.nt-acclist{list-style:none;padding:0;margin:.5rem 0}
.nt-acc{border:1px solid var(--line);border-radius:12px;margin:.45rem 0;background:#fff;overflow:hidden}
.nt-acc-b{display:flex;align-items:flex-start;gap:.7em;width:100%;text-align:left;padding:.75em .9em;border:0;background:transparent;font:inherit;color:inherit;cursor:pointer;min-height:48px}
.nt-acc-b .nt-duo{margin:0}
.nt-acc-i{flex:none;display:inline-flex;align-items:center;justify-content:center;width:1.6em;height:1.6em;border-radius:50%;background:var(--dz-navy);color:#fff;font-weight:800;line-height:1}
.nt-acc.open{border-color:var(--dz-saffron);box-shadow:0 2px 10px rgba(217,130,43,.15)}
.nt-acc-p{padding:0 1em .8em 3.2em;background:#fffaf2}
.nt-acc-p .nt-duo{margin:.5em 0 0}
html.tv .nt-acc-b:focus{outline:4px solid var(--dz-saffron);outline-offset:-4px;background:#fff4e2}
/* Daily Banis */
.nt-banis h3.nt-bgh{margin:1rem 0 .4rem;color:var(--dz-navy);font-size:1.05em}
.nt-bgrp{display:flex;flex-direction:column;gap:.45rem}
.nt-bani{border:1px solid var(--line);border-radius:12px;background:#fff}
.nt-bani.open{border-color:var(--dz-saffron)}
.tile.nt-bani-b{display:flex;align-items:center;gap:.8em;width:100%;text-align:left;padding:.7em .9em;border:0;background:transparent;font:inherit;color:var(--dz-navy);cursor:pointer;min-height:52px}
.nt-bani-b .nt-bt{flex:1}
.nt-bani-b .nt-alt{font-family:var(--gur);color:var(--dz-saffron);margin-left:.3em}
.nt-bani-b small{color:var(--muted);font-size:.8em;max-width:40%}
.nt-bgo{transition:transform .2s}
.nt-bani.open .nt-bgo{transform:rotate(180deg)}
.nt-bani-p{padding:.2rem .8rem .8rem}
.nt-bani-bar{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0}
.nt-reader{margin:.6rem 0}
.g-line.reading{background:#fff1d6;box-shadow:inset 4px 0 0 var(--dz-saffron);border-radius:8px}
.nt-anyang{margin-top:1rem}
/* finder */
.nt-find{margin:.8rem 0 1.2rem}
.tile.nt-findbtn{display:flex;align-items:center;gap:1em;width:100%;text-align:left;padding:1.1em 1.3em;border:3px solid var(--dz-saffron);border-radius:16px;background:linear-gradient(135deg,#16365f,#1f4e8c);color:#fff;font:inherit;cursor:pointer;box-shadow:0 6px 20px rgba(22,54,95,.25);min-height:84px}
.nt-findbtn .nt-fi{font-size:2.2em}
.nt-findbtn .nt-ft b{display:block;font-size:1.35em}
.nt-findbtn .nt-alt{display:block;color:#FFE08A;font-weight:700}
.nt-findbtn small{display:block;opacity:.85;margin-top:.2em}
html.tv .tile.nt-findbtn:focus{outline:5px solid #FFE08A;outline-offset:3px}
.gd-picks{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin:.6rem 0}
.gd-picks .gd-pick{padding:.4em .8em;border-radius:999px;min-height:40px}
/* Watch & listen tabs */
.nt-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin:.6rem 0 1rem}
.tile.nt-tab.on{background:var(--dz-navy);color:#fff;border-color:var(--dz-navy)}
.tile.nt-morebtn{width:100%;justify-content:center;margin:1rem 0;border-style:dashed;font-size:1.05em}
.tile.nt-morebtn small{font-weight:400}
/* small footnote links (was big cards) */
.nt-fn{margin:1.6rem 0 .6rem;padding-top:.6rem;border-top:1px solid var(--line);font-size:.8em;color:var(--muted);line-height:1.45}
.nt-fn-h{margin:0 0 .3rem;font-weight:700;font-size:.95em;color:var(--muted)}
.nt-fn-l{margin:0;padding-left:1.4em}
.nt-fn-l li{margin:.15em 0}
.nt-fn-l a{color:var(--dz-blue)}
.nt-fn-c{color:var(--muted)}
html.tv .nt-fn{font-size:.9em}
html.tv .nt-fn-l a{display:inline-block;padding:.15em .2em}
/* sidebar: Further reading and About at the bottom */
#tabs a.nav-foot{font-size:.85em;opacity:.85}
#tabs a.nav-foot1{margin-top:1.2em!important;border-top:1px solid rgba(255,255,255,.2)!important;padding-top:.7em!important}
/* player: TTS progress instead of the LIVE sweep */
#player.skp.tts #pbar i{animation:none;transition:width .9s linear}
#player.skp.tts #pbar{height:5px}
body.side-nav header.top nav.nt-quick a.nt-qbtn{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;flex-wrap:wrap;row-gap:0;font-size:.88em!important;border-radius:12px}
header.top .brand .brand-t{white-space:normal}
/* ROUND2: compact hero so the step cards are in view on TV / short screens */
.nt-herorow{flex-wrap:wrap;gap:.6em;align-items:center}
.nt-herorow .nt-quick-home{margin:0;display:inline-flex}
@media (max-height:820px){.nt-herologo,html.tv .nt-herologo{width:84px;height:84px;margin:0 auto .2em}.nt-hero{padding:.6em .6em .9em}.nt-hero .lead{margin-bottom:.6em}}
@media (max-height:620px){
  .nt-hero{display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;column-gap:1em;padding:.4em .6em .7em}
  .nt-hero .nt-herologo{grid-row:1 / span 2;width:96px;height:96px;margin:0}
  .nt-hero .nt-kicker{align-self:end;margin:0;text-align:left}
  .nt-hero h1{align-self:start;text-align:left;margin:0;font-size:2em}
  .nt-hero h1::after{display:none}
  .nt-hero .lead,.nt-hero .nt-herorow{grid-column:1 / -1}
  .nt-hero .lead{margin:.4em auto .5em;font-size:1em}
}
/* r5b (18 Nov 2026, real Fire TV test): TV Live TV page shows the channels right under the tabs */
.nt-tvmedia>.crumb,.nt-tvmedia>.nt-pn-top,.nt-tvmedia .nt-head>.nt-duo,.nt-tvmedia .nt-head>.nt-listen,.nt-tvmedia .nt-head>.nt-kicker{display:none}
.nt-tvmedia .nt-head{margin-bottom:.4rem}
.nt-tvmedia .nt-head h1{margin-top:.2rem}

/* ===== r6 (22 Nov 2026): Live TV camera wall, live-channel strip, sleep timer, shortcuts, offline notice ===== */
.nt-article.nt-wide{max-width:none}
.list.camwall{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;margin:.6rem 0 1rem}
.list.camwall>.litem.cam{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden;border-radius:14px;content-visibility:visible;contain-intrinsic-size:none;
  background:#0b1220;border:2px solid #16365f;color:#fff;box-shadow:0 6px 18px rgba(11,18,32,.22)}
.list.camwall>.litem.cam::before{z-index:2;opacity:.9}
.cam-shot{position:relative;display:block;aspect-ratio:16/9;background:#000 linear-gradient(160deg,#243044,#0b1220);overflow:hidden}
.cam-shot .cam-ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:2.2rem;opacity:.55}
.cam-shot .cam-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.cam-shot .cam-img[hidden]{display:none}
.cam-badge{position:absolute;left:8px;top:8px;z-index:1;display:inline-flex;align-items:center;gap:.3em;padding:.12rem .5rem;border-radius:999px;font-size:.74rem;font-weight:800;letter-spacing:.03em;
  background:rgba(5,20,72,.85);color:#ffe9a8;border:1px solid rgba(255,255,255,.35)}
.cam-badge .bi2{font-weight:700;opacity:.95}
.cam-badge i{width:.55rem;height:.55rem;border-radius:50%;background:#e8b23a;display:inline-block}
.cam-badge.cam-live{background:#c81e1e;color:#fff;border-color:#fff}
.cam-badge.cam-live i{background:#fff;animation:camblink 1.4s ease-in-out infinite}
.cam-badge.cam-wait{color:#dbe6ff}.cam-badge.cam-wait i{background:#9aa3b2}
.cam-badge.cam-latest{background:rgba(22,54,95,.9);color:#fff}
@keyframes camblink{50%{opacity:.25}}
.litem.cam .body{padding:.55rem .7rem .65rem;flex:1 1 auto;background:linear-gradient(180deg,#10203d,#0b1220)}
.litem.cam h2{color:#fff;font-size:.98rem;line-height:1.3;margin:0 0 .15rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.litem.cam p.cam-alt{color:#ffe9a8;font-size:.86rem;margin:0 0 .2rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.litem.cam p.cam-note{color:#c9d6f2;font-size:.78rem}
.litem.cam .credit,.litem.cam small,.litem.cam .body>p:last-child{color:#9fb3d9;font-size:.74rem;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.litem.cam .lamp{margin:.2rem 0}
.litem.cam:hover{border-color:#e8b23a;text-decoration:none}
.litem.cam:hover .cam-img{transform:scale(1.04);transition:transform .25s}
.list.camwall>.litem.cam:focus,html.tv .list.camwall>.litem.cam:focus{outline:5px solid #ffc940!important;outline-offset:3px!important;box-shadow:0 0 0 10px rgba(224,123,0,.45)!important;transform:scale(1.03);z-index:6}
.cam-recent{margin:.4rem 0 1rem;padding:.6rem .8rem .2rem;border-radius:14px;background:#fff8ec;border:1px solid #eadfca}
.cam-recent .cam-rh{margin:0 0 .2rem;font-size:1rem;color:var(--dz-navy)}
html.tv .list.camwall{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}
html.tv .litem.cam h2{font-size:1.05rem}
@media (max-width:520px){ .list.camwall{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px} .litem.cam h2{font-size:.9rem} .litem.cam p.cam-alt{font-size:.8rem} .cam-badge{font-size:.66rem} }
@media (max-width:340px){ .list.camwall{grid-template-columns:1fr} }
/* the strip of other live channels on the video page (Sach Khoj player colours) */
.vstrip{position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:990;max-width:1100px;margin:0 auto;
  background:rgba(5,20,72,.94);color:#fff;border:2px solid rgba(255,255,255,.55);border-radius:14px;box-shadow:0 -8px 30px rgba(2,10,45,.5);padding:8px 12px 10px;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.vstrip[hidden]{display:none!important}
.vstrip.vs-in{animation:vsup .22s ease-out}
@keyframes vsup{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
body.side-nav .vstrip{left:calc(232px + 8px)}
@media (max-width:1000px),(max-height:600px){body.side-nav .vstrip{left:calc(196px + 8px)}}
@media (max-width:700px){body.side-nav .vstrip{left:6px;right:6px}}
.vs-h{margin:0 0 6px;font-weight:800;font-size:.92rem;color:#fff}
.vs-h .bi2{color:#ffe9a8}
.vs-h .vs-k{font-weight:400;color:#c9d6f2;font-size:.78rem;margin-left:.4em}
.vs-row{display:flex;gap:10px;overflow-x:auto;padding:6px 4px 4px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.vs-tile{flex:0 0 200px;scroll-snap-align:start;display:flex;flex-direction:column;border-radius:12px;overflow:hidden;background:#0b1220;border:1px solid rgba(255,255,255,.2);color:#fff;text-decoration:none}
.vs-tile .cam-shot{aspect-ratio:16/9}
.vs-tile .vs-t{display:block;padding:5px 8px 0;font-size:.82rem;font-weight:700;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vs-tile .vs-a{display:block;padding:0 8px 6px;font-size:.76rem;color:#ffe9a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vs-tile:hover{border-color:#e8b23a;text-decoration:none}
.vs-tile:focus,html.tv .vs-tile:focus{outline:4px solid #fff!important;outline-offset:2px!important;box-shadow:0 0 0 8px rgba(255,201,64,.95)!important}
html.tv .vs-tile{flex-basis:250px}
@media (max-width:520px){ .vs-tile{flex-basis:150px} .vs-h .vs-k{display:none} }
body.vpage.np-bar .vstrip{bottom:calc(84px + env(safe-area-inset-bottom))}
/* sleep timer button on the audio bar */
#player.skp .prow button.psleep.on{background:#e8b23a;color:#0A2A8A;border-color:#fff}
@media (max-width:560px){ #player.skp .prow button.psleep.on .en{display:inline} }
/* keyboard / remote shortcuts */
.kbhelp{position:fixed;inset:0;z-index:2000;background:rgba(5,12,30,.6);display:flex;align-items:center;justify-content:center;padding:16px}
.kbhelp[hidden]{display:none}
.kbh-in{background:var(--card,#fff);color:var(--ink,#1a1a1a);border-radius:16px;max-width:560px;width:100%;max-height:90vh;overflow:auto;padding:18px 20px;box-shadow:0 20px 60px rgba(0,0,0,.4);border-top:4px solid #e8b23a}
.kbh-in h2{margin:0 0 .6rem;font-size:1.2rem;color:var(--dz-navy)}
.kbh-list{margin:0 0 1rem;display:grid;gap:.35rem}
.kbh-list>div{display:grid;grid-template-columns:minmax(7.5em,auto) 1fr;gap:.6rem;align-items:baseline}
.kbh-list dt{margin:0}.kbh-list dd{margin:0}
.kbh-list kbd{display:inline-block;padding:.1em .45em;border-radius:6px;border:1px solid #cdb88f;background:#fff8ec;font:inherit;font-weight:700;font-size:.88em}
/* offline notice */
.offbar{position:fixed;left:50%;transform:translateX(-50%);top:8px;z-index:1500;max-width:min(92vw,720px);background:#3b2a00;color:#ffe9a8;border:1px solid #e8b23a;border-radius:12px;padding:.45rem .8rem;font-size:.85rem;box-shadow:0 6px 18px rgba(0,0,0,.25)}
