/* r38 · kosher video gate */
.thumb{position:relative}
.thumb[data-vg="blocked"]::after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(160deg,rgba(18,26,51,.88),rgba(7,9,15,.9));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:inherit}
.thumb[data-vg="blocked"] .play,.thumb[data-vg="blocked"] .dur{display:none}
.thumb .vgb{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font:600 12px/1 -apple-system,system-ui,sans-serif;letter-spacing:.02em;padding:7px 12px;border-radius:999px;color:#eef2ff;background:rgba(255,255,255,.08);border:1px solid rgba(122,167,255,.3);pointer-events:none}
.thumb .vgb i{font-style:normal;font-size:13px}
.vgcard{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;padding:28px 24px;color:#eef2ff;
  background:radial-gradient(120% 80% at 50% -10%,rgba(59,130,246,.28),transparent 60%),radial-gradient(90% 70% at 100% 110%,rgba(139,92,246,.24),transparent 60%),linear-gradient(160deg,#121a33,#090c18);
  border:1px solid rgba(122,167,255,.22);border-radius:20px;box-shadow:0 1px 0 rgba(255,255,255,.08) inset,0 24px 60px rgba(0,0,0,.5);animation:vgIn .45s cubic-bezier(.32,.72,0,1) both}
#tplayer .vgcard{position:absolute;inset:0;border-radius:0;border:0}
.vgshield{width:62px;height:62px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);border:1px solid rgba(122,167,255,.3);box-shadow:0 0 0 8px rgba(59,130,246,.07),0 10px 30px rgba(59,130,246,.3);animation:vgPop .6s cubic-bezier(.34,1.56,.64,1) .08s both}
.vgcard h3{margin:0;max-width:330px;font:700 19px/1.32 -apple-system,BlinkMacSystemFont,"SF Pro Display",Inter,system-ui,sans-serif;letter-spacing:-.015em;color:#fff}
.vgreq{appearance:none;margin-top:2px;background:transparent;border:1px solid rgba(255,255,255,.18);color:#c7d2fe;height:34px;padding:0 16px;border-radius:999px;font:500 13px/1 -apple-system,system-ui,sans-serif;cursor:pointer;transition:background .2s,border-color .2s}
.vgreq:hover{background:rgba(255,255,255,.06);border-color:rgba(122,167,255,.45)}
.vgform{display:flex;flex-direction:column;gap:8px;width:100%;max-width:300px}
.vgform input{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#fff;border-radius:12px;padding:10px 12px;font:14px/1.3 -apple-system,system-ui,sans-serif;outline:0}
.vgform input:focus{border-color:rgba(122,167,255,.6)}
.vgform button{appearance:none;border:0;height:38px;border-radius:999px;background:linear-gradient(100deg,#3b82f6,#8b5cf6);color:#fff;font:600 13.5px/1 -apple-system,system-ui,sans-serif;cursor:pointer}
.vgform button:disabled{opacity:.6}
.vgdone{margin:0;color:#c7d6ff;font:600 14px/1.4 -apple-system,system-ui,sans-serif}
.vgcard.vgsm{border-radius:0;border:0;min-height:230px}
.vgv{position:relative}
.vgv video{display:block;width:100%;max-height:600px;background:#000}
.vgv .vgdl{position:absolute;right:10px;top:10px;z-index:2;opacity:.92}
@keyframes vgIn{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
@keyframes vgPop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.vgcard,.vgshield{animation:none}}

/* r41 kosher thumbnails: blurred until checked (CSS catches them before any script runs) */
img[src*="ytimg.com"]:not(.vgok),img[src*="ggpht.com"]:not(.vgok),img[src*="googleusercontent.com"]:not(.vgok){filter:blur(14px) saturate(.5) brightness(.85)!important;-webkit-filter:blur(14px) saturate(.5) brightness(.85)!important;clip-path:inset(0 round 6px)}
img.vgok{filter:none!important;-webkit-filter:none!important;clip-path:none}
img.vgbad{filter:blur(22px) grayscale(1) brightness(.5)!important}

.thumb[data-yt]:not([data-vg]),.thumb[data-src]:not([data-vg]){overflow:hidden}
.thumb[data-yt]:not([data-vg])::after,.thumb[data-src]:not([data-vg])::after{content:"";position:absolute;inset:0;z-index:1;background:rgba(10,14,28,.35);-webkit-backdrop-filter:blur(18px) saturate(.5);backdrop-filter:blur(18px) saturate(.5);border-radius:inherit;pointer-events:none}

/* r42 approval countdown */
.vgwait{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:4px;animation:vgIn .35s ease both}
.vgring{position:relative;width:64px;height:64px}
.vgring svg{transform:rotate(-90deg);display:block}
.vgr0{fill:none;stroke:rgba(255,255,255,.12);stroke-width:5}
.vgr1{fill:none;stroke:url(#vgg);stroke:#7aa7ff;stroke-width:5;stroke-linecap:round;transition:stroke-dashoffset .25s linear,stroke .3s}
.vgt{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:700 15px/1 -apple-system,system-ui,sans-serif;color:#eef2ff;font-variant-numeric:tabular-nums}
.vgwl{margin:0;font:600 15px/1.3 -apple-system,system-ui,sans-serif;color:#eef2ff}
.vgws{font:12px/1.35 -apple-system,system-ui,sans-serif;color:rgba(238,242,255,.65);max-width:260px}
.vgwait.vgyes .vgr1{stroke:#34d399}.vgwait.vgyes .vgt{color:#34d399;font-size:22px}
.vgwait.vgto .vgr1{stroke:rgba(255,255,255,.25)}
.vgerr{color:#fca5a5!important}
.vgsm .vgring{width:52px;height:52px}.vgsm .vgring svg{width:52px;height:52px}
#tplayer .vgcard.vgw{gap:6px;padding:10px 16px;overflow:hidden}
.vgcard.vgw .vgshield{display:none}
#tplayer .vgcard.vgw h3{font-size:14px;line-height:1.3;margin:0}
#tplayer .vgcard.vgw .vgwait{gap:5px;margin-top:2px}
#tplayer .vgcard.vgw .vgws{font-size:11px}

/* r50 · checking state: nothing plays before the verdict */
#tplayer .vgcard.vgchk{position:absolute;inset:0;border-radius:0;border:0;gap:6px;padding:12px 18px}
.vgchk .vgwait .vgr1{animation:none}
.vgchk .vgwait.vgto .vgring svg{animation:vgSpin 1.2s linear infinite}
.vgchk .vgwait.vgto .vgr1{stroke:#7aa7ff;stroke-dasharray:40 200}
@keyframes vgSpin{to{transform:rotate(270deg)}}
#tplayer[data-vgwait] .ytmcover,#tplayer .vgcard~.ytmcover{display:none!important}
.vgtgw{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;background:rgba(9,12,24,.82);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:#eef2ff;font:600 15px/1.3 -apple-system,system-ui,sans-serif}
.vgtgw small{font:12px/1.35 -apple-system,system-ui,sans-serif;color:rgba(238,242,255,.7)}
.vgtgw .sgspin{width:26px;height:26px;border-radius:50%;border:3px solid rgba(255,255,255,.18);border-top-color:#7aa7ff;animation:vgSpin2 .8s linear infinite;display:inline-block}
@keyframes vgSpin2{to{transform:rotate(360deg)}}
