/* Light/dark theme toggle — light look unchanged; dark applies only with [data-theme="dark"] */
.theme-tg{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;margin-left:6px;padding:0;border:1px solid var(--line,#e3e8e3);border-radius:999px;background:transparent;color:var(--ink,#111);cursor:pointer;flex:0 0 auto;vertical-align:middle}
.theme-tg:hover{border-color:#0a8f3c}.theme-tg:focus-visible{outline:3px solid #0a8f3c;outline-offset:2px}
.theme-tg svg{width:20px;height:20px}.theme-tg .i-sun{display:none}
[data-theme="dark"] .theme-tg .i-sun{display:block}[data-theme="dark"] .theme-tg .i-moon{display:none}
[data-theme="dark"]{color-scheme:dark;--g:#00C853;--g2:#00b84c;--gt:#3ddc7a;--bg:#0f1412;--card:#18201c;--line:#2a3530;--mut:#a9b5ae;--ink:#e8eee9}
[data-theme="dark"] body{background:#0f1412!important;color:var(--ink)}
[data-theme="dark"] a{color:#3ddc7a}
[data-theme="dark"] .top,[data-theme="dark"] .top.sp-head{background:#141b17;border-bottom-color:var(--line);box-shadow:0 1px 6px rgba(0,0,0,.4)}
[data-theme="dark"] .sp-head nav a,[data-theme="dark"] nav a{color:var(--ink)}
[data-theme="dark"] .sp-head nav a:hover,[data-theme="dark"] .rhot:hover{background:#1f2b25}
[data-theme="dark"] .brandbar{background:#141b17}
[data-theme="dark"] .chip,[data-theme="dark"] .hot,[data-theme="dark"] .mini,[data-theme="dark"] .signup,[data-theme="dark"] .rail-box,[data-theme="dark"] .rlinks a,[data-theme="dark"] .links a,[data-theme="dark"] .guide,[data-theme="dark"] .hero-img{background:#18201c;color:var(--ink);border-color:var(--line)}
[data-theme="dark"] .signup,[data-theme="dark"] .rlinks a,[data-theme="dark"] .links a{border-color:var(--g)}
[data-theme="dark"] .rail-box{border-top-color:var(--g)}
[data-theme="dark"] .chip{border-color:#34433b}
[data-theme="dark"] .chip.on,[data-theme="dark"] .rlinks a:hover,[data-theme="dark"] .links a:hover{background:var(--g);color:#000}
[data-theme="dark"] .chips,[data-theme="dark"] .wrap.centered main>.search{background:#0f1412}
[data-theme="dark"] .card,[data-theme="dark"] .mini{box-shadow:0 2px 10px rgba(0,0,0,.45)}
[data-theme="dark"] .cat{background:rgba(24,32,28,.92);color:var(--ink)}
[data-theme="dark"] .body .cat{background:#1d3326;color:#3ddc7a}
[data-theme="dark"] .old,[data-theme="dark"] .signup p,[data-theme="dark"] .guide p,[data-theme="dark"] .guide li{color:var(--mut)}
[data-theme="dark"] .guide p,[data-theme="dark"] .guide li{color:#d5ddd8}
[data-theme="dark"] .tag{background:#e8eee9;color:#111}[data-theme="dark"] .tag.hotg{background:#ff3d00;color:#fff}
[data-theme="dark"] .live{background:#3a1512;color:#ff6a3d}[data-theme="dark"] .live i{background:#ff3d00}
[data-theme="dark"] .search input,[data-theme="dark"] .signup input,[data-theme="dark"] input,[data-theme="dark"] textarea,[data-theme="dark"] select{background-color:#18201c;color:var(--ink);border-color:#34433b}
[data-theme="dark"] .search input::placeholder,[data-theme="dark"] .signup input::placeholder{color:#8a978f}
[data-theme="dark"] .search .qx{color:#a9b5ae}[data-theme="dark"] .search .qx:hover{color:#fff}
[data-theme="dark"] .faq details{background:#141b17}
[data-theme="dark"] .cta{background:#14251b}
/* product photos have white backgrounds: keep their frames light but softened */
[data-theme="dark"] .img,[data-theme="dark"] .card .img,[data-theme="dark"] .card .img img,[data-theme="dark"] .mini img,[data-theme="dark"] .rhot img{background:#f2f4f3!important}
[data-theme="dark"] footer{color:var(--mut)}
[data-theme="dark"] .mbar,[data-theme="dark"] .get,[data-theme="dark"] .btn,[data-theme="dark"] .badge,[data-theme="dark"] .chip.on,[data-theme="dark"] .signup button{color:#000}
[data-theme="dark"] .mini,[data-theme="dark"] .rlinks a,[data-theme="dark"] .links a,[data-theme="dark"] .logo{color:var(--ink)}
