/* ============================================================
   PAKISTAN ANIME — pages.css · dark neo-brutalism library, lists, static
   ============================================================ */

.pageHead{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:clamp(20px,2.8vw,30px)}
.pageHead h1{font-size:clamp(26px,3.6vw,40px);font-weight:900;text-transform:uppercase;letter-spacing:-.02em;color:var(--text)}
.pageHead .sub{color:var(--muted);font-size:14px;margin-top:6px;font-weight:600}

/* filter chips */
.filterRow{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px;justify-content:safe center}
.fChip{
  padding:9px 18px;border-radius:11px;
  font-size:13.5px;font-weight:800;color:var(--text);
  background:var(--panel);border:var(--bw) solid var(--line);
  box-shadow:var(--sh-sm);
  transition:all .16s var(--ease);
}
.fChip:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 0 var(--line)}
.fChip.on{background:var(--violet);border-color:var(--ink);color:var(--ink)}
.fChip:active{transform:translate(2px,2px);box-shadow:0 0 0 0 var(--line)}

/* library alphabet — centered */
.alphaWrap{border-radius:var(--r-lg);padding:6px;margin-bottom:24px}
.alphaStrip{
  display:flex;gap:5px;flex-wrap:wrap;justify-content:center;
  padding:8px;border-radius:var(--r-lg);
}
/* unsave button on saved posters */
.unsaveBtn{
  position:absolute;top:8px;right:8px;z-index:3;
  width:32px;height:32px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:var(--danger);color:var(--ink);
  border:2px solid var(--ink);box-shadow:2px 2px 0 0 var(--ink);
  transition:transform .15s var(--ease),box-shadow .15s var(--ease);
}
.unsaveBtn svg{width:15px;height:15px}
.unsaveBtn:hover{transform:translate(-2px,-2px) rotate(-6deg);box-shadow:4px 4px 0 0 var(--ink)}
.unsaveBtn:active{transform:translate(2px,2px);box-shadow:0 0 0 0 var(--ink)}
.alphaStrip button{
  min-width:36px;height:36px;padding:0 6px;border-radius:9px;
  font-size:13px;font-weight:800;color:var(--text);
  background:var(--panel);border:2px solid var(--line);
  box-shadow:2px 2px 0 0 var(--line);
  transition:all .14s var(--ease);
}
.alphaStrip button:hover:not(:disabled){transform:translate(-1.5px,-1.5px);box-shadow:3.5px 3.5px 0 0 var(--line);background:var(--cyan);color:var(--ink);border-color:var(--ink)}
.alphaStrip button.on{background:var(--violet);border-color:var(--ink);color:var(--ink)}
.alphaStrip button:disabled{opacity:.3;cursor:default;box-shadow:none}

/* schedule */
.todayDot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--violet-deep);margin-left:2px}
.schedDayGroup{margin-bottom:26px}
/* compact card grid */
.schedList{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:16px}
.schedRow{
  display:flex;align-items:center;gap:16px;
  padding:15px 16px;border-radius:var(--r-lg);
  min-width:0;
  transition:transform .18s var(--ease),box-shadow .18s var(--ease);
}
a.schedRow:hover{transform:translate(-3px,-3px);box-shadow:7px 7px 0 0 var(--line)}
.schedRow img,.schedRow .ph{
  width:60px;height:86px;border-radius:10px;object-fit:cover;flex:none;
  border:2.5px solid var(--line);background:var(--panel-2);
  box-shadow:3px 3px 0 0 var(--line);
}
.schedRow .ph{display:flex;align-items:center;justify-content:center;font-family:'Archivo Black',sans-serif;font-size:22px;color:var(--text)}
.schedBody{flex:1;min-width:0}
.schedTitle{
  font-size:15.5px;font-weight:800;line-height:1.3;color:var(--text);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  word-break:break-word;
}
.schedMeta{display:flex;gap:7px;margin-top:8px;flex-wrap:wrap}
.schedMeta .chip{padding:3px 9px;font-size:10px}
.schedTime{
  font-family:'Space Mono',monospace;font-size:12px;font-weight:700;color:var(--ink);
  background:var(--cyan);border:2px solid var(--ink);border-radius:10px;
  padding:7px 12px;flex:none;box-shadow:2.5px 2.5px 0 0 var(--line);
}
@media (max-width:640px){
  .schedList{grid-template-columns:1fr}
}

/* history list — 2 anime per row */
.histList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.histItem{
  display:flex;align-items:center;gap:14px;
  padding:13px;border-radius:var(--r-lg);
  transition:transform .18s var(--ease),box-shadow .18s var(--ease);
  cursor:pointer;min-width:0;
}
.histItem:hover{transform:translate(-3px,-3px);box-shadow:7px 7px 0 0 var(--line)}
.histItem img,.histItem .ph{
  width:58px;height:82px;border-radius:10px;object-fit:cover;flex:none;
  border:var(--bw) solid var(--line);background:var(--panel-2);
}
.histItem .ph{display:flex;align-items:center;justify-content:center;font-family:'Archivo Black',sans-serif;font-size:22px;color:var(--text)}
.histBody{flex:1;min-width:0}
.histTitle{font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text)}
.histEp{color:var(--violet);font-size:12.5px;font-weight:700;margin-top:3px;font-family:'Space Mono',monospace}
.histWhen{color:var(--dim);font-size:11.5px;margin-top:3px;font-family:'Space Mono',monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.histBar{height:10px;border-radius:6px;border:2px solid var(--line);margin-top:10px;overflow:hidden;max-width:100%;background:var(--panel-2)}
.histBar span{display:block;height:100%;background:var(--lime)}
.histActions{display:flex;gap:8px;flex:none}
.histActions .btn{padding:8px 13px}
@media(max-width:900px){
  .histList{grid-template-columns:1fr}
  .histBar{max-width:300px}
}

/* downloads */
.dlGroup{margin-bottom:42px}
.dlHeadRow{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.dlHead{display:flex;align-items:center;gap:14px}
.dlHead img,.dlHead .ph{width:54px;height:78px;border-radius:10px;object-fit:cover;border:var(--bw) solid var(--line);box-shadow:3px 3px 0 0 var(--line);background:var(--panel-2)}
.dlHead .ph{display:flex;align-items:center;justify-content:center;font-family:'Archivo Black',sans-serif;color:var(--text)}
.dlHeadInfo h3{font-size:17px;font-weight:900;text-transform:uppercase;color:var(--text);line-height:1.2}
.dlHeadInfo .dlCount{color:var(--dim);font-size:12px;margin-top:3px;font-family:'Space Mono',monospace;letter-spacing:.4px}
.dlFilter{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}
.dlChip{
  font-family:'Space Mono',monospace;font-size:12px;font-weight:700;letter-spacing:.4px;
  color:var(--text);background:var(--panel-2);border:2.5px solid var(--line);
  padding:6px 14px;border-radius:9px;box-shadow:2.5px 2.5px 0 0 var(--line);
  cursor:pointer;transition:all .15s var(--ease);
}
.dlChip:hover{transform:translate(-1px,-1px);box-shadow:4px 4px 0 0 var(--line)}
.dlChip:active{transform:translate(2px,2px);box-shadow:0 0 0 0 var(--line)}
.dlChipOn{background:var(--violet);color:var(--ink);border-color:var(--ink);box-shadow:2.5px 2.5px 0 0 var(--ink)}
.dlGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.dlCard{
  display:flex;flex-direction:column;gap:9px;
  background:var(--panel);border:var(--bw) solid var(--line);border-radius:var(--r-md);
  box-shadow:var(--sh-sm);padding:14px 16px;
  transition:transform .16s var(--ease),box-shadow .16s var(--ease);
}
.dlCard:hover{transform:translate(-3px,-3px);box-shadow:7px 7px 0 0 var(--line)}
.dlCardTop{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dlRes{
  font-family:'Archivo Black',sans-serif;font-size:14.5px;text-transform:uppercase;
  color:var(--ink);background:var(--lime);border:2.5px solid var(--ink);
  border-radius:9px;padding:3px 11px;box-shadow:2px 2px 0 0 var(--ink);
}
.dlResAny{background:var(--panel-2);color:var(--text);border-color:var(--line);box-shadow:2px 2px 0 0 var(--line)}
.dlCard .season{
  color:var(--ink);font-size:11px;font-weight:700;font-family:'Space Mono',monospace;
  background:var(--cyan);padding:3px 9px;border-radius:8px;border:2px solid var(--ink);
}
.dlServer{
  margin-left:auto;color:var(--text);font-size:11px;font-weight:700;letter-spacing:.7px;
  text-transform:uppercase;font-family:'Space Mono',monospace;
  border:2px dashed var(--line);border-radius:8px;padding:3px 9px;
}
.dlDesc{
  color:var(--dim);font-size:11.5px;line-height:1.5;letter-spacing:.3px;
  text-transform:uppercase;font-weight:600;
}
.dlCardBottom{display:flex;align-items:center;gap:10px;margin-top:auto}
.dlSize{color:var(--text);font-family:'Space Mono',monospace;font-size:12px;font-weight:700;letter-spacing:.3px}
.dlBad{margin-left:auto;color:var(--dim);font-size:12px;font-family:'Space Mono',monospace}
.dlCardBottom a{
  margin-left:auto;display:inline-flex;align-items:center;gap:7px;
  font-size:13px;font-weight:800;color:var(--ink);
  padding:8px 16px;border-radius:10px;background:var(--lime);
  border:2.5px solid var(--ink);box-shadow:var(--sh-ink);
  transition:all .16s var(--ease);
}
.dlCardBottom a:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 0 var(--ink)}
.dlCardBottom a:active{transform:translate(2px,2px);box-shadow:0 0 0 0 var(--ink)}
.dlCardBottom a svg{width:15px;height:15px}
@media(max-width:720px){
  .dlGrid{grid-template-columns:1fr}
  .dlFilter{margin-left:0}
}

/* ── per-anime download page (#/download/123) — old-site layout, neo-brutal skin ── */
.dlPageHead{align-items:flex-start}
.dlPageHead .sub{margin-top:6px}
.dlHeadDash{color:var(--violet)}
.dlInfoBox{
  display:grid;gap:0;margin:0 0 26px;
  border:var(--bw) solid var(--line);border-radius:14px;background:var(--panel);
  box-shadow:4px 4px 0 0 var(--line);overflow:hidden;
}
.dlInfoItem{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:center;gap:18px;padding:13px 18px}
.dlInfoItem + .dlInfoItem{border-top:2px dashed var(--line)}
.dlInfoTitle{font-family:'Archivo Black',sans-serif;font-size:12.5px;text-transform:uppercase;letter-spacing:.4px;color:var(--text);white-space:nowrap}
.dlInfoText{margin:0;color:var(--muted);font-size:12.5px;line-height:1.55;font-weight:500}
.dlInfoText strong{color:var(--text)}
.dlInfoText a{color:var(--violet);font-weight:800;text-decoration:none}
.dlInfoText a:hover{text-decoration:underline}
.dlSeasons{display:grid;gap:22px}
.dlSeason{
  border:var(--bw) solid var(--line);border-radius:16px;background:var(--panel);
  box-shadow:4px 4px 0 0 var(--line);overflow:hidden;
}
.dlSeasonHead{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:13px 18px;border-bottom:var(--bw) solid var(--line);background:var(--panel-2);
  font-family:'Archivo Black',sans-serif;font-size:15px;text-transform:uppercase;letter-spacing:.4px;color:var(--text);
}
.dlSeasonCount{font-family:'Space Mono',monospace;font-size:11px;color:var(--dim);text-transform:none;letter-spacing:.3px}
.dlSeason .dlGrid{padding:14px}
.dlEmpty{
  border:var(--bw) solid var(--line);border-radius:16px;background:var(--panel);
  box-shadow:4px 4px 0 0 var(--line);text-align:center;padding:38px 22px;
}
.dlEmpty h2{margin:0 0 9px;font-family:'Archivo Black',sans-serif;font-size:20px;text-transform:uppercase;color:var(--text)}
.dlEmpty p{margin:0 0 20px;color:var(--muted);font-size:13.5px;line-height:1.65;font-weight:500}
.dlRequestBtn{
  display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;
  border:2px solid var(--ink);border-radius:10px;background:#229ED9;color:#fff;
  font-weight:800;font-size:13.5px;text-decoration:none;box-shadow:3px 3px 0 0 var(--ink);
  transition:all .15s var(--ease);
}
.dlRequestBtn:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 0 var(--ink);filter:brightness(1.07)}
.dlRequestBtn:active{transform:translate(2px,2px);box-shadow:0 0 0 0 var(--ink)}
/* EXE download (movie) */
.dlExeBox{padding:16px 18px}
.dlExeNote{margin:0 0 12px;color:var(--muted);font-size:12.5px;line-height:1.6;font-weight:500}
.dlChipRow{display:flex;gap:9px;flex-wrap:wrap}
.dlExeMsg{margin-top:12px;min-height:16px;font-family:'Space Mono',monospace;font-size:11.5px;color:var(--dim);word-break:break-word}
.dlExeMsg.dlExeErr{color:#ff8f94}
.dlEmptySlim{margin-top:20px;padding:20px 22px}
.dlEmptySlim p{margin:0 0 14px}
@media(max-width:640px){
  .dlInfoItem{grid-template-columns:1fr;gap:4px;padding:11px 15px}
  .dlSeason .dlGrid{grid-template-columns:1fr}
}

/* static pages */
.staticPage{max-width:820px;margin:0 auto}
.staticPage h1{font-size:clamp(28px,3.8vw,42px);font-weight:900;text-transform:uppercase;margin-bottom:10px;color:var(--text)}
.staticPage .updated{color:var(--dim);font-size:13px;margin-bottom:28px;font-family:'Space Mono',monospace}
.staticCard{padding:clamp(20px,3vw,32px);border-radius:var(--r-xl);margin-bottom:20px}
.staticCard h2{font-size:18px;font-weight:900;text-transform:uppercase;margin-bottom:10px;color:var(--text)}
.staticCard p{color:var(--muted);font-size:14.5px;margin-bottom:12px;font-weight:500}
.staticCard p:last-child{margin-bottom:0}
.staticCard p b,.staticCard li b{color:var(--text)}
.staticCard a{color:var(--violet);font-weight:800;border-bottom:2.5px solid var(--lime)}
.staticCard ul{color:var(--muted);font-size:14.5px;padding-left:22px;display:flex;flex-direction:column;gap:7px;margin:0;font-weight:500}


/* telegram CTA banner */
.tgBanner{
  max-width:640px;width:100%;
  display:flex;align-items:center;gap:18px;flex-wrap:wrap;
  padding:22px 26px;border-radius:var(--r-xl);margin:clamp(28px,4vw,46px) auto 8px;
  background:var(--panel);
}
.tgBanner .tgIcon{
  width:56px;height:56px;border-radius:15px;
  background:var(--tg);display:flex;align-items:center;justify-content:center;color:#fff;
  border:var(--bw) solid var(--ink);box-shadow:var(--sh-ink);flex:none;
}
.tgBanner .tgIcon svg{width:27px;height:27px}
.tgBanner .tgText{flex:1;min-width:220px}
.tgBanner h3{font-size:17px;font-weight:900;text-transform:uppercase;color:var(--text)}
.tgBanner p{color:var(--muted);font-size:13.5px;margin-top:3px;font-weight:500}

/* ------------------------------------------------------------
   small screens — alignment polish
   ------------------------------------------------------------ */
@media (max-width:640px){
  .pageWrap{padding:18px 14px 32px}
  .watchWrap{padding:12px 14px 32px}
  .epList{grid-template-columns:repeat(auto-fill,minmax(46px,1fr));gap:8px}
  .grid{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:14px}
  .toastRoot{bottom:calc(96px + env(safe-area-inset-bottom,0px))}
  .rowScroller{grid-auto-columns:clamp(140px,44vw,180px);gap:13px}
  .sectionHead{gap:10px;margin-bottom:16px}
  .sectionHead h2{font-size:19px}
  .pageHead h1{font-size:26px}
  .infoPanel,.epPanel{padding:16px}
  .infoHead{flex-direction:column;align-items:center;text-align:center;gap:14px}
  .miniPoster{width:112px}
  /* watch: নাম আগে (উপরে), তার নিচে icon-বার — সব মাঝ বরাবর সমান (user order) */
  .titleRow{flex-direction:column;align-items:center;gap:12px}
  .titleRow h1{text-align:center}
  .titleIcons{justify-content:center}
  .infoChips{justify-content:center}
  .epNav{gap:8px}
  .epNav .btn{flex:1;min-width:0;padding:10px 8px}
  .epNow{padding:8px 12px;font-size:12px}
  .tgBanner{padding:18px}
  .epNav{flex-direction:row}
  .playerShell{box-shadow:6px 6px 0 0 var(--line)}
}


/* page head count — ডান পাশে দূরে (Saved/Library) */
.headCount{margin-left:auto;align-self:center;white-space:nowrap;font-family:'Space Mono',monospace}
/* schedule-এর মতো heading মাঝ বরাবর */
.centerHead{justify-content:center;text-align:center}

/* history header — clear all বাটন ডানে বসে, PC-তে টেক্সট সহ */
.histHead{align-items:center}
.histHead #clearHist{margin-left:auto}
.histHead .btn{flex:none}

/* schedule — খালি day-এর simple message */
.schedNone{
  padding:26px 18px;text-align:center;color:var(--muted);
  font-weight:700;font-size:14px;
  background:var(--panel);border:var(--bw) dashed var(--line);border-radius:var(--r-lg);
  margin-bottom:22px;
}

/* clear-history confirm modal — সব কিছু মাঝ বরাবর */
.confirmBox{max-width:360px;width:calc(100vw - 48px);padding:24px;border-radius:var(--r-xl);text-align:center}
.confirmBox h3{font-size:17px;font-weight:900;text-transform:uppercase;color:var(--text)}
.confirmBox p{color:var(--muted);font-size:13px;line-height:1.55;margin-top:9px;font-weight:500}
.confirmActions{display:flex;gap:10px;margin-top:18px;justify-content:center}
.confirmActions .btn{flex:1;justify-content:center}


/* mobile: single-line side-scroll filter rows (schedule days + library A–Z) */
@media(max-width:720px){
  .filterRow.scrollX{
    flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;
    margin:0 -14px 20px;padding:2px 14px 8px;
  }
  .filterRow.scrollX::-webkit-scrollbar{display:none}
  .filterRow.scrollX .fChip{flex:none}
  .alphaWrap{overflow-x:auto;scrollbar-width:none}
  .alphaWrap::-webkit-scrollbar{display:none}
  .alphaStrip{flex-wrap:nowrap;justify-content:flex-start;min-width:max-content;padding:10px 12px}
  .alphaStrip button{flex:none}

  /* TG banner: এক লাইনে — icon | টাইটেল | Join */
  .tgBanner{flex-wrap:nowrap;align-items:center;gap:12px}
  .tgBanner .tgText{min-width:0}
  .tgBanner h3{font-size:14px;line-height:1.25}

  /* history: মোবাইলে clear all = শুধু icon */
  .histHead .btn{width:42px;height:42px;padding:0;justify-content:center}
  .histHead .btn span{display:none}

  /* schedule: day chips compact + মাঝ বরাবর */
  .filterRow.scrollX{justify-content:safe center}
  .filterRow.scrollX .fChip{padding:6px 9px;font-size:11px}

  /* history: Resume + delete এক লাইনে — icon-only, same size & position */
  .histItem{flex-wrap:nowrap}
  .histActions{flex-wrap:nowrap;gap:7px}
  .histActions .btn{width:38px;height:38px;padding:0;justify-content:center;flex:none}
  .histActions .btn span{display:none}
  .histActions .iconBtn{width:38px;height:38px;flex:none}
}

/* ───── EXE custom player — Netflix-style chrome (np) ───── */
.exePlayer{position:relative;width:100%;height:100%;display:flex;flex-direction:column;background:#000;outline:none;overflow:hidden}
.exePlayer video{flex:1;width:100%;min-height:0;object-fit:contain;background:#000;cursor:pointer}
.exePlayer:fullscreen video{max-height:100vh}
/* top chrome — বাঁয়ে (লোডিং শেলে back নেই) নাম + Season·Episode; ডানে Cast·Episodes·CC·Settings */
.npTop{position:absolute;top:0;left:0;right:0;z-index:6;display:flex;align-items:center;justify-content:space-between;padding:10px 12px 16px;background:linear-gradient(180deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.22) 60%,rgba(0,0,0,0) 100%);transition:opacity .28s ease}
/* Skip Intro/Outro — ravok fields ডেটা থাকলে বাটন */
.npSkip{position:absolute;right:14px;bottom:64px;z-index:6;padding:9px 18px;border-radius:8px;background:rgba(20,20,26,.78);border:1px solid rgba(255,255,255,.4);color:#fff;font:700 13px 'Inter',sans-serif;letter-spacing:.02em;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .15s ease}
.npSkip:hover{background:rgba(255,255,255,.92);color:#111}
.npSkip[hidden]{display:none!important}
.exePlayer.idle .npTop{opacity:0;pointer-events:none}
.exePlayer.freshing .npTop{display:none!important}
.npTopL{display:flex;align-items:flex-start;gap:6px;min-width:0}
.npMeta{display:flex;align-items:center;gap:8px;min-width:0}
.npMeta .npT{flex:0 1 auto;min-width:0;font:800 17px/1.2 'Inter',system-ui,-apple-system,sans-serif;letter-spacing:-.01em;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.85);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.npSeTag{flex:none;font:800 12.5px 'Inter',system-ui,-apple-system,sans-serif;color:rgba(255,255,255,.92);text-shadow:0 1px 4px rgba(0,0,0,.85);white-space:nowrap}
.npTopR{display:flex;align-items:center;gap:4px}
.npIcon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:#fff;background:none;border:0;border-radius:50%;cursor:pointer;filter:drop-shadow(0 1px 5px rgba(0,0,0,.6));transition:transform .15s var(--ease)}
.npIcon svg{width:23px;height:23px}
.npIcon:hover{transform:scale(1.08)}
.npIcon:active{transform:scale(.9)}
.npIcon.on{color:var(--violet)}
/* center — prev · blob · next; blob লোডিং/বাফারে morphing, নাহলে play/pause আইকন —
   দুটো কখনো একসাথে দেখাবে না (JS একটাই face সেট করে) */
.npCenter{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:44px;z-index:4;pointer-events:none;transition:opacity .28s ease}
.exePlayer.idle .npCenter{opacity:0;pointer-events:none}
.exePlayer.freshing .npCenter{display:none!important}
.npBlobWrap{pointer-events:auto;display:flex;flex-direction:column;align-items:center;gap:12px}
/* blob-এর দুই পাশের prev/next episode বাটন */
.npSide{
  pointer-events:auto;flex:none;width:56px;height:56px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#fff;cursor:pointer;padding:0;
  background:rgba(18,18,24,.55);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 6px 18px rgba(0,0,0,.45);
  transition:transform .15s var(--ease),background .15s var(--ease);
}
.npSide svg{width:30px;height:30px}
.npSide:hover{transform:scale(1.07);background:rgba(44,44,54,.65)}
.npSide:active{transform:scale(.94)}
.npSide:disabled{opacity:.3;pointer-events:none}
html.lite .npSide{-webkit-backdrop-filter:none;backdrop-filter:none}
.npBlob{position:relative;width:84px;height:84px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;
  background:rgba(18,18,24,.55);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 8px 24px rgba(0,0,0,.5);
  transition:transform .15s}
.npBlob:hover{transform:scale(1.05)}
.npBlob:hover{transform:scale(1.06)}
.npBufTxt{font:600 12.5px 'Inter',system-ui,-apple-system,sans-serif;color:rgba(255,255,255,.9);text-shadow:0 1px 6px rgba(0,0,0,.85);letter-spacing:.2px}
.npBufTxt:empty{display:none}
.npBlob svg{width:32px;height:32px}
.exePlayer.spinface .npBlob{animation:npMorph 3.2s ease-in-out infinite;border-radius:50%}
@keyframes npMorph{0%,100%{border-radius:58% 42% 55% 45%/52% 48% 52% 48%}33%{border-radius:45% 55% 48% 52%/58% 42% 55% 45%}66%{border-radius:52% 48% 60% 40%/45% 55% 45% 55%}}
.npBlobSpin{display:none;width:34px;height:34px;border:3.5px solid rgba(255,255,255,.25);border-top-color:#fff;border-radius:50%;animation:apxspin .8s linear infinite}
.npBlobIco{display:none;align-items:center;justify-content:center;color:#fff}
.npBlobIco svg{width:38px;height:38px}
/* freshing — ছোট কালো ডট + "Link freshing…" লেখা; ডট ট্যাপ = সাথে সাথে আবার চেষ্টা */
.npFresh{position:absolute;inset:0;z-index:8;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.55)}
.npFreshWrap{display:flex;flex-direction:column;align-items:center;gap:14px}
.npFreshTxt{font:600 12.5px 'Inter',system-ui,-apple-system,sans-serif;color:rgba(255,255,255,.85);letter-spacing:.3px}
.npDot{width:16px;height:16px;border-radius:50%;background:#000;border:2px solid rgba(255,255,255,.45);cursor:pointer;animation:npPulse 1.1s ease-in-out infinite;padding:0}
@keyframes npPulse{0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(167,139,250,.45)}50%{transform:scale(1.25);box-shadow:0 0 0 8px rgba(167,139,250,0)}}
/* lock — বাম পাশে গোল বাটন; লক করলে সব লুকিয়ে শুধু লক আইকন থাকে */
/* bottom controls — time · seek · duration · fullscreen */
.npControls{position:absolute;left:0;right:0;bottom:0;z-index:5;padding:22px 14px 0;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.5) 55%,rgba(0,0,0,.75) 100%);transition:opacity .28s ease}
/* S1·E1 — সবসময় seek-বারের নিচে; নিচের বর্ডার থেকে একটু উপরে (seek bar অক্ষত) */
.npSeekRow{margin-bottom:24px}
.exePlayer.idle .npControls{opacity:0;pointer-events:none}
.exePlayer.freshing .npControls{display:none!important}
.exePlayer.idle{cursor:none}
/* সাবটাইটেল পজিশন (নেটফ্লিক্স-স্টাইল): কন্ট্রোল দেখা গেলে সিক-বারের উপরে ওঠে,
   কন্ট্রোল লুকালে (.idle) নিচে নামে। ক্রোমিয়ামের নেটিভ ট্র্যাক-কন্টেইনার সরানো হয়। */
.np video::-webkit-media-text-track-container{transition:transform .28s ease}
.np:not(.idle) video::-webkit-media-text-track-container{transform:translateY(-46px)}
/* সাব লুক — চাংকি ডিফল্ট ব্যাকগ্রাউন্ড নয়: হালকা স্ক্রিম + শ্যাডো */
.np video::cue{background:rgba(10,10,16,.42);text-shadow:0 1px 4px rgba(0,0,0,.9);font-family:Inter,sans-serif}
/* seek bar — touch-action:none না দিলে মোবাইলে টান দিলে ব্রাউজার স্ক্রল ধরে নেয় */
.exeSeek{position:relative;flex:1 1 auto;height:20px;display:flex;align-items:center;cursor:pointer;touch-action:none}
.exeSeek::before{content:'';position:absolute;left:0;right:0;height:5px;background:rgba(255,255,255,.22);border-radius:4px;transition:height .15s}
.exeSeek:hover::before,.exeSeek.dragging::before{height:8px}
.exeBuf{position:absolute;left:0;height:4px;background:rgba(255,255,255,.35);border-radius:4px;width:0;transition:height .15s}
.exeSeek:hover .exeBuf,.exeSeek.dragging .exeBuf{height:6px}
.exeFill{position:absolute;left:0;height:4px;background:linear-gradient(90deg,#ff5c5c,#e63939);border-radius:4px;width:0;transition:height .15s}
.exeSeek:hover .exeFill,.exeSeek.dragging .exeFill{height:6px}
.exeFill i{position:absolute;right:-7px;top:50%;transform:translateY(-50%) scale(.5);width:14px;height:14px;border-radius:50%;background:#ff5c5c;border:2.5px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.5);opacity:0;transition:opacity .15s,transform .15s}
.exeSeek:hover .exeFill i,.exeSeek.dragging .exeFill i{opacity:1;transform:translateY(-50%) scale(1)}
.npSeekRow{
  display:flex;align-items:center;gap:8px;
  margin:0 8px 6px;padding:3px 10px;border-radius:999px;
  background:rgba(30,30,38,.35);
  box-shadow:0 0 0 1px rgba(255,255,255,.10);
}
.npTCur,.npTDur{font:600 12px 'Inter',system-ui,-apple-system,sans-serif;font-variant-numeric:tabular-nums;color:rgba(255,255,255,.95);text-shadow:0 1px 3px rgba(0,0,0,.8);white-space:nowrap}
.npSeek{flex:1}
.npFull:active{transform:scale(.9)}
/* cast (top-right) — কাস্ট সাপোর্ট থাকলেই (castOk) দেখায় */
.exeBtn{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 8px;color:#fff;background:transparent;border:none;border-radius:10px;cursor:pointer;transition:background .15s,transform .1s}
.exeBtn svg{width:21px;height:21px}
.exeBtn:active{transform:scale(.9)}
.npCast{display:none;background:rgba(0,0,0,.45);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.npCast.castOk{display:inline-flex}
.npCast:hover{background:var(--violet);color:#111}
/* sheets — Playback Settings / Speed / Quality / Episodes (bottom card, থিমের রঙে) */
.npSheet{position:absolute;inset:0;z-index:15;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.35)}
.npSheetCard{width:min(340px,64%);max-height:60%;display:flex;flex-direction:column;background:linear-gradient(150deg,rgba(46,46,54,.72),rgba(26,26,32,.66) 48%,rgba(40,40,48,.70));-webkit-backdrop-filter:blur(26px) saturate(180%);backdrop-filter:blur(26px) saturate(180%);border:1px solid rgba(255,255,255,.14);border-bottom:none;border-radius:20px 20px 0 0;box-shadow:0 -12px 40px rgba(0,0,0,.6);animation:npUp .22s cubic-bezier(.2,1.1,.4,1);overflow:hidden}
@keyframes npUp{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
.npHandle{width:40px;height:4px;border-radius:99px;background:rgba(255,255,255,.3);margin:8px auto 0;cursor:pointer;flex:none}
.npSheetBody{overflow-y:auto;padding:8px 14px 16px}
.npShTitle{margin:6px 0 8px;font:800 16.5px 'Inter',system-ui,-apple-system,sans-serif;letter-spacing:-.01em;color:#fff}
.npShRow{display:flex;align-items:center;gap:12px;width:100%;padding:11px 10px;background:transparent;border:none;border-radius:9px;cursor:pointer;transition:background .12s}
.npShRow:hover{background:rgba(255,255,255,.07)}
.npShIco{display:inline-flex;color:rgba(255,255,255,.9)}
.npShIco svg{width:21px;height:21px}
.npShLbl{flex:1;text-align:left;font:600 14.5px 'Inter',system-ui,-apple-system,sans-serif;color:#fff}
.npShVal{font:600 13px 'Inter',system-ui,-apple-system,sans-serif;color:rgba(255,255,255,.6)}
.npShChev{display:inline-flex;color:rgba(255,255,255,.55)}
.npShChev svg{width:17px;height:17px}
.npShRad{display:flex;align-items:center;gap:14px;width:100%;padding:10px 10px;background:transparent;border:none;border-radius:9px;cursor:pointer;transition:background .12s}
.npShRad:hover{background:rgba(255,255,255,.07)}
.npCirc{flex:none;width:18px;height:18px;border-radius:50%;border:2.5px solid rgba(255,255,255,.45);position:relative;transition:border-color .12s}
.npShRad.on .npCirc,.npShEp.on .npCirc{border-color:var(--violet)}
.npShRad.on .npCirc::after,.npShEp.on .npCirc::after{content:'';position:absolute;inset:3px;border-radius:50%;background:var(--violet)}
.npRadLbl{font:600 14.5px 'Inter',system-ui,-apple-system,sans-serif;color:rgba(255,255,255,.92)}
.npShRad.on .npRadLbl{color:#fff}
.npShGroup{margin:10px 0 4px;font:700 11px 'Inter',system-ui,-apple-system,sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:rgba(255,255,255,.55);text-align:center}
.npShEp{display:flex;align-items:center;gap:14px;width:100%;padding:9px 10px;background:transparent;border:none;border-radius:10px;cursor:pointer;transition:background .12s;text-align:left}
.npShEp:hover{background:rgba(255,255,255,.07)}
.npShEp.on{background:rgba(167,139,250,.18)}
/* ছোট নোটিশ (CC-তে সাবটাইটেল না থাকলে ইত্যাদি) */
.exeToast{
  position:absolute;left:50%;top:16px;transform:translateX(-50%) translateY(-8px);z-index:20;
  padding:8px 14px;font:600 12.5px 'Inter',system-ui,-apple-system,sans-serif;color:#111;background:var(--violet);
  border:2px solid #111;border-radius:10px;box-shadow:3px 3px 0 rgba(0,0,0,.7);
  opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;white-space:nowrap;
}
.exeToast.show{opacity:1;transform:translateX(-50%) translateY(0)}
/* right-click → Pakistan Anime (Telegram channel) */
.exeCtx{
  position:absolute;z-index:30;min-width:124px;
  background:rgba(22,22,30,.95);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border:1.5px solid rgba(255,255,255,.16);border-radius:10px;
  box-shadow:0 12px 32px rgba(0,0,0,.65);overflow:hidden;padding:4px;
  animation:npUp .16s cubic-bezier(.2,1.2,.4,1);
}
.exeCtx a{
  display:flex;align-items:center;justify-content:center;padding:9px 14px;
  font:800 12.5px 'Inter',system-ui,-apple-system,sans-serif;letter-spacing:.4px;
  color:#fff;text-decoration:none;border-radius:7px;transition:background .12s,color .12s;
}
.exeCtx a:hover{background:var(--violet);color:#111}
@keyframes apxspin{to{transform:rotate(360deg)}}
@media (max-width:640px){
  .npTop{padding:8px 8px 12px}
  .npMeta .npT{font-size:12px}
  .npSeTag{font-size:10.5px}
  .npIcon{width:34px;height:34px}
  .npIcon svg{width:18px;height:18px}
  .exeBtn{min-width:34px;height:34px}
  .exeBtn svg{width:18px;height:18px}
  .npSide{width:40px;height:40px}
  .npSide svg{width:22px;height:22px}
  .npBlob{width:54px;height:54px}
  .npBlobIco svg{width:24px;height:24px}
  .npSeekRow{margin:0 6px 4px;padding:2px 8px;gap:6px}
  .npTCur,.npTDur{font-size:9.5px}
  .exeSeek{height:14px}
  .npControls{padding:20px 8px 8px}
  .npTCur,.npTDur{font-size:9.5px}
  .npSheetBody{padding:4px 8px 10px}
  .npSheetCard{width:min(300px,88%)}
  .npShTitle{font-size:13px;margin:4px 0 4px}
  .npShRow{padding:7px 8px;gap:8px}
  .npShRow svg{width:16px;height:16px}
  .npShRow .npShLbl, .npShRow span{font-size:12px}
  .npShRow .npShVal{font-size:11px}
}

.hidden{display:none!important}

/* ── Playback Settings — option rows on #/playback ── */
.pbRow{padding:18px;margin-bottom:14px;border-radius:var(--r-lg)}
.pbRowHead h3{margin:0 0 4px;font-size:15px;font-weight:800;letter-spacing:.02em}
.pbRowHead p{margin:0 0 12px;font-size:12.5px;color:var(--muted);line-height:1.5}
.pbOpts{display:flex;flex-wrap:wrap;gap:8px}
.pbopt{padding:9px 16px;border-radius:10px;border:1.5px solid var(--line);background:var(--panel);color:var(--text);font-family:inherit;font-size:13.5px;font-weight:700;cursor:pointer;transition:all .14s var(--ease)}
.pbopt:hover{border-color:var(--violet)}
.pbopt.on{background:var(--lime);border-color:var(--ink);color:var(--ink)}
.pbNote{margin:8px 2px 0;font-size:12px;color:var(--dim);line-height:1.55}

/* ── seek preview bubble — হোভারে ওই সময়ের ফ্রেম ── */
.npPrev{position:absolute;bottom:62px;transform:translateX(-50%);z-index:8;display:flex;flex-direction:column;align-items:center;gap:4px;pointer-events:none}
.npPrev canvas{width:160px;height:90px;border-radius:10px;border:1px solid rgba(255,255,255,.28);background:#000;box-shadow:0 12px 34px rgba(0,0,0,.65)}
.npPrevT{font-size:11.5px;font-weight:800;color:#fff;background:rgba(10,10,16,.78);padding:2px 9px;border-radius:6px;letter-spacing:.02em}
.npPrevVid{position:absolute;width:2px;height:2px;opacity:0;pointer-events:none;left:-10px;top:-10px}
/* skip / 2× indicator — S1·E1 লেবেলের মতোই সাদামাটা (ভায়োলেট টোস্ট নয়); ক্রোম লুকানো থাকলেও দেখা যায় */
.npSkipTxt{
  position:absolute;left:50%;top:16px;transform:translateX(-50%) translateY(-6px);z-index:20;
  font:800 17px 'Inter',system-ui,-apple-system,sans-serif;letter-spacing:.05em;
  color:rgba(255,255,255,.95);text-shadow:0 1px 3px rgba(0,0,0,.85);
  background:rgba(0,0,0,.42);border:1px solid rgba(255,255,255,.22);border-radius:10px;padding:7px 18px;
  white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;
}
.npSkipTxt.show{opacity:1;transform:translateX(-50%) translateY(0)}


/* ── player shell = iPhone liquid glass box (user: player যে বাক্সে চলে) ── */
body.glassOn .playerShell{
  background:rgba(22,22,26,.6);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:8px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 18px 50px rgba(0,0,0,.55);
}
body.glassOn .playerFrame{border-radius:11px;overflow:hidden}
