/* One stable navigation system shared by every public page. */
.site-head .nav>.brand,.head .nav>.brand{order:1}
.site-head .nav>.nav-links,.head .nav>.nav-links{order:2}
.site-head .nav>.lang-switch,.head .nav>.lang-switch,.head .nav>.lang{order:3}
.site-head .nav>.nav-download,.head .nav>.nav-download{order:4;display:inline-flex!important;flex:0 0 auto;align-items:center;justify-content:center;box-sizing:border-box;min-height:38px!important;padding:10px 14px!important;border:1px solid #e4ba60;border-radius:6px;background:linear-gradient(#ffe6a4,#eabb5d);color:#241808!important;font:800 12px/1.2 Arial,sans-serif!important;text-decoration:none;white-space:nowrap;box-shadow:0 3px 8px #0002}
.site-head .nav>.nav-download:hover,.head .nav>.nav-download:hover{filter:brightness(1.08)}
.site-head .nav>.nav-download:focus-visible,.head .nav>.nav-download:focus-visible{outline:2px solid #ffd86b;outline-offset:3px}
.site-head .nav>.menu,.head .nav>.menu{order:5}
@media(min-width:851px) and (max-width:1100px){.site-head .nav,.head .nav{gap:12px!important}.site-head .nav-links,.head .nav-links{gap:16px!important}}
@media(max-width:850px){.site-head .nav,.head .nav{gap:8px!important}.site-head .nav>.lang-switch,.head .nav>.lang-switch{margin-left:auto!important}.site-head .nav>.nav-download,.head .nav>.nav-download{font-size:11px!important;padding:9px 10px!important;min-height:36px!important}.site-head .nav>.menu,.head .nav>.menu{margin-left:0!important}}
:root{--header-red-1:#760608;--header-red-2:#a30d10;--header-red-3:#650305;--header-gold:#ffd86b;--header-ink:#fff7dc}
.site-head,.head{position:sticky!important;top:0;z-index:50;background:linear-gradient(90deg,var(--header-red-1),var(--header-red-2) 55%,var(--header-red-3))!important;border-bottom:1px solid rgba(255,216,107,.25)!important;color:var(--header-ink)}
.site-head .nav,.head .nav{width:min(1160px,calc(100% - 40px))!important;height:76px!important;margin:auto;display:flex;align-items:center;gap:22px}
.site-head .brand,.head .brand{display:flex;align-items:center;flex:0 0 auto;width:106px!important;height:50px!important;overflow:hidden}
.site-head .brand img,.head .logo{display:block;width:106px!important;height:50px!important;object-fit:contain}
.site-head .nav-links,.head .nav-links,.head .links{display:flex;align-items:center;gap:28px!important;margin-left:auto!important;color:var(--header-ink);font:800 14px/1.2 Arial,"Microsoft YaHei",sans-serif!important}
.site-head .nav-links a,.head .nav-links a,.head .links a{position:relative;display:block;padding:10px 0;color:var(--header-ink)!important;text-align:center;text-decoration:none!important;white-space:nowrap;transition:color .16s ease}
.site-head .nav-links a:hover,.head .nav-links a:hover,.head .links a:hover,.site-head .nav-links a[aria-current="page"],.head .nav-links a[aria-current="page"],.head .links a[aria-current="page"]{color:var(--header-gold)!important}
.site-head .nav-links a[aria-current="page"]:after,.head .nav-links a[aria-current="page"]:after,.head .links a[aria-current="page"]:after{content:"";position:absolute;left:0;right:0;bottom:2px;height:2px;border-radius:999px;background:var(--header-gold);pointer-events:none}
.site-head .nav-links a:focus-visible,.head .nav-links a:focus-visible,.head .links a:focus-visible{outline:2px solid var(--header-gold);outline-offset:4px;border-radius:2px}
.site-head .lang-switch,.head .lang-switch,.head .lang{display:inline-flex;align-items:center;flex:0 0 102px;width:102px;height:34px;margin-left:2px;padding:3px!important;border:1px solid rgba(255,216,107,.8)!important;border-radius:999px!important;background:rgba(42,0,0,.25)!important;color:#fff!important;box-shadow:none!important;white-space:nowrap;cursor:pointer}
.site-head .lang-switch,.head .lang-switch{font:800 12px/1 Arial,"Microsoft YaHei",sans-serif!important}
.site-head .lang-switch .lang-option,.head .lang-switch .lang-option,.head .lang .lang-option{flex:1;padding:6px 7px;border-radius:999px;color:#f8dfaa;font:800 12px/1 Arial,"Microsoft YaHei",sans-serif!important;text-align:center;transition:background .16s ease,color .16s ease}
.site-head .lang-switch .lang-option.active,.head .lang-switch .lang-option.active,.head .lang .lang-option.active{background:var(--header-gold);color:#5d0909;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.head .lang{display:flex;gap:2px;padding:3px!important}.head .lang button{border:0;border-radius:999px;background:transparent;color:#fff;padding:6px 9px;font:800 12px/1 Arial,"Microsoft YaHei",sans-serif!important}.head .lang button.active{background:var(--header-gold);color:#5d0909}
.site-head .menu,.head .menu{display:none;flex:0 0 auto;border:0;background:transparent;color:#fff;font-size:22px;line-height:1;cursor:pointer}
@media(max-width:850px){.site-head .nav,.head .nav{width:min(100% - 20px,1160px)!important;height:66px!important}.site-head .brand,.head .brand,.site-head .brand img,.head .logo{width:83px!important;height:43px!important}.site-head .nav-links,.head .nav-links,.head .links{position:absolute;top:66px;left:0;right:0;display:none;flex-direction:column;align-items:stretch;gap:0!important;margin:0!important;padding:10px 20px;background:linear-gradient(90deg,var(--header-red-1),#92090d);border-bottom:1px solid rgba(255,216,107,.25);box-shadow:0 12px 25px rgba(37,0,0,.24)}.site-head .nav-links.open,.head .nav-links.open,.head .links.open{display:flex!important}.site-head .nav-links a,.head .nav-links a,.head .links a{padding:12px 4px;text-align:left}.site-head .menu,.head .menu{display:block!important;margin-left:auto}.site-head .lang-switch,.head .lang-switch,.head .lang{flex-basis:92px;width:92px;height:31px;margin-left:0!important}.site-head .lang-switch .lang-option,.head .lang-switch .lang-option,.head .lang .lang-option{padding:5px 6px;font-size:11px!important}}
