/* dark mode – applied via html[data-theme=dark] (set by /theme.js before paint) */
html[data-theme=dark]{color-scheme:dark;--ink:#e5edf7;--muted:#9fb0c6;--paper:#1a2537;--line:#2c3a52;--soft:#162133;--orange:#ff8a3d;--green:#7cb3ff;--dk-bg:#0f172a;--dk-s1:#1a2537;--dk-s2:#22304a;--dk-blue:#7cb3ff}
/* auto: light surfaces from style/assistant/chat css */
html[data-theme=dark] .topline{background:var(--dk-s1)}
html[data-theme=dark] header{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .quiet{background:var(--dk-s1)}
html[data-theme=dark] .outlined{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .search-bar{background:var(--dk-s1)}
html[data-theme=dark] .search-input input{background:var(--dk-s1)}
html[data-theme=dark] .city-field select{background:var(--dk-s1)}
html[data-theme=dark] .hero-label{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .category-photo{background:var(--dk-s1)}
html[data-theme=dark] .listings-section{background:var(--dk-s1)}
html[data-theme=dark] .listing-controls select{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .filter-toggle{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .listing-card{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .image-link{background:var(--dk-s1)}
html[data-theme=dark] .card-badge{background:var(--dk-s1)}
html[data-theme=dark] .save-button{background:var(--dk-s1)}
html[data-theme=dark] .price{color:var(--ink)}
html[data-theme=dark] .subfilters button{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .subfilters button[aria-pressed=true]{background:var(--dk-s1);color:var(--ink)}
html[data-theme=dark] .publish-banner{background:var(--dk-s1)}
html[data-theme=dark] .publish-art{background:var(--dk-s1)}
html[data-theme=dark] footer{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .close-modal{background:var(--dk-s1)}
html[data-theme=dark] .demo-note{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .form-grid input,html[data-theme=dark] .form-grid select,html[data-theme=dark] .form-grid textarea{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .form-grid .upload-label{background:var(--dk-s1)}
html[data-theme=dark] .detail-meta span{background:var(--dk-s1)}
html[data-theme=dark] .status-tag{background:var(--dk-s1)}
html[data-theme=dark] .how-steps strong{color:var(--ink)}
html[data-theme=dark] .primary{color:var(--ink)}
html[data-theme=dark] .tabs button[aria-pressed=true]{color:var(--ink)}
html[data-theme=dark] .publish-art>span{color:var(--ink)}
html[data-theme=dark] .toast{color:var(--ink)}
html[data-theme=dark] .photo-tile button,html[data-theme=dark] .detail-thumbs button{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .stat-card strong{color:var(--ink)}
html[data-theme=dark] .stat-bar>div{background:var(--dk-s1)}
html[data-theme=dark] .card-tools .danger-btn{background:var(--dk-s1)}
html[data-theme=dark] .feat-badge{color:var(--ink)}
html[data-theme=dark] .feat-strip{color:var(--ink)}
html[data-theme=dark] .cat-nav{background:var(--dk-s1)}
html[data-theme=dark] .tabs a.tab-link{background:var(--dk-s1)}
html[data-theme=dark] .strip-card{background:var(--dk-s1)}
html[data-theme=dark] .cat-nav a{background:var(--dk-s1)}
html[data-theme=dark] .mini-wa{background:var(--dk-s1)}
html[data-theme=dark] .mini-tel{background:var(--dk-s1);color:var(--ink)}
html[data-theme=dark] .detail-gallery{background:var(--dk-s1)}
html[data-theme=dark] #auth-delete{color:var(--ink)}
html[data-theme=dark] .sold-note{background:var(--dk-s1);color:var(--ink)}
html[data-theme=dark] .mini-reveal{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .feat-tag{color:var(--ink)}
html[data-theme=dark] .feat-plan{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .feat-pay{background:var(--dk-s1)}
html[data-theme=dark] .seller-link{color:var(--ink)}
html[data-theme=dark] .card-seller:hover{color:var(--ink)}
html[data-theme=dark] .seller-avatar{background:var(--dk-s1);color:var(--ink)}
html[data-theme=dark] .seller-card-btn{background:var(--dk-s1)}
html[data-theme=dark] .seller-card img,html[data-theme=dark] .seller-noimg{background:var(--dk-s1)}
html[data-theme=dark] .seller-card b{color:var(--ink)}
html[data-theme=dark] .pc-low{background:var(--dk-s1)}
html[data-theme=dark] .pc-mid{background:var(--dk-s1);color:var(--ink)}
html[data-theme=dark] .pc-high{background:var(--dk-s1);color:var(--ink)}
html[data-theme=dark] .seo-intro{color:var(--ink)}
html[data-theme=dark] .seo-links a{background:var(--dk-s1);color:var(--ink)}
html[data-theme=dark] .seo-links a:hover{background:var(--dk-s1)}
html[data-theme=dark] .shop-badge{background:var(--dk-s1);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .shop-logo{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .shop-head h3{color:var(--ink)}
html[data-theme=dark] .shop-err{color:var(--ink)}
html[data-theme=dark] .shop-state.st-pending{background:var(--dk-s1)}
html[data-theme=dark] .shop-state.st-approved{background:var(--dk-s1)}
html[data-theme=dark] .shop-state.st-rejected{background:var(--dk-s1);color:var(--ink)}
html[data-theme=dark] .wa-captcha-msg{color:var(--ink)}
html[data-theme=dark] .g-tile{background:var(--dk-s1)}
html[data-theme=dark] .g-feat{color:var(--ink)}
html[data-theme=dark] .pg-btn{background:var(--dk-s1)}
html[data-theme=dark] .ai-panel{background:var(--dk-s1);color:var(--ink)}
html[data-theme=dark] .ai-log{background:var(--dk-s1)}
html[data-theme=dark] .ai-msg.a{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .ai-msg.err{background:var(--dk-s1)}
html[data-theme=dark] .ai-card{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .ai-card img,html[data-theme=dark] .ai-card .ph{background:var(--dk-s1)}
html[data-theme=dark] .ai-chips button{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .ai-form{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .ai-note{background:var(--dk-s1)}
html[data-theme=dark] .wc-panel{background:var(--dk-s1);color:var(--ink)}
html[data-theme=dark] .wc-log{background:var(--dk-s1)}
html[data-theme=dark] .wc-msg{background:var(--dk-s1)}
html[data-theme=dark] .wc-msg.me{background:var(--dk-s1)}
html[data-theme=dark] .wc-msg.them{background:var(--dk-s1)}
html[data-theme=dark] .wc-err{color:var(--ink)}
html[data-theme=dark] .wc-item{background:var(--dk-s1);border-color:var(--line)}
html[data-theme=dark] .wc-push{background:var(--dk-s1);border-color:var(--line)}

/* hand-tuned */
html[data-theme=dark] body{background:var(--dk-bg);color:var(--ink)}
html[data-theme=dark] .topline{background:#0b1222;color:var(--muted)}
html[data-theme=dark] header{background:#0b1324;border-bottom:1px solid #1f2b40;box-shadow:0 2px 10px #0006}
html[data-theme=dark] .primary{background:#2f6fd6;color:#fff}html[data-theme=dark] .primary:hover{background:#3a7be6}
html[data-theme=dark] .quiet{background:var(--dk-s2);color:var(--ink)}
html[data-theme=dark] .outlined{background:var(--dk-s1);border-color:var(--line);color:var(--ink)}
html[data-theme=dark] .hero{background:#0b2a5c}html[data-theme=dark] .hero-shade{background:linear-gradient(270deg,#0b1f45f2,#0f2f6ab0)!important}
html[data-theme=dark] .search-bar{background:var(--dk-s1);color:var(--ink);border:1px solid var(--line)}
html[data-theme=dark] .search-input input,html[data-theme=dark] .city-field select{background:var(--dk-s1);color:var(--ink)}
html[data-theme=dark] .search-input input::placeholder{color:#8193ab}
html[data-theme=dark] .search-input svg,html[data-theme=dark] .city-field svg{color:var(--muted)}
html[data-theme=dark] .city-field,html[data-theme=dark] .search-input{border-color:var(--line)}
html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] h4,html[data-theme=dark] .home-strip-head h3{color:var(--ink)}
html[data-theme=dark] .hero h1{color:#fff}
html[data-theme=dark] .section-kicker,html[data-theme=dark] .section-side,html[data-theme=dark] .category-item small{color:var(--muted)}
html[data-theme=dark] .category-meta strong{color:var(--dk-blue)}html[data-theme=dark] .category-meta svg{color:var(--dk-blue)}
html[data-theme=dark] .category-photo{background:var(--dk-s1);box-shadow:0 3px 10px #0005}
html[data-theme=dark] .listings-section{background:#0c1424;border-color:var(--line)}
html[data-theme=dark] .listing-controls,html[data-theme=dark] .results-meta,html[data-theme=dark] .sample-label,html[data-theme=dark] .tabs button{color:var(--muted)}
html[data-theme=dark] .listing-controls select,html[data-theme=dark] .filter-toggle{background:var(--dk-s1);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .filter-bar{border-bottom-color:var(--line)}
html[data-theme=dark] .tabs button[aria-pressed=true],html[data-theme=dark] .tabs a.tab-link[aria-current]{background:#2f6fd6;color:#fff;border-color:#2f6fd6}
html[data-theme=dark] .tabs a.tab-link{background:var(--dk-s1);color:var(--ink)}
html[data-theme=dark] .listing-card,html[data-theme=dark] .strip-card,html[data-theme=dark] .g-tile{background:var(--dk-s1);border-color:var(--line);box-shadow:0 4px 14px #0004}
html[data-theme=dark] .listing-image,html[data-theme=dark] .image-link,html[data-theme=dark] .strip-card .image-link,html[data-theme=dark] .g-tile .image-link{background:#16202f!important}
html[data-theme=dark] .listing-category,html[data-theme=dark] .location,html[data-theme=dark] .card-bottom time,html[data-theme=dark] .strip-body small,html[data-theme=dark] .g-meta{color:var(--muted)}
html[data-theme=dark] .listing-content h3,html[data-theme=dark] .strip-body .title-button,html[data-theme=dark] .g-body .title-button,html[data-theme=dark] .title-button,html[data-theme=dark] .home-strip-head h3 a{color:var(--ink)}
html[data-theme=dark] .card-bottom{border-top-color:var(--line)}
html[data-theme=dark] .price,html[data-theme=dark] .strip-body b,html[data-theme=dark] .g-body b,html[data-theme=dark] .detail-price{color:var(--orange)}
html[data-theme=dark] .card-badge{background:#0f172ae6;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .save-button{background:#0f172ae6}html[data-theme=dark] .save-button svg{stroke:var(--ink)}
html[data-theme=dark] .see-all{background:#3a2414;color:var(--orange)}
html[data-theme=dark] .cat-nav{background:#0b1324;border-bottom:1px solid #1f2b40}
html[data-theme=dark] .cat-hero{background:linear-gradient(135deg,#0b2a5c,#123c80)}
html[data-theme=dark] .subfilters button{background:var(--dk-s1);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .subfilters button[aria-pressed=true]{background:#2f6fd6;color:#fff;border-color:#2f6fd6}
html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:var(--dk-s1);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#8193ab}
html[data-theme=dark] .publish-banner{background:var(--dk-s1);border-color:var(--line)}html[data-theme=dark] .publish-banner h2{color:var(--ink)}html[data-theme=dark] .publish-banner p{color:var(--muted)}
html[data-theme=dark] .publish-art{background:#123c80}
html[data-theme=dark] .value-strip span{color:var(--ink)}html[data-theme=dark] .value-strip small{color:var(--muted)}
html[data-theme=dark] footer{background:#0b1222;border-top:1px solid #1f2b40}
html[data-theme=dark] dialog{background:var(--dk-s1);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] dialog::backdrop{background:#000b}
html[data-theme=dark] .close-modal{background:var(--dk-s2);color:var(--ink)}
html[data-theme=dark] .modal-sub,html[data-theme=dark] .detail-description,html[data-theme=dark] .empty,html[data-theme=dark] .g-empty{color:var(--muted)}
html[data-theme=dark] .form-grid input,html[data-theme=dark] .form-grid select,html[data-theme=dark] .form-grid textarea{background:#131d2e;border-color:var(--line);color:var(--ink)}
html[data-theme=dark] .form-grid .upload-label{background:var(--dk-s2);border-color:var(--line)}
html[data-theme=dark] .detail-meta span{background:var(--dk-s2);color:var(--ink)}
html[data-theme=dark] .toast{background:#2f6fd6;color:#fff}
html[data-theme=dark] .listing-card.featured,html[data-theme=dark] .strip-card.featured,html[data-theme=dark] .g-tile.featured{border:2px solid #c9982f!important;box-shadow:0 0 0 2px #c9982f55!important}
html[data-theme=dark] .pg-btn{background:var(--dk-s1);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .pg-btn.on{background:#2f6fd6;border-color:#2f6fd6;color:#fff}
html[data-theme=dark] a{color:var(--dk-blue)}
html[data-theme=dark] header a,html[data-theme=dark] footer a,html[data-theme=dark] .cat-nav a,html[data-theme=dark] .brand{color:inherit}
html[data-theme=dark] .wa-captcha-msg{color:#ff8fa8}
html[data-theme=dark] .leaflet-container{background:#1a2537}
html[data-theme=dark] .leaflet-popup-content-wrapper,html[data-theme=dark] .leaflet-popup-tip{background:var(--dk-s1);color:var(--ink)}
/* toggle */
.theme-toggle{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:999px;border:1px solid #ffffff55;background:transparent;color:#fff;cursor:pointer;padding:0;flex:none;font-size:16px;line-height:1}
.theme-toggle:hover{background:#ffffff1f}.theme-toggle svg{width:18px;height:18px}
@media(max-width:540px){.theme-toggle{width:30px;height:30px}.theme-toggle svg{width:16px;height:16px}}
html[data-theme=dark] .g-feat{color:#3b2a00}
html[data-theme=dark] .ad-no,html[data-theme=dark] .ad-no b,html[data-theme=dark] .ad-no-copy{color:var(--muted)}
html[data-theme=dark] .ai-fab,html[data-theme=dark] .ai-head,html[data-theme=dark] .ai-msg.u,html[data-theme=dark] .ai-form button{background:#14907f}
html[data-theme=dark] .ai-all,html[data-theme=dark] .ai-chips button{color:#5fd4c2}html[data-theme=dark] .ai-chips button{border-color:var(--line)}
/* privacy page */
html[data-theme=dark] body>main.wrap,html[data-theme=dark] .lang a{background:var(--dk-s1);box-shadow:none}
html[data-theme=dark] .ls{background:var(--dk-s2);color:#fff}
html[data-theme=dark] body>main h2,html[data-theme=dark] .lang a,html[data-theme=dark] body>footer a,html[data-theme=dark] main a{color:var(--dk-blue)}
html[data-theme=dark] .muted,html[data-theme=dark] body>footer{color:var(--muted)}
html[data-theme=dark] body>header:not(:has(.header-row)){background:#0b1324}
html[data-theme=dark] header .primary{background:#ff7a1a;color:#fff}
.topline .theme-toggle{width:26px;height:26px;border-color:#5b6b8555;color:inherit;margin-inline-start:6px}.topline .theme-toggle svg{width:14px;height:14px}
.topline .wrap{align-items:center}

html[data-theme=dark] .ad-views,html[data-theme=dark] .views-sm{color:var(--muted)}
html[data-theme=dark] .views-pill{background:#151d2bdd;color:#a9b4c4;box-shadow:none}
html[data-theme=dark] .near-btn,html[data-theme=dark] .near-r select{background:#151d2b;color:#cfe0ff;border-color:#2a3548;box-shadow:none}html[data-theme=dark] .near-bar.on .near-btn{background:#2f6fd6;color:#fff}html[data-theme=dark] .near-off{background:#151d2bcc;color:#a9b4c4}html[data-theme=dark] .near-dist{color:#a9b4c4}html[data-theme=dark] .near-dir{background:#2f6fd6}
html[data-theme=dark] .fx-in{background:linear-gradient(135deg,#1c2436,#141c2c);color:#e8eefb;border:1px solid #3a2f22;border-inline-start:6px solid #ff8a1f;box-shadow:none}html[data-theme=dark] .fx-main b{color:#ffb15c}html[data-theme=dark] .fx-l{color:#ffa24d}html[data-theme=dark] .fx-l small,html[data-theme=dark] .fx-u,html[data-theme=dark] .fx-t{color:#a9b6cf}html[data-theme=dark] .fx-side>span:not(.fx-t){background:#1f2f4d;color:#cfe0ff}

html[data-theme=dark] .fx-notes img{box-shadow:0 3px 10px rgba(0,0,0,.5)}
