/* Shared Baiyue theme and navigation. Loaded after page styles on every page. */
:root{--bg:#f8f7fc;--blue:#6454dc;--ink:#26233e;--muted:#6d6a83;--line:#e3dfef}
html{scroll-padding-top:94px;scrollbar-gutter:stable}
body{background:var(--bg);color:var(--ink)}
body>header{position:sticky;top:0;z-index:30;background:#f8f7fce6;border-bottom:1px solid #e6e2f2;box-shadow:none;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
body>header .nav{width:min(1120px,calc(100% - 64px));max-width:1120px;height:78px;margin-inline:auto;display:flex;align-items:center;gap:32px}
body .brand{display:inline-flex;align-items:center;gap:10px;font-size:25px;font-weight:600;white-space:nowrap;flex-shrink:0}
body .brand img{width:36px;height:36px;flex-shrink:0;border-radius:10px}
body .brand-wordmark{gap:5px;letter-spacing:.02em}
body .brand-name{color:#6454dc;font-weight:600}
body .brand-category{color:#514c68;font-size:.76em;font-weight:500;letter-spacing:.1em}
body>header .nav-links{display:flex;align-items:center;gap:24px;margin-left:auto;font-size:14px}
body>header .nav-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 4px;color:#676079;font-size:14px;font-weight:600;white-space:nowrap;border-bottom:2px solid transparent;transition:color .18s,border-color .18s}
body>header .nav-links a:hover,body>header .nav-links a:focus-visible{color:#6454dc}
body>header .nav-links a[aria-current=page]{color:#6454dc;border-bottom-color:#8c78df}
body>header .nav-full{display:inline}body>header .nav-short{display:none}
body .button{background:linear-gradient(120deg,#7964ee,#5c50d1);color:#fff;border:1px solid #ffffff38;box-shadow:0 3px 4px #6250bd16,0 10px 24px #6250bd26}
body .button:hover{background:linear-gradient(120deg,#8875f4,#6253df)}
body>header .nav-cta{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:44px;margin-left:0;padding:10px 20px;font-size:13px;font-weight:600;border-radius:99px;flex-shrink:0;box-shadow:0 8px 20px #6250bd20}
body :focus-visible{outline:3px solid #a996de;outline-offset:4px}
body .post-card{border-color:var(--line);box-shadow:0 5px 12px #65517b09,0 22px 50px -25px #65517b25}
body .post-thumb,body .download-section{background:#eeebf8}
body .chip{background:#ece8f5;color:#6d6283;min-height:44px}
body .chip.active{background:#6454dc;color:white}
body .article p{color:#514c68}
body .article .answer-first{color:var(--ink)}
body .compare-table thead th{background:#f2eef9}
body .article .table-wrap{max-width:100%}
@media(max-width:900px) and (min-width:721px){body>header .nav{gap:20px}body>header .nav-links{gap:16px}}
@media(max-width:720px){
 html{scroll-padding-top:124px}
 body>header .nav{width:calc(100% - 40px);max-width:1120px;height:108px;display:grid;grid-template-columns:1fr auto;grid-template-rows:60px 48px;column-gap:12px;row-gap:0}
 body .brand{font-size:20px;gap:8px}
 body .brand img{width:32px;height:32px;border-radius:9px}
 body .brand-wordmark{gap:4px}
 body>header .nav-cta{grid-column:2;grid-row:1;min-height:44px;padding:8px 15px;font-size:12px;gap:13px}
 body>header .nav-links{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;width:100%;margin:0;align-self:stretch}
 body>header .nav-links a{height:44px;min-height:44px;padding:0 3px;font-size:13px}
 body .post-card.featured .post-body{padding:24px}
 body .blog-hero{padding-top:40px}
 body .article{padding-top:36px}
 body .article h1{overflow-wrap:anywhere}
 body .chips{gap:8px}
 body .chip{padding:9px 15px;font-size:12px}
}
@media(max-width:360px){body>header .nav{width:calc(100% - 32px)}body .brand{font-size:19px}body>header .nav-links a{font-size:12px}}
