/* yj-disabled-legacy-search */
#book-search-results > .search-results{display:none!important}
#book-search-results > .search-noresults{display:block!important}

/* yj-lite-search-style */
#book-search-input{position:relative}
#yj-lite-search-results{position:absolute;z-index:1000;top:100%;left:0;right:0;max-height:460px;overflow:auto;background:#fff;border:1px solid #dbe5f1;border-top:0;border-radius:0 0 10px 10px;box-shadow:0 12px 28px rgba(15,23,42,.16)}
#yj-lite-search-results:empty{display:none}
.yj-lite-search-item{display:block;padding:11px 14px;border-bottom:1px solid #eef2f7;color:#1e40af;text-decoration:none}
.yj-lite-search-item:hover{background:#f6faff}.yj-lite-search-item:last-child{border-bottom:0}
.yj-lite-search-titleline{display:flex;align-items:center;gap:8px;min-width:0}
.yj-lite-search-item strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;color:#1d4e89}
.yj-lite-search-category{flex:none;max-width:38%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 7px;border-radius:999px;background:#eaf3ff;color:#3674b8;font-size:11px;line-height:1.35}
.yj-lite-search-item span{display:block;margin-top:4px;font-size:12px;color:#64748b;line-height:1.5}.yj-lite-search-item mark{padding:0 1px;border-radius:2px;background:#fff0b8;color:#92400e}
.yj-lite-search-empty{padding:13px 14px;color:#64748b;font-size:13px;line-height:1.55}.yj-lite-search-empty b{display:block;color:#475569;font-size:13px}.yj-lite-search-empty p{margin:3px 0 0}
.yj-lite-search-suggest{padding:0 14px 12px;color:#64748b;font-size:12px}.yj-lite-search-suggest b{display:block;margin:0 0 5px;color:#475569}.yj-lite-search-suggest a{display:block;padding:3px 0;color:#2563b8;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){#yj-lite-search-results{max-height:55vh}.yj-lite-search-category{max-width:42%}}

/* yj-dashboard-global-style */
.yjcards{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:16px 0}.yjcards div{padding:14px;border:1px solid #e5e7eb;border-radius:8px;text-align:center}.yjcards b{display:block;font-size:25px;color:#334155}.yjcards span,.yjnote{color:#64748b;font-size:13px}.yjtrend{margin:24px 0}.yjtrend h2,#yj-website-data h2{color:#334155}.yjlegend{font-size:13px;color:#64748b;margin:-4px 0 5px}.yjlegend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin:0 4px 0 13px}.yjlegend i:first-child{margin-left:0}.yjlegend .pv{background:#2563eb}.yjlegend .uv{background:#14b8a6}.yjtrend svg{width:100%;height:auto;border:1px solid #e5e7eb;border-radius:8px;background:#fff}.yjtrend .grid line{stroke:#e5e7eb}.yjtrend text{font-size:11px;fill:#64748b}.yjtrend polyline{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.yjtrend .pvline{stroke:#2563eb}.yjtrend .uvline{stroke:#14b8a6}.yj-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:24px 0}.yj-region-panel{grid-column:1/-1}.yj-top-list{padding-left:22px}.yj-top-list li{padding:4px 0}.yj-top-list b{color:#334155;font-weight:600}@media(max-width:700px){.yjcards,.yj-data-grid{grid-template-columns:1fr}.yj-region-panel{grid-column:auto}}

/* yj-region-map-style */
#yj-website-data .yj-region-map{margin:34px 0 28px;padding:22px;overflow:hidden;border:1px solid #1d5c89;border-top:4px solid #14b8d4;border-radius:18px;background:radial-gradient(circle at 50% 38%,rgba(14,165,233,.19),transparent 32%),linear-gradient(135deg,#07182d,#0a2340 58%,#071a31);box-shadow:0 14px 34px rgba(15,44,75,.21);color:#e4f5ff}
#yj-website-data .yj-region-map-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin:0 0 12px}
#yj-website-data .yj-region-map .yj-region-map-title{margin:0;color:#f4fbff!important;font-size:24px;text-shadow:0 1px 2px rgba(0,0,0,.75),0 0 10px rgba(53,211,234,.18)}
.yj-region-map-title:before{content:"";display:inline-block;width:10px;height:10px;margin:0 8px 2px 0;border-radius:50%;background:#35d3ea;box-shadow:0 0 12px #35d3ea}
.yj-region-map-note{margin:0;color:#9bc2db;font-size:13px}
.yj-region-map svg{display:block;width:100%;min-height:405px}
.yj-map-province{fill:rgba(100,169,205,.13);stroke:rgba(137,215,247,.45);stroke-width:1.15}
.yj-map-province.hot{fill:rgba(34,211,238,.22)}
.yj-map-flow{fill:none;stroke-linecap:round;stroke-dasharray:9 14;filter:drop-shadow(0 0 4px currentColor);animation:yjflow var(--s,2s) linear infinite}
.yj-map-flow-glow{fill:none;stroke:#fff;stroke-opacity:.4;stroke-linecap:round;stroke-dasharray:2 21;animation:yjflow var(--s,2s) linear infinite reverse}
.yj-map-dot{fill:#eaffff;stroke:#28d8ed;stroke-width:2}
.yj-map-hub{fill:#fff;stroke:#6af6ff;stroke-width:3;filter:drop-shadow(0 0 13px #29dbe9)}
.yj-map-label{fill:#dff8ff;font-size:15px;font-weight:600;paint-order:stroke;stroke:#09233e;stroke-width:3px}
.yj-map-value{fill:#7deaf7;font-size:12px;font-weight:700;paint-order:stroke;stroke:#09233e;stroke-width:3px}
@keyframes yjflow{to{stroke-dashoffset:-92}}
@media(max-width:700px){.yj-region-map-title{font-size:20px}.yj-region-map svg{min-height:260px}.yj-map-label{font-size:12px}.yj-map-value{font-size:10px}}

/* yj-dashboard-polish-style */
#yj-website-data .yj-dashboard-status{margin:0 0 18px;padding:9px 12px;border:1px solid #dbeafe;border-radius:8px;background:#f8fbff;color:#52708e;font-size:13px}
#yj-website-data .yj-data-grid{gap:20px;margin-top:28px}
#yj-website-data .yj-ranking-card{position:relative;overflow:hidden;padding:20px 22px 16px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 8px 22px rgba(15,23,42,.06)}
#yj-website-data .yj-ranking-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:#2563eb}
#yj-website-data .yj-ranking-card.yj-period-seven:before{background:#7c3aed}
#yj-website-data .yj-ranking-card.yj-region-card:before{background:#0891b2}
#yj-website-data .yj-ranking-card.yj-country-card:before{background:#ea580c}
#yj-website-data .yj-ranking-card h2{display:flex;align-items:center;gap:9px;margin:0 0 12px;font-size:22px;color:#1e3a5f}
#yj-website-data .yj-card-mark{width:10px;height:10px;border-radius:50%;background:#2563eb;box-shadow:0 0 0 5px #dbeafe;flex:none}
#yj-website-data .yj-period-seven .yj-card-mark{background:#7c3aed;box-shadow:0 0 0 5px #ede9fe}
#yj-website-data .yj-region-card .yj-card-mark{background:#0891b2;box-shadow:0 0 0 5px #cffafe}
#yj-website-data .yj-country-card .yj-card-mark{background:#ea580c;box-shadow:0 0 0 5px #ffedd5}
#yj-website-data .yj-ranking-card .yj-top-list{padding:0;margin:0;list-style:none;counter-reset:rank}
#yj-website-data .yj-ranking-card .yj-top-list li{display:flex;align-items:center;gap:9px;min-height:34px;padding:5px 7px;border-radius:7px;color:#334155}
#yj-website-data .yj-ranking-card .yj-top-list li:hover{background:#eff6ff}
#yj-website-data .yj-rank{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;border-radius:6px;background:#f1f5f9;color:#64748b;font-size:12px;font-weight:700;flex:none}
#yj-website-data .yj-top-list li:nth-child(1) .yj-rank{background:#fef3c7;color:#b45309}
#yj-website-data .yj-top-list li:nth-child(2) .yj-rank{background:#e2e8f0;color:#475569}
#yj-website-data .yj-top-list li:nth-child(3) .yj-rank{background:#ffedd5;color:#c2410c}
#yj-website-data .yj-ranking-card a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#yj-website-data .yj-ranking-card b{margin-left:auto;padding-left:10px;color:#0f2e55;font-variant-numeric:tabular-nums;font-size:15px}
@media(max-width:700px){#yj-website-data .yj-dashboard-status{font-size:12px}#yj-website-data .yj-data-grid{gap:14px}#yj-website-data .yj-ranking-card{padding:18px 15px}#yj-website-data .yj-ranking-card h2{font-size:20px}}

/* yj-article-catalog-style */
.yj-catalog-nav{margin:18px 0 20px;padding:14px 17px;border:1px solid #d8e5f3;border-radius:10px;background:linear-gradient(135deg,#f8fbff,#f1f7ff)}
.yj-catalog-nav-title{display:flex;align-items:center;gap:7px;margin:0 0 8px;color:#1e3a5f;font-size:14px;font-weight:700}.yj-catalog-nav-title:before{width:4px;height:15px;border-radius:4px;background:#2563eb;content:""}
.yj-catalog-nav-list{display:flex;flex-wrap:wrap;gap:7px;margin:0;padding:0;list-style:none}.yj-catalog-nav-list button{padding:5px 9px;border:1px solid #cfe0f3;border-radius:999px;background:#fff;color:#315d93;font:inherit;font-size:13px;line-height:1.35;cursor:pointer}.yj-catalog-nav-list button:hover,.yj-catalog-nav-list button:focus{border-color:#60a5fa;background:#eff6ff;color:#1d4ed8;outline:0}
.yj-catalog-tools{display:flex;gap:10px;align-items:center;margin:20px 0}.yj-catalog-search{flex:1;min-width:0;padding:10px 13px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px}.yj-catalog-toggle{padding:10px 13px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;cursor:pointer}.yj-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.yj-catalog-card{border:1px solid #e2e8f0;border-radius:12px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 6px 18px rgba(15,23,42,.05);overflow:hidden}.yj-catalog-card:target{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(96,165,250,.18),0 6px 18px rgba(15,23,42,.05)}.yj-catalog-heading{width:100%;display:flex;align-items:center;gap:10px;padding:15px 16px;border:0;background:#fff;color:#1e3a5f;text-align:left;font-size:17px;font-weight:700;cursor:pointer}.yj-catalog-heading:before{content:"";width:9px;height:9px;border-radius:50%;background:#2563eb;box-shadow:0 0 0 4px #dbeafe;flex:none}.yj-catalog-heading:after{content:"⌄";margin-left:auto;color:#64748b;transition:transform .2s}.yj-catalog-card.is-open .yj-catalog-heading:after{transform:rotate(180deg)}.yj-catalog-count{margin-left:auto;margin-right:8px;padding:2px 8px;border-radius:999px;background:#eff6ff;color:#2563eb;font-size:12px;font-weight:600}.yj-catalog-body{padding:0 16px 14px;border-top:1px solid #f1f5f9}.yj-catalog-body h3{margin:16px 0 7px;font-size:14px;color:#475569}.yj-catalog-body ul{margin:0;padding-left:20px}.yj-catalog-body li{padding:3px 0;line-height:1.5}.yj-catalog-body a{font-size:14px}@media(max-width:760px){.yj-catalog-grid{grid-template-columns:1fr}.yj-catalog-tools{flex-wrap:wrap}.yj-catalog-toggle{width:100%}.yj-catalog-nav-list{gap:6px}}

/* yj-recent-updates-style */
.yj-recent-container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0}.yj-recent-month{margin:0;padding:20px;border:1px solid #e2e8f0;border-radius:12px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 6px 18px rgba(15,23,42,.05)}.yj-recent-month-title{margin:0 0 13px;padding-bottom:11px;border-bottom:1px solid #e8eef5;color:#1e3a5f;font-size:19px}.yj-recent-month-title:before{content:"";display:inline-block;width:8px;height:8px;margin-right:9px;border-radius:50%;background:#2563eb;box-shadow:0 0 0 4px #dbeafe}.yj-recent-list{display:grid;gap:4px}.yj-recent-card{display:flex;gap:10px;align-items:center;padding:9px 10px;border-radius:7px;text-decoration:none!important;transition:background .15s}.yj-recent-card:hover{background:#eff6ff}.yj-recent-card-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2563eb;font-weight:500}.yj-recent-card-date{margin-left:auto;flex:none;padding:2px 7px;border-radius:999px;background:#eff6ff;color:#64748b;font-size:12px}@media(max-width:760px){.yj-recent-container{grid-template-columns:1fr;gap:14px}.yj-recent-month{padding:16px}.yj-recent-card-title{white-space:normal}.yj-recent-card-date{font-size:11px}}

/* yj-reading-experience-style */
.page-inner{max-width:1080px!important;padding:30px 24px 50px!important}
.book-summary,.book-header,.markdown-section{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",Arial,sans-serif}
.markdown-section{font-size:16px;line-height:1.8;color:#334155;text-rendering:optimizeLegibility;line-break:strict;word-break:normal;overflow-wrap:break-word;font-variant-numeric:tabular-nums}
.markdown-section>p,.markdown-section>ul,.markdown-section>ol,.markdown-section>blockquote{max-width:900px}
.markdown-section p{margin-bottom:1.05em}
.markdown-section>ul,.markdown-section>ol{margin-bottom:1.08em}
.markdown-section li{margin:.28em 0}
.markdown-section h1{margin:0 0 1.05em;color:#173b68;font-size:2em;line-height:1.25;font-weight:700;letter-spacing:-.02em}
.markdown-section h2{margin:1.95em 0 .8em;padding:0 0 9px 13px;border-bottom:1px solid #dce7f3;border-left:4px solid #2563eb;color:#1e3a5f;font-size:1.5em;line-height:1.35;font-weight:700}
.markdown-section h3{margin:1.6em 0 .65em;color:#24558c;font-size:1.22em;line-height:1.4;font-weight:650}
.markdown-section h4{margin:1.4em 0 .55em;color:#315d93;font-size:1.06em;line-height:1.45;font-weight:600}
.markdown-section h2,.markdown-section h3,.markdown-section h4{scroll-margin-top:76px}
.markdown-section>p a,.markdown-section>ul a,.markdown-section>ol a,.markdown-section>blockquote a,.markdown-section td a{color:#2563eb;text-decoration:underline;text-decoration-color:rgba(37,99,235,.34);text-decoration-thickness:1px;text-underline-offset:3px;transition:color .15s ease,text-decoration-color .15s ease}
.markdown-section>p a:hover,.markdown-section>ul a:hover,.markdown-section>ol a:hover,.markdown-section>blockquote a:hover,.markdown-section td a:hover{color:#1d4ed8;text-decoration-color:currentColor}
.markdown-section a:focus-visible,.yj-code-copy:focus-visible,.yj-code-wrap-toggle:focus-visible{outline:2px solid #60a5fa;outline-offset:3px;border-radius:4px}

/* Callouts: automatically classified from the first keyword in a blockquote. */
.markdown-section blockquote{margin:1.2em 0;padding:14px 17px;border:1px solid #bfdbfe;border-left:4px solid #3b82f6;border-radius:9px;background:#eff6ff;color:#334155}
.markdown-section blockquote.yj-callout:before{display:block;margin:0 0 5px;color:#1d4ed8;font-size:13px;font-weight:700;content:attr(data-yj-label)}
.markdown-section blockquote.yj-callout p:last-child{margin-bottom:0}
.markdown-section blockquote.yj-callout-warning,.markdown-section .alert-warning,.markdown-section .hint-warning{border-color:#fde68a;border-left-color:#f59e0b;background:#fffbeb}
.markdown-section blockquote.yj-callout-warning:before{color:#b45309}
.markdown-section blockquote.yj-callout-danger,.markdown-section .alert-danger,.markdown-section .hint-danger{border-color:#fecaca;border-left-color:#ef4444;background:#fef2f2}
.markdown-section blockquote.yj-callout-danger:before{color:#b91c1c}
.markdown-section blockquote.yj-callout-success,.markdown-section .alert-success,.markdown-section .hint-success{border-color:#bbf7d0;border-left-color:#22c55e;background:#f0fdf4}
.markdown-section blockquote.yj-callout-success:before{color:#15803d}
.markdown-section .alert,.markdown-section .hint,.markdown-section .markdown-alert{margin:1.2em 0;padding:14px 17px;border:1px solid #bfdbfe;border-left:4px solid #3b82f6;border-radius:9px;background:#eff6ff;color:#334155}

/* Code blocks: language label, copy feedback and optional wrapping. */
.markdown-section pre{max-width:100%;overflow-x:auto;margin:1.2em 0;padding:16px 18px;border:1px solid #1e293b;border-radius:10px;background:#0f172a;color:#e2e8f0;box-shadow:0 6px 18px rgba(15,23,42,.14);-webkit-overflow-scrolling:touch}
.markdown-section pre code{background:transparent!important;color:inherit!important;line-height:1.65}
.markdown-section :not(pre)>code{padding:2px 5px;border-radius:4px;background:#eff6ff;color:#1d4f91}
.markdown-section .code-wrapper{position:relative;margin:1.2em 0}
.markdown-section .code-wrapper pre{margin:0;padding-top:48px}
.markdown-section .code-wrapper.yj-code-ready .t-copy{display:none!important}
.yj-code-toolbar{position:absolute;z-index:2;top:9px;right:10px;display:flex;align-items:center;gap:7px}
.yj-code-lang{padding:3px 7px;border:1px solid rgba(148,163,184,.35);border-radius:999px;color:#cbd5e1;font-size:11px;font-weight:700;letter-spacing:.04em;line-height:1}
.yj-code-copy,.yj-code-wrap-toggle{min-width:48px;padding:5px 8px;border:1px solid rgba(125,211,252,.45);border-radius:6px;background:rgba(30,41,59,.92);color:#e0f2fe;font:inherit;font-size:12px;line-height:1.1;cursor:pointer}
.yj-code-copy:hover,.yj-code-wrap-toggle:hover{border-color:#7dd3fc;background:#0e7490;color:#fff}
.yj-code-copy.is-copied{border-color:#6ee7b7;color:#d1fae5}
.markdown-section pre .code-line{min-width:max-content}
.markdown-section pre .code-line:before{color:#94a3b8!important}
.markdown-section .code-wrapper.yj-code-wrap pre,.markdown-section .code-wrapper.yj-code-wrap pre code{white-space:pre-wrap!important;word-break:break-word!important;overflow-wrap:anywhere}
.markdown-section .code-wrapper.yj-code-wrap pre .code-line{min-width:0!important;white-space:pre-wrap!important}
.markdown-section .yj-code-fallback{margin:-4px 0 12px;color:#64748b;font-size:12px}

/* Images: consistent frame and meaningful captions while preserving full height. */
.markdown-section img{display:block;max-width:100%;height:auto;margin:1.25em 0;border:1px solid #dbe4ee;border-radius:9px;box-shadow:0 5px 16px rgba(15,23,42,.09);cursor:zoom-in}
.yj-image-caption{display:block;max-width:900px;margin:-.7em 0 1.3em;color:#718096;font-size:13px;line-height:1.55;text-align:center}
.yj-image-lightbox{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(15,23,42,.88);cursor:zoom-out}
.yj-image-lightbox img{width:auto!important;height:auto!important;max-width:96vw!important;max-height:92vh!important;margin:0;border:0;border-radius:8px;box-shadow:0 16px 48px rgba(0,0,0,.45);object-fit:contain!important;cursor:default}

/* Article outline and related reading. */
.yj-article-toc{margin:1.25em 0 1.7em;padding:14px 17px;border:1px solid #d8e5f3;border-radius:10px;background:linear-gradient(135deg,#f8fbff,#f1f7ff)}
.yj-article-toc-title{display:flex;align-items:center;gap:7px;margin:0 0 8px;color:#1e3a5f;font-size:14px;font-weight:700}.yj-article-toc-title:before{width:4px;height:15px;border-radius:4px;background:#2563eb;content:""}
.yj-article-toc ol{margin:0;padding-left:21px}.yj-article-toc li{margin:4px 0;color:#64748b;font-size:13px;line-height:1.55}.yj-article-toc li.yj-toc-depth-1{margin-left:13px;list-style-type:circle}.yj-article-toc li.yj-toc-depth-2{margin-left:26px;list-style-type:square}.yj-article-toc a{color:#315d93;text-decoration:none}.yj-article-toc a:hover{color:#1d4ed8;text-decoration:underline}
.yj-related{margin-top:42px;padding-top:20px;border-top:1px solid #dce7f3}.yj-related h2{margin:0 0 14px!important;padding:0!important;border:0!important;color:#1e3a5f!important;font-size:1.28em!important}.yj-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.yj-related-card{display:block;padding:14px 15px;border:1px solid #dbe5f0;border-radius:9px;background:#fff;color:#1d4f91;text-decoration:none;box-shadow:0 2px 8px rgba(15,23,42,.04);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.yj-related-card:hover{transform:translateY(-2px);border-color:#93c5fd;box-shadow:0 7px 18px rgba(37,99,235,.1);color:#1d4ed8}.yj-related-card strong{display:block;overflow:hidden;color:inherit;font-size:14px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.yj-related-card span{display:-webkit-box;overflow:hidden;margin-top:5px;color:#64748b;font-size:12px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}

/* Tables: strong contrast, sticky headers and a sticky first column when wide. */
.markdown-section .yj-table-scroll{position:relative;box-sizing:border-box;width:100%;max-width:100%;margin:1.25em 0;overflow:auto;border:1px solid #cfdceb;border-radius:10px;background:#fff;box-shadow:0 4px 13px rgba(15,23,42,.06);-webkit-overflow-scrolling:touch}
.markdown-section .yj-table-scroll.yj-table-wide{box-shadow:0 4px 13px rgba(15,23,42,.06),inset -14px 0 13px -15px rgba(15,23,42,.65)}
.markdown-section .yj-table-scroll.yj-table-long{max-height:none}
.yj-table-scroll-hint{display:none;position:sticky;left:0;z-index:5;width:max-content;margin:7px 8px 0;padding:3px 8px;border-radius:999px;background:#eaf3ff;color:#35658f;font-size:11px;line-height:1.4;pointer-events:none}
.markdown-section .yj-table-scroll table{display:table!important;box-sizing:border-box;width:100%!important;min-width:0;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;border-collapse:separate;border-spacing:0;font-size:14px;overflow:visible}
.markdown-section .table-area{overflow:visible!important}
.markdown-section .yj-table-scroll thead th,.markdown-section .yj-table-scroll table tr:first-child th{position:sticky;top:0;z-index:2;padding:11px 13px!important;border-color:#bfd0e2!important;background:#234a75!important;color:#fff!important;text-shadow:none!important;font-weight:700!important}
.markdown-section .yj-table-scroll td{padding:10px 13px!important;border-color:#d7e0eb!important;background:#fff!important;color:#263b53!important;line-height:1.65}
.markdown-section .yj-table-scroll tr:nth-child(even) td{background:#f7fafc!important}.markdown-section .yj-table-scroll tr:hover td{background:#edf6ff!important}
.markdown-section .yj-table-scroll th:first-child,.markdown-section .yj-table-scroll td:first-child{font-weight:600}
.markdown-section .yj-table-scroll.yj-table-wide th:first-child,.markdown-section .yj-table-scroll.yj-table-wide td:first-child{position:sticky;left:0;z-index:1;box-shadow:5px 0 8px -8px rgba(15,23,42,.8)}
.markdown-section .yj-table-scroll.yj-table-wide thead th:first-child,.markdown-section .yj-table-scroll.yj-table-wide tr:first-child th:first-child{z-index:3;background:#234a75!important}
.markdown-section .yj-table-scroll.yj-table-wide tr:nth-child(odd) td:first-child{background:#fff!important}.markdown-section .yj-table-scroll.yj-table-wide tr:nth-child(even) td:first-child{background:#f7fafc!important}
.markdown-section .yj-table-scroll code{white-space:nowrap;font-family:Consolas,"SFMono-Regular",monospace}

/* Keep the original toolbar reachable while reading on phones. */
@media(max-width:700px){
  html,body{width:100%;max-width:100%;overflow-x:hidden!important;overscroll-behavior-x:none}
  .book,.book .book-body,.book .book-body>.body-inner,.book .book-body .page-wrapper,.page-inner{max-width:100%!important;overflow-x:hidden!important}
  .page-inner{padding:20px 16px 38px!important}.markdown-section{max-width:100%!important;overflow-x:clip;font-size:16px;line-height:1.8}.markdown-section h1{font-size:1.72em;line-height:1.28}.markdown-section h2{margin-top:1.65em;font-size:1.34em}.markdown-section h3{font-size:1.16em}.markdown-section h4{font-size:1.03em}
  .markdown-section pre{margin-left:-2px;margin-right:-2px;padding:13px;font-size:13px}.markdown-section .code-wrapper pre{padding-top:47px}.yj-code-toolbar{gap:5px;right:7px}.yj-code-copy,.yj-code-wrap-toggle{min-width:44px;padding:5px 6px}
  .yj-image-caption{text-align:left}
  .yj-article-toc{padding:12px 14px}.yj-related-grid{grid-template-columns:1fr}
  .markdown-section .yj-table-scroll{margin-left:-2px;margin-right:-2px;overflow-x:auto!important;overscroll-behavior-inline:contain;touch-action:auto;scrollbar-width:none;-ms-overflow-style:none;box-shadow:0 4px 13px rgba(15,23,42,.06)!important}.markdown-section .yj-table-scroll::-webkit-scrollbar{display:none;width:0;height:0}.markdown-section .yj-table-scroll table{width:100%!important;min-width:100%!important;table-layout:auto!important;font-size:13px}.markdown-section .yj-table-scroll table.yj-table-cols-2{min-width:520px!important}.markdown-section .yj-table-scroll table.yj-table-cols-3{min-width:620px!important}.markdown-section .yj-table-scroll table.yj-table-cols-4{min-width:680px!important}.markdown-section .yj-table-scroll table.yj-table-cols-5,.markdown-section .yj-table-scroll table.yj-table-cols-many{min-width:760px!important}.markdown-section .yj-table-scroll th,.markdown-section .yj-table-scroll td{box-sizing:border-box;padding:9px 11px!important;white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important}.markdown-section .yj-table-scroll.yj-table-wide th:first-child,.markdown-section .yj-table-scroll.yj-table-wide td:first-child{position:static!important;box-shadow:none!important}.markdown-section .yj-table-scroll code{white-space:pre-wrap!important;word-break:break-all!important}.markdown-section .yj-table-scroll-hint{display:none!important}
  .book .book-body>.body-inner{overflow-y:visible!important;overflow-x:hidden!important}.book .book-body>.body-inner>.book-header{position:-webkit-sticky!important;position:sticky!important;top:0;z-index:100;background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 2px 8px rgba(15,23,42,.06)}.book .book-header .btn{color:#475569;min-width:44px}.book .book-body{scroll-padding-top:60px}
}
/* yj-image-watermark:start */
.markdown-section .yj-image-frame{display:inline-flex;flex-direction:column;max-width:100%;min-width:0;vertical-align:top;margin:10px 0 18px;overflow:hidden;border-radius:4px}
.markdown-section .yj-image-frame>picture{display:block;min-width:0;max-width:100%}
.markdown-section .yj-image-frame img{display:block;max-width:100%!important;height:auto!important;margin:0!important}
.yj-image-watermark{display:block;box-sizing:border-box;flex:none;height:20px;padding:0 9px;background:rgba(248,250,252,.85);color:rgba(100,116,139,.38);font:11px/20px Arial,sans-serif;letter-spacing:.4px;text-align:right;user-select:none;pointer-events:none}
.yj-image-preview-frame{display:flex;flex-direction:column;max-width:96vw}
.yj-image-lightbox .yj-image-preview-frame img{max-height:calc(92vh - 20px)!important;border-radius:6px 6px 0 0;box-shadow:none}
.yj-image-preview-frame .yj-image-watermark{border-radius:0 0 6px 6px}
body:has(.markdown-section .yj-image-frame) .lightbox .lb-outerContainer{height:auto!important}
body:has(.markdown-section .yj-image-frame) .lightbox .lb-container:after{content:"yan-jian.com";display:block;box-sizing:border-box;height:20px;padding:0 9px;background:#f8fafc;color:rgba(100,116,139,.38);font:11px/20px Arial,sans-serif;letter-spacing:.4px;text-align:right;pointer-events:none}
/* yj-image-watermark:end */
