/* Three storefront palettes; limited to the storefront. */
:root{
 --pv-bg:#101722;--pv-header:#182333;--pv-panel:#1d2b3d;--pv-card:#2a3b51;--pv-border:#415773;
 --pv-text:#edf3fc;--pv-muted:#a9bdd6;--pv-accent:#8fcaff;--pv-deep:#153351;
 --pv-promo:#284d76;--pv-promo-end:#20354f;--pv-timer:#7fc5ff;--pv-digit:#b1ddff;--pv-ink:#122e4c;--pv-warm:#f0bd8b;
}
body:has(.mp-home){background:var(--pv-bg);color:var(--pv-text);color-scheme:dark}
.mp-home{background:radial-gradient(ellipse at 50% 0,var(--pv-header),transparent 650px),var(--pv-bg)}
.mp-home,body:has(.mp-home) :is(.site-header,.footer){--text:var(--pv-text);--muted:var(--pv-muted);--accent:var(--pv-accent);--accent-2:var(--pv-accent);--surface:var(--pv-panel);--surface-2:var(--pv-card);--stroke:var(--pv-border);color:var(--pv-text)}
body:has(.mp-home) .site-header{background:var(--pv-header);border-color:var(--pv-border)}
body:has(.mp-home) :is(.desktop-nav>a,.mega-trigger){color:var(--pv-muted)}
body:has(.mp-home) :is(.desktop-nav>a:hover,.mega-trigger:hover,.mega-trigger[aria-expanded=true]){background:var(--pv-card);color:var(--pv-text)}
body:has(.mp-home) :is(.announcement,.mp-activity){background:var(--pv-panel);color:var(--pv-muted);border-color:var(--pv-border);box-shadow:inset 0 -1px var(--pv-border)}
.mp-activity-copy strong{color:var(--pv-text)}.mp-activity-copy :is(small,span){color:var(--pv-muted)}
.mp-activity-icon,.mp-activity-close{background:var(--pv-card);color:var(--pv-accent);border-color:var(--pv-border);box-shadow:none}
.mp-activity-inner>a,.mp-search button{background:var(--pv-accent);color:var(--pv-ink)}
.mp-intro-copy h1{color:var(--pv-text)}.mp-intro-copy h1 i{color:var(--pv-accent)}
.mp-intro-copy>p:not(.eyebrow),.mp-sellers-intro{color:var(--pv-muted)}
.mp-search{background:var(--pv-panel);border-color:var(--pv-border)}.mp-search input{color:var(--pv-text)}.mp-search input::placeholder{color:var(--pv-muted)}
.mp-search:focus-within{outline-color:var(--pv-accent)}
.mp-quick :is(a,button){background:var(--pv-panel);border-color:var(--pv-border);color:var(--pv-muted)}
.mp-quick :is(a,button):hover{background:var(--pv-card);border-color:var(--pv-accent);color:var(--pv-text)}
.mp-discord-banner,.mp-sale-promo{background:linear-gradient(135deg,var(--pv-promo),var(--pv-promo-end));border-color:var(--pv-border)}
.mp-discord-banner :is(h2,p),.mp-sale-promo-copy strong{color:var(--pv-text)}
.mp-discord-banner .mp-discord-copy>span,.mp-sale-promo-copy :is(small,p),.mp-sale-promo-top span:first-child{color:var(--pv-muted)}
.mp-discord-banner a{background:var(--pv-accent);color:var(--pv-ink)}.mp-discord-banner a:hover{background:var(--pv-digit)}
.mp-discord-banner .mp-discord-art{background:linear-gradient(145deg,var(--pv-promo),var(--pv-card));border-color:var(--pv-accent)}
.mp-featured,.mp-sellers,.mp-fresh,.mp-top,.mp-explore,.mp-category,.mp-sale{background:var(--pv-panel);border-color:var(--pv-border)}
.mp-home .product-card{background:var(--pv-card);border-color:var(--pv-border)}
.mp-home .product-card:hover{border-color:var(--pv-accent)}
.mp-home .product-info h3{color:var(--pv-text)}.mp-home .product-meta,.mp-sale .mp-heading>span{color:var(--pv-muted)}
.mp-home .product-price{color:var(--pv-text)}.mp-home .flash-card .product-price{color:var(--pv-warm)}
.mp-home .product-bottom :is(a,button),.mp-home .mp-heading a,.mp-sellers .eyebrow{color:var(--pv-accent)}
.mp-sale .sale-badge{background:var(--pv-accent);color:var(--pv-ink)}
.mp-sale-promo-top span:last-child{background:var(--pv-card);border-color:var(--pv-border);color:var(--pv-accent)}
.mp-sale-countdown{background:var(--pv-timer);border-color:var(--pv-digit);box-shadow:0 6px 18px #0002,inset 0 1px #ffffff40}
.mp-sale-countdown small{color:var(--pv-ink);font-weight:800}
.mp-sale-time-unit{background:var(--pv-digit);border-color:#ffffff40;box-shadow:0 2px 4px #0001}
.mp-sale-time-unit :is(b,em),.mp-sale-countdown strong.is-ended{color:var(--pv-ink)}
.mp-sale-promo-bottom,.mp-sale-promo-bottom :is(a,span:last-child){border-color:var(--pv-border);color:var(--pv-muted)}
.mp-seller-card,.mp-rank-list,.mp-brand-grid,.mp-category-tabs{background:var(--pv-card);border-color:var(--pv-border)}
.mp-seller-mark,.mp-rank-seller-mark,.mp-brand-grid .mp-brand-more{background:var(--pv-promo-end);color:var(--pv-accent)}
.mp-seller-copy :is(small,em),.mp-seller-card>b,.mp-rank>b,.mp-rank strong{color:var(--pv-accent)}
.mp-seller-copy>span{color:var(--pv-muted)}.mp-rank,.mp-rank em{border-color:var(--pv-border)}
.mp-category-tab{color:var(--pv-muted)}.mp-category-tab:hover,.mp-category-tab.active{background:var(--pv-promo);color:var(--pv-text)}
.mp-category-tab>span{background:var(--pv-panel);border-color:var(--pv-border);color:var(--pv-accent)}
.mp-category-tab.active>span{border-color:var(--pv-accent)}.mp-more{background:var(--pv-card);color:var(--pv-accent);border-color:var(--pv-border)}
body:has(.mp-home) :is(.language-switch,.language-switch select,.currency-switch select){background:var(--pv-panel);color:var(--pv-muted);border-color:var(--pv-border)}
body:has(.mp-home) .header-actions .account-link{background:var(--pv-promo);color:var(--pv-text);border-color:var(--pv-accent)}
body:has(.mp-home) .account-avatar{background:var(--pv-promo)}
body:has(.mp-home) :is(.mega-menu,.align-mobile,.account-menu,.history-dialog){background:var(--pv-panel);color:var(--pv-text);border-color:var(--pv-border)}
body:has(.mp-home) .mega-group{color:var(--pv-muted)}
body:has(.mp-home) :is(.mega-group:hover,.mega-group[aria-selected=true]){background:var(--pv-card);color:var(--pv-text)}
body:has(.mp-home) .mega-heading span{color:var(--pv-accent)}
body:has(.mp-home) .footer{background:var(--pv-header);border-color:var(--pv-border)}
body:has(.mp-home) .footer :is(p,a:not(.logo),.footer-contact,.footer-bottom){color:var(--pv-muted)}
.mp-sale-list::-webkit-scrollbar-track{background:var(--pv-panel)}.mp-sale-list::-webkit-scrollbar-thumb{background:var(--pv-border)}
/* Theme picker: swatches, an explicit selection state, and keyboard navigation. */
.pv-theme-picker{position:relative;flex:none;order:10}
.pv-theme-toggle{display:flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 10px;border:1px solid var(--pv-border);border-radius:20px;background:var(--pv-card);color:var(--pv-accent);font:700 12px var(--font);cursor:pointer}
.pv-theme-toggle svg{width:18px;height:18px;flex:none}
.pv-theme-menu{position:absolute;top:calc(100% + 12px);right:0;width:264px;padding:12px;border:1px solid var(--pv-border);border-radius:16px;background:var(--pv-header);box-shadow:0 18px 45px #0007;color:var(--pv-text);z-index:60}
.pv-theme-heading{margin:4px 6px 10px;font-size:12px;color:var(--pv-muted);font-weight:600}
.pv-theme-option{display:flex;align-items:center;gap:10px;width:100%;padding:10px 9px;border:1px solid transparent;border-radius:10px;background:none;color:var(--pv-text);font:600 13px var(--font);text-align:left;cursor:pointer}
.pv-theme-option:hover{background:var(--pv-panel)}.pv-theme-option[aria-checked=true]{border-color:var(--pv-border);background:var(--pv-card)}
.pv-theme-swatches{display:flex;gap:3px}.pv-theme-swatches i{width:15px;height:24px;border-radius:4px;border:1px solid #ffffff20}
.pv-theme-check{margin-left:auto;color:var(--pv-accent);visibility:hidden}.pv-theme-option[aria-checked=true] .pv-theme-check{visibility:visible}
.pv-theme-toggle:focus-visible,.pv-theme-option:focus-visible{outline:2px solid var(--pv-accent);outline-offset:3px}
@media(max-width:1100px){.pv-theme-toggle>span{display:none}.pv-theme-toggle{width:34px;padding:0}}
@media(max-width:480px){body:has(.mp-home) .header-actions>.join-button,body:has(.mp-home) .header-actions>a[href='/favorites']{display:none}.pv-theme-menu{position:fixed;right:12px;top:70px;width:min(264px,calc(100vw - 24px))}}
@media(max-width:380px){body:has(.mp-home) .site-header .header-actions{gap:3px}body:has(.mp-home) .currency-switch select{padding:6px 4px}body:has(.mp-home) .language-switch{padding:5px 3px;margin-left:0}body:has(.mp-home) .language-switch select{max-width:60px}}

/* Market themes: neutral foundations, distinct colors for different modules. */
:root[data-pv-theme=dark]{--pv-bg:#16191f;--pv-header:#1e232b;--pv-panel:#252b35;--pv-card:#333c49;--pv-border:#485362;--pv-text:#f0f2f6;--pv-muted:#b5bfcd;--pv-accent:#a9c8ed;--pv-deep:#203953;--pv-promo:#3f5573;--pv-promo-end:#2b3b52;--pv-timer:#ffc472;--pv-digit:#ffe2ae;--pv-ink:#493015;--pv-warm:#ffbd89}
:root[data-pv-theme=light]{--pv-bg:#f2f3f5;--pv-header:#ffffff;--pv-panel:#ffffff;--pv-card:#ffffff;--pv-border:#dce1e8;--pv-text:#253246;--pv-muted:#5f6d80;--pv-accent:#245e9b;--pv-deep:#e3edf8;--pv-promo:#e2edf9;--pv-promo-end:#d2e2f3;--pv-timer:#ffd08c;--pv-digit:#fff0d7;--pv-ink:#4d3013;--pv-warm:#a44c23}
:root[data-pv-theme=light] body:has(.mp-home){color-scheme:light}
/* Keep the flash-deals area in its original warm palette. */
:root[data-pv-theme=dark] .mp-sale{--pv-panel:#302b29;--pv-border:#5d4a3f;--pv-card:#393b42;--pv-accent:#f1bb8d;--pv-muted:#c5b9af;--pv-promo:#805238;--pv-promo-end:#50382f;--pv-ink:#472b18}
:root[data-pv-theme=light] .mp-sale{--pv-panel:#fff1e3;--pv-border:#e9cdb2;--pv-card:#fffdfa;--pv-accent:#9e4c22;--pv-muted:#75604d;--pv-promo:#f4cb9f;--pv-promo-end:#ffe1bd;--pv-ink:#4d3013}
/* Keep the lower showcase modules in the same neutral graphite palette. */
:root[data-pv-theme=dark] :is(.mp-featured,.mp-fresh,.mp-top){--pv-panel:#202127;--pv-card:#303137;--pv-border:#3d3e47;--pv-text:#f2f2f4;--pv-muted:#b7b9c2;--pv-accent:#d2d3d9;--pv-promo-end:#292a31;--pv-warm:#a8ed76}
:root[data-pv-theme=light] .mp-fresh{--pv-panel:#eaf4ee;--pv-card:#fcfefc;--pv-border:#c7ddcf;--pv-accent:#286348;--pv-muted:#526b5b;--pv-warm:#915122}
:root[data-pv-theme=light] .mp-top{--pv-panel:#f1ecf7;--pv-card:#fcfaff;--pv-border:#dacee6;--pv-accent:#73508d;--pv-muted:#6f607b;--pv-promo-end:#e4d8ef}
:root[data-pv-theme=light] .mp-featured{--pv-panel:#eaf0f8;--pv-card:#fff;--pv-border:#cbd8e9;--pv-accent:#315e93}
:root:is([data-pv-theme=dark],[data-pv-theme=light]) .mp-sale .sale-badge{background:#c76434;color:#fff}
:root:is([data-pv-theme=dark],[data-pv-theme=light]) .mp-sale-countdown{background:linear-gradient(120deg,#ffbd67,#ffd69a);border-color:#ffdfa7}
:root:is([data-pv-theme=dark],[data-pv-theme=light]) .mp-sale-time-unit{background:#ffe7bd;border-color:#fff1d7}
:root:is([data-pv-theme=dark],[data-pv-theme=light]) .mp-sale-countdown small,:root:is([data-pv-theme=dark],[data-pv-theme=light]) .mp-sale-time-unit :is(b,em){color:#503217}
:root:is([data-pv-theme=dark],[data-pv-theme=light]) .mp-discord-banner{--pv-text:#f7f7ff;--pv-muted:#b7bee5;--pv-accent:#7779f4;--pv-ink:#fff;--pv-digit:#9799ff;background:radial-gradient(circle at 78% 94%,#5445bd70,transparent 34%),linear-gradient(115deg,#0c1234,#1b2459 72%,#131b47);border-color:#343d80}
:root:is([data-pv-theme=dark],[data-pv-theme=light]) .mp-discord-banner::before{border-color:#aaa7ff26;box-shadow:0 0 0 56px #6d76f70a,0 0 0 112px #6d76f706}
:root:is([data-pv-theme=dark],[data-pv-theme=light]) .mp-discord-banner a{background:linear-gradient(105deg,#5368ed,#8a71ef);color:#fff}
:root:is([data-pv-theme=dark],[data-pv-theme=light]) .mp-discord-banner a:hover{background:linear-gradient(105deg,#687af4,#9c84f5)}
:root[data-pv-theme=light] .mp-activity{--pv-panel:#eceeff;--pv-card:#dde3ff;--pv-border:#c8d0fa;--pv-muted:#555e89;--pv-text:#242c5a;--pv-accent:#5368d4;--pv-ink:#fff}
:root[data-pv-theme=dark] .mp-activity{--pv-panel:#1b2038;--pv-card:#2e365e;--pv-border:#394577;--pv-muted:#aeb8de;--pv-text:#eef1ff;--pv-accent:#8f97ff;--pv-ink:#11152e}
:root[data-pv-theme=light] .mp-home{background:var(--pv-bg)}
:root[data-pv-theme=light] .mp-home .product-card{box-shadow:0 3px 10px #29436508}
:root[data-pv-theme=light] :is(.mp-featured,.mp-sellers,.mp-fresh,.mp-top,.mp-explore,.mp-category,.mp-sale){box-shadow:0 5px 18px #29436508}
:root[data-pv-theme=light] .mp-search button,:root[data-pv-theme=light] .mp-activity-inner>a{color:#fff}
:root[data-pv-theme=light] .mp-quick :is(a,button):hover{background:#dfe8f4}
:root[data-pv-theme=light] .mp-seller-copy strong,:root[data-pv-theme=light] .mp-rank{color:var(--pv-text)}
:root[data-pv-theme=light] .mp-home .product-price span{color:#697485}
:root[data-pv-theme=light] .site-header .account-link,:root[data-pv-theme=light] .account-avatar{color:#244e82}
:root[data-pv-theme=light] .announcement-close{background:#dce6f1;color:#456381}
:root[data-pv-theme=light] .menu-button span{background:#35465b}
:root[data-pv-theme=light] .mega-group-icon{background:#e7ecf4}
:root[data-pv-theme=light] .mega-menu::before{background:#dce1e8}
:root[data-pv-theme=light] :is(.account-menu-favorites,.account-menu-logout,.account-store-options,.history-list a,.history-head button,.history-actions button){background:#edf2f8;border-color:#d4dfea;color:#35557a}
:root[data-pv-theme=light] .account-store-options a,:root[data-pv-theme=light] .account-menu-quick a{color:#35557a}
:root[data-pv-theme=light] .account-menu>small,:root[data-pv-theme=light] .history-list p{color:#5f6d80}
:root[data-pv-theme=light] .pv-theme-menu{box-shadow:0 16px 40px #243b5526}
:root[data-pv-theme=light] .pv-theme-swatches i{border-color:#00000015}
:root:is([data-pv-theme=dark],[data-pv-theme=light]) .mp-discord-banner .mp-discord-art{background:linear-gradient(145deg,#647bf5,#344ac7);border-color:#899dff}
:root[data-pv-theme=light] .mp-search{box-shadow:0 4px 14px #2036550e}
:root[data-pv-theme=light] .mp-discord-banner{box-shadow:0 8px 20px #20365516}
:root[data-pv-theme=light] .site-header .logo-mark{box-shadow:none}
