/* Two independent visual modes: existing blue-white by default, Midnight Violet on html.xg-midnight. */
body.ys .xg-theme-toggle{
 display:inline-flex;align-items:center;justify-content:center;gap:6px;
 min-height:40px;padding:8px 11px;border:1px solid rgba(123,160,194,.42);border-radius:12px;
 color:#365875;background:rgba(238,248,255,.88);font-family:inherit;font-weight:600;font-size:12px;line-height:1.3;white-space:nowrap;cursor:pointer;
}
body.ys .xg-theme-toggle:focus-visible{outline:2px solid #a978e5;outline-offset:3px;}
html.xg-midnight{color-scheme:dark;}
html.xg-midnight body.yinse-theme.ys{
 --yinse-bg:#0c0912;--yinse-surface:#181120;--yinse-text:#ece5f7;--yinse-black:#f6f0ff;
 --yinse-muted:#9e8eaf;--yinse-muted-strong:#c6b7d7;--yinse-border:#3b284c;--yinse-border-strong:#58356e;
 --yinse-accent:#bb80f2;--yinse-accent-rgb:187,128,242;--yinse-link:#cba0fa;
 --xn-ink:#e9e0f3;--xg-ink:#e9e0f3;--xn-line:rgba(159,108,203,.24);--xg-line:rgba(159,108,203,.24);
 background-color:#0c0912!important;
 background-image:radial-gradient(ellipse at 8% 3%,rgba(116,49,164,.25),transparent 40%),radial-gradient(ellipse at 93% 36%,rgba(68,34,115,.23),transparent 42%)!important;
 color:#e9e0f3!important;
}
html.xg-midnight body.ys::before,html.xg-midnight body.ys::after{background:none!important;}
html.xg-midnight body.ys .yinse-mobile-wallpaper{display:none!important;}
html.xg-midnight body.ys .yinse-page-frame{background:transparent!important;}
html.xg-midnight body.ys :is(.panel,.yinse-item-unified-panel,.yinse-footer-wrap,.component-popup){
 background:linear-gradient(145deg,rgba(29,19,40,.98),rgba(18,13,28,.98))!important;
 border:1px solid rgba(151,101,188,.24)!important;color:#e9e0f3!important;
 box-shadow:0 8px 26px rgba(0,0,0,.16)!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html.xg-midnight body.ys .panel-header{background:rgba(46,28,64,.24)!important;border-bottom-color:#382447!important;}
html.xg-midnight body.ys :is(.panel-title,.yinse-page-title,.yinse-current-cat-text,.yinse-item-inline-title,.yinse-item-inline-title *){color:#f0e7fc!important;text-shadow:none!important;}
html.xg-midnight body.ys :is(.panel-kicker,.yinse-eyebrow,.yinse-muted,.yinse-commodity-muted,.yinse-query-header p,.yinse-page-summary){color:#a38cb8!important;}
html.xg-midnight body.ys .xg-nav-refresh .yinse-nav,
html.xg-midnight body.ys.xg-nav-compact .xg-nav-refresh .yinse-nav{
 background:linear-gradient(110deg,#21142f,#171020)!important;
 border-color:rgba(167,105,218,.29)!important;box-shadow:0 8px 30px rgba(0,0,0,.28)!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html.xg-midnight body.ys :is(.yinse-brand-name,.yinse-brand-name *, .yinse-user-name){color:#f0e6fc!important;}
html.xg-midnight body.ys .xg-nav-refresh .yinse-nav-links{background:rgba(255,255,255,.025)!important;border-color:rgba(184,137,224,.13)!important;box-shadow:none!important;}
html.xg-midnight body.ys .xg-nav-refresh .yinse-nav-link:not(.is-active){background:transparent!important;color:#c5b2d7!important;border-color:transparent!important;box-shadow:none!important;}
html.xg-midnight body.ys .xg-nav-refresh .yinse-nav-tools{border-left-color:#40284f!important;}
html.xg-midnight body.ys :is(.yinse-button,.yinse-language-trigger,.yinse-user-chip,.yinse-nav-toggle,.yinse-share-action,.optional-card,.qty-group button,.sku-list .sku,.pay-list .pay,.xg-theme-toggle){
 background:linear-gradient(135deg,#2a1a39,#21162f)!important;border-color:#513166!important;
 color:#dfcdef!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;text-shadow:none!important;
}
html.xg-midnight body.ys :is(.yinse-button-dark,.yinse-commodity-action-link,.sku-list .sku.is-primary),
html.xg-midnight body.ys .xg-nav-refresh .yinse-nav-link.is-active{
 background:linear-gradient(125deg,#7941b5,#9c55ce)!important;border-color:#aa6dd9!important;
 color:#fff5ff!important;box-shadow:0 3px 14px rgba(126,55,185,.20)!important;
}
html.xg-midnight body.ys :is(.yinse-category-link,.yinse-sidebar-panel .yinse-category-link){
 background:linear-gradient(135deg,#21162e,#191221)!important;border-color:rgba(153,105,192,.18)!important;box-shadow:none!important;
}
html.xg-midnight body.ys :is(.yinse-category-name,.yinse-category-name *){color:#c6b4d8!important;text-shadow:none!important;text-decoration:none!important;}
html.xg-midnight body.ys .yinse-category-link.is-active{
 background:linear-gradient(120deg,#422457,#2e1c43)!important;border-color:#8c55b4!important;
 box-shadow:inset 3px 0 0 #c18af0,0 3px 12px rgba(95,39,139,.14)!important;
}
html.xg-midnight body.ys .yinse-category-link.is-active :is(.yinse-category-name,.yinse-category-name *){color:#f0daff!important;}
html.xg-midnight body.ys :is(.yinse-table-wrap,.yinse-card-catalog-wrap){background:transparent!important;border-color:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
html.xg-midnight body.ys .yinse-catalog-panel .yinse-commodity-card{background:transparent!important;border-color:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
html.xg-midnight body.ys .yinse-catalog-panel .yinse-commodity-card .row-inner,
html.xg-midnight body.ys .yinse-catalog-panel .yinse-commodity-row>td{
 background:linear-gradient(115deg,#24182f,#1d1429)!important;border-color:#3e284d!important;
 box-shadow:0 3px 10px rgba(0,0,0,.09)!important;
}
html.xg-midnight body.ys .yinse-catalog-panel .yinse-commodity-card:hover .row-inner,
html.xg-midnight body.ys .yinse-catalog-panel .yinse-commodity-card.is-inline-active .row-inner{
 background:linear-gradient(115deg,#342040,#281a37)!important;border-color:#8753a9!important;
 box-shadow:0 5px 18px rgba(99,42,143,.16)!important;
}
html.xg-midnight body.ys :is(.yinse-commodity-name,.yinse-commodity-name *){color:#e8d9f6!important;text-shadow:none!important;}
html.xg-midnight body.ys :is(.yinse-commodity-price,.yinse-commodity-price *,.yinse-item-price .price,.yinse-item-price .price *){color:#d1a1ff!important;text-shadow:none!important;}
html.xg-midnight body.ys :is(.yinse-commodity-stock,.yinse-meta-label,.form-label,.cash-pay>label){color:#b4a0c7!important;}
html.xg-midnight body.ys .yinse-pill{background:#382246!important;color:#d9b6f7!important;border-color:#5a3770!important;box-shadow:none!important;}
html.xg-midnight body.ys .yinse-pill-success{background:#15342f!important;color:#a0d4c3!important;border-color:#2d594e!important;}
html.xg-midnight body.ys :is(.yinse-searchbox,.yinse-search-combo,.yinse-field,.cash-pay,.yinse-meta-card,.yinse-item-price,.yinse-query-form){
 background:rgba(42,27,56,.66)!important;border-color:rgba(151,102,190,.25)!important;box-shadow:none!important;color:#d6c8e3!important;
}
html.xg-midnight body.ys :is(.form-control,input:not([type=checkbox]):not([type=radio]),select,textarea,.qty-group input){
 background:#171020!important;color:#e6d9f1!important;border-color:#49305d!important;box-shadow:none!important;
}
html.xg-midnight body.ys input::placeholder,html.xg-midnight body.ys textarea::placeholder{color:#907ba3!important;opacity:1;}
html.xg-midnight body.ys :is(input,textarea,select):focus{border-color:#a56cda!important;outline-color:#a56cda!important;}
html.xg-midnight body.ys .sku-list .sku .sku-label{color:#d7c3e9!important;}
html.xg-midnight body.ys .sku-list .sku.is-primary .sku-label{color:#fff5ff!important;}
html.xg-midnight body.ys .badge-money{background:#372247!important;color:#d8b7f6!important;border-color:#6b4385!important;}
html.xg-midnight body.ys :is(.yinse-price-meta-item,.yinse-price-stock,.yinse-price-delivery){background:#251b35!important;color:#bda4d3!important;border-color:#49315e!important;}
html.xg-midnight body.ys :is(.yinse-dropdown-menu,.yinse-language-menu){background:#20152d!important;border-color:#53346a!important;box-shadow:0 10px 30px rgba(0,0,0,.35)!important;}
html.xg-midnight body.ys :is(.dropdown-item,.yinse-dropdown-menu a){color:#e3d4f0!important;}
html.xg-midnight body.ys .dropdown-item:hover{background:#3a224e!important;}
html.xg-midnight body.ys :is(.yinse-news-ticker,.yinse-news-ticker p){background:rgba(31,20,43,.9)!important;color:#bda7d0!important;border-color:#3b264d!important;}
html.xg-midnight body.ys .yinse-news-ticker-track *{background:transparent!important;color:#bda7d0!important;}
/* Atmospheric poster-inspired hero; reuse the existing artwork without changing the image. */
html.xg-midnight body.ys .yinse-hero-banner--image{
 background:#160d23!important;border-color:#5a3478!important;
 box-shadow:0 12px 40px rgba(0,0,0,.25),0 0 32px rgba(118,45,181,.08)!important;
}
html.xg-midnight body.ys .yinse-hero-banner--image .yinse-hero-media{
 opacity:1!important;
 background-image:linear-gradient(90deg,rgba(18,9,30,.98),rgba(28,11,43,.62) 55%,rgba(19,8,32,.82)),url('/assets/cache/general/image/notice-poster-20261029-bb029b88132c.webp')!important;
 background-size:cover,auto 400%!important;background-position:center,65% 0%!important;
 background-repeat:no-repeat!important;
}
html.xg-midnight body.ys .yinse-hero-media-image{opacity:0!important;}
html.xg-midnight body.ys .yinse-hero-banner--image::before,
html.xg-midnight body.ys .yinse-hero-banner--image::after{background:none!important;}
html.xg-midnight body.ys .yinse-hero-title>span,
html.xg-midnight body.ys .yinse-hero-title>span .yinse-hero-letter{color:#f7eaff!important;text-shadow:0 2px 18px rgba(185,104,241,.20)!important;}
html.xg-midnight body.ys .yinse-hero-title>strong,
html.xg-midnight body.ys .yinse-hero-title>strong .yinse-hero-letter{color:#c3a3dc!important;text-shadow:none!important;}
html.xg-midnight body.ys .xigua-hero-side-notice p{
 background:linear-gradient(120deg,rgba(43,23,60,.9),rgba(33,18,50,.9))!important;
 border:1px solid #5b3674!important;color:#e1c9f1!important;box-shadow:none!important;text-shadow:none!important;
}
html.xg-midnight body.ys .yinse-hero-actions .yinse-button,
html.xg-midnight body.ys .cyber-nav-buttons a{background:rgba(46,27,64,.9)!important;border-color:#6b4188!important;color:#ead7f8!important;box-shadow:none!important;}
/* Readable description panels; no product content or media changes. */
html.xg-midnight body.ys .yinse-description-body{color:#c9bbd6!important;}
html.xg-midnight body.ys .yinse-description-body .acg-rich[style]{background:#1b1327!important;color:#c9bbd6!important;border-color:#472e5a!important;}
html.xg-midnight body.ys .yinse-description-body :is(p,li,strong,b,font,h1,h2,h3,h4,h5){color:#cbbdd8!important;text-shadow:none!important;}
html.xg-midnight body.ys .yinse-description-body :is(h1,h2,h3,h4,h5){color:#f0dcff!important;}
html.xg-midnight body.ys .yinse-description-body [style*="background:rgba(222,234,251"],
html.xg-midnight body.ys .yinse-description-body [style*="background:rgba(123,211,245"],
html.xg-midnight body.ys .yinse-description-body [style*="background-color:#d5e7f8"]{
 background:linear-gradient(135deg,#2a1c39,#24182f)!important;color:#cfbddf!important;border-color:#53346b!important;box-shadow:none!important;
}
html.xg-midnight body.ys .yinse-description-body [style*="text-align:center"] .acg-readable-text{color:#d6a5ff!important;}
html.xg-midnight body.ys .yinse-description-body a{color:#d2a3fa!important;}
html.xg-midnight body.ys .yinse-description-body :is(pre,code){background:#251b32!important;color:#e1c7fa!important;}
html.xg-midnight body.ys .yinse-payment-notice{
 background:linear-gradient(120deg,#2a1a3b,#23162f)!important;border-color:#59346f!important;border-left-color:#ac74d7!important;box-shadow:none!important;
}
html.xg-midnight body.ys .yinse-payment-notice :is(li,li *, .xg-payment-tips-title){color:#cbb9dc!important;}
html.xg-midnight body.ys .yinse-payment-notice li strong{color:#e5cdf9!important;}
html.xg-midnight body.ys .yinse-payment-notice .xg-payment-tips-badge{background:#4a2a60!important;color:#dfb5fc!important;}
html.xg-midnight body.ys .yinse-payment-notice .xg-payment-contact-row{border-top-color:#503065!important;}
html.xg-midnight body.ys .yinse-payment-notice a.xg-payment-contact{background:#49295f!important;border-color:#81549e!important;color:#efd8ff!important;}
html.xg-midnight body.ys :is(.yinse-back-to-top,.yinse-mobile-sidebar-close){background:#362048!important;border-color:#74478f!important;color:#dfb7fa!important;}
html.xg-midnight body.ys #xigua-service-promise,
html.xg-midnight body.ys #xigua-service-promise *{color:#ac8ec3!important;text-shadow:none!important;}
@media(hover:hover){
 html.xg-midnight body.ys .yinse-category-link:hover{background:#352044!important;border-color:#80519b!important;}
 html.xg-midnight body.ys .xg-theme-toggle:hover{border-color:#b17bdb!important;background:#382248!important;}
}
@media(max-width:767px){
 body.ys .xg-theme-toggle{min-height:44px;}
 html.xg-midnight body.ys .yinse-hero-banner--image .yinse-hero-media{background-position:center,75% 0%!important;}
 html.xg-midnight body.ys .yinse-nav-main{border-top-color:#422750!important;}
}
/* Override the original fixed white page mask only in the new theme. */
html.xg-midnight body.yinse-theme.ys.yinse-bg-mask-on::before{background:none!important;opacity:0!important;}
html.xg-midnight body.ys .yinse-hero-banner--image .yinse-hero-actions a.yinse-button{background:#352044!important;border-color:#80549c!important;color:#eee0fa!important;box-shadow:none!important;}
html.xg-midnight body.ys .yinse-brand::before{background:linear-gradient(135deg,#422756,#281a38)!important;}
html.xg-midnight body.ys .yinse-current-cat-text *{color:#edddff!important;}
html.xg-midnight body.ys .sku-list .sku:not(.is-primary) *{color:#d6b4f3!important;}
html.xg-midnight body.ys .sku-list .sku.is-primary *{color:#fff4ff!important;}
html.xg-midnight body.ys .qty-group{background:#24182f!important;border-color:#58366f!important;box-shadow:none!important;}
html.xg-midnight body.ys .form-control::placeholder{color:#b09bc2!important;-webkit-text-fill-color:#b09bc2!important;}

/* Dark-theme quote contrast fix: keep the current blue-white mode unchanged. */
html.xg-midnight body.yinse-theme.ys .yinse-description-body blockquote,
html.xg-midnight body.yinse-theme.ys .yinse-description-body blockquote:hover{
 --ys-quote-color:#bb86ee;--ys-quote-rgb:187,134,238;
 background:linear-gradient(125deg,#30213e,#24192f)!important;
 border-color:#604378!important;border-left-color:#bb86ee!important;
 color:#f0e6fa!important;box-shadow:inset 0 1px 0 rgba(220,185,255,.06)!important;
}
html.xg-midnight body.yinse-theme.ys .yinse-description-body blockquote *{
 color:#f0e6fa!important;-webkit-text-fill-color:#f0e6fa!important;text-shadow:none!important;
}
html.xg-midnight body.yinse-theme.ys .yinse-description-body blockquote a{
 color:#d5a5ff!important;-webkit-text-fill-color:#d5a5ff!important;text-decoration:underline;
}
html.xg-midnight body.yinse-theme.ys .yinse-description-body blockquote::before{background:none!important;}
html.xg-midnight body.yinse-theme.ys .yinse-description-body blockquote::after{color:#bb86ee!important;}
