/* Dark theme. Only applies when the page is stamped <html data-theme="dark"> (Admin -> Appearance). */
html[data-theme=dark]{color-scheme:dark}
/* ===== home page (index.html) ===== */
html[data-theme=dark]{--bg:#0c1412;--bg2:#101c19;--bg3:#14231f;--bg4:#1a2d28;--bg5:#213731;--border:#1f332d;--border2:#2c453e;--ink:#e8f1ee;--text:#e3ece9;--text2:#a4b8b1;--text3:#7a8f89;--hdr:#0a1210;--band:#0f1b18;--link:#2bd8a2;--blue:#14a97f;--blue-d:#0e8a6a;--accent:#2bd8a2;--green:#3fbf6a;--red:#ef6b6b;--orange:#e0903a}
html[data-theme=dark] body{background:#0a1311;color:var(--text)}
html[data-theme=dark] nav,html[data-theme=dark] .m-bar,html[data-theme=dark] .sheet,html[data-theme=dark] .modal,html[data-theme=dark] .box,html[data-theme=dark] .plan,html[data-theme=dark] .tier,html[data-theme=dark] .card,html[data-theme=dark] .grid.tiles .card,html[data-theme=dark] .fx-widget,html[data-theme=dark] .co-opt,html[data-theme=dark] .tab[aria-selected=true],html[data-theme=dark] .lang-sw button[aria-pressed=true]{background:#101c19}
html[data-theme=dark] .card:hover,html[data-theme=dark] .opt:hover,html[data-theme=dark] .btn-outline:hover,html[data-theme=dark] .ext:hover{background:#16261f}
html[data-theme=dark] .btn-outline,html[data-theme=dark] .ext,html[data-theme=dark] .select,html[data-theme=dark] .nav-search input,html[data-theme=dark] .nav-search kbd,html[data-theme=dark] .fg input,html[data-theme=dark] .fg select,html[data-theme=dark] .fg textarea,html[data-theme=dark] .m-btn,html[data-theme=dark] .sheet-f .rs,html[data-theme=dark] .co-copy,html[data-theme=dark] .grid.tiles .ext,html[data-theme=dark] .opt{background-color:#14231f;color:var(--text);border-color:var(--border2)}
html[data-theme=dark] .opt[aria-pressed=true],html[data-theme=dark] .tier-b[aria-pressed=true]{background:#183a30;color:#2bd8a2;border-color:#14a97f}
html[data-theme=dark] .tab:hover{background:#16261f}
html[data-theme=dark] .tab[aria-selected=true],html[data-theme=dark] .subnav a,html[data-theme=dark] .hero p,html[data-theme=dark] .ticker .q small,html[data-theme=dark] .ticker .q b,html[data-theme=dark] .grid.tiles .name,html[data-theme=dark] .sbook .cap{color:var(--text)}
html[data-theme=dark] .tab[aria-selected=true]{border-bottom-color:#101c19}
html[data-theme=dark] .hero h1,html[data-theme=dark] .hero p a{color:#2bd8a2}
html[data-theme=dark] .subnav,html[data-theme=dark] footer{border-color:var(--border)}
html[data-theme=dark] footer{color:var(--text2)}
html[data-theme=dark] .grid.tiles .card{border-color:var(--border)}
html[data-theme=dark] .grid.tiles .c-foot{background:#0f1b18;border-top-color:var(--border)}
html[data-theme=dark] .thumb,html[data-theme=dark] .grid.tiles .card .thumb{background:#14231f}
html[data-theme=dark] .thumb img.fx,html[data-theme=dark] .lightbox img,html[data-theme=dark] .co-qr>div{background:#fff}
html[data-theme=dark] .co-status.ok{background:#12322a;border-color:#1d5a49;color:#7ae6c0}
html[data-theme=dark] .btn-gold{color:#2b2b2b}
html[data-theme=dark] .logo,html[data-theme=dark] .nav-links a{color:var(--text)}
html[data-theme=dark] .logo{color:#2bd8a2}
html[data-theme=dark] img{opacity:.94}
html[data-theme=dark] .select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23a4b8b1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
/* theme.css layer */
html[data-theme=dark]{--line:#1f332d;--soft:#14231f;--pine:#e8f1ee}
html[data-theme=dark] .head,html[data-theme=dark] .buy,html[data-theme=dark] .main section{background:#101c19;border-color:var(--border)}
html[data-theme=dark] .card .name,html[data-theme=dark] .head h1,html[data-theme=dark] .main h2,html[data-theme=dark] .buy .price{color:var(--text)}
html[data-theme=dark] .card .price{color:#2bd8a2}

/* ===== EA page (ea.html) ===== */
html[data-theme=dark]{--ink:#e8f1ee;--mut:#9db1ab;--mut2:#7a8f89;--bg:#0a1311}
html[data-theme=dark] .panel,html[data-theme=dark] .buy,html[data-theme=dark] .ft,html[data-theme=dark] .rc,html[data-theme=dark] .tabs-bar,html[data-theme=dark] .mbar{background:#101c19;border-color:var(--line)}
html[data-theme=dark] .btn-o{background:#14231f;border-color:#2c453e;color:#2bd8a2}
html[data-theme=dark] .btn-o:hover{background:#183a30}
html[data-theme=dark] .desc,html[data-theme=dark] .rv p,html[data-theme=dark] .fcard span{color:#c4d3ce}
html[data-theme=dark] .note,html[data-theme=dark] .rv-form,html[data-theme=dark] .fxw{background:#14231f;border-color:var(--line)}
html[data-theme=dark] .bar i{background:#1d312c}
html[data-theme=dark] .rv-tools select,html[data-theme=dark] .fg input[type=text],html[data-theme=dark] .fg textarea{background:#0f1b18;border-color:#2c453e;color:var(--ink)}
html[data-theme=dark] .rc:hover,html[data-theme=dark] .rc:focus-visible{box-shadow:0 30px 50px -28px rgba(43,216,162,.4)}
html[data-theme=dark] .rc-cat,html[data-theme=dark] .more-h a,html[data-theme=dark] .ft a{color:#2bd8a2}
html[data-theme=dark] .panel h2,html[data-theme=dark] .more-h h2,html[data-theme=dark] .rc-body h3,html[data-theme=dark] .pz{color:var(--ink)}
html[data-theme=dark] .hero .pz{color:#fff}

/* ===== seller pages ===== */
html[data-theme=dark] .wrap2 input,html[data-theme=dark] .wrap2 select,html[data-theme=dark] .wrap2 textarea{background:#0f1b18;color:var(--ink);border-color:#2c453e}
