/* ===== v1.6.6: همهٔ تیک‌ها (ورود، ثبت‌نام، پروفایل، پنل مدیریت) به سوییچ پیشرفته تبدیل شدند ===== */
html .chk i,html .gw:not(.tos) input[type=checkbox]{
  position:relative!important;flex:none;display:block!important;width:52px!important;height:30px!important;border-radius:30px!important;
  background:#1a1d36!important;border:1.5px solid color-mix(in srgb,var(--a2,#6c63ff) 35%,#2a2d52)!important;box-shadow:none!important;
  transition:background .3s,border-color .3s,box-shadow .3s!important;animation:none!important;cursor:pointer}
html .chk i::after,html .gw:not(.tos) input[type=checkbox]::after{
  content:""!important;position:absolute!important;top:3px!important;inset-inline-start:3px!important;left:auto;right:auto;
  width:22px!important;height:22px!important;border-radius:50%!important;background:#8b90b8!important;
  -webkit-mask:none!important;mask:none!important;opacity:1!important;transform:none;
  transition:transform .3s cubic-bezier(.3,1.4,.5,1),background .3s,box-shadow .3s!important}
html .chk input:checked+i,html .gw:not(.tos) input[type=checkbox]:checked{
  background:var(--gn,var(--g))!important;border-color:transparent!important;box-shadow:0 0 14px var(--glow-a,#5b50e8aa)!important}
html .chk input:checked+i::after,html .gw:not(.tos) input[type=checkbox]:checked::after{
  width:22px!important;height:22px!important;background:#fff!important;box-shadow:0 2px 8px #0006;transform:translateX(22px)}
html[dir=rtl] .chk input:checked+i::after,html[dir=rtl] .gw:not(.tos) input[type=checkbox]:checked::after{transform:translateX(-22px)}
html .chk:active i::after{width:26px!important}
html .gw:not(.tos) input[type=checkbox]:disabled{opacity:.45;cursor:not-allowed}
html .chk input:focus-visible+i{outline:2px solid var(--a2,#6c63ff);outline-offset:3px}
html[data-mode=light] .chk i,html[data-mode=light] .gw:not(.tos) input[type=checkbox]{background:#d9d9ea!important;border-color:#b5b4d6!important}
html[data-mode=light] .chk input:checked+i,html[data-mode=light] .gw:not(.tos) input[type=checkbox]:checked{background:var(--gn,var(--g))!important}
html[data-mode=light] .gw.tos .tsw{background:#d9d9ea}
html[data-mode=light] .gw.tos input:checked~.tsw{background:var(--gn,var(--g))}

/* دکمهٔ ساخت حساب (ثبت‌نام) هم‌سبک دکمهٔ پرداخت */
button.neon.locked{filter:grayscale(.85) brightness(.7);opacity:.6;box-shadow:none!important;cursor:not-allowed}
button.neon.locked::before,button.neon.locked::after{display:none!important}
@media(prefers-reduced-motion:reduce){html .chk i::after,html .gw:not(.tos) input[type=checkbox]::after{transition:none!important}}
