/* تم تیره‌ی بیت‌یار: ساخته‌شده با ~/bitfa-tools/bityar-theme/gen-dark.py از terminal.css؛ دستی ویرایش نکن، اسکریپت را دوباره اجرا کن */
:root[data-theme="dark"]{
	color-scheme:dark;
	--bg:#0E1117;--card:#161A25;--card2:#1B2030;--line:#262C3B;--line2:#333A4C;
	--txt:#E6E8EE;--sub:#A9B0BE;--mut:#7D8697;
	--pri:#F7A01D;--pri-ink:#F7B54E;--pri-bg:rgba(247,160,29,.15);
	--up:#2EBD85;--dn:#F6465D;--up-bg:rgba(46,189,133,.14);--dn-bg:rgba(246,70,93,.14);
	--focus:0 0 0 3px rgba(247,160,29,.35);
}
:where(html[data-theme="dark"]) .exr img{background:var(--card)}
:where(html[data-theme="dark"]) .cd-r .sw::after{background:var(--card)}
:where(html[data-theme="dark"]) .fcard{background:rgba(22,26,37,0.97)}
:where(html[data-theme="dark"]) .fcard .ft2 span{color:#78E1A0}
:where(html[data-theme="dark"]) .wb .fw{color:var(--card)}
:where(html[data-theme="dark"]) .fbar .fl{color:#A074E6}
:where(html[data-theme="dark"]) .fbar .fxx{color:var(--card)}
:where(html[data-theme="dark"]) .card .sw::after{background:var(--card)}
:where(html[data-theme="dark"]) .dt-ind.by{background:linear-gradient(180deg,rgba(255,147,0,.16),var(--card))}
:where(html[data-theme="dark"]) .bya{background:var(--card)}
:where(html[data-theme="dark"]) .aibar{background:linear-gradient(var(--card),var(--card)) padding-box,linear-gradient(110deg,#F7A01D,#F0567A,#7B61FF,#2F80ED,#F7A01D) border-box}
:where(html[data-theme="dark"]) .ai-sug{background:var(--card)}
:where(html[data-theme="dark"]) .by-lg{background:linear-gradient(135deg,rgba(255,158,0,.16),rgba(255,158,0,.16))}
:where(html[data-theme="dark"]) .by-hi-lg{background:linear-gradient(135deg,rgba(255,158,0,.16),rgba(255,158,0,.16))}
:where(html[data-theme="dark"]) .by-ex button,:where(html[data-theme="dark"]) .by-chips button{background:var(--card)}
:where(html[data-theme="dark"]) .by-setup{background:linear-gradient(180deg,var(--card),var(--card2))}
:where(html[data-theme="dark"]) .bs-g span{background:var(--card)}
:where(html[data-theme="dark"]) .bs-g .rr{background:color-mix(in srgb,var(--up) 10%,var(--card))}
:where(html[data-theme="dark"]) .by-c{background:var(--card)}
:where(html[data-theme="dark"]) .by-in:focus-within{background:var(--card)}
:where(html[data-theme="dark"]) .by-mic:hover{background:var(--card)}
:where(html[data-theme="dark"]) .by-go{color:var(--card)}
:where(html[data-theme="dark"]) .htip{background:var(--card)}
:where(html[data-theme="dark"]) .fbar .fc.on{color:var(--card)}
:where(html[data-theme="dark"]) .entnote span{background:rgba(22,26,37,0.95)}
:where(html[data-theme="dark"]) .entnote button{color:#A074E6}
:where(html[data-theme="dark"]) .dm-tag{background:linear-gradient(135deg,rgba(255,158,0,.16),rgba(233,0,95,.16));color:#E476A0}
:where(html[data-theme="dark"]) .dm-bot.on{background:rgba(0,187,68,.16)}
:where(html[data-theme="dark"]) .by-setup.lock{background:linear-gradient(180deg,rgba(255,170,0,.16),var(--card))}
:where(html[data-theme="dark"]) .by-chips a{background:var(--card)}
:where(html[data-theme="dark"]) .by-stage{background:radial-gradient(circle at 50% 60%,rgba(255,167,0,.16),transparent 70%)}
:where(html[data-theme="dark"]) .by-ai-av{background:linear-gradient(135deg,rgba(255,158,0,.16),rgba(255,158,0,.16))!important}
:where(html[data-theme="dark"]) .bx-n .bx-c i{color:var(--txt)}
:where(html[data-theme="dark"]) .bx-cnt u{color:var(--sub)}
:where(html[data-theme="dark"]) .bx-sn.on i{color:#869CD4}
:where(html[data-theme="dark"]) .bx-bub{background:var(--card);color:#869CD4}
:where(html[data-theme="dark"]) .bx-bub::after{border-top-color:var(--line)}
:where(html[data-theme="dark"]) .cm.eye .tg::after{background:var(--card)}
:where(html[data-theme="dark"]) .cm.eye.off{background:rgba(255,161,0,.16)}
:where(html[data-theme="dark"]) .oppchip{background:rgba(22,26,37,0.96)}
:where(html[data-theme="dark"]) .oppchip button{color:var(--card)}
:where(html[data-theme="dark"]) .tour-card{background:var(--card)}
:where(html[data-theme="dark"]) .tlleg{background:rgba(22,26,37,0.96)}
:where(html[data-theme="dark"]) .tour-bym{background:var(--card)}
:where(html[data-theme="dark"]) .tour-card::before{background:var(--card)}
:where(html[data-theme="dark"]) .scr-ask button{color:var(--card)}
:where(html[data-theme="dark"]) .scr-lg button.on{color:var(--card)}
:where(html[data-theme="dark"]) .scr-pt .go{color:var(--card)}
:where(html[data-theme="dark"]) .scr-ib.on{color:var(--card)}
:where(html[data-theme="dark"]) .bf-sum b{color:#B172E7}
:where(html[data-theme="dark"]) .bfpick{background:rgba(22,26,37,0.96)}
:where(html[data-theme="dark"]) .aiproj .ap-s li.on i{background:#22C55E radial-gradient(circle,var(--card) 0 2px,transparent 2.5px)}
:where(html[data-theme="dark"]) .card .pro.g{background:rgba(121,0,255,.16);color:#B276E4}
:where(html[data-theme="dark"]) .gt-r>i{background:linear-gradient(135deg,rgba(246,153,0,.16),#F7A01D)}
:where(html[data-theme="dark"]) .gt-r small{background:var(--line)}
:where(html[data-theme="dark"]) .gt-r em{background:linear-gradient(90deg,var(--up-bg) var(--w),var(--line) 0)}
:where(html[data-theme="dark"]) .gate-ic{background:radial-gradient(circle at 30% 30%,rgba(255,157,0,.16),rgba(255,154,0,.16))}
:where(html[data-theme="dark"]) .gate-j.big{color:var(--txt)}
:where(html[data-theme="dark"]) .cd-r em.pro.g{background:rgba(121,0,255,.16);color:#B276E4}
:where(html[data-theme="dark"]) .tvnd-c button{color:var(--txt)}
:where(html[data-theme="dark"]) .bfg-ct button.on{color:#B172E7}
:where(html[data-theme="dark"]) .tlleg.obleg .obtf>small.dn{color:var(--dn,#F0698A)}
:where(html[data-theme="dark"]) .gf-join{color:var(--txt)}
:where(html[data-theme="dark"]) .by-h{background:linear-gradient(180deg,rgba(255,161,0,.16),var(--card) 90%)}
:where(html[data-theme="dark"]) .by-h .by-stage{background:radial-gradient(circle at 50% 58%,rgba(255,164,0,.16),rgba(255,162,0,.16) 60%,rgba(255,161,0,.16) 75%)}
:where(html[data-theme="dark"]) .bycu-c{background:radial-gradient(120% 65% at 50% 0%,rgba(255,170,0,.16),var(--card) 62%)}
:where(html[data-theme="dark"]) .bycu-b{background:var(--card)}
:where(html[data-theme="dark"]) .bycu-b::before{background:var(--card)}
:where(html[data-theme="dark"]) .bycu-q button{background:var(--card)}
:where(html[data-theme="dark"]) .xcard{background:rgba(22,26,37,0.97)}
:where(html[data-theme="dark"]) .xi{background:color-mix(in srgb,var(--xc) 14%,var(--card))}
:where(html[data-theme="dark"]) .xgauge i{background:var(--card)}
:where(html[data-theme="dark"]) .xch button,:where(html[data-theme="dark"]) .xch span{background:var(--card)}
:where(html[data-theme="dark"]) .xch button.on{background:color-mix(in srgb,var(--xc) 12%,var(--card))}
:where(html[data-theme="dark"]) .xseg button.on{background:var(--card)}
:where(html[data-theme="dark"]) .xal input:focus{background:var(--card)}
:where(html[data-theme="dark"]) .psy-f input:focus{background:var(--card)}
:where(html[data-theme="dark"]) .psy-f select{background:var(--card)}
:where(html[data-theme="dark"]) .wl-rib b{color:var(--txt)}
:where(html[data-theme="dark"]) .by-mm{background:linear-gradient(180deg,var(--card),var(--card2))}
:where(html[data-theme="dark"]) .mm-g>span{background:var(--card)}
:where(html[data-theme="dark"]) .cd-mm .cfg input{background:var(--card)}
:where(html[data-theme="dark"]) .crail-btn em{background:var(--card)}
/* ---- دستی (manual.css): چیزهایی که از رنگ‌های terminal.css درنمی‌آید ---- */
:root[data-theme="dark"] .tb .brand img{content:url(/wp-content/themes/bitfa/assets/fund/img/logo-white.svg)}
:root[data-theme="dark"] .tb-th{color:#F7B54E}
:root[data-theme="dark"] ::-webkit-scrollbar-thumb{background:#333A4C}
:root[data-theme="dark"] input,:root[data-theme="dark"] textarea,:root[data-theme="dark"] select{color:var(--txt)}
:root[data-theme="dark"] input::placeholder,:root[data-theme="dark"] textarea::placeholder{color:var(--mut)}
/* ردیف «قیمت الان» در نردبان نقاط داغ: پس‌زمینه‌اش var(--txt) است که در تیره روشن می‌شود */
:root[data-theme="dark"] .lv.now .lp,:root[data-theme="dark"] .lv.now .ll b{color:var(--card)}
/* حباب پیام خود کاربر در گفتگوی بیت‌یار: پس‌زمینه‌ی روشن #F2F4F7 تبدیل نمی‌شد و متن روشن تم تیره رویش خوانده نمی‌شد (۱۸ آبان، مهدی) */
:root[data-theme="dark"] .by-me{background:var(--card2);color:var(--txt);box-shadow:inset 0 0 0 1px var(--line)}
