/* Тёмная тема: генерируется tools/make_theme.py — правки здесь перезапишутся */

html[data-theme=dark]{color-scheme:dark}
@media (prefers-reduced-motion:no-preference){html.sx-theme-anim body,html.sx-theme-anim body *{transition:background-color .3s ease,color .3s ease,border-color .3s ease,fill .3s ease!important}}
html[data-theme=dark] body{background:#0f0f11!important;color:#ededef}
/* логотипы брендов и SXEMA — тёмные SVG: на тёмном фоне делаем светлыми */
html[data-theme=dark] img[src*="brands/"],html[data-theme=dark] img[src*="sxema-logo"],html[data-theme=dark] img[src*="sxema-mark"]{filter:invert(1) hue-rotate(180deg) brightness(1.15)}
/* цвета, заданные прямо в разметке главной (style="background-color:…") */
html[data-theme=dark] [style*="background-color:#F4F4F1" i],html[data-theme=dark] [style*="background-color: #F4F4F1" i],html[data-theme=dark] [style*="background:#F4F4F1" i]{background-color:#1c1c20!important}
html[data-theme=dark] [style*="background-color:#fff" i],html[data-theme=dark] [style*="background-color: #fff" i],html[data-theme=dark] [style*="background:#fff" i]{background-color:#161619!important}
html[data-theme=dark] [style*="color:#0E0E10" i]:not([style*="background-color:#0E0E10" i]){color:#ededef!important}
html[data-theme=dark] .sxh-seo{color:#ededef!important}
html[data-theme=dark] .sxh-tile-t{color:#ededef!important}
html[data-theme=dark] .sxh-tile-s{color:#a4a4ab!important}
html[data-theme=dark] .sxh-seo{color:#ededef!important}
html[data-theme=dark] .sxh-seo{color:#ededef!important}
html[data-theme=dark] .sxh-mini{background-color:#1c1c20!important}
html[data-theme=dark] .sxh-a-vgn{background-color:#1c1c20!important}
html[data-theme=dark] .sxh-strip{background-color:#1c1c20!important}
html[data-theme=dark] .sxh-band{background-color:#1c1c20!important}
html[data-theme=dark] .sxh-day{background-color:#1c1c20!important}
html[data-theme=dark] .sxh-day-n{color:#ededef!important}
html[data-theme=dark] .sxh-day-cat{color:#a4a4ab!important}
html[data-theme=dark] .sxh-day-p b{color:#ededef!important}
html[data-theme=dark] .sxh-day-p s{color:#9a9aa1!important}
html[data-theme=dark] .sxd{background-color:#1c1c20!important}
html[data-theme=dark] .sxd-h{color:#ededef!important}
html[data-theme=dark] .sxd-ph{background:#f2f2f3!important}
html[data-theme=dark] .sxd-fav{background:#1c1c20!important;color:#ededef!important}
html[data-theme=dark] .sxd-cat{color:#9a9aa1!important}
html[data-theme=dark] .sxd-name{color:#ededef!important}
html[data-theme=dark] .sxd-price b{color:#ededef!important}
html[data-theme=dark] .sxd-price s{color:#9a9aa1!important}
html[data-theme=dark] .sxd-count{color:#9a9aa1!important}
html[data-theme=dark] .sxd-count b{color:#ededef!important}
html[data-theme=dark] .sxd-arr{border:1px solid #2a2a30!important;background:#161619!important;color:#ededef!important}
html[data-theme=dark] .sxc-h{color:#ededef!important}
html[data-theme=dark] .sxc-card{border:1px solid #2a2a30!important;background:#161619!important}
html[data-theme=dark] .sxc-card:hover{border-color:#2a2a30!important}
html[data-theme=dark] .sxc-name{color:#ededef!important}
html[data-theme=dark] .sxc-sub{color:#9a9aa1!important}
html[data-theme=dark] .sxp2-k{color:#9a9aa1!important}
html[data-theme=dark] .sxp2-h{color:#ededef!important}
html[data-theme=dark] .sxp2-all{color:#a4a4ab!important}
html[data-theme=dark] .sxp2-tab{background:#1c1c20!important;color:#c9c9ce!important}
html[data-theme=dark] .sxp2-stock{background:#1c1c20!important;color:#c9c9ce!important}
html[data-theme=dark] .sxp2-sort select{background:#1c1c20!important;color:#c9c9ce!important}
html[data-theme=dark] .sxp2-card{background:#161619!important;border:1px solid #2a2a30!important}
html[data-theme=dark] .sxp2-card:hover{border-color:#2a2a30!important}
html[data-theme=dark] .sxp2-ph{background:#f2f2f3!important}
html[data-theme=dark] .sxp2-fav{background:rgba(18,18,21,.92)!important;color:#ededef!important}
html[data-theme=dark] .sxp2-cat{color:#9a9aa1!important}
html[data-theme=dark] .sxp2-av--out{color:#9a9aa1!important}
html[data-theme=dark] .sxp2-name{color:#ededef!important}
html[data-theme=dark] .sxp2-rev b{color:#ededef!important}
html[data-theme=dark] .sxp2-rev--none{color:#9a9aa1!important}
html[data-theme=dark] .sxp2-pr b{color:#ededef!important}
html[data-theme=dark] .sxp2-pr s{color:#9a9aa1!important}
html[data-theme=dark] .sxp2-inst b{color:#ededef!important}
html[data-theme=dark] .sxp2-add--wa{background:#1c1c20!important;color:#ededef!important}
html[data-theme=dark] .sxp2-cb em{border:2px solid #161619!important}
html[data-theme=dark] .sxp2-empty{background:#1c1c20!important;color:#a4a4ab!important}
html[data-theme=dark] .sxp2-empty b{color:#ededef!important}
html[data-theme=dark] .sxp2-skel{background:linear-gradient(90deg, #1c1c20 0%, #ECECE8 50%, #1c1c20 100%)!important}
html[data-theme=dark] .sxp2-more button{background:#1c1c20!important;color:#ededef!important}
html[data-theme=dark] .sxp2-more small{color:#9a9aa1!important}
html[data-theme=dark] .sxp2-toast i{background:#f2f2f3 center / cover no-repeat!important}
html[data-theme=dark] .sxb-it{background:#1c1c20!important}
html[data-theme=dark] .sxb-ic{background:#161619!important}
html[data-theme=dark] .sxb-t{color:#ededef!important}
html[data-theme=dark] .sxb-l{color:#ededef!important}
html[data-theme=dark] .sxbr-k{color:#9a9aa1!important}
html[data-theme=dark] .sxbr-h{color:#ededef!important}
html[data-theme=dark] .sxbr-band{background:#1c1c20!important}
html[data-theme=dark] .sxbr-movi{color:#ededef!important}
html[data-theme=dark] .sxbr-i small{background:#161619!important}
html[data-theme=dark] .sxe-kk{color:#9a9aa1!important}
html[data-theme=dark] .sxe-h{color:#ededef!important}
html[data-theme=dark] .sxe-it{background:#1c1c20!important}
html[data-theme=dark] .sxe-movi{color:#ededef!important}
html[data-theme=dark] .sxe-k{color:#9a9aa1!important}
html[data-theme=dark] .sxe-d{color:#ededef!important}
html[data-theme=dark] .sxe-dom{background:#161619!important;color:#c9c9ce!important}
html[data-theme=dark] .sxe-dir b{color:#ededef!important}
html[data-theme=dark] .sxf a{color:#a4a4ab!important}
html[data-theme=dark] .sxf{border-top:1px solid #2a2a30!important;background:#161619!important}
html[data-theme=dark] .sxf-about{color:#a4a4ab!important}
html[data-theme=dark] .sxf-soc a{background:#1c1c20!important;color:#ededef!important}
html[data-theme=dark] .sxf-k{color:#9a9aa1!important}
html[data-theme=dark] .sxf-tel{color:#ededef!important}
html[data-theme=dark] .sxf-addr,html[data-theme=dark] .sxf-hours{color:#a4a4ab!important}
html[data-theme=dark] .sxf-pay span{background:#1c1c20!important;color:#d4d4d9!important}
html[data-theme=dark] .sxf-bottom{border-top:1px solid #2a2a30!important;color:#9a9aa1!important}
html[data-theme=dark] .sxf-bottom a{color:#9a9aa1!important}
html[data-theme=dark] .sxf a{color:#a4a4ab!important}
html[data-theme=dark] .sxf{border-top:1px solid #2a2a30!important;background:#161619!important}
html[data-theme=dark] .sxf-about{color:#a4a4ab!important}
html[data-theme=dark] .sxf-soc a{background:#1c1c20!important;color:#ededef!important}
html[data-theme=dark] .sxf-k{color:#9a9aa1!important}
html[data-theme=dark] .sxf-tel{color:#ededef!important}
html[data-theme=dark] .sxf-addr,html[data-theme=dark] .sxf-hours{color:#a4a4ab!important}
html[data-theme=dark] .sxf-pay span{background:#1c1c20!important;color:#d4d4d9!important}
html[data-theme=dark] .sxf-bottom{border-top:1px solid #2a2a30!important;color:#9a9aa1!important}
html[data-theme=dark] .sxf-bottom a{color:#9a9aa1!important}
html[data-theme=dark][data-tp="about"] .sxp{background:#161619!important;color:#ededef!important}
html[data-theme=dark][data-tp="about"] .sxp a{color:#ededef!important}
html[data-theme=dark][data-tp="about"] .sxp-h{color:#ededef!important}
html[data-theme=dark][data-tp="about"] .sxp-p{color:#a4a4ab!important}
html[data-theme=dark][data-tp="about"] .sxp-card{border:1px solid #2a2a30!important;background:#161619!important}
html[data-theme=dark][data-tp="about"] .sxp-card:hover{border-color:#2a2a30!important}
html[data-theme=dark][data-tp="about"] .sxp-card b{color:#ededef!important}
html[data-theme=dark][data-tp="about"] .sxp-card p{color:#a4a4ab!important}
html[data-theme=dark][data-tp="about"] .sxp-card li{color:#c9c9ce!important}
html[data-theme=dark][data-tp="about"] .sxp-panel{background:#1c1c20!important}
html[data-theme=dark][data-tp="about"] .sxp-tile{background:#161619!important}
html[data-theme=dark][data-tp="about"] .sxp-tile b{color:#ededef!important}
html[data-theme=dark][data-tp="about"] .sxp-tile p{color:#a4a4ab!important}
html[data-theme=dark][data-tp="about"] .sxd-doc h2{color:#ededef!important}
html[data-theme=dark][data-tp="about"] .sxd-doc p{color:#c9c9ce!important}
html[data-theme=dark][data-tp="about"] .sxd-doc li{color:#c9c9ce!important}
html[data-theme=dark][data-tp="about"] .sxd-doc li b,html[data-theme=dark][data-tp="about"] .sxd-doc p b{color:#ededef!important}
html[data-theme=dark][data-tp="about"] .sxd-note{background:#1c1c20!important;color:#c9c9ce!important}
html[data-theme=dark][data-tp="about"] .sxd-note b{color:#ededef!important}
html[data-theme=dark][data-tp="about"] .sxd-req em{color:#8e8e96!important}
html[data-theme=dark][data-tp="about"] .sxd-req span{color:#c9c9ce!important}
html[data-theme=dark][data-tp="about"] .sxd-date{border-top:1px solid #2a2a30!important;color:#8e8e96!important}
html[data-theme=dark][data-tp="about"] .sxf a{color:#a4a4ab!important}
html[data-theme=dark][data-tp="about"] .sxf{border-top:1px solid #2a2a30!important;background:#161619!important}
html[data-theme=dark][data-tp="about"] .sxf-about{color:#a4a4ab!important}
html[data-theme=dark][data-tp="about"] .sxf-k{color:#9a9aa1!important}
html[data-theme=dark][data-tp="about"] .sxf-tel{color:#ededef!important}
html[data-theme=dark][data-tp="about"] .sxf-addr{color:#a4a4ab!important}
html[data-theme=dark][data-tp="about"] .sxf-bottom{border-top:1px solid #2a2a30!important;color:#8e8e96!important}
html[data-theme=dark][data-tp="about"] .sxf-bottom a{color:#9a9aa1!important}
html[data-theme=dark][data-tp="computerclub"] .btn--white{background:#161619!important}
html[data-theme=dark][data-tp="computerclub"] .ch__wa{background:#161619!important}
html[data-theme=dark][data-tp="computerclub"] .ch__card .arr{background:#161619!important}
html[data-theme=dark][data-tp="computerclub"] .lt{background:radial-gradient(60% 50% at 50% 0%,rgba(18,18,21,.7),rgba(255,255,255,0) 70%),linear-gradient(180deg,#d3d7dd 0%,#e3e6ea 35%,#eceef1 100%)!important}
html[data-theme=dark][data-tp="computerclub"] .lt--2{background:radial-gradient(50% 40% at 80% 0%,rgba(18,18,21,.75),rgba(255,255,255,0) 70%),linear-gradient(180deg,#eceef1 0%,#e2e5e9 100%)!important}
html[data-theme=dark][data-tp="computerclub"] .fn__wa{background:#161619!important}
html[data-theme=dark][data-tp="computerclub"] .mb__calc{background:#161619!important}
html[data-theme=dark][data-tp="computerclub"] .sw__ui::after{background:#161619!important}
html[data-theme=dark][data-tp="computerclub"] .cx__presets button:hover,html[data-theme=dark][data-tp="computerclub"] .cx__presets button.on{background:#161619!important}
html[data-theme=dark][data-tp="computerclub"] .fq[open] summary i::before,html[data-theme=dark][data-tp="computerclub"] .fq[open] summary i::after{background:#161619!important}
html[data-theme=dark][data-tp="computerclub"] .req__task input:checked+span{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"],html[data-theme=dark][data-tp="gamingspc"] body.t-body{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .sxh__lang [aria-current]{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .sxh .btn--light{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .sxh__tag{background:rgba(18,18,21,.55)!important}
html[data-theme=dark][data-tp="gamingspc"] .pop{background:radial-gradient(60% 50% at 50% 0%, rgba(18,18,21,.65), rgba(255,255,255,0) 70%),
    linear-gradient(180deg,#c9cdd4 0%,#dfe2e7 30%,#eceef1 100%)!important}
html[data-theme=dark][data-tp="gamingspc"] .pcard__badge{background:rgba(18,18,21,.75)!important}
html[data-theme=dark][data-tp="gamingspc"] .pcard--hit .pbtn--dark{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .cfg{background:radial-gradient(55% 45% at 50% 0%, rgba(18,18,21,.8), rgba(255,255,255,0) 70%),
    linear-gradient(180deg,#e4e7ec 0%,#eef0f3 40%,#f3f4f6 100%)!important}
html[data-theme=dark][data-tp="gamingspc"] .cfg__perks li{background:rgba(18,18,21,.7)!important}
html[data-theme=dark][data-tp="gamingspc"] .preset{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .step{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .opt[aria-pressed="true"]{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .meter__bar i{background:linear-gradient(90deg,#161619,#cfd4dc)!important}
html[data-theme=dark][data-tp="gamingspc"] .sum__btn--main{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .help{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .cfg__bar a{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .sum--wide .help--dark a{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .ask__btn{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .ct__info{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .ct__map-link{background:rgba(18,18,21,.9)!important}
html[data-theme=dark][data-tp="gamingspc"] .faq__item{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .faq__item[open] summary i::before,html[data-theme=dark][data-tp="gamingspc"] .faq__item[open] summary i::after{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .fnav__links a.is-act{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .mbar__cfg{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .uses{background:radial-gradient(60% 50% at 50% 0%,rgba(18,18,21,.9),rgba(255,255,255,0) 70%),linear-gradient(180deg,#e9ebef 0%,#f1f2f4 100%)!important}
html[data-theme=dark][data-tp="gamingspc"] .ucard__games li{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .ucard--dark .ucard__go{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .kpt{background:rgba(18,18,21,.62)!important}
html[data-theme=dark][data-tp="gamingspc"] .kpt.is-act{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .hs{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .pstep__dot::after{background:#161619!important}
html[data-theme=dark][data-tp="gamingspc"] .xbtn--w{background:#161619!important}
html[data-theme=dark][data-tp="low-current-systems"] .sxf a{color:#a4a4ab!important}
html[data-theme=dark][data-tp="low-current-systems"] .sxf{border-top:1px solid #2a2a30!important;background:#161619!important}
html[data-theme=dark][data-tp="low-current-systems"] .sxf-about{color:#a4a4ab!important}
html[data-theme=dark][data-tp="low-current-systems"] .sxf-k{color:#9a9aa1!important}
html[data-theme=dark][data-tp="low-current-systems"] .sxf-tel{color:#ededef!important}
html[data-theme=dark][data-tp="low-current-systems"] .sxf-addr{color:#a4a4ab!important}
html[data-theme=dark][data-tp="low-current-systems"] .sxf-bottom{border-top:1px solid #2a2a30!important;color:#8e8e96!important}
html[data-theme=dark][data-tp="low-current-systems"] .sxf-bottom a{color:#9a9aa1!important}
