/* EARNIVANTA — shared brand system: orange-white marketplace, with true OLED dark mode */
:root{color-scheme:dark;--ev-accent:#f15a24;--ev-accent2:#ff8a3d;--ev-paper:#fffaf6;--ev-surface:#fff;--ev-surface2:#fff1e8;--ev-ink:#191714;--ev-muted:#716b66;--ev-line:#eadfd6;--ev-deep:#17130f}
body[data-theme="light"]{color-scheme:light;--paper:var(--ev-paper)!important;--bg:var(--ev-paper)!important;--paper2:var(--ev-surface2)!important;--ink:var(--ev-ink)!important;--muted:var(--ev-muted)!important;--red:var(--ev-accent)!important;--blue:var(--ev-accent)!important;--acid:#f6b544!important;--amber:#f6b544!important;--line:var(--ev-line)!important;--white:#fff!important;--dark:#241b15!important;background:var(--ev-paper)!important;color:var(--ev-ink)!important}
body[data-theme="dark"]{color-scheme:dark;--paper:#080a0d!important;--bg:#080a0d!important;--paper2:#11151a!important;--ink:#f5f2ee!important;--muted:#a8a29a!important;--red:#ff7139!important;--blue:#ff7139!important;--acid:#ffb24b!important;--amber:#ffb24b!important;--line:#292d32!important;--white:#15191e!important;--dark:#050608!important;background:#080a0d!important;color:#f5f2ee!important}
body[data-theme] *{scrollbar-color:#777 transparent}
body[data-theme] a{color:inherit}
body[data-theme] button,body[data-theme] .action,body[data-theme] .btn,body[data-theme] .join{transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}
body[data-theme="light"] .mast,body[data-theme="light"] .top,body[data-theme="light"] .nav,body[data-theme="light"] .settings-pop{background:#fffaf6;color:#191714}
body[data-theme="dark"] .mast,body[data-theme="dark"] .top,body[data-theme="dark"] .nav,body[data-theme="dark"] .settings-pop{background:#0c0f13;color:#f5f2ee;border-color:#292d32}
body[data-theme="light"] .path,body[data-theme="light"] .market-cat,body[data-theme="light"] .market-card,body[data-theme="light"] .dialog,body[data-theme="light"] .auth,body[data-theme="light"] .stat,body[data-theme="light"] .panel,body[data-theme="light"] .item,body[data-theme="light"] .login,body[data-theme="light"] .card{background:#fff;color:#191714;border-color:#eadfd6}
body[data-theme="dark"] .path,body[data-theme="dark"] .market-cat,body[data-theme="dark"] .market-card,body[data-theme="dark"] .dialog,body[data-theme="dark"] .auth,body[data-theme="dark"] .stat,body[data-theme="dark"] .panel,body[data-theme="dark"] .item,body[data-theme="dark"] .login,body[data-theme="dark"] .card,body[data-theme="dark"] .side,body[data-theme="dark"] .head,body[data-theme="dark"] .table-wrap{background:#11151a!important;color:#f5f2ee!important;border-color:#292d32!important;box-shadow:0 16px 44px #0005}
body[data-theme="dark"] .hero,body[data-theme="dark"] main,body[data-theme="dark"] section,body[data-theme="dark"] .frame,body[data-theme="dark"] .wrap{color:#f5f2ee}
body[data-theme="dark"] p,body[data-theme="dark"] label,body[data-theme="dark"] small,body[data-theme="dark"] .muted,body[data-theme="dark"] .tag,body[data-theme="dark"] .meta{color:#aaa49c}
body[data-theme="light"] input,body[data-theme="light"] textarea,body[data-theme="light"] select{background:#fff;color:#191714;border-color:#eadfd6}
body[data-theme="dark"] input,body[data-theme="dark"] textarea,body[data-theme="dark"] select,body[data-theme="dark"] .field input,body[data-theme="dark"] .field textarea,body[data-theme="dark"] .field select{background:#080b0f!important;color:#f5f2ee!important;border-color:#333941!important}
body[data-theme="dark"] input::placeholder,body[data-theme="dark"] textarea::placeholder{color:#77736d}
body[data-theme="light"] .btn,body[data-theme="light"] .action.primary,body[data-theme="light"] .join{background:#f15a24;color:#fff;border-color:#f15a24}
body[data-theme="dark"] .btn,body[data-theme="dark"] .action.primary,body[data-theme="dark"] .join{background:#f15a24!important;color:#fff!important;border-color:#f15a24!important}
body[data-theme="light"] .settings-trigger,body[data-theme="light"] .lang,body[data-theme="light"] .quiet{color:#191714;border-color:#eadfd6}
body[data-theme="dark"] .settings-trigger,body[data-theme="dark"] .lang,body[data-theme="dark"] .quiet,body[data-theme="dark"] .tabs button{color:#f5f2ee;border-color:#333941}
body[data-theme="dark"] .tabs button.active,body[data-theme="dark"] .side button.active{background:#f15a24!important;color:#fff!important}
body[data-theme="dark"] table,body[data-theme="dark"] th,body[data-theme="dark"] td{border-color:#292d32!important;color:#eee9e3}
body[data-theme="dark"] .notice,body[data-theme="dark"] .note,body[data-theme="dark"] .empty{background:#191e24!important;color:#ddd6ce!important;border-color:#343a42!important}
body[data-theme="dark"] hr,body[data-theme="dark"] footer{border-color:#292d32!important}
.ev-theme-switch{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 13px!important;border:1px solid var(--line,#ddd)!important;border-radius:999px!important;background:transparent!important;color:inherit!important;font:700 11px/1.2 system-ui,sans-serif!important;letter-spacing:.04em;cursor:pointer;white-space:nowrap}
.ev-theme-switch:hover{border-color:#f15a24!important;transform:translateY(-1px)}
body[data-theme="dark"] .ev-theme-switch{background:#171c22!important;border-color:#343a42!important;color:#fff!important}
@media(max-width:640px){.ev-theme-switch{min-height:34px;padding:7px 10px!important;font-size:10px!important}.mast .tools,.top .row,.topright{gap:7px;flex-wrap:wrap}}

/* Brand alignment: warm orange accents across every route, including wallet */
body[data-theme="dark"] .brand-mark,body[data-theme="light"] .brand-mark{background:linear-gradient(135deg,#f15a24,#ff9b45)!important;box-shadow:0 8px 28px #f15a2440!important}
body[data-theme="dark"] .form-panel:before,body[data-theme="light"] .form-panel:before{background:#f15a2425!important}
body[data-theme="dark"] .card.selected,body[data-theme="light"] .card.selected{border-color:#f15a24!important;background:linear-gradient(145deg,#f15a2420,#ff9b450d)!important;box-shadow:inset 0 0 0 1px #f15a2433,0 10px 32px #f15a2415!important}
body[data-theme="dark"] .note,body[data-theme="light"] .note{background:linear-gradient(100deg,#f15a2418,#ff9b450c)!important;border-color:#f15a2455!important}
body[data-theme="dark"] .hero h1 span,body[data-theme="light"] .hero h1 span{background:linear-gradient(90deg,#fff 5%,#ffb16f 50%,#f15a24 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
body[data-theme="light"] .hero h1 span{background:linear-gradient(90deg,#191714 5%,#f15a24 65%,#c74316 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
body[data-theme="dark"] .logo-box{background:#fff!important}
body[data-theme="dark"] .map{background-color:#141a1e}
