:root{--bg:#f3f6fb;--surface:#fff;--text:#1c2c47;--muted:#738198;--line:#e2e9f2;--accent:#2864d8;--soft:#edf3ff;--code:#f1f5fa;--scrollbar:#bdcbe0;--shadow:0 8px 30px rgb(32 62 108 / 4%)}
:root.dark{--bg:#0d1422;--surface:#141f31;--text:#dfe8f7;--muted:#96a7c1;--line:#26344b;--accent:#8cb7ff;--soft:#1c2e4b;--code:#101a2b;--scrollbar:#3b4e6c;--shadow:0 8px 30px rgb(0 0 0 / 10%)}
body.yaoyao-site{background-color:var(--bg);background-image:url('images/network-grid.svg');background-position:center 120px;background-size:1500px auto;background-repeat:repeat-y;overflow-wrap:anywhere}
.site-header{background:var(--surface);border-color:var(--line)}
.header-inner{max-width:1272px;padding:16px 36px;min-height:84px;gap:27px}
.brand{font-size:21px;font-weight:800;letter-spacing:1px;gap:11px}.brand img{border-radius:10px;width:36px;height:36px;object-fit:contain}.brand:not(:has(img)):before{content:'↗';display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--accent);color:var(--surface);font-size:27px}
#site-navigation{gap:26px;font-size:14px}#site-navigation a[aria-current=page]{color:var(--accent);font-weight:650}.search-toggle,.theme-toggle{border:1px solid var(--line);border-radius:10px;width:36px;height:36px;background:transparent}.search-toggle:hover,.theme-toggle:hover{background:var(--soft)}
.network-workspace{width:calc(100% - 72px);max-width:1200px;margin:30px auto 64px;flex:1;min-width:0}
.network-hero{position:relative;isolation:isolate;overflow:hidden;min-height:342px;border-radius:22px;background:linear-gradient(112deg,#12254c 0%,#17356a 57%,#123764 100%);box-shadow:0 16px 40px rgb(18 42 89 / 13%);color:#fff;margin-bottom:31px}
.network-hero:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(rgb(126 176 239 / 5%) 1px,transparent 1px),linear-gradient(90deg,rgb(126 176 239 / 5%) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(90deg,transparent,#000)}
.hero-copy{position:relative;z-index:2;padding:35px 46px 58px;width:60%}.hero-kicker{font-size:12px;letter-spacing:3px;color:#b4ceef;margin:0 0 14px;display:flex;align-items:center;gap:9px}.hero-kicker>span{width:6px;height:6px;border-radius:50%;background:#77d9eb;box-shadow:0 0 0 4px rgb(119 217 235 / 10%)}
.hero-copy h1{font-size:39px;line-height:1.34;letter-spacing:1px;font-weight:750;margin:0}.hero-copy h1 span{display:block}.hero-copy h1 span+span{color:#92ceff}.hero-description{font-size:13px;line-height:1.9;color:#b6cce7;margin:17px 0 22px}.mobile-break{display:none}.hero-action{display:inline-flex;align-items:center;gap:25px;font-size:13px;font-weight:650;color:#18305b;background:#edf7ff;border:1px solid rgb(255 255 255 / 45%);padding:9px 17px;border-radius:7px;transition:background .2s,transform .2s}.hero-action:hover{color:#18305b;background:#fff;transform:translateY(-2px)}.hero-action>span{font-size:17px;line-height:1}
.hero-art{position:absolute;pointer-events:none;right:-5px;top:-18px;width:62%;height:365px;background:url('images/network-globe.svg') center / contain no-repeat}.node-label{position:absolute;font-size:10px;letter-spacing:1px;border:1px solid rgb(132 189 255 / 22%);background:rgb(22 54 102 / 72%);color:#b8dbfc;border-radius:5px;padding:5px 10px;box-shadow:0 5px 15px rgb(0 0 0 / 6%)}.node-label-one{left:26%;top:28%}.node-label-two{right:15%;top:27%}.node-label-three{right:10%;bottom:17%}
.hero-bottom{position:absolute;bottom:0;left:0;right:0;padding:10px 46px;border-top:1px solid rgb(158 194 250 / 12%);display:flex;justify-content:space-between;align-items:center;color:#8caacc;font-size:10px;letter-spacing:2px;background:rgb(5 19 47 / 12%)}.hero-signal{display:flex;align-items:flex-end;gap:3px;height:12px}.hero-signal i{display:block;width:3px;height:4px;background:#69bee2}.hero-signal i:nth-child(2){height:6px}.hero-signal i:nth-child(3){height:8px}.hero-signal i:nth-child(4){height:10px}.hero-signal i:nth-child(5){height:12px}
.network-columns{display:grid;grid-template-columns:238px minmax(0,1fr);column-gap:28px;align-items:start}.content-column,.reading-content{grid-column:2;grid-row:1;min-width:0}.network-rail{grid-column:1;grid-row:1;min-width:0;display:flex;flex-direction:column;gap:20px}.archive-columns{grid-template-columns:minmax(0,1fr);max-width:940px;margin:auto}.archive-columns .content-column{grid-column:1}.archive-header{padding:17px 0 24px;max-width:940px;margin:auto}.archive-header h1{font-size:32px;margin:4px 0 10px;line-height:1.45}.section-kicker{font-size:12px;letter-spacing:2px;color:var(--accent)}
.section-heading,.rail-label{min-height:34px;display:flex;align-items:center;gap:9px;margin:0 0 13px}.section-heading h2{font-size:16px;font-weight:750;margin:0}.section-heading>span{font-size:11px;color:var(--muted);margin-left:auto}.rail-label{font-size:13px;font-weight:650;margin:0 0 -7px}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--accent)}
.network-entries{display:flex;flex-direction:column;gap:20px}.home-feature,.network-card,.reading-content>article{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);overflow:hidden}.home-feature{border-top:3px solid var(--accent);scroll-margin-top:24px}.feature-header{padding:25px 32px 22px;border-bottom:1px solid var(--line)}.feature-eyebrow{display:flex;gap:9px;align-items:center;font-size:11px;color:var(--accent);margin-bottom:15px}.feature-eyebrow>span:first-child{font-weight:650;letter-spacing:1px}.feature-pin{background:var(--soft);border-radius:4px;padding:1px 7px}.fulltext-label{margin-left:auto;color:var(--muted)}.feature-header h2{font-size:26px;line-height:1.55;letter-spacing:-.3px;margin:0 0 14px;font-weight:750}.metadata{font-size:11px;gap:16px;color:var(--muted);display:flex;flex-wrap:wrap}.metadata a{color:var(--accent)}
.home-feature-body{padding:25px 32px 20px}.home-feature-body:not(.is-rendered){white-space:pre-wrap;overflow-wrap:anywhere}.home-feature-body.is-rendered{white-space:normal}.home-feature>.card-summary,.feature-unavailable{margin:25px 32px}.prose{font-size:15px;line-height:1.95;color:var(--text);overflow-wrap:anywhere}.prose> :first-child{margin-top:0}.prose h2,.prose h3,.prose h4{color:var(--text);line-height:1.65}.prose h2{font-size:23px;margin:34px 0 17px}.prose h3{font-size:20px;margin:30px 0 15px}.prose h4{font-size:17px}.prose p,.prose ul,.prose ol{margin:0 0 19px}.prose strong{font-weight:650}.prose blockquote{margin:23px 0;background:var(--soft);border-left:3px solid var(--accent);border-radius:0 8px 8px 0;padding:15px 20px;color:var(--text)}.prose blockquote p:last-child{margin-bottom:0}.prose img{display:block;width:auto;max-width:100%;height:auto;max-height:none;object-fit:contain;border-radius:9px;margin:22px auto;background:var(--code)}.prose table{display:block;max-width:100%;width:100%;overflow-x:auto;border-collapse:collapse;border:1px solid var(--line);border-radius:8px;margin:24px 0;font-size:13px;line-height:1.8}.prose td,.prose th{padding:11px 13px;border:1px solid var(--line);min-width:96px}.prose th{background:var(--soft);font-weight:650;color:var(--text)}.prose pre{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:8px;font-size:12px;padding:18px;white-space:pre}.prose a{text-decoration-color:color-mix(in srgb,var(--accent) 35%,transparent);text-underline-offset:4px}.prose figure{max-width:100%;margin:22px 0}.prose figcaption{font-size:12px;text-align:center;color:var(--muted)}
.feature-footer{padding:18px 32px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;align-items:center;background:var(--soft);font-size:11px;color:var(--muted)}.feature-footer a{color:var(--accent);font-weight:650;white-space:nowrap}.feature-image-fallback{display:block;padding:15px;background:var(--soft);border-radius:8px}
.network-card,.network-card:first-child{padding:25px 30px;border:1px solid var(--line);margin:0}.network-card h2{margin:6px 0 10px;font-size:20px;line-height:1.6}.card-topic{display:flex;gap:10px;font-size:10px;letter-spacing:1px;color:var(--accent)}.network-card .card-summary{font-size:13px;line-height:1.9;margin:0 0 18px;color:var(--muted);display:block;-webkit-line-clamp:unset}.card-footer{font-size:11px}.card-footer>span{gap:14px;display:flex;flex-wrap:wrap}.read-more{color:var(--accent)}.pinned{font-size:10px;background:var(--soft);color:var(--accent);border-radius:4px}.pagination{padding:23px 0;margin:15px 0 0;font-size:12px;border-color:var(--line)}
.network-rail .ad-slot{display:flex;flex-direction:column;gap:17px;margin:0}.ad-card{position:relative;border:1px solid var(--line);background:var(--surface);border-radius:12px;box-shadow:var(--shadow);overflow:hidden;transition:border-color .2s,transform .2s}.ad-card:hover{border-color:var(--accent);transform:translateY(-2px)}.ad-card .ad-badge{font-size:9px;color:var(--muted)}.ad-copy{padding:13px;line-height:1.8;font-size:12px}.ad-copy h2,.ad-copy h3{font-size:15px;line-height:1.7;margin:9px 0 3px;color:var(--text)}.ad-copy p{margin:0 0 8px}.ad-copy p:last-child{margin-bottom:0}.ad-copy img,.ad-image{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:7px}.ad-copy pre,.ad-copy table{max-width:100%;overflow:auto}.ad-slot-wide{margin-bottom:28px}.ad-slot-wide .ad-card{border-radius:14px}
.home-sidebar{width:100%;border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:20px 17px;box-shadow:var(--shadow)}.sidebar-section+.sidebar-section{margin-top:25px}.sidebar-section h2{font-size:12px;letter-spacing:1px;margin:0 0 13px}.category-list{gap:3px}.category-list a{padding:7px 0;font-size:11px}.taxonomy-count{font-size:10px;color:var(--muted);background:var(--bg);min-width:22px;padding:0 4px;text-align:center;border-radius:4px}.tag-list{gap:6px}.tag-list a{font-size:10px;padding:3px 7px;border-radius:5px;background:var(--bg);border:1px solid var(--line);color:var(--muted)}.tag-hash{color:var(--accent)}.tag-count{font-size:9px}
.network-reading{margin-top:22px;margin-bottom:32px}.reading-content>article{padding:30px 34px}.reading-content .article-header{padding:0 0 25px;margin-bottom:25px;border-bottom:1px solid var(--line)}.article-header h1{font-size:30px;line-height:1.5;margin:12px 0}.reading-content .prose{padding:0}.reading-columns .article-rail{position:static;max-height:none}.article-rail .toc{position:static;max-height:none;width:100%;background:var(--surface);border:1px solid var(--line);padding:20px 17px;border-radius:12px;margin:0}.toc>div{font-size:12px;color:var(--text);font-weight:650}.toc a{font-size:11px;line-height:1.8;overflow-wrap:anywhere}.toc nav{max-height:none}.breadcrumbs{grid-column:1/-1;font-size:11px;margin-bottom:20px}.empty{padding:70px 25px;background:var(--surface);border:1px solid var(--line);border-radius:14px}.empty h1{font-size:30px}.site-footer{border-top:1px solid var(--line);padding:25px 24px;background:var(--surface);font-size:11px;line-height:1.8}.friend-links{gap:8px 19px;font-size:11px}.friend-links-label{color:var(--muted)}.article-page>.site-footer{padding:10px 24px;font-size:10px}.article-page>.site-footer .friend-links{font-size:10px}.reader-dialog{border-radius:15px}.back-to-top{background:var(--surface);border:1px solid var(--line);border-radius:10px;color:var(--accent)}
@media(min-width:761px) and (max-width:1100px){.header-inner{gap:16px}#site-navigation{gap:14px;font-size:12px}.network-columns{grid-template-columns:215px minmax(0,1fr);gap:22px}.archive-columns{grid-template-columns:1fr}.hero-copy{width:65%;padding-left:34px}.hero-copy h1{font-size:35px}.hero-art{right:-60px;opacity:.85}.feature-header h2{font-size:23px}.feature-header,.home-feature-body{padding-left:25px;padding-right:25px}}
@media(max-width:760px){.header-inner{padding:14px 19px;gap:12px;min-height:70px}.brand{font-size:18px;letter-spacing:.5px;gap:9px}.brand img{width:32px;height:32px}.search-toggle,.theme-toggle{width:32px;height:32px}#site-navigation{background:var(--surface);gap:5px;font-size:13px}.network-workspace{width:calc(100% - 32px);margin:18px auto 36px}.network-hero{border-radius:16px;min-height:350px;margin-bottom:24px}.hero-copy{width:100%;padding:27px 24px 60px}.hero-kicker{font-size:10px;letter-spacing:2px;margin-bottom:17px}.hero-copy h1{font-size:30px;letter-spacing:.3px;line-height:1.4}.hero-description{font-size:11px;margin:17px 0 20px;line-height:1.9}.mobile-break{display:block}.hero-action{font-size:11px;padding:8px 12px;gap:18px}.hero-art{width:335px;height:260px;right:-150px;top:80px;opacity:.5}.node-label{display:none}.hero-bottom{padding:11px 24px;font-size:8px;letter-spacing:1px}.network-columns{grid-template-columns:minmax(0,1fr);gap:26px}.content-column,.reading-content{grid-column:1;grid-row:1}.network-rail{grid-column:1;grid-row:2;gap:15px}.home-sidebar{display:none}.rail-label{margin:0}.network-rail .ad-slot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ad-copy{padding:10px}.ad-copy h2,.ad-copy h3{font-size:12px}.ad-card .ad-badge{font-size:8px}.section-heading{margin-bottom:12px}.section-heading h2{font-size:14px}.section-heading>span{font-size:9px}.feature-header{padding:20px 20px 18px}.feature-header h2{font-size:21px;line-height:1.65;letter-spacing:0}.feature-eyebrow{font-size:10px;margin-bottom:12px}.metadata{font-size:10px;gap:7px 12px}.home-feature-body{padding:20px}.prose{font-size:14px;line-height:1.95}.prose h2{font-size:21px}.prose h3{font-size:18px}.prose h4{font-size:16px}.prose td,.prose th{padding:9px 11px;min-width:92px}.feature-footer{padding:15px 20px;font-size:10px;align-items:flex-start;flex-direction:column;gap:7px}.network-card,.network-card:first-child{padding:20px}.network-card h2{font-size:18px}.network-card .card-summary{font-size:12px}.card-footer{font-size:10px;gap:10px}.card-footer>span{gap:9px}.home-feature,.network-card,.reading-content>article{border-radius:11px}.reading-content>article{padding:23px 20px}.article-header h1{font-size:24px}.article-rail .toc{display:none}.site-footer{padding:20px 16px;font-size:10px}.friend-links{font-size:10px;gap:7px 13px}.article-page>.site-footer{padding:8px 16px}.article-page>.site-footer .friend-links{display:none}.archive-header h1{font-size:27px}.archive-header{padding-top:5px}.site-banners{border-radius:14px}}
@media(max-width:350px){.network-rail .ad-slot{grid-template-columns:1fr}.hero-copy h1{font-size:27px}.brand{font-size:16px}.header-inner{gap:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

[data-ad-position="home_sidebar"] .ad-badge,[data-ad-position="article_sidebar"] .ad-badge{justify-content:flex-end}
