:root{color-scheme:light;--bg:#f4f2ed;--paper:#fffdf8;--navy:#17232d;--ink:#25313b;--muted:#65717a;--line:#e4e2dc;--orange:#875b32;--orange-light:#f4e9dc;--green:#24765d;--surface-soft:#eeeae2;--accent-ink:#fffdf8;--shadow:0 9px 25px #25313b0c}
:root[data-theme=dark]{color-scheme:dark;--bg:#10171e;--paper:#18232d;--navy:#101a23;--ink:#e7e9e7;--muted:#aab6bc;--line:#34434e;--orange:#d7b477;--orange-light:#302c25;--green:#88c5ad;--surface-soft:#1d2c37;--accent-ink:#19212a;--shadow:0 9px 25px #0003}
body{background:var(--bg);color:var(--ink)}
.topbar,.stat,.model-card,.panel,.person-card,.offer-row,.offer-tabs button,.empty-state,dialog,.bottom-nav,.btn.secondary,.account-button,.language-picker select{background:var(--paper);border-color:var(--line);color:var(--ink)}
input,select,textarea{background:var(--paper);color:var(--ink);border-color:var(--line)}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
input:focus,select:focus,textarea:focus{border-color:var(--orange);box-shadow:0 0 0 3px color-mix(in srgb,var(--orange) 20%,transparent)}
button:focus-visible,a:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.global-search,.segmented,.callout,.listing-settings,.photo-picker,.bubble,.studio-compare figcaption{background:var(--surface-soft);color:var(--muted);border-color:var(--line)}
.global-search input{background:transparent}
.btn.primary,.offer-count{background:var(--orange);color:var(--accent-ink);box-shadow:none}
.btn.light{background:#fffdf8;color:#17232d}
.btn.secondary,.filters select,.icon-button,.dialog-body label,.dialog-body label small,.panel label,.check-row b,.private-total b,.profile-metric b,.empty-state h2{color:var(--ink)}
.card-make,.card-info,.card-state,.card-owner,.fine-print,.source-link,.community-rules,.person-card p,.person-card .location,.offer-row p,.target-summary p,.profile-identity small,.profile-metric,.private-total small,.filters>span,.browse-tabs button,footer,.bubble small{color:var(--muted)}
.browse-tabs,.card-bottom,.dialog-head,.private-total,.profile-metric,.submission-item,.moderate-listing,.listing-settings{border-color:var(--line)}
.card-action,.card-offer,.bubble.mine,.profile-identity .avatar{background:var(--orange-light);color:var(--orange)}
.card-state.owned,.badge.green{color:var(--green)}
.segmented button.active,.icon-button:hover{background:var(--paper);color:var(--ink)}
.person-count,.photo-picker.has-photo b{color:var(--orange)}
.banner{background:var(--orange-light);border-color:var(--line);color:var(--orange)}
.model-card:hover{box-shadow:var(--shadow)}
.hero{background:linear-gradient(110deg,#17232d,#2b404c)}
.hero-tag,.hero p{color:#c0ccd1}
.sidebar{background:var(--navy);color:#bdc7cc}.sidebar-caption,.sidebar-tip,.side-account small,.brand-tagline{color:#a7b5bd}.sidebar-tip>span{color:#d1d9de}.nav-item{color:#bdc7cc}.nav-item.active,.nav-item:hover{background:#2a3b46}.nav-item.active svg,.apk-link{color:#dfbd83}
.card-photo,.model-cover,.studio-compare img,.studio-compare figure,.photo-picker>img,.hero-photo,.offer-row img,.target-summary img{background:#fff;color-scheme:light}
.card-photo,.model-cover{border-color:var(--line)}
.theme-toggle{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--orange)}
.theme-toggle:hover{background:var(--orange-light)}.theme-toggle svg{width:20px;height:20px}.theme-sun{display:none}[data-theme=dark] .theme-sun{display:block}[data-theme=dark] .theme-moon{display:none}
.theme-reset{color:var(--muted);font-size:10px;min-height:44px;text-align:center}
[data-theme=dark] .mobile-brand .brand-logo{filter:brightness(0) invert(1)}
[data-theme=dark] .stat-icon.orange,[data-theme=dark] .badge.orange{background:#352d24;color:#e6be8c}
[data-theme=dark] .stat-icon.blue{background:#23384b;color:#a4c4e6}[data-theme=dark] .stat-icon.red{background:#3d2b35;color:#e1aebd}[data-theme=dark] .stat-icon.green,[data-theme=dark] .badge.green{background:#203c34;color:#9dd1b8}
[data-theme=dark] .badge{background:#2b3a47;color:#cad4de}[data-theme=dark] .badge.gold{background:#3c3525;color:#e6cc87}
[data-theme=dark] .form-message{color:#f1aaa0}[data-theme=dark] .offer-tabs button.active{background:#d7b477;color:#19212a;border-color:#d7b477}
[data-theme=dark] .toast{background:#d7b477;color:#19212a}
@media(max-width:800px){.topbar{gap:8px}.topbar .global-search{order:6}.topbar .language-picker{margin-left:0}.language-picker select{width:82px;font-size:11px}.topbar .mobile-brand{flex:1}.topbar #addModel span{display:none}.topbar .btn.compact{margin-left:0;min-width:38px}.topbar .account-button{max-width:88px}.theme-toggle{width:40px;height:40px}.topbar .mobile-brand .brand-logo{width:105px}}
@media(max-width:380px){.topbar{padding-inline:12px;gap:6px}.topbar .mobile-brand .brand-logo{width:90px}.language-picker select{width:72px;padding-inline:4px}.topbar .account-button{max-width:72px;padding-inline:7px}}
