/* Readability shared across home and detail pages. Loaded after page styles. */
:root{--ink:#191b1f;--muted:#667080}
body{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","Microsoft YaHei","Source Han Sans SC","Noto Sans CJK SC","Segoe UI",sans-serif;color:var(--ink);font-size:15px}
.search input{font-size:14px}.search input::placeholder{color:#737d8d}
.main-nav button,.main-nav a{font-size:16px}
.hero{height:auto;min-height:96px;padding-top:13px;padding-bottom:13px}.banner-kicker{font-size:12px;color:#d0e1ff}.hero h1{font-size:23px}.hero p{font-size:13px;color:#d3e3ff}.hero>button{font-size:14px}
.category-intro{height:auto;min-height:52px;gap:12px;padding-top:10px;padding-bottom:10px}.category-intro strong{font-size:15px}.category-intro>span{font-size:12px;color:#697586}.category b{font-size:14px}.category{padding-top:9px;padding-bottom:7px}
.feed-tabs button{font-size:16px}.feed-status{font-size:13px;color:#727c8b}
.resource h2{font-size:19px;line-height:1.6;font-weight:650;color:#191b1f}.resource-summary{font-size:16px;line-height:1.75}.resource-summary p,.editor-name{color:#25282e}.read-more{font-size:14px}
.file-meta,.resource-category{font-size:13px;color:#687383}.disk{color:#5a7192}.update-time{font-size:12px;color:#727c8b}.resource-footer,.resource-footer button,.view-count{font-size:14px;color:#626e80}.resource-footer{gap:20px}.pin{font-size:12px;line-height:20px}.load-more{font-size:14px}
.panel h2{font-size:16px;font-weight:600;color:#303640}.welcome>p{font-size:13px;color:#6c7787;line-height:1.8}.quick-links button{font-size:14px;color:#5f6c80}.wide-primary{font-size:15px}.welcome-bottom{font-size:12px;color:#727d8e;flex-wrap:wrap;row-gap:7px}
.side-title>button{font-size:13px;color:#697586}.rank-row{font-size:14px}.rank-label{color:#3f4753}.rank-heat{font-size:12px;color:#737e8e}.rank-number{font-size:14px}.new{font-size:10px}
.collection-copy strong{font-size:15px;color:#354459}.collection-copy>span{font-size:13px;color:#69778b;line-height:1.7}.collection-copy{padding-right:12px}.collection-drawing{opacity:.12}
.site-info-heading h2{font-size:14px;color:#3e4d63}.site-info-heading p{font-size:12px;color:#6d7b8f;line-height:1.75}.site-info-description{font-size:13px;line-height:1.85;color:#637287}.site-info-links{font-size:13px;color:#526b8c}.site-info-bottom>span{font-size:17px;color:#627c9f}.site-info-bottom>small,.site-copyright{font-size:12px;color:#6f7f95}.site-info-bottom{align-items:flex-start;flex-wrap:wrap;gap:6px}
dialog p{font-size:15px;color:#56647a}.preview-note{font-size:14px!important;color:#587292}.tags>span{font-size:13px}.eyebrow{font-size:14px}
.breadcrumb{font-size:13px}.breadcrumb a{color:#657287}.breadcrumb>span{color:#738094}.heading-tags a{font-size:13px}.resource-heading h1{font-size:27px;line-height:1.6;color:#191b1f}.heading-meta,.heading-actions{font-size:14px;color:#687587}.heading-meta .sample-badge{font-size:12px;color:#697585}
.editor-block strong{font-size:16px;color:#2f3c50}.editor-block p{font-size:13px;color:#6b788d;line-height:1.7}.editor-badge{font-size:12px;color:#55779e}.article-nav a{font-size:15px;color:#657287}.article-section h2,.detail-related h2{font-size:21px;color:#253146}.article-section>p,.article-section .article-lead{font-size:16px;line-height:1.9;color:#343d4b}.article-section h3{font-size:17px;color:#303c50}
.cover-category{font-size:13px;opacity:1;color:#f0f5f2}.detail-cover strong{font-size:32px}.detail-cover p{font-size:14px;opacity:1;color:white;line-height:1.8}.detail-cover{min-height:180px}
.content-feature>span{font-size:14px;color:#6385b0}.content-feature h4{font-size:15px;color:#354257}.content-feature p{font-size:14px;color:#637087;line-height:1.9}.resource-facts>div{font-size:14px;gap:10px}.resource-facts dt{color:#6c788c}.resource-facts dd{font-size:14px;color:#43546d}.resource-facts{gap:15px 18px}
.section-heading>span,.section-heading>a{font-size:13px;color:#6c788b}.article-section>.section-hint{font-size:13px;color:#6d798c}.file-tree summary strong{font-size:14px;color:#43546d}.file-tree summary>span{font-size:12px;color:#738298}.file-tree li{font-size:13px;color:#64758e}.file-tree li small{font-size:11px;color:#7b899d}.file-tree summary{padding-top:15px;padding-bottom:15px}
.download-heading h3{font-size:17px}.download-heading p{font-size:13px;color:#6f8099}.download-status{font-size:12px;color:#617188}.download-code{font-size:14px;color:#697b94}.download-code strong{color:#4d617f}.download-code button{font-size:13px}.primary-action,.outline-action{font-size:15px}.primary-action:disabled{color:#4e6d96}.download-note{font-size:13px;color:#637894;line-height:1.85}.download-help{font-size:12px;color:#6f7e92;flex-wrap:wrap}.download-help button{color:#5b779c}
.usage-list{font-size:15px;line-height:1.9;color:#56647a}.usage-notice{font-size:13px;color:#6a7b91;line-height:1.85}.article-bottom{font-size:14px;color:#65768d;flex-wrap:wrap}.article-bottom>span{font-size:13px;color:#6d7c92}
.detail-overview dl{font-size:14px}.detail-overview dt{color:#718095}.detail-overview dd{color:#455974}.detail-overview>p{font-size:12px;color:#71829a;line-height:1.8}.page-outline a{font-size:14px;color:#5a6c86}.page-outline a span{font-size:12px;color:#788ba5}.side-recommend h3{font-size:14px;color:#4c5b72}.side-recommend p{font-size:12px;color:#75849a}.related-row h3{font-size:15px;color:#40536e}.related-row p{font-size:13px;color:#6b7e97}.related-row{padding-top:18px;padding-bottom:18px}
@media(max-width:1050px){.resource-facts{grid-template-columns:1fr}.contents-grid{gap:18px}.resource-footer{gap:15px}}
@media(max-width:560px){
  .main-nav button,.main-nav a{font-size:15px}.search input{font-size:13px}.saved-entry{font-size:0}
  .hero{min-height:100px;gap:10px}.banner-kicker{font-size:11px}.hero h1{font-size:21px}.hero p{font-size:12px;line-height:1.7}.hero>button{font-size:12px;white-space:nowrap;padding:7px 9px;flex-shrink:0}.hero-copy{min-width:0}
  .category-intro{align-items:flex-start;flex-direction:column;gap:3px;min-height:66px}.category-intro strong{font-size:15px}.category-intro>span{font-size:12px}.category-panel{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:5px;padding-bottom:12px}.category b{font-size:14px}.category{gap:6px;padding:7px 0}.cat-icon{height:27px;width:27px}
  .feed-tabs button{font-size:16px}.feed-status{font-size:12px}.feed-tabs>div{gap:24px}.resource h2{font-size:18px;line-height:1.65}.resource-summary{font-size:16px;line-height:1.8}.read-more{font-size:14px}.file-meta{font-size:13px;flex-wrap:wrap;gap:6px 8px}.resource-category{font-size:13px}.update-time{font-size:12px}.resource-footer,.resource-footer button,.view-count{font-size:13px}.resource-footer{gap:11px 14px}.resource-footer .view{padding:6px 9px}.resource-footer .share-button{margin-left:0}.load-more{font-size:14px}
  .breadcrumb{font-size:13px}.heading-tags a{font-size:12px}.resource-heading h1{font-size:23px}.heading-meta{font-size:13px;gap:9px 12px}.heading-meta .sample-badge{font-size:11px}.editor-block strong{font-size:15px}.editor-block p{font-size:12px}.editor-badge{font-size:11px}.article-nav a{font-size:14px}.article-section h2,.detail-related h2{font-size:20px}.article-section>p,.article-section .article-lead{font-size:16px;line-height:1.9}
  .cover-category{font-size:12px}.detail-cover strong{font-size:28px}.detail-cover p{font-size:14px;max-width:none;padding-right:8px}.detail-cover{min-height:165px}.content-feature h4{font-size:15px}.content-feature p{font-size:14px}.resource-facts>div,.resource-facts dd{font-size:14px}.section-heading>span,.section-heading>a{font-size:12px}.section-heading{flex-wrap:wrap;gap:7px}.article-section>.section-hint{font-size:13px}
  .file-tree summary{gap:7px;flex-wrap:wrap}.file-tree summary strong{font-size:13px}.file-tree summary>span{font-size:12px}.file-tree li{font-size:13px}.file-tree li small{font-size:11px}.download-heading{flex-wrap:wrap}.download-heading h3{font-size:16px}.download-heading p{font-size:13px}.download-status{font-size:12px}.download-code{font-size:14px}.download-note{font-size:13px}.download-help{font-size:12px;row-gap:10px}.usage-list{font-size:15px}.usage-notice{font-size:13px}.article-bottom{font-size:14px}.article-bottom>span{font-size:13px}.related-row h3{font-size:15px}.related-row p{font-size:12px;line-height:1.8}.mobile-download>button{font-size:14px}.mobile-download .primary-action{font-size:15px}.mobile-download{gap:12px}
}
@media(max-width:370px){.feed-status{display:none}.hero>button{padding:7px;font-size:12px}.hero h1{font-size:20px}.file-tree summary>span{display:none}.download-status{margin-left:0}.resource-footer{gap:10px}.resource-footer .share-button{display:none}}

.home-search{grid-column:1/-1;background:#fff;border:1px solid #edf0f6;border-radius:4px;padding:30px 40px 25px;text-align:center;margin-bottom:2px}
.home-search h1{font-size:26px;font-weight:600;color:#25344c;margin:0 0 9px;letter-spacing:.5px}.home-search>p{font-size:14px;color:#78869b;margin:0 0 22px}
.large-search{max-width:720px;margin:0 auto;display:flex;align-items:center;gap:12px;border:2px solid #2480ff;border-radius:6px;background:white;overflow:hidden;min-height:54px;padding-left:16px;box-shadow:0 3px 14px #1677ff0a}.large-search>.icon{color:#8b9db7;width:22px;height:22px;min-width:22px}.large-search input{flex:1;min-width:0;width:100%;border:0;outline:none;font-size:16px;color:#34455f;background:none;padding:12px 0}.large-search input::placeholder{color:#8b98aa}.large-search:focus-within{box-shadow:0 0 0 3px #1677ff14}.large-search button{align-self:stretch;padding:0 28px;white-space:nowrap;background:#1677ff;color:#fff;font-size:16px;font-weight:500}.large-search button:hover{background:#0566e7}.search-suggestions{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:16px;font-size:13px;color:#60738e}.search-suggestions>span{color:#8d98a8}.search-suggestions button:hover{color:var(--blue)}
.quick-links{grid-template-columns:repeat(2,1fr);margin-bottom:0}.category-intro{min-height:46px}.header-inner:has(+ .unused){gap:30px}
@media(max-width:850px){.home-search{margin-bottom:12px;padding:27px 24px 23px}}
@media(max-width:560px){.home-search{padding:24px 15px 20px;margin-bottom:9px}.home-search h1{font-size:23px}.home-search>p{font-size:13px;line-height:1.8;margin-bottom:18px}.large-search{min-height:50px;padding-left:10px;gap:8px}.large-search input{font-size:15px}.large-search>.icon{width:19px;height:19px;min-width:19px}.large-search button{padding:0 15px;font-size:14px}.search-suggestions{gap:10px 14px;font-size:12px;margin-top:14px}.search-suggestions>span{display:none}.category-intro{min-height:44px;justify-content:center}.header-inner:has(.large-search){gap:10px}}

/* Align the homepage navigation with the actual content edges. */
.home-page .header-inner{max-width:1000px;width:calc(100% - 40px);margin:0 auto;padding:0}
@media(max-width:850px){.home-page .header-inner{max-width:666px;width:calc(100% - 28px)}}
@media(max-width:560px){.home-page .header-inner{max-width:none;width:calc(100% - 16px)}}
.rank-number{flex:0 0 22px;min-width:22px;text-align:center;font-variant-numeric:tabular-nums}.rank-row{gap:7px}.rank-heat{flex-shrink:0;font-variant-numeric:tabular-nums}
