.route-article .v2-rich-content h2,.route-article .v2-rich-content h3{scroll-margin-top:32px}
.route-article .jy-code-wrap{position:relative;margin:25px 0;max-width:100%;background:#f5f7fa;border:1px solid #edf0f4;border-radius:5px;overflow:hidden}
.route-article .jy-code-wrap pre{margin:0;max-width:100%;overflow-x:auto;padding:48px 20px 19px;background:transparent;color:#263346;font-size:14px;line-height:1.7;white-space:pre}
.jy-code-tools{position:absolute;right:9px;top:9px;z-index:1;display:flex;gap:6px}
.jy-code-tools button{border:1px solid #dce2eb;background:#fff;color:#53627a;border-radius:3px;padding:4px 10px;font-size:12px;cursor:pointer}
.jy-code-tools button:hover{color:#1464e8;border-color:#1464e8}
@media(min-width:781px){.route-article .v2-author-bar{position:sticky;bottom:0;z-index:45;min-height:68px;box-shadow:0 -5px 16px rgba(17,33,58,.06)}}
.jy-reader-rail{position:fixed;right:17px;bottom:34px;z-index:60;display:flex;flex-direction:column;gap:8px}
.jy-reader-button{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #e5e9f0;border-radius:5px;background:#fff;color:#596779;box-shadow:0 2px 9px rgba(25,38,63,.08);cursor:pointer}
.jy-reader-button:hover{color:#1765e9;border-color:#1765e9}
.jy-reader-button[hidden],.jy-reader-drawer[hidden],.jy-reader-overlay[hidden]{display:none!important}
.jy-reader-overlay{position:fixed;inset:0;z-index:79;background:rgba(15,23,42,.43)}
.jy-reader-drawer{position:fixed;top:0;left:0;bottom:0;width:min(360px,85vw);z-index:80;overflow-y:auto;background:#fff;box-shadow:4px 0 24px rgba(0,0,0,.12)}
.jy-reader-drawer-title{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e9edf2;background:inherit;color:#172338;font-weight:700}
.jy-reader-drawer-title .jy-reader-button{width:32px;height:32px;box-shadow:none}
.jy-reader-drawer nav{display:flex;flex-direction:column;padding:15px 20px}
.jy-reader-drawer nav a{display:block;padding:11px 8px;border-left:2px solid #e7ebf0;color:#39475d;text-decoration:none;line-height:1.5}
.jy-reader-drawer nav a:hover{border-left-color:#1765e9;color:#1765e9;background:#f4f7fc}
.jy-reader-drawer nav a.is-subheading{padding-left:22px;font-size:14px}
.jy-reader-drawer nav p{color:#8a96a6}
body.jy-reader-drawer-open{overflow:hidden}
#jy-reader-notice{position:fixed;left:50%;bottom:85px;z-index:90;transform:translateX(-50%);padding:10px 16px;background:#233047;color:#fff;border-radius:4px;opacity:0;pointer-events:none;transition:opacity .2s}
#jy-reader-notice.is-visible{opacity:1}
.jy-reader-mobilebar{display:none}
.route-article .v2-side-directory{cursor:pointer}
.route-article .v2-side-directory{flex-direction:column;align-items:stretch;max-height:calc(100vh - 16px);overflow-y:auto;cursor:default}
.route-article .jy-reader-side-head{display:flex;align-items:center;gap:10px;padding-bottom:13px;border-bottom:1px solid #e8ebf0}
.route-article .jy-reader-side-head span{margin-left:0}
.route-article .jy-reader-side-head b{margin-left:auto}
.route-article .jy-reader-side-nav{display:flex;flex-direction:column;padding:9px 0 4px}
.route-article .jy-reader-side-nav a{display:block;padding:9px 8px;border-left:2px solid transparent;color:#57657a;text-decoration:none;font-size:14px;line-height:1.45}
.route-article .jy-reader-side-nav a:hover,.route-article .jy-reader-side-nav a.is-active{border-left-color:#1765e9;color:#1765e9;background:#f5f8fd}
.route-article .jy-reader-side-nav a.is-subheading{padding-left:22px;font-size:13px}
.route-article .jy-reader-side-nav p{color:#8c96a4;font-size:13px}
html.jy-article-dark body.route-article{background:#171b24;color:#dce3ed}
html.jy-article-dark body.route-article .site-header,html.jy-article-dark body.route-article .nav-sub,html.jy-article-dark body.route-article .v2-detail-main,html.jy-article-dark body.route-article .v2-detail-article,html.jy-article-dark body.route-article .v2-detail-side,html.jy-article-dark body.route-article .v2-comments,html.jy-article-dark body.route-article .sidebar-card,html.jy-article-dark body.route-article .site-footer,html.jy-article-dark body.route-article .v2-author-bar{background:#1d2430;color:#dce3ed;border-color:#343c49}
html.jy-article-dark body.route-article h1,html.jy-article-dark body.route-article h2,html.jy-article-dark body.route-article h3,html.jy-article-dark body.route-article strong,html.jy-article-dark body.route-article .v2-rich-content{color:#e9edf3}
html.jy-article-dark body.route-article p,html.jy-article-dark body.route-article span,html.jy-article-dark body.route-article small{color:#b6c1cf}
html.jy-article-dark body.route-article a{color:#88b6ff}
html.jy-article-dark body.route-article .v2-detail-summary,html.jy-article-dark body.route-article .signin-hint{background:#273140;color:#cad4e2}
html.jy-article-dark body.route-article .jy-code-wrap,html.jy-article-dark body.route-article .v2-rich-content pre{background:#141a23;color:#d8e4f0;border-color:#394455}
html.jy-article-dark body.route-article textarea,html.jy-article-dark body.route-article input{background:#252f3d;color:#e8edf5;border-color:#445064}
html.jy-article-dark .jy-reader-button,html.jy-article-dark .jy-reader-drawer,html.jy-article-dark .jy-code-tools button,html.jy-article-dark .jy-reader-mobilebar{background:#232d3a;color:#dce3ed;border-color:#3b4757}
html.jy-article-dark .jy-reader-drawer-title,html.jy-article-dark .jy-reader-drawer nav a{color:#dce3ed;border-color:#3b4757}
html.jy-article-dark .jy-reader-drawer nav a:hover{background:#303c4e}
html.jy-article-dark .route-article .jy-reader-side-head{border-color:#3b4757}
html.jy-article-dark .route-article .jy-reader-side-nav a{color:#c2ccda}
html.jy-article-dark .route-article .jy-reader-side-nav a:hover,html.jy-article-dark .route-article .jy-reader-side-nav a.is-active{background:#303c4e;color:#8bb7ff}
.route-article .v2-author-bar .avatar,.route-article .v2-comments .avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;text-decoration:none}
.route-article .v2-comments .comment strong a{color:inherit;text-decoration:none}
.route-article .v2-comments .comment strong a:hover,.route-article .v2-author-bar .avatar:hover{color:#1765e9}
.v2-related-articles{padding:30px 40px 42px;border-top:1px solid #e8ebf0;background:#fff}
.v2-related-articles h2{margin:0 0 8px;font-size:20px;line-height:1.4;color:#1b293d}
.v2-related-item{padding:18px 0 20px;border-bottom:1px solid #edf0f4}
.v2-related-item:last-child{border-bottom:0}
.v2-related-meta,.v2-related-stats{display:flex;flex-wrap:wrap;gap:8px;color:#8c98a9;font-size:13px;line-height:1.5}
.v2-related-meta a{color:#67758a;text-decoration:none}
.v2-related-item h3{margin:6px 0;font-size:18px;font-weight:500;line-height:1.5}
.v2-related-item h3 a{color:#1d2b40;text-decoration:none}
.v2-related-item h3 a:hover,.v2-related-meta a:hover{color:#1765e9}
.v2-related-item p{margin:0 0 8px;color:#758297;font-size:14px;line-height:1.65;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.v2-related-stats{gap:17px}
.v2-related-empty{color:#8995a5;font-size:14px}
html.jy-article-dark body.route-article .v2-related-articles{background:#1d2430;border-color:#343c49}
html.jy-article-dark body.route-article .v2-related-item{border-color:#343c49}
html.jy-article-dark body.route-article .v2-related-item h3 a{color:#e9edf3}
html.jy-article-dark body.route-article .v2-related-item p{color:#b6c1cf}
@media(max-width:780px){
  .route-article{padding-bottom:calc(66px + env(safe-area-inset-bottom))}
  .jy-reader-rail{right:10px;bottom:calc(79px + env(safe-area-inset-bottom))}
  .jy-reader-rail .jy-reader-button{width:36px;height:36px;background:rgba(255,255,255,.94)}
  .jy-reader-mobilebar{position:fixed;left:0;right:0;bottom:0;z-index:65;display:flex;align-items:center;gap:8px;min-height:54px;padding:6px 13px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e9edf2;box-shadow:0 -2px 8px rgba(20,35,60,.05)}
  .jy-reader-mobilebar .jy-reader-comment{flex:1;min-width:0;height:38px;border:1px solid #e5eaf2;border-radius:20px;padding:0 13px;text-align:left;background:#f5f7fa;color:#8893a2;font-size:13px;cursor:pointer}
  .jy-reader-mobilebar .jy-reader-reaction button{height:38px;min-width:43px;border:0;background:transparent;color:#64748b;font-size:17px;white-space:nowrap;cursor:pointer}
  .jy-reader-mobilebar .jy-reader-reaction button.active{color:#f07835}
  .jy-reader-mobilebar .jy-reader-button{width:38px;height:38px;border:0;box-shadow:none}
  html.jy-article-dark .jy-reader-mobilebar .jy-reader-comment{background:#19212c;color:#aebacf;border-color:#394455}
  .v2-related-articles{padding:23px 18px 30px}
  .v2-related-item h3{font-size:17px}
}
