:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#29354d;background:#f7f8fe;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}a:hover{color:#547bcd}img{max-width:100%;display:block}.skip{position:absolute;left:-10000px}.skip:focus{left:16px;top:16px;background:#fff;padding:12px;z-index:10}.top-glow{height:210px;position:absolute;inset:0 0 auto;background:linear-gradient(128deg,#b2d4ef 0,#d5cff8 52%,#f6e5e3 100%);z-index:-1}.topbar{max-width:1180px;margin:auto;height:100px;padding:0 20px;display:flex;align-items:center;justify-content:space-between}.brand{font-weight:800;font-size:1.22rem;letter-spacing:.015em}.brand-dot{color:#7288ee}.topbar nav{display:flex;gap:28px;font-weight:600;font-size:.94rem}.topbar nav a{padding:11px 0}.topbar nav .active{border-bottom:2px solid #7290d3}.site-shell{max-width:1180px;margin:18px auto 70px;padding:0 20px;display:grid;grid-template-columns:276px minmax(0,1fr);gap:32px;align-items:start}.sidebar{display:grid;gap:20px}.profile,.side-group{background:white;border:1px solid #e6e9f4;border-radius:18px;padding:24px;box-shadow:0 10px 35px rgba(59,72,113,.045)}.profile{text-align:center}.profile-avatar{margin:2px auto 16px;width:76px;height:76px;background:linear-gradient(135deg,#79b9ed,#957fe9);display:grid;place-items:center;border-radius:20px;color:#fff;font-size:1.5rem;font-weight:800}.profile-title{font-weight:800;font-size:1.1rem}.profile p{line-height:1.75;color:#728099;font-size:.9rem;margin:10px 0 18px}.profile-link{color:#4f72c0;font-weight:700}.side-group h2{font-size:.94rem;margin:0 0 18px}.side-group>a{display:block;color:#5e6d87;font-size:.94rem;padding:9px 0}.tag-cloud{display:flex;gap:9px;flex-wrap:wrap}.tag-cloud a,.chips a{padding:5px 10px;border-radius:9px;background:#eef2fa;color:#5974a5;font-size:.8rem;white-space:normal}.muted{color:#9aa5b7}.content{min-width:0}.crumbs{display:flex;flex-wrap:wrap;gap:10px;font-size:.85rem;color:#677995;padding:14px 0 22px}.crumbs a:last-child{color:#4869ba}.page-heading{padding:20px 0 27px}.eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.15em;color:#6982c4}.page-heading h1,.post h1{font-size:clamp(2rem,4vw,2.7rem);margin:10px 0 10px;line-height:1.34;letter-spacing:-.02em}.page-heading p,.lead{color:#6f7e94;line-height:1.85;margin:0}.articles{display:grid;gap:22px}.article-card{overflow:hidden;display:grid;grid-template-columns:38% minmax(0,1fr);background:#fff;border-radius:18px;border:1px solid #e5e9f3;box-shadow:0 8px 26px rgba(34,60,95,.04)}.cover{min-height:234px;height:100%;background:#dce8fa;overflow:hidden}.cover img{height:100%;width:100%;object-fit:cover;transition:transform .25s}.cover:hover img{transform:scale(1.025)}.cover-placeholder{background:linear-gradient(132deg,#bfdbf6,#b3bdf1 53%,#edcae7);display:grid;place-items:center}.cover-placeholder span{color:#fff;font-size:2.6rem;font-weight:800;text-shadow:0 2px 8px #5675a550}.cover-placeholder small{display:block;font-size:.66rem;letter-spacing:.25em}.card-body{padding:24px;min-width:0}.meta{display:flex;gap:10px;align-items:center;color:#8490a6;font-size:.8rem}.card-body h2{margin:12px 0 11px;font-size:1.34rem;line-height:1.4}.card-body p{font-size:.92rem;line-height:1.7;color:#66758d;margin:0 0 14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.chips{display:flex;flex-wrap:wrap;gap:7px}.read-more{display:inline-flex;margin-top:16px;color:#597acf;font-size:.88rem;font-weight:700}.pagination{display:flex;gap:18px;align-items:center;justify-content:center;margin-top:35px;color:#70809c;font-size:.9rem}.pagination a{background:#fff;border-radius:10px;padding:11px 15px}.post{background:#fff;border:1px solid #e6e9f4;border-radius:20px;padding:42px;box-shadow:0 10px 35px rgba(59,72,113,.04)}.post h1{margin-top:10px}.post-tags{margin-top:20px}.hero-cover{margin:28px 0 0}.hero-cover img{width:100%;border-radius:14px;max-height:440px;object-fit:cover}.post-content{color:#344158;font-size:1rem;line-height:1.92;margin-top:32px;overflow-wrap:anywhere}.post-content h2,.post-content h3{margin:1.8em 0 .7em;line-height:1.42}.post-content h2{font-size:1.48rem}.post-content h3{font-size:1.19rem}.post-content p{margin:0 0 1.15em}.post-content ul{padding-left:1.5em}.post-content pre{padding:18px;background:#f0f3f9;border-radius:12px;overflow:auto;line-height:1.5}.post-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;border-top:1px solid #edf0f5;margin-top:35px;padding-top:22px;color:#8490a5;font-size:.85rem}.post-foot a{font-weight:700;color:#5272c5}.empty-state{background:#fff;border:1px solid #e5e9f3;border-radius:18px;padding:55px 30px;text-align:center;color:#78869b}.empty-state a{color:#5172c2;font-weight:700}.error-code{font-size:5rem;color:#7c90d4;letter-spacing:-.08em;margin:0}.footer{max-width:1180px;margin:0 auto;padding:24px 20px 38px;border-top:1px solid #e1e6f1;display:flex;justify-content:space-between;color:#91a0b5;font-size:.84rem}@media(max-width:850px){.site-shell{grid-template-columns:1fr}.sidebar{order:2;grid-template-columns:repeat(2,minmax(0,1fr))}.profile{grid-row:span 2}.topbar{height:76px}}@media(max-width:610px){.topbar{align-items:center;gap:10px}.topbar nav{gap:12px;font-size:.8rem}.brand{font-size:1rem}.site-shell{padding:0 14px;margin-top:5px}.article-card{grid-template-columns:1fr}.article-card .cover{height:180px;min-height:0}.card-body{padding:21px}.post{padding:24px 19px}.sidebar{grid-template-columns:1fr}.top-glow{height:180px}.footer{padding-left:16px;padding-right:16px}}

/* Blog V5: tag pagination, article TOC, and cached related articles. */
html {scroll-behavior:smooth;}
.side-group--tags {display:flex;flex-direction:column;}
.tag-panel {display:flex;flex:1;flex-direction:column;min-height:0;}
.tag-cloud {align-content:flex-start;}
.tag-pagination {display:flex;justify-content:center;align-items:center;gap:12px;margin-top:auto;padding-top:24px;font-size:.84rem;color:#7886a0;}
.tag-pagination a {display:grid;place-items:center;width:34px;height:34px;border:1px solid #e2e8f5;background:#f7f8fe;border-radius:9px;color:#5878bd;}
.tag-pagination a:hover {background:#ebeffb;}
.listing-layout .sidebar {align-self:stretch;display:flex;flex-direction:column;}
.listing-layout .side-group--tags {flex:1;}
.post-toc {background:#f8f9ff;border:1px solid #e9eaf8;border-radius:16px;padding:22px 24px;margin-top:28px;}
.post-toc h2 {font-size:1.15rem;line-height:1.4;margin:0 0 14px;color:#303e60;}
.post-toc ol {list-style:none;margin:0;padding:0;display:grid;gap:7px;}
.post-toc a {display:block;padding:6px 0;color:#5d6fa1;font-size:.92rem;line-height:1.6;}
.post-toc a:hover {color:#6857cb;text-decoration:underline;}
.post-toc li.toc-level-3 {padding-left:22px;}
.post-toc li.toc-level-3 a {font-size:.87rem;color:#7884a2;}
.post-content h2 {border-left:4px solid #8168d9;padding-left:15px;scroll-margin-top:22px;}
.post-content h3 {scroll-margin-top:22px;}
.site-shell.has-recommendations {max-width:1440px;grid-template-columns:minmax(210px,260px) minmax(0,1fr) minmax(200px,258px);gap:24px;}
.related-sidebar {min-width:0;padding-top:62px;}
.related-group {padding:22px 19px;}
.related-group h2 {margin-bottom:10px;}
.related-card {display:flex;gap:11px;align-items:flex-start;padding:14px 0;border-bottom:1px solid #f0f1f6;}
.related-card:last-child {border-bottom:none;padding-bottom:0;}
.related-card img,.related-placeholder {width:82px;height:69px;flex:none;object-fit:cover;border-radius:9px;}
.related-placeholder {background:linear-gradient(135deg,#b2d5ed,#a6a7eb);color:white;display:grid;place-items:center;font-weight:800;}
.related-details {min-width:0;display:flex;flex-direction:column;gap:7px;}
.related-details strong {font-size:.84rem;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-weight:650;}
.related-date {font-size:.73rem;color:#95a0b2;}
@media(max-width:1100px) and (min-width:851px) {
  .site-shell.has-recommendations {grid-template-columns:230px minmax(0,1fr);}
  .related-sidebar {grid-column:2;padding-top:0;}
}
@media(max-width:850px) {
  .site-shell.has-recommendations {grid-template-columns:1fr;}
  .related-sidebar {grid-column:auto;padding-top:0;}
  .listing-layout .sidebar {align-self:auto;display:grid;}
  .listing-layout .side-group--tags {flex:none;}
  .tag-panel {min-height:auto;}
  .tag-pagination {margin-top:0;}
}
@media(max-width:610px) {
  .post-toc {padding:18px 16px;}
  .related-card img,.related-placeholder {width:76px;height:64px;}
}

/* Blog promotion card: isolated from existing article UI and TOC styles. */
.post-content .blog-promo{margin:32px 0 36px;border:1px solid #bad4ff;background:linear-gradient(115deg,#f8faff 0%,#f2f7ff 67%,#e4eeff 100%);border-radius:13px;overflow:hidden;box-shadow:0 7px 22px rgba(61,104,188,.07);line-height:1.55}
.post-content .blog-promo-link{display:flex;align-items:center;gap:20px;position:relative;padding:22px 24px;min-height:170px;color:#1f2e49;text-decoration:none}
.post-content .blog-promo-link:focus-visible{outline:3px solid #346de5;outline-offset:-3px}
.post-content .blog-promo-copy{display:flex;align-items:flex-start;flex-direction:column;gap:7px;flex:1;min-width:0;position:relative;z-index:1}
.post-content .blog-promo-tag{display:inline-flex;align-items:center;gap:5px;max-width:100%;font-size:.77rem;color:#215fce;background:#e5efff;border-radius:30px;padding:3px 10px;font-weight:700}
.post-content .blog-promo-tag-icon{color:#e0a322;font-size:.82rem}
.post-content .blog-promo-title{font-size:1.16rem;line-height:1.38;color:#192944;font-weight:800}
.post-content .blog-promo-description{font-size:.88rem;color:#68768f;line-height:1.6;max-width:580px}
.post-content .blog-promo-button{display:inline-flex;align-items:center;gap:6px;background:#1460ed;color:white;border-radius:30px;padding:9px 17px;font-weight:750;font-size:.85rem;margin-top:5px;transition:background .2s,transform .2s}
.post-content .blog-promo-link:hover .blog-promo-button{background:#004ac7;transform:translateY(-1px)}
.post-content .blog-promo-art{width:190px;height:122px;position:relative;flex:none;display:grid;place-items:center}
.post-content .blog-promo-window{width:160px;height:113px;box-shadow:0 7px 24px #6a8dd84d;border-radius:11px;background:#ffffff;overflow:hidden;transform:rotate(-2deg)}
.post-content .blog-promo-window-top{height:23px;background:#6fa4fa;display:flex;align-items:center;gap:5px;padding:0 10px}
.post-content .blog-promo-window-top i{width:5px;height:5px;border-radius:50%;background:#e7f2ff}
.post-content .blog-promo-window-main{display:flex;gap:11px;padding:13px}
.post-content .blog-promo-bars{height:62px;display:flex;gap:5px;align-items:flex-end;flex:1;background:#f0f6ff;border-radius:5px;padding:8px}
.post-content .blog-promo-bars i{width:12px;background:linear-gradient(#9ed0ff,#3980ef);border-radius:3px 3px 0 0}
.post-content .blog-promo-bars i:nth-child(1){height:26%}.post-content .blog-promo-bars i:nth-child(2){height:45%}.post-content .blog-promo-bars i:nth-child(3){height:70%}.post-content .blog-promo-bars i:nth-child(4){height:90%}
.post-content .blog-promo-people{display:flex;flex-direction:column;gap:8px;justify-content:center;flex:1}
.post-content .blog-promo-people span{height:12px;border-radius:8px;background:linear-gradient(90deg,#bcd5fa 25%,#edf3ff 25%)}
.post-content .blog-promo-orb{position:absolute;right:0;top:-4px;display:grid;place-items:center;font-size:.86rem;font-weight:900;color:#2870db;width:40px;height:40px;border-radius:12px;background:#fff;box-shadow:0 3px 12px #6790cf3d}
@media(max-width:610px){.post-content .blog-promo-link{padding:19px;min-height:0}.post-content .blog-promo-art{display:none}.post-content .blog-promo-title{font-size:1.08rem}.post-content .blog-promo-description{font-size:.84rem}}

/* Resource hubs: static HTML, purely visual JS folding. Without JS every anchor is shown. */
.hub-page{min-width:0}.hub-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 30px;border-radius:20px;background:linear-gradient(112deg,#fff 0%,#f4f7ff 66%,#e0e9ff 100%);border:1px solid #e6eafa;margin-bottom:20px;overflow:hidden}.hub-hero-copy{position:relative;z-index:1}.hub-hero h1{font-size:clamp(1.55rem,2.4vw,2.15rem);color:#16254a;line-height:1.45;margin:10px 0 13px}.hub-hero p{color:#63718f;line-height:1.8;font-size:.94rem;max-width:690px;margin:0}.hub-hero .hub-update{font-size:.8rem;margin-top:16px;color:#7287ad}.hub-hero-art{width:135px;min-width:135px;height:118px;position:relative}.hub-art-card{display:flex;flex-direction:column;gap:11px;padding:32px 16px;background:#fff;box-shadow:0 12px 30px #7b9de64d;transform:rotate(6deg);width:110px;height:110px;border-radius:14px}.hub-art-card i{height:8px;background:#d7e1fe;border-radius:10px}.hub-art-card i:nth-child(2){width:85%}.hub-art-card i:nth-child(3){width:65%}.hub-art-bubble{position:absolute;right:0;bottom:2px;width:43px;height:43px;border-radius:12px;background:linear-gradient(140deg,#4ca6fc,#8157e9);color:#fff;display:grid;place-items:center;font-size:1.35rem;font-weight:800;box-shadow:0 8px 22px #6682eb59}.hub-tabs{display:flex;gap:10px;margin:18px 0}.hub-tabs a{padding:10px 17px;background:#fff;border:1px solid #e4e9f5;border-radius:11px;color:#526382;font-weight:650;font-size:.9rem}.hub-tabs a[aria-current=page]{background:#eaf0ff;border-color:#b9ccfc;color:#2d62d4}.hub-intro{font-size:.91rem;line-height:1.8;color:#65718b;margin:13px 0 22px}.hub-sections{display:grid;gap:17px}.hub-section{border-radius:16px;padding:23px 26px;background:#fff;border:1px solid #e5eafa;box-shadow:0 7px 24px #52618a0b}.hub-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.hub-section-heading h2{font-size:1.18rem;color:#1d2c4d;line-height:1.5;margin:0}.hub-section-heading p{font-size:.87rem;color:#7a87a0;line-height:1.7;margin:5px 0 13px}.hub-toggle{display:none;flex:none;align-self:center;border:0;background:transparent;color:#3567cb;font-weight:700;font-size:.86rem;cursor:pointer;padding:8px;border-radius:8px}.hub-toggle:hover,.hub-toggle:focus-visible{background:#edf3ff;outline-offset:3px}.hub-toggle span{display:inline-block;margin-left:5px;transition:transform .25s}.hub-js .hub-toggle{display:inline-flex}.hub-items{display:grid}.hub-item{display:flex;align-items:center;gap:11px;padding:11px 4px;border-top:1px solid #edf0fa;color:#34425c;font-size:.92rem;line-height:1.5;overflow-wrap:anywhere}.hub-item:hover{color:#346bdd;background:#f9fbff}.hub-item-icon{color:#6487e5;font-size:1.1rem;flex:none}.hub-item-arrow{margin-left:auto;font-size:1.25rem;color:#9bacd1;flex:none}.hub-extra{display:block}.hub-js .hub-extra{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .38s ease,opacity .25s ease}.hub-js .hub-extra-inner{min-height:0;overflow:hidden}.hub-js .hub-section.is-expanded .hub-extra{grid-template-rows:1fr;opacity:1}.hub-footnote{font-size:.82rem;color:#8b97ae;margin:26px 0}.hub-layout .side-group--tags{flex:none}.listing-layout .sidebar{align-self:start;display:grid}.listing-layout .side-group--tags{flex:none}.listing-layout .tag-panel{flex:none}.profile-avatar{background:linear-gradient(135deg,#55b5fa,#8260ee);border-radius:20px;box-shadow:0 6px 16px #7a8deb38}.hub-nav-links{display:grid;gap:4px}.hub-nav-links a{display:block;color:#5870a2;font-size:.91rem;padding:7px 0}.hub-nav-links a:hover{color:#3165c9}.brand-dot{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:linear-gradient(140deg,#60baff,#8762e8);color:white;font-size:.72rem;font-weight:800;vertical-align:middle}
@media(max-width:610px){.hub-hero{padding:19px}.hub-hero-art{display:none}.hub-section{padding:18px 15px}.hub-section-heading{gap:8px}.hub-section-heading h2{font-size:1.04rem}.hub-section-heading p{font-size:.83rem}.hub-item{font-size:.85rem}.hub-toggle{font-size:.77rem;padding:5px}.hub-tabs a{font-size:.85rem}}
@media(prefers-reduced-motion:reduce){.hub-js .hub-extra,.hub-toggle span{transition:none}}

/* Shared YX brand and compact resource navigation. */
.brand a{display:inline-flex;align-items:center;gap:7px}
.brand-image{display:inline-block;flex:none;width:28px;height:28px;border-radius:8px;object-fit:cover}
.profile .profile-avatar{display:block;object-fit:cover;background:none;border-radius:20px}
.topbar nav{align-items:center}
.resource-menu{position:relative;white-space:nowrap}
.resource-menu summary{list-style:none;cursor:pointer;padding:11px 0;color:inherit;font-weight:600}
.resource-menu summary::-webkit-details-marker{display:none}
.resource-menu summary::after{content:'⌄';display:inline-block;margin-left:5px;font-size:.8em}
.resource-menu[open] summary::after{transform:rotate(180deg)}
.resource-menu-links{position:absolute;top:100%;right:-14px;min-width:160px;background:#fff;padding:9px;border:1px solid #e1e8f5;border-radius:12px;box-shadow:0 10px 30px #283e6c25;z-index:20;display:grid;gap:2px}
.resource-menu-links a{padding:10px 12px!important;border-radius:8px;border:0!important;font-size:.88rem}
.resource-menu-links a:hover{background:#eef3ff}
@media(max-width:610px){.topbar{flex-wrap:wrap;height:auto;min-height:76px;padding:12px 14px}.topbar nav{flex-wrap:wrap;gap:9px 14px}.resource-menu-links{right:auto;left:0}}

/* Independent tutorial entry, deliberately outside the article navigation group. */
.side-group--tutorial{padding:10px;border-color:#dddafc;background:#fff}
.side-group--tutorial>a.tutorial-sidebar-card{display:flex;align-items:center;gap:13px;min-height:98px;padding:17px 14px;border-radius:13px;background:linear-gradient(120deg,#6947e8,#4a3ac7 65%,#8754e8);color:#fff;text-decoration:none;box-shadow:0 6px 20px #624ce72b}
.side-group--tutorial>a.tutorial-sidebar-card:hover,.side-group--tutorial>a.tutorial-sidebar-card:focus-visible{color:#fff;background:linear-gradient(120deg,#764ff2,#503ccc 65%,#9561f0);outline-offset:3px}
.tutorial-sidebar-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid #ffffff69;border-radius:11px;font-size:1rem}
.tutorial-sidebar-copy{display:flex;flex-direction:column;gap:6px;min-width:0;line-height:1.35}
.tutorial-sidebar-copy strong{font-size:1.05rem}
.tutorial-sidebar-copy small{font-size:.77rem;color:#f2e9ff;line-height:1.5}
.tutorial-sidebar-arrow{margin-left:auto;flex:none;font-size:1.8rem;color:#f7f2ff}
