/* One persistent shell; page styles never position or animate the navigation. */
body,body.has-announce,body.site-category,body.site-category.has-announce{padding-top:var(--site-shell-height,112px)!important}
#site-shell{position:fixed;inset:0 0 auto;z-index:1000;background:#fff;color:#241535;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;isolation:isolate}
#site-shell *{box-sizing:border-box}
#site-shell a{text-decoration:none}
#site-shell #announce{position:relative;inset:auto;height:40px;min-height:40px;display:flex;align-items:center;justify-content:center;gap:18px;padding:0 44px;background:linear-gradient(100deg,#6d28d9,#9b37d6);color:white;font-size:13px;line-height:1.4}
#site-shell #announce[hidden]{display:none}
#site-shell #announce a{color:white;font-weight:600;white-space:nowrap}
#site-shell .a-short{display:none}
#site-shell #announceClose{position:absolute;right:14px;top:50%;transform:translateY(-50%);border:0;border-radius:50%;width:26px;height:26px;background:#ffffff26;color:white;cursor:pointer}
#site-shell #top{position:relative!important;inset:auto!important;height:72px!important;min-height:72px;max-width:none;width:100%;margin:0;padding:0 4vw!important;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:nowrap;background:#fff;border:0;border-bottom:1px solid #eee8f6;box-shadow:none;transform:none;transition:none;view-transition-name:none}
#site-shell #top .logo{display:flex;align-items:baseline;gap:6px;flex-shrink:0;font-size:24px;font-weight:800;letter-spacing:-.7px;color:#241535;white-space:nowrap}
#site-shell #top .logo span{font-size:12px;font-weight:500;letter-spacing:0;color:#887a9b}
#site-shell #top .nav-links{display:flex!important;align-items:center;gap:24px;width:auto;margin:0;padding:0;order:0;white-space:nowrap;overflow:visible;font-size:14px}
#site-shell .nav-links a{color:#766981;padding:10px 0;line-height:22px;border-bottom:2px solid transparent;font-weight:500}
#site-shell .nav-links a[aria-current=page]{color:#7c3aed;border-bottom-color:#7c3aed;font-weight:700}
#site-shell #top .nav-right{display:flex;align-items:center;gap:16px;margin:0;flex-shrink:0}
#site-shell #top .lang{display:flex;align-items:center;gap:2px;font-size:12px;color:#897c99}
#site-shell .lang-sep{display:none}
#site-shell #top button{font-family:inherit;cursor:pointer;white-space:nowrap}
#site-shell #top .lang button{font:inherit;padding:5px 7px;border:0;border-radius:6px;background:transparent;color:#79698b}
#site-shell #top .lang button.on{background:#f1e9ff;color:#6d28d9;font-weight:700}
#site-shell #top .btn-ghost,#site-shell #top .btn-primary{font-size:13px;line-height:20px;font-weight:600;border-radius:8px;padding:9px 16px;min-height:40px}
#site-shell #top .btn-ghost{display:flex;align-items:center;gap:6px;border:1px solid #e5ddee;background:white;color:#5c4c6f}
#site-shell #top .btn-primary{border:1px solid #7c3aed;background:#7c3aed;color:white;box-shadow:none}
#site-shell .entry-login{position:relative}
#site-shell .entry-chevron{display:block;flex:0 0 16px}
#site-shell #entryMenu[hidden]{display:none!important}
#site-shell #entryMenu{position:absolute;right:0;top:calc(100% + 12px);width:270px;padding:12px;background:white;border:1px solid #e9e5f5;border-radius:16px;box-shadow:0 20px 60px #33206a26;text-align:left;z-index:5}
#site-shell #entryMenu p{font-size:12px;color:#8b849c;padding:8px 12px;margin:0}
#site-shell #entryMenu a{display:flex;flex-direction:column;padding:14px 12px;border-radius:10px;gap:4px}
#site-shell #entryMenu a:hover{background:#f4f0ff}
#site-shell #entryMenu strong{color:#292138;font-size:16px}
#site-shell #entryMenu small{color:#837b92;font-size:13px}
#site-page-content>.hero{padding-top:64px!important}
#site-page-content .page-hero{padding:54px 24px 46px;background:linear-gradient(130deg,#f5f0ff,#fcf8ff);color:#241535;border-bottom:1px solid #eee6fc;text-align:center}
#site-page-content .page-hero h1{font-size:clamp(28px,4vw,42px);margin:18px 0 14px;color:#241535}
#site-page-content .page-hero p{color:#7b6d8a;line-height:1.7}
#site-page-content .page-hero .section-label{color:#7c3aed}
#site-page-content .page-hero .sample-section-links a{color:#7c3aed;border-color:#ded0f3}
html{scroll-padding-top:calc(var(--site-shell-height,112px) + 20px)!important}
#site-page-content [id]{scroll-margin-top:calc(var(--site-shell-height,112px) + 20px)}
@media(max-width:1200px){#site-shell #top{gap:16px;padding-inline:24px!important}#site-shell #top .nav-links{gap:16px}#site-shell #top .nav-right{gap:8px}#site-shell #top .logo{font-size:21px}}
@media(max-width:1050px){#site-shell #top{height:auto!important;min-height:108px;flex-wrap:wrap;gap:8px;padding:10px 18px 4px!important}#site-shell #top .nav-links{order:3;width:100%;gap:24px;overflow-x:auto;scrollbar-width:none}#site-shell #top .nav-links::-webkit-scrollbar{display:none}#site-shell #top .nav-right{margin-left:auto}#site-shell #announce{font-size:12px}.a-full{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:600px){#site-shell #announce{gap:12px;height:36px;min-height:36px;padding-inline:12px 40px}#site-shell .a-full{display:none}#site-shell .a-short{display:inline}#site-shell #top{padding-inline:12px!important;gap:4px}#site-shell #top .logo{font-size:18px}#site-shell #top .logo span{display:none}#site-shell #top .nav-right{gap:6px}#site-shell #top .btn-ghost,#site-shell #top .btn-primary{padding:7px 9px;min-height:36px;font-size:12px}#site-shell #top .nav-links{font-size:13px;gap:22px}#site-shell #entryMenu{right:-75px;max-width:calc(100vw - 24px)}#site-page-content>.hero{padding-top:40px!important}#site-page-content .page-hero{padding:36px 20px}}
