/* Last-loaded shared shell: module-specific styles never determine header geometry. */
body.hasSiteShell{--shell-header-height:88px;--shell-gutter:36px}
body.hasSiteShell>.siteHeader{position:sticky;top:0;z-index:100;display:block;width:100%;height:var(--shell-header-height);min-height:0;margin:0;padding:0;border:0;border-bottom:1px solid var(--line);background:var(--bg);font:14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif}
body.hasSiteShell>.siteHeader>.siteHeaderInner{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;max-width:1440px;height:100%;margin:0 auto;padding:0 var(--shell-gutter);box-sizing:border-box}
body.hasSiteShell>.siteHeader .brand{display:flex;align-items:center;gap:12px;min-width:0;margin:0;padding:0;color:var(--text);font-size:18px;font-weight:700;letter-spacing:-.5px;text-decoration:none;flex:none}
body.hasSiteShell>.siteHeader .brandMark{display:block;width:42px;height:42px;min-width:42px;margin:0;padding:0;border:0;border-radius:0;background:transparent}
body.hasSiteShell>.siteHeader .brandMark img{display:block;width:42px;height:42px;object-fit:contain}
body.hasSiteShell>.siteHeader .brandSub{display:block;margin:3px 0 0;color:var(--muted);font-size:9px;font-weight:500;letter-spacing:2px;line-height:1.4}
body.hasSiteShell>.siteHeader .topbarActions{display:block;flex:0 0 auto;min-width:0;margin:0;padding:0}
body.hasSiteShell>.siteHeader .preferenceControls{display:grid;grid-template-columns:128px 220px 84px;align-items:center;gap:10px;margin:0;padding:0}
body.hasSiteShell>.siteHeader .languageControls{display:flex;align-items:center;justify-content:center;gap:3px;width:128px;height:36px;min-height:36px;margin:0;padding:3px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-sizing:border-box}
body.hasSiteShell>.siteHeader .languageControls :is(a,button,span){display:inline-flex;align-items:center;justify-content:center;flex:1 1 auto;width:auto;height:28px;min-height:0;margin:0;padding:4px 8px;border:0;border-radius:5px;background:transparent;color:var(--muted);font-family:inherit;font-size:12px;font-weight:500;line-height:1.2;text-decoration:none;white-space:nowrap;box-sizing:border-box}
body.hasSiteShell>.siteHeader .languageControls [aria-current=page],html:not([data-home-language=en]) body.hasSiteShell>.siteHeader [data-home-language-select=zh],html[data-home-language=en] body.hasSiteShell>.siteHeader [data-home-language-select=en]{background:var(--raised);color:var(--text)}
body.hasSiteShell>.siteHeader details.championNameControl{position:relative;display:block;width:220px;min-width:0;height:36px;margin:0;padding:0;border:0;background:transparent;font-size:12px}
body.hasSiteShell>.siteHeader .championNameControl>summary{display:flex;align-items:center;justify-content:space-between;gap:7px;width:100%;height:36px;min-height:36px;margin:0;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font-size:12px;font-weight:500;line-height:1.2;list-style:none;box-sizing:border-box;white-space:nowrap}
body.hasSiteShell>.siteHeader .championNameControl>summary::-webkit-details-marker{display:none}
body.hasSiteShell>.siteHeader .championNameControl>summary strong{font-size:12px;font-weight:600;line-height:1.2}
body.hasSiteShell>.siteHeader .championNameControl>summary svg{flex:none;margin:0}
body.hasSiteShell>.siteHeader .nameStyleMenu{top:44px;right:0;width:230px;max-width:calc(100vw - 32px)}
body.hasSiteShell>.siteHeader [data-theme-toggle]{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:84px;height:36px;min-height:36px;margin:0;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font-size:12px;font-weight:500;line-height:1.2;white-space:nowrap;box-sizing:border-box}
body.hasSiteShell>.siteHeader [data-theme-toggle] svg{flex:none;width:18px;height:18px;margin:0}
body.hasSiteShell>.siteHeader :is(a,button,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
body.hasSiteShell>.sidebar{top:var(--shell-header-height);padding-top:24px}
body.hasSiteShell .m4Main{width:100%;max-width:1400px;margin:0 auto;padding:0 36px 32px}
body.hasSiteShell .m4Main .m4Hero{margin:0;padding:32px 0 12px}
body.hasSiteShell .m4Hero h1{font-size:clamp(28px,3.4vw,44px);line-height:1.3;letter-spacing:-1px;margin:16px 0 12px}
body.hasSiteShell .m4Hero>.muted{max-width:880px;font-size:16px;line-height:1.8}
body.hasSiteShell .m4Main .m4Panel{padding:24px;border-radius:var(--radius);background:var(--surface)}
body.hasSiteShell .m4Main :is(select,input:not([type=file]),button){border-radius:8px;line-height:1.4}
body.hasSiteShell .m4Main :is(select,input:not([type=file])){min-height:42px;background:var(--raised)}
body.hasSiteShell .m4Main .broadcastStage{border-radius:var(--radius);background:var(--surface)}
body.hasSiteShell .m4Main .m4Candidate{background:var(--raised)}
@media(max-width:900px){body.hasSiteShell>.sidebar{padding-top:16px}body.hasSiteShell>.siteHeader .brandSub{display:block}}
@media(max-width:720px){body.hasSiteShell{--shell-gutter:18px;--shell-header-height:auto}body.hasSiteShell>.siteHeader>.siteHeaderInner{flex-wrap:wrap;gap:12px;padding-top:14px;padding-bottom:14px}body.hasSiteShell>.siteHeader .topbarActions{width:100%}body.hasSiteShell>.siteHeader .preferenceControls{grid-template-columns:102px minmax(0,1fr) 40px;gap:8px;width:100%}body.hasSiteShell>.siteHeader .languageControls{width:102px}body.hasSiteShell>.siteHeader .languageControls :is(a,button,span){padding-left:4px;padding-right:4px}body.hasSiteShell>.siteHeader details.championNameControl{width:100%}body.hasSiteShell>.siteHeader [data-name-style-label]{display:none}body.hasSiteShell>.siteHeader [data-theme-toggle]{width:40px;padding:7px}body.hasSiteShell>.siteHeader [data-theme-toggle] span{display:none}body.hasSiteShell .m4Main{padding:0 18px 24px}body.hasSiteShell .m4Main .m4Panel{padding:18px}body.hasSiteShell .m4Main .m4Hero{padding-top:24px}}
html:has(body.hasSiteShell){scroll-padding-top:112px}
@media(max-width:720px){html:has(body.hasSiteShell){scroll-padding-top:160px}}

body.hasSiteShell>.siteHeader .nameStyleMenu{padding:5px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 12px 35px rgba(0,0,0,.18)}
body.hasSiteShell>.siteHeader .nameStyleMenu button{display:flex;align-items:center;justify-content:space-between;width:100%;height:auto;min-height:0;gap:12px;margin:0;padding:11px 12px;border:0;border-radius:8px;background:transparent;color:var(--text);font-family:inherit;font-size:12px;line-height:1.4;text-align:left;box-sizing:border-box}
body.hasSiteShell>.siteHeader .nameStyleMenu button:hover{background:var(--hover)}body.hasSiteShell>.siteHeader .nameStyleMenu button[aria-checked=true]{background:var(--raised)}body.hasSiteShell>.siteHeader .nameStyleChoice{display:grid;gap:3px;line-height:1.4}body.hasSiteShell>.siteHeader .nameStyleChoice strong{font-size:13px;font-weight:600}body.hasSiteShell>.siteHeader .nameStyleChoice small{font-size:11px;color:var(--muted)}
