#yd-language-bar{display:inline-flex;vertical-align:middle;background:transparent;border:0;color:#555;font:12px/1 Arial,"Microsoft YaHei",sans-serif;position:relative;z-index:20;white-space:nowrap}
.yd-language-inner{display:inline-flex;align-items:center;gap:0;padding:0;margin:0}
.yd-language-choices{display:inline-flex;gap:3px;flex-shrink:0}
#yd-language-bar .yd-language-choices a{display:inline-flex;align-items:center;justify-content:center;height:28px;min-width:35px;line-height:1;padding:0 8px;border:1px solid #d8dde2;border-radius:3px;background:white;color:#555;text-decoration:none}
#yd-language-bar .yd-language-choices a[aria-current=true]{background:#b00010;border-color:#b00010;color:white}
#yd-language-bar .yd-language-choices a:focus-visible{outline:3px solid #2879bd;outline-offset:2px}
.yd-language-note{display:none}
.top-nav-right .top-nav-items-language{display:flex;align-items:center;height:40px;line-height:normal;padding-left:14px;list-style:none}
.yd-language-simple-host{position:relative}.yd-language-simple-host #yd-language-bar{position:absolute;right:40px;top:50%;transform:translateY(-50%)}
#yd-language-bar.yd-language-fallback{position:absolute;right:12px;top:8px}
.yd-pilot-status{font-size:12px;line-height:1.5;color:#666;margin:8px 0}
.yd-english-summary{padding:16px 20px;margin:12px 0 20px;background:#f5f8fb;border:1px solid #d4e0ea;border-left:4px solid #b00010;border-radius:5px;color:#263746;line-height:1.65;overflow-wrap:anywhere}
.yd-english-summary h2{font-size:20px;margin:0 0 10px}.yd-english-summary p{margin:6px 0}.yd-pilot-note{font-size:12px;color:#647484}
html[data-yd-display-language=en] .detail-title{overflow-wrap:anywhere;line-height:1.4}
html[data-yd-display-language=en] .header-nav .nav-items{white-space:normal}
@media(min-width:641px){html[data-yd-display-language=en] .yd-carousel .yd-copy h2{font-size:34px;line-height:1.25}}
@media(max-width:640px){.yd-english-summary{padding:12px}.yd-english-summary h2{font-size:17px}}
@media(max-width:640px){html[data-yd-display-language=en] .theme-popover .sku-items>.cart-title{flex:0 0 80px;min-width:80px;word-break:normal;overflow-wrap:normal}html[data-yd-display-language=en] .theme-popover .theme-options>dd{flex-wrap:wrap;gap:6px}html[data-yd-display-language=en] .theme-popover,html[data-yd-display-language=en] .theme-popover-mask{z-index:100001!important}}

@media(max-width:640px){#yd-language-bar .yd-language-choices a{height:32px;min-width:34px;padding:0 6px}.top-nav-right .top-nav-items-language{padding-left:8px;margin-right:0}.yd-language-simple-host .login-title{max-width:calc(100% - 155px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
@media(max-width:640px){html[data-yd-display-language=en] .yd-carousel .yd-copy h2{font-size:26px;line-height:1.2}html[data-yd-display-language=en] .yd-carousel .yd-svc li{font-size:14px;line-height:1.45}html[data-yd-display-language=en] .yd-carousel .yd-svc .t{font-size:16px}html[data-yd-display-language=en] .yd-carousel .yd-svc .n{font-size:28px}html[data-yd-display-language=en] .yd-carousel .yd-svc .d{font-size:14px;line-height:1.4}}

/* Original floating member rail is 40px wide: keep the English next button clear. */
html[lang="en"] .yd-carousel .yd-next{right:52px}

/* English storefront: one aligned navigation row, with intentional scrolling. */
@media(min-width:641px){
html[data-yd-display-language=en] .shop-navigation{min-height:42px;height:42px;margin-bottom:0;font-family:Arial,sans-serif}
html[data-yd-display-language=en] .shop-navigation>.am-container{display:flex;align-items:center;height:40px;min-height:40px}
html[data-yd-display-language=en] #doc-topbar-collapse{flex:1;min-width:0;height:40px;margin-left:180px;padding:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
html[data-yd-display-language=en] .shop-navigation .am-topbar-nav{display:flex;flex-wrap:nowrap;float:none;position:static;width:max-content;min-width:100%;height:40px;margin:0;white-space:nowrap}
html[data-yd-display-language=en] .shop-navigation .am-topbar-nav>li{float:none;flex:0 0 auto;margin:0}
html[data-yd-display-language=en] .shop-navigation .am-topbar-nav>li>a{height:40px;line-height:40px;padding:0 10px;font-size:14px;white-space:nowrap}
html[data-yd-display-language=en] #goods-category .goods-category-title{height:40px;line-height:40px}
}
@media(min-width:641px) and (max-width:1024px){
html[data-yd-display-language=en] .shop-navigation>.am-container>a.am-show-md-only{position:relative;flex:0 0 180px;height:40px}
html[data-yd-display-language=en] .shop-navigation>.am-container>a.am-show-md-only .goods-category-title{position:relative;top:0;height:40px;line-height:40px}
html[data-yd-display-language=en] #doc-topbar-collapse{margin-left:0}
}
html[data-yd-display-language=en] .header-top .header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}
html[data-yd-display-language=en] .header-top .top-nav-right{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;float:none;margin:0}
html[data-yd-display-language=en] .header-top .top-nav-left-content{float:none;margin:0}
html[data-yd-display-language=en] .article-data h1{line-height:1.35;overflow-wrap:anywhere}
html[data-yd-display-language=en] .article-data .richtext{word-break:normal;overflow-wrap:anywhere;max-width:100%}
html[data-yd-display-language=en] .article-data .richtext img{max-width:100%;height:auto}
@media(min-width:641px) and (max-width:1150px){html[data-yd-display-language=en] .header-top .top-nav-left-content{display:none}}
@media(max-width:640px){
html[data-yd-display-language=en] .header-top .top-nav-right{width:100%;justify-content:flex-end}
html[data-yd-display-language=en] .article-content>.article-right{padding-left:0;padding-right:0}
html[data-yd-display-language=en] .article-data h1{font-size:23px}
html[data-yd-display-language=en] .article-data .richtext{overflow-x:auto}
html[data-yd-display-language=en] .shop-navigation .am-topbar-nav>li>a{white-space:normal;overflow-wrap:anywhere;line-height:1.4}
}

/* Override the vendor collapse overflow!important and reserved category padding. */
@media(min-width:641px){html[data-yd-display-language=en] .shop-navigation>.am-container{padding-left:0!important;padding-right:0!important}html[data-yd-display-language=en] #doc-topbar-collapse{overflow-x:auto!important;overflow-y:hidden!important}html[data-yd-display-language=en] .shop-navigation .am-topbar-nav>li>a{font-size:13px;padding:0 8px}}

/* EN label for existing collapsed member/news panel; Chinese layout retained. */
html[data-yd-display-language="en"] .slideall .banner-mixed::before{content:"👤 Members · News";font-size:12px;letter-spacing:0;}

@media(max-width:767px){html[data-yd-display-language=en] .slideall .banner-mixed::before{content:'👤 News';height:38px;font-size:11px;letter-spacing:0;}}
