.theme-toggle{width:38px;height:38px;min-width:38px;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--white);color:var(--brand);box-shadow:0 3px 12px #21145b0b;display:inline-grid;place-items:center;flex:0 0 auto}
.theme-toggle:hover{background:color-mix(in srgb,var(--accent) 22%,var(--white));color:var(--brand)}
.theme-toggle .ava-icon{width:19px;height:19px}
[data-theme="dark"]{color-scheme:dark;--brand:#b8aaff!important;--brand-dark:#17103f!important;--accent:#f6d94b!important;--ink:#f5f2fb!important;--muted:#b8b2c8!important;--line:#393548!important;--paper:#14121d!important;--white:#201e2b!important;--shadow:0 12px 34px #0005!important}
[data-theme="dark"] body{background:var(--paper);color:var(--ink)}
[data-theme="dark"] .market-header,[data-theme="dark"] .market-nav,[data-theme="dark"] .service-strip,[data-theme="dark"] .category-tile,[data-theme="dark"] .product-card,[data-theme="dark"] .track-section,[data-theme="dark"] .tracking-panel,[data-theme="dark"] .category-index-card,[data-theme="dark"] .trust-card,[data-theme="dark"] .panel,[data-theme="dark"] .catalog-tools,[data-theme="dark"] .market-footer,[data-theme="dark"] .mobile-dock{background-color:var(--white);color:var(--ink);border-color:var(--line)}
[data-theme="dark"] .market-nav{border-color:var(--line)}
[data-theme="dark"] .market-nav a,[data-theme="dark"] .nav-promise{color:var(--muted)}
[data-theme="dark"] .market-hero{background:radial-gradient(ellipse at 15% 15%,#40376a 0,transparent 44%),linear-gradient(125deg,#29243b,#1a1828 72%);border:1px solid #49435c}
[data-theme="dark"] .hero-copy h1,[data-theme="dark"] .hero-copy p{color:var(--ink)}
[data-theme="dark"] .hero-art{background:linear-gradient(145deg,#343047,#282538)}
[data-theme="dark"] .hero-orbit{border-color:#746b91}
[data-theme="dark"] .hero-badge,[data-theme="dark"] .hero-featured span{background:#252231;color:#f8f6ff;border-color:#464155}
[data-theme="dark"] .bottle{background:#4a3c80;color:#fff}
[data-theme="dark"] .bottle-cream{background:#e8dfff;color:#34265f}
[data-theme="dark"] .service-icon,[data-theme="dark"] .category-icon{background:#302c3e;color:#f6d94b}
[data-theme="dark"] .product-media{background:linear-gradient(145deg,#282536,#201e2b)}
[data-theme="dark"] .product-card h3,[data-theme="dark"] .product-price,[data-theme="dark"] .category-index-card h2,[data-theme="dark"] .trust-card h2,[data-theme="dark"] .tracking-result-card h2{color:var(--ink)}
[data-theme="dark"] .availability,[data-theme="dark"] .category-tile small{color:#c0b8d0}
[data-theme="dark"] .category-index-hero,[data-theme="dark"] .tracking-hero,[data-theme="dark"] .trust-hero{background:linear-gradient(120deg,#302a42,#211f2e);border-color:#49435c}
[data-theme="dark"] .tracking-result-card,[data-theme="dark"] .saved-address,[data-theme="dark"] .account-order{background:#252231;border-color:var(--line);color:var(--ink)}
[data-theme="dark"] input,[data-theme="dark"] select,[data-theme="dark"] textarea{background:#211f2c;color:var(--ink);border-color:#4a465a;color-scheme:dark}
[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:#aaa3ba}
[data-theme="dark"] button,.dark-mode-button{color:#fff}
[data-theme="dark"] button:not(.quiet):not(.theme-toggle),[data-theme="dark"] .button:not(.quiet),[data-theme="dark"] .hero-cta{background:#51428e;color:#fff}
[data-theme="dark"] button:not(.quiet):not(.theme-toggle):hover,[data-theme="dark"] .button:not(.quiet):hover,[data-theme="dark"] .hero-cta:hover{background:#6253a3}
[data-theme="dark"] .header-actions button{background:transparent!important;color:var(--ink)!important}
[data-theme="dark"] .header-actions button .ava-icon{color:var(--brand)}
[data-theme="dark"] .mobile-dock button{background:transparent!important;color:var(--muted)!important}
[data-theme="dark"] .mobile-dock a:nth-child(3),[data-theme="dark"] .mobile-dock button:nth-child(3){color:var(--brand)!important}
[data-theme="dark"] button.quiet,[data-theme="dark"] .button.quiet{background:#302c3e;color:#e9e4f8;border-color:#49455a}
[data-theme="dark"] button.quiet:hover,[data-theme="dark"] .button.quiet:hover{background:#3a354b}
[data-theme="dark"] .chips button{background:#211f2c;color:var(--ink);border-color:var(--line)}
[data-theme="dark"] .chips button.active{background:#51428e;color:#fff}
[data-theme="dark"] .empty,[data-theme="dark"] .empty-state{background:linear-gradient(145deg,#201e2b,#191722);border-color:#514b62;color:var(--muted)}
[data-theme="dark"] .empty-state-icon{background:#443b2a;color:#ffe678}
[data-theme="dark"] .notice{background:#28243a;border-color:#48415f;color:#ded8ef}
[data-theme="dark"] dialog{background:#1b1926;color:var(--ink);border-color:var(--line)}
[data-theme="dark"] dialog::backdrop{background:#07060dc9}
[data-theme="dark"] #cart-total,[data-theme="dark"] .section-heading h2,[data-theme="dark"] .track-section h2{color:var(--ink)}
[data-theme="dark"] .market-footer{border-top-color:var(--line)}
[data-theme="dark"] .mobile-dock{box-shadow:0 -8px 28px #0006}
[data-theme="dark"] .skeleton-card{background:linear-gradient(100deg,#242131 25%,#302c40 42%,#242131 62%);background-size:220% 100%}
@media(max-width:640px){.theme-toggle{width:34px;height:34px;min-width:34px;border-radius:10px}.theme-toggle .ava-icon{width:17px;height:17px}.market-header .header-actions{gap:3px}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none!important}}
