@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}
@font-face{font-family:NotoSerifGurmukhi;src:url('fonts/NotoSerifGurmukhi-VF.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{
  --bg:#0B1220;--card:#121B2E;--ink:#EAF1FF;--muted:#9AA8C2;--line:#1E2A44;
  --blue:#3B82F6;--blue2:#60A5FA;--soft:#16223A;--ring:#60A5FA;
  --live:#22c55e;--off:#6b7280;--amber:#f59e0b;
  --header-h:118px;--sh:0 8px 30px rgba(0,0,0,.45)
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:MuktaMahee,NotoSerifGurmukhi,system-ui,sans-serif;line-height:1.45}
html,body{min-height:100%}
a{color:var(--blue2);text-decoration:none}
a:hover{text-decoration:underline}
button,input{font:inherit;color:inherit}
#topbar{position:sticky;top:0;z-index:40;background:linear-gradient(#0B1220,#0B1220ee);border-bottom:1px solid var(--line);padding:.5rem .8rem .35rem;display:grid;grid-template-columns:1fr auto;gap:.4rem}
#title{display:flex;align-items:center;gap:.6rem;color:var(--ink);text-decoration:none;min-width:0}
.tlogo{border-radius:10px;background:#0E3196}
.tname2{display:flex;flex-direction:column;min-width:0}
.tname2>span{font-weight:700;font-size:1.15rem;letter-spacing:.01em}
.ttag{color:var(--muted);font-weight:400;font-size:.82rem}
#tools{display:flex;align-items:center;gap:.4rem}
.hbtn{background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:.35rem .8rem;cursor:pointer}
.hbtn:hover,.hbtn:focus{border-color:var(--blue2)}
#tabs{grid-column:1/-1;display:flex;gap:.4rem;flex-wrap:wrap}
#tabs a{color:var(--muted);padding:.25rem .7rem;border-radius:999px;border:1px solid transparent}
#tabs a.on,#tabs a:focus{color:var(--ink);background:var(--soft);border-color:var(--blue2);text-decoration:none}
#page-scroll{max-width:1100px;margin:0 auto;padding:0 1rem 7rem}
#content{padding:.8rem 0 1.2rem;outline:none}
#content.pgin{animation:in .25s ease}
@keyframes in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
h1,h2{font-weight:700;line-height:1.25;margin:.4rem 0}
h1{font-size:1.55rem}
h2{font-size:1.2rem;color:var(--blue2)}
.crumb{display:flex;flex-wrap:wrap;gap:.35rem;margin:0 0 .8rem;font-size:.95rem}
.crumb a{color:var(--muted)}
.lead{color:var(--muted);max-width:50rem}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:.8rem;margin:1rem 0}
.tile,.card,.litem{display:flex;flex-direction:column;justify-content:space-between;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:.9rem 1rem;color:var(--ink);text-decoration:none;box-shadow:var(--sh);min-height:7.2rem;cursor:pointer}
.tile:hover,.card:hover,.litem:hover{border-color:var(--blue2);text-decoration:none}
.tile h2,.card h2,.litem h2{margin:0 0 .3rem;color:var(--ink);font-size:1.15rem}
.tile p,.card p,.litem p{margin:0;color:var(--muted);font-size:.92rem}
.litem{min-height:0;flex-direction:row;align-items:center;gap:.8rem}
.litem .body{flex:1;min-width:0}
.list{display:flex;flex-direction:column;gap:.55rem;margin:1rem 0}
.credit{display:block;margin-top:.35rem;color:var(--muted);font-size:.8rem}
.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}
.lamp i{width:.55rem;height:.55rem;border-radius:50%;background:var(--off);display:inline-block}
.lamp.live{color:#bbf7d0;border-color:#166534}
.lamp.live i{background:var(--live)}
.lamp.offline{color:#e5e7eb}
.lamp.untested{color:#fde68a;border-color:#92400e}
.lamp.untested i{background:var(--amber)}
.group{margin:1.2rem 0}
.group h2{margin-bottom:.5rem}
.gurbani{font-family:NotoSerifGurmukhi,MuktaMahee,serif;font-size:1.35rem;line-height:1.8}
.g-line{padding:.45rem 0;border-bottom:1px solid var(--line)}
.g-meta{color:var(--muted);font-size:.8rem;font-family:MuktaMahee,sans-serif}
.g-tr{font-size:1rem;color:#dbeafe;margin:.2rem 0 0;font-family:MuktaMahee,sans-serif}
.g-src{font-size:.78rem;color:var(--muted);font-style:italic}
.banner{background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:.8rem 1rem;margin:1rem 0}
.cal-item{display:grid;grid-template-columns:7.5rem 1fr;gap:.6rem;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:.75rem 1rem;color:var(--ink)}
.cal-item.today{border-color:var(--blue2);box-shadow:0 0 0 1px var(--blue2)}
.cal-date{font-weight:700}
.cal-kind{display:inline-block;font-size:.72rem;letter-spacing:.04em;text-transform:uppercase;color:var(--blue2)}
.diff{display:block;margin-top:.2rem;color:#fde68a;font-size:.85rem}
#footer{border-top:1px solid var(--line);padding:1rem 0 2rem;color:var(--muted);font-size:.9rem}
#footer .notice{max-width:44rem}
#player{position:fixed;left:0;right:0;bottom:0;z-index:50;background:#0a1020ee;border-top:1px solid var(--line);padding:.4rem .6rem .6rem;backdrop-filter:blur(8px)}
#ytbox{width:min(560px,100%);margin:0 auto .4rem;aspect-ratio:16/9;background:#000;border-radius:10px;overflow:hidden}
#ytbox iframe{width:100%;height:100%;border:0}
.ytbtn{display:inline-block;margin:.3rem auto;background:var(--blue);color:#fff;border-radius:999px;padding:.45rem 1rem;font-weight:700}
.prow{display:flex;align-items:center;gap:.5rem;max-width:1100px;margin:0 auto}
.prow button{background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:.45rem .8rem;cursor:pointer}
.prow button.big{font-size:1.15rem}
.prow button.pclose:hover,.prow button.pclose:focus{background:#dc2626;color:#fff}
#pinfo{flex:1;min-width:0;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:focus{outline:none}
:focus-visible,a:focus,button:focus,.tile:focus,.card:focus,.litem:focus,.cal-item:focus,#pinfo:focus{
  outline:none;
  box-shadow:0 0 0 3px #0B1220,0 0 0 6px var(--ring);
}
html.tv .tile:focus,html.tv .card:focus,html.tv .litem:focus,html.tv a:focus,html.tv button:focus,
html.tv .cal-item:focus{
  box-shadow:0 0 0 3px #0B1220,0 0 0 7px var(--ring);
  transform:scale(1.02);
  text-decoration:none
}
/* Silk cursor mode sets :hover but often does not move document.activeElement.
   After the page has armed, draw the ring on :hover and hide :focus on any
   other item so the pointer and the highlight stay together. */
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{
  box-shadow:0 0 0 3px #0B1220,0 0 0 7px var(--ring);
  transform:scale(1.02);
  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){
  box-shadow:none;
  transform:none
}
.vytapp{background:#000;color:var(--ink);border-radius:12px;padding:1rem;text-align:center;margin:0 0 1rem}
#toast{position:fixed;bottom:5.5rem;left:50%;transform:translateX(-50%);background:#1e293b;color:#fff;padding:.5rem .9rem;border-radius:999px;z-index:60}
.hidden{display:none}
@media (max-width:700px){
  .tname2>span{font-size:1rem}
  .grid{grid-template-columns:1fr 1fr}
  .cal-item{grid-template-columns:1fr}
  :root{--header-h:140px}
}
@media (max-width:420px){ .grid{grid-template-columns:1fr} }
