#yd-language-root{position:relative;z-index:2147483000;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",sans-serif;font-size:14px;line-height:1.45;color:#f5f0e5;text-align:left;direction:ltr}
#yd-language-root *{box-sizing:border-box}
#yd-language-root button{font:inherit;letter-spacing:normal;text-transform:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
#yd-language-root button:focus-visible{outline:2px solid #ffe0a6;outline-offset:3px}
.yd-language-trigger{position:fixed;right:max(12px,env(safe-area-inset-right));top:calc(9px + env(safe-area-inset-top));height:40px;min-width:84px;padding:0 11px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(218,184,123,.52);border-radius:20px;background:#222739;color:#f4d5a2;box-shadow:0 3px 12px #0003;z-index:3}
.yd-language-trigger span{font-size:13px;font-weight:650;line-height:1}
.yd-language-chevron{font-size:16px!important;margin-top:-3px}
.yd-language-backdrop{position:fixed;inset:0;background:rgba(8,12,22,.58);z-index:4}
.yd-language-dialog{position:fixed;right:max(12px,env(safe-area-inset-right));top:calc(58px + env(safe-area-inset-top));width:min(376px,calc(100vw - 24px));max-height:calc(100dvh - 80px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;padding:18px;border:1px solid #726044;border-radius:18px;background:#242a3b;box-shadow:0 18px 60px #0007;z-index:5}
.yd-language-header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.yd-language-header h2{font-size:19px;font-weight:650;line-height:1.3;margin:0;color:#fff7e5}
.yd-language-close{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;margin:-6px -6px -6px 0;background:transparent;border:0;color:#d9dbe4;font-size:27px!important}
.yd-language-description{font-size:12px;line-height:1.6;color:#aeb6c9;margin:12px 0 14px}
.yd-language-auto,.yd-language-option{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:48px;border:1px solid #444d63;border-radius:10px;background:#2b3247;color:#e9edf5;padding:10px 12px;text-align:left}
.yd-language-auto{width:100%;margin-bottom:12px;min-height:62px}
.yd-language-auto strong{display:block;font-size:14px;font-weight:600}
.yd-language-auto small{display:block;color:#b5bdcd;font-size:11px;font-weight:400;margin-top:3px;line-height:1.4}
.yd-language-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.yd-language-option{font-size:13px!important;word-break:normal;overflow-wrap:anywhere}
#yd-language-root .is-selected{border-color:#d9b577;background:#423b33;color:#ffe0a6}
.yd-language-current{font-size:11px;color:#aeb6c9;margin:14px 0 0;line-height:1.4}
/* The old embedded selector is removed in its render function. Reserve room in page headers. */
.my-header h1{padding-right:92px;padding-left:48px;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.homeNew .headerToggle{padding-right:108px!important;box-sizing:border-box}
.homeNew .headerToggle .logo{flex:0 1 116px;min-width:0}
.homeNew .headerToggle .logo img{max-width:100%;object-fit:contain}
.homeNew .headerToggle>div:last-child{flex-shrink:0;align-items:center}
.homeNew .headerToggle .qiandao{max-width:88px;padding:0 7px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}
.homeNew .headerToggle .qiandao span{white-space:normal;line-height:1.15;text-align:center;font-size:11px}
@supports not (height:100dvh){.yd-language-dialog{max-height:calc(100vh - 80px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){#yd-language-root *{scroll-behavior:auto;transition:none}}
