.theme-control button{display:grid;place-items:center;width:32px;height:32px;padding:6px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink)}.theme-control svg{width:18px;height:18px}.theme-settings h3{margin:0 0 10px;font-size:17px}.theme-settings p{line-height:1.7;font-size:12px}.theme-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;background:#6e4b5b09;padding:5px;border-radius:13px;border:1px solid var(--line)}.theme-choices button{border:1px solid transparent;background:transparent;border-radius:9px;font-size:12px;padding:12px 9px;color:var(--ink)}.theme-choices button.active{background:var(--card);border-color:var(--line);box-shadow:0 2px 7px #341c2510;font-weight:600}.theme-settings-note{color:var(--muted,#8a777c);font-size:10px!important;margin-bottom:0}
html[data-theme="dark"]{--bg:#171418!important;--card:#231e23!important;--ink:#f5edf0!important;--text:#f5edf0!important;--muted:#b8a7b1!important;--line:#c9b2c02b!important;--accent:#d6859d!important;--wine:#d6859d!important;color-scheme:dark;background:#171418}
html[data-theme="dark"] body,html[data-theme="dark"] body.celestial-store{background:radial-gradient(ellipse at 100% 16%,#aaa3ad06,transparent 48%),var(--bg);color:var(--ink);color-scheme:dark}
html[data-theme="dark"] body :is(h1,h2,h3,h4,p,label,table,td,strong,b,.brand,.avatar,.price,.total,.details){color:var(--ink)}
html[data-theme="dark"] body :is(.muted,.setting-note,.shop-count,.stock-note,.variant-price-note,.cart-variant,.order-items small,.order-recipient span,.order-progress li,.variant-label,.product-shipping-note,.theme-settings-note){color:var(--muted)!important}
html[data-theme="dark"] body :is(.panel,.product,.owner-summary>button,.shop-controls,.filter-toggle,.copy-studio-list button){background:var(--card);border-color:var(--line)!important;box-shadow:0 10px 30px #0002}
html[data-theme="dark"] body .product .product-info,html[data-theme="dark"] body .product-name{color:var(--ink);background:transparent}
html[data-theme="dark"] body :is(.product-media,.gallery-main,.cart-placeholder,.editor-photo){background:#2a242b}
html[data-theme="dark"] body .product .heart,html[data-theme="dark"] body .detail-heart{background:#231e23e8;color:#eadde4;border-color:#c9b2c04d;box-shadow:0 3px 12px #0002}
html[data-theme="dark"] body :is(.product .heart.selected,.detail-heart.selected){background:#80364d;color:#fff;border-color:#a45e75}
html[data-theme="dark"] body :is(.primary,.header-right>.header-cart){background:#80364d;color:#fff;border-color:#aa657855;box-shadow:0 5px 15px #0002}
html[data-theme="dark"] body :is(.primary,.header-cart) *{color:inherit}
html[data-theme="dark"] body :is(input,select,textarea,.notepad-editor){background:#1b171d;color:var(--ink);border-color:#c9b2c03b}
html[data-theme="dark"] body input::placeholder,html[data-theme="dark"] body textarea::placeholder{color:#a48e9d;opacity:1}
html[data-theme="dark"] body input[type=checkbox]{accent-color:#b96b86}
html[data-theme="dark"] body :is(.outline-button,.size,.variant-colors button,.secondary-buy,.manual-ttn,.theme-control button){color:#e4bccb;border-color:#c9b2c03b;background:#2b242d}
html[data-theme="dark"] body :is(.size.active,.variant-colors button.chosen,.pill.active,.owner-order-tabs .pill.active){background:#80364d;color:#fff;border-color:#a45e75}
html[data-theme="dark"] body :is(.product-quantity button,.service-cart .qty,.qty button,.promo-control button,.copy-order){background:#352a35;color:#f0dce5;border-color:#c9b2c030}
html[data-theme="dark"] body .product-quantity #detail-qty{background:var(--card);color:var(--ink)}
html[data-theme="dark"] body nav,html[data-theme="dark"] body.celestial-store nav{background:#211b22f2;border-color:#c9b2c03b!important;box-shadow:0 8px 30px #0004}
html[data-theme="dark"] body nav button{color:#bba8b6;background:transparent}html[data-theme="dark"] body nav button.active{color:#f0b5ca;background:#dd8ca114}
html[data-theme="dark"] body :is(nav .badge,.header-cart span){background:#b96882;color:#fff}
html[data-theme="dark"] body :is(dialog,#site-copy-dialog),html[data-theme="dark"] body.celestial-store #modal:has(.jewel-detail){background:#211b22;color:var(--ink);border-color:#c9b2c03b;box-shadow:0 25px 90px #0008}
html[data-theme="dark"] body dialog::backdrop{background:#060308b8}
html[data-theme="dark"] body .dialog-head{background:#211b22f5}html[data-theme="dark"] body :is(.dialog-head button,.copy-close,.gallery-prev,.gallery-next,.zoom-hint){background:#352a35e8;color:#f2e6ee;border-color:#c9b2c033}
html[data-theme="dark"] body :is(.detail-description,.detail-actions button,.link,.continue-shopping){color:#c5adb9}
html[data-theme="dark"] body :is(.checkout-review,.gift-checkout,.gift-order-note,.notice,.owner-help,.shipment-card,.telegram-connect){background:#302530;border-color:#c9b2c02b;color:#e7d8e1}
html[data-theme="dark"] body :is(.owner-help p,.owner-help span,.notice button,.shipment-card small){color:#c9b4c1}
html[data-theme="dark"] body :is(.notice button,td button,.owner-detail-tools button,.inline-pencil,.page-pencil,.owner-product-pencil){background:#352a35;color:#efbfd2;border-color:#99748577}
html[data-theme="dark"] body .status{background:#432d3a;color:#f1c8d9}
html[data-theme="dark"] body .preorder-warning{background:#332a25;border-color:#c4a0803b;color:#e0c8b0}
html[data-theme="dark"] body .free-shipping-note{background:#302530;border-color:#b38e9e4d}html[data-theme="dark"] body .free-shipping-note p{color:#c6b1bc}html[data-theme="dark"] body .free-shipping-note.qualified{background:#24302a;border-color:#a0b4a340}html[data-theme="dark"] body .shipping-progress{background:#59404d}
html[data-theme="dark"] body :is(.checkout-error,.cart-error,.product-edit-error,.quick-copy-error,.copy-save-error,.shipping-rule-error){color:#ffadbf}
html[data-theme="dark"] body :is(.order-progress i,.order-progress .done i){background:#44313e;color:#ebc9d8}html[data-theme="dark"] body .order-progress .current i{background:#80364d;color:#fff}
html[data-theme="dark"] body #toast{background:#6c2d44;color:#fff;border:1px solid #c5869d55}html[data-theme="dark"] body #site-copy-bar{background:#2a212b;border-color:#c9b2c03b;color:var(--ink)}html[data-theme="dark"] body.site-copy-mode .site-copy-target:hover{background:#61374e}
html[data-theme="dark"] body .theme-choices{background:#181319}html[data-theme="dark"] body .theme-choices button{color:#cbb7c3}html[data-theme="dark"] body .theme-choices button.active{background:#49303f;color:#fff}
html[data-theme="dark"] .celestial-desktop{opacity:.52}html[data-theme="dark"] .celestial-mobile{opacity:.42}html[data-theme="dark"] #celestial-backdrop::after{opacity:.025}
html[data-theme="dark"] body .editor-photo>span,html[data-theme="dark"] body .editor-photo>button{background:#302530;color:#f4e7ef}
html[data-theme="dark"] body :focus-visible{outline-color:#e5a1bb}
@media(max-width:600px){.owner-session .theme-control{display:none}.theme-settings h3{font-size:16px}.theme-choices button{font-size:11px}}

html[data-theme="dark"] body :is(.checkout-review small,.detail-accordion dd,.detail-accordion dt,.cart-summary p,.copy-studio-list p,.owner-summary span,.owner-summary small,.admin-title .eyebrow){color:var(--muted)}html[data-theme="dark"] body .notification-pending,html[data-theme="dark"] body .notification-pending button{color:#e5c585}html[data-theme="dark"] body .notification-pending{background:#c39c3020;border-color:#c39c3040}

html[data-theme="dark"] body #checkout-error{color:#ffadbf;background:#80364d22}html[data-theme="dark"] body th{color:var(--muted)}
