/* Shared control geometry; keep the existing navigation and language options. */
[data-language-picker]>summary{box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;justify-content:center;border-radius:50%;gap:0}
[data-language-picker]>summary>img,[data-language-picker]>summary>span{display:none}
.site-language-icon{display:block;flex:none;pointer-events:none}
body[data-page]>.appearance-dock{box-sizing:border-box;height:44px;top:var(--header-control-top,20px)!important;border-radius:24px}
body[data-page]>.appearance-dock .effect-arrow{box-sizing:border-box;width:32px;height:42px;min-height:42px;padding:0;display:flex;align-items:center;justify-content:center}
body[data-page]>.appearance-dock .appearance-panel>summary{box-sizing:border-box;width:40px;min-width:40px;height:42px;min-height:42px;padding:0;display:flex;align-items:center;justify-content:center}
body[data-page] .site-header-controls-ready{padding-right:var(--header-tools-space,228px)!important}
body[data-page] .site-header-controls-ready>[data-language-picker]{right:var(--header-language-right,146px)!important;top:50%;transform:translateY(-50%);display:block}
body[data-page] .site-header-controls-ready .main-nav{align-items:center}
.site-language-menu>summary{margin-inline:auto}
@media(max-width:1380px){body[data-page] .site-header-controls-ready .main-nav{display:none}body[data-page] .site-header-controls-ready .site-menu-toggle{display:flex;position:absolute;right:16px;top:calc(50% - 22px)}body[data-page]>.appearance-dock{right:72px!important}}
@media(max-width:1600px){html:not(:lang(zh-CN)) body[data-page] .site-header-controls-ready .main-nav{display:none}html:not(:lang(zh-CN)) body[data-page] .site-header-controls-ready .site-menu-toggle{display:flex;position:absolute;right:16px;top:calc(50% - 22px)}html:not(:lang(zh-CN)) body[data-page]>.appearance-dock{right:72px!important}}
@media(max-width:760px){body[data-page]>.appearance-dock .effect-arrow{display:none}body[data-page]>.appearance-dock .appearance-panel>summary{width:42px;min-width:42px}body[data-page] .site-header-controls-ready .identity{min-width:0;flex-basis:auto}body[data-page] .site-header-controls-ready .identity small{max-width:135px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
