:root{font-family:Inter,"Microsoft YaHei",system-ui,sans-serif;color:#202d31;background:#fff;letter-spacing:0}
*{box-sizing:border-box}
html,body{margin:0;background:#fff}
button,input,select{font:inherit}
button{cursor:pointer}
a{color:inherit}
button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #78b6a6;outline-offset:3px}
[hidden]{display:none!important}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.core-dialog{display:none;flex-direction:column;width:min(700px,calc(100vw - 24px));max-width:none;max-height:min(88dvh,800px);padding:0;border:1px solid #d5ddd8;border-radius:8px;background:#fff;box-shadow:0 16px 56px #152a2333;color:#26342c}
.core-dialog[open]{display:flex}
.core-dialog::backdrop{background:#172a2466}
.core-dialog-header{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:20px 24px 18px;border-bottom:1px solid #e0e5e0}
.core-dialog-header span{color:#698174;font:10px Consolas,monospace}
.core-dialog-header h2{margin:5px 0 0;font-size:20px;line-height:1.25}
.core-dialog-close{flex:0 0 34px;width:34px;min-height:34px;padding:0;border:0;background:transparent;color:#6d7b72;font-size:25px;font-weight:400;line-height:1}
.core-dialog-close:hover{background:#eef2ee;color:#203b30}
.core-dialog-body{flex:1;min-height:0;overflow:auto;padding:22px 24px 28px}
.core-dialog-footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 24px;border-top:1px solid #e0e5e0;background:#fff}
.core-dialog-footer button{min-height:36px;padding:7px 18px;border:1px solid #d7dedb;border-radius:6px;background:#fff;color:#394540;font-size:12px;font-weight:600}
.core-dialog .muted{font-size:12px;color:#718078;line-height:1.6;margin:8px 0}
.release-list{border-top:1px solid #dce3df}
.release-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #dce3df}
.release-row>div{min-width:0}
.release-title-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.release-title-line strong{font-size:14px;overflow-wrap:anywhere}
.release-tag{color:#376a4d;font-size:10px}
.release-tag.downloaded{color:#916222}
.release-meta{display:block;margin-top:5px;color:#708078;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.release-notes{margin:9px 0 0;color:#344b47;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.release-download{display:inline-flex;align-items:center;justify-content:center;flex:0 0 92px;min-height:38px;padding:7px 15px;border:1px solid #17645b;border-radius:5px;background:#17645b;color:#fff;font-size:12px;font-weight:650;text-decoration:none;white-space:nowrap}
.release-download:hover{background:#104e47;border-color:#104e47}
.core-dialog-footer button:hover{background:#f1f8f5;border-color:#91b7ab}
.download-confirm-dialog{width:min(440px,calc(100vw - 24px))}
.download-confirm-dialog .core-dialog-body{padding-block:22px}
.download-confirm-dialog .core-dialog-body>strong{font-size:16px;overflow-wrap:anywhere}
.download-confirm-dialog .core-dialog-body>p{margin:10px 0 0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.download-confirm-dialog #download-confirm-error{color:#a44245}
.download-confirm-dialog .core-dialog-footer .release-download{min-width:104px}
.version-channel{display:inline-flex;align-items:center;padding:3px 6px;border-radius:4px;font-size:11px;font-weight:700;white-space:nowrap}
.version-channel.stable{background:#dcf1e4;color:#146744}
.version-channel.beta{background:#fff0bc;color:#7c5a00}
.resources-main{width:min(1240px,calc(100% - 48px));min-height:calc(100dvh - 133px);margin:0 auto;padding:38px 0 76px}
.resources-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;padding-bottom:22px;border-bottom:1px solid #dfe6e5}
.eyebrow{display:block;color:#44766b;font-size:10px;font-weight:700}
.resources-heading h1{margin:9px 0 0;font-size:28px;line-height:1.2;font-weight:700}
.resources-heading>span{padding-bottom:3px;color:#687c7a;font-size:12px;white-space:nowrap}
.resources-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;margin-top:24px}
.resource-sidebar{position:sticky;top:84px;align-self:start;min-width:0;padding:1px 18px 0 0;border-right:1px solid #e1e8e6}
.filter-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.filter-heading h2{margin:0;font-size:16px;line-height:1.3}
.filter-heading>div{display:flex;align-items:center;gap:4px}
.filter-heading button{padding:4px;border:0;background:transparent;color:#6a807b;font-size:11px}
.filter-heading button:hover{color:#176a59;text-decoration:underline}
#filters-toggle{display:none}
.filter-group{padding:20px 0;border-bottom:1px solid #e6ebe9}
.filter-group h3{margin:0 0 11px;font-size:12px;font-weight:700;color:#445954}
.resource-tabs{display:grid;gap:3px}
.resource-tabs button{min-height:34px;padding:7px 10px;border:0;border-radius:5px;background:transparent;color:#5b6d68;text-align:left;font-size:12px;font-weight:550;transition:background-color .18s,color .18s}
.resource-tabs button:hover{background:#f3f7f5;color:#245f52}
.resource-tabs button[aria-pressed=true]{background:#e9f3ef;color:#135b4d;font-weight:700}
.release-filter{display:flex;align-items:center;gap:9px;color:#566b65;font-size:12px;cursor:pointer}
.release-filter input{width:16px;height:16px;margin:0;accent-color:#176a59}
.free-filter{color:#7542a5}
.free-filter input{accent-color:#7542a5}
.resource-results{min-width:0}
.resource-controls{display:flex;align-items:center;gap:16px;padding:0;background:#fff}
.resource-search{display:block;flex:1;min-width:0}
.resource-search input{width:100%;height:44px;padding:0 14px;border:1px solid #d2ddda;border-radius:6px;background:#f8faf9;color:#213b3a;font-size:13px}
.resource-search input::placeholder{color:#81918e}
.resource-search input:focus{border-color:#69a698;box-shadow:0 0 0 3px #e0f1ec}
.resource-sort{display:flex;align-items:center;gap:8px;flex:0 0 auto;color:#687b76;font-size:12px}
.resource-sort select{height:44px;min-width:126px;padding:0 24px 0 11px;border:1px solid #d2ddda;border-radius:6px;background:#fff;color:#314c43;font-size:13px}
.results-count{padding:17px 2px 10px;color:#758681;font-size:11px}
.resource-list{border-top:1px solid #e0e7e4}
.resource-row{min-width:0;border-bottom:1px solid #e0e7e4;animation:resource-enter .3s ease-out both;animation-delay:calc(var(--row-index)*45ms);transition:background-color .18s}
.resource-row:hover,.resource-row:focus-within{background:#f7faf8}
.resource-row-link{display:grid;grid-template-columns:64px minmax(0,1fr) 120px 92px;align-items:center;gap:20px;min-height:126px;padding:24px 8px;text-decoration:none}
.resource-icon,.resource-monogram{display:block;width:78px;height:78px;flex:none;border-radius:6px;object-fit:contain;image-rendering:pixelated}
.resource-monogram{display:grid;place-items:center;background:#e3eee9;color:#215e51;font-size:28px;font-weight:700}
.resource-row-text{min-width:0}
.resource-row .resource-icon,.resource-row .resource-monogram{width:64px;height:64px}
.resource-row-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.resource-kind{display:inline-block;padding:3px 7px;border-radius:4px;background:#edf4f0;color:#377367;font-size:10px;font-weight:600;white-space:nowrap}
.resource-kind.plugin{background:#edf1f8;color:#526b94}
.resource-free-badge{display:inline-flex;align-items:center;padding:3px 7px;border-radius:4px;background:#f0e7fb;color:#7542a5;font-size:10px;font-weight:650;white-space:nowrap}
.detail-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.resource-row-text h2{margin:0;color:#203137;font-size:21px;line-height:1.25;font-weight:700;overflow-wrap:anywhere}
.resource-row-text>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:7px 0 0;color:#63756e;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.resource-author{display:block;margin-top:5px;color:#758881;font-size:11px}
.resource-row-text .resource-row-note{-webkit-line-clamp:1;margin-top:10px;padding-left:9px;border-left:2px solid #bdca9e;color:#65735b;font-size:11px}
.resource-row-meta{display:grid;gap:5px;min-width:0;align-self:center}
.resource-row-meta span{color:#82908b;font-size:11px}
.resource-row-meta strong{color:#2d4942;font-size:14px;font-weight:700;overflow-wrap:anywhere}
.resource-row-meta time{color:#8b948f;font-size:11px}
.resource-channel{display:inline-flex;align-items:center;width:max-content;padding:3px 6px;border-radius:4px;font-size:10px;font-weight:700}
.resource-channel.stable{background:#dff2e6;color:#126643}
.resource-channel.beta{background:#fff0bc;color:#775500}
.resource-row-action{justify-self:end;color:#176b5b;font-size:12px;font-weight:700;white-space:nowrap}
.resource-row:hover .resource-row-action{text-decoration:underline;text-underline-offset:3px}
.resource-empty{margin:0;padding:46px 12px;border-block:1px solid #e0e7e4;color:#70817e;text-align:center;font-size:13px}
.resource-preview{position:fixed;z-index:120;width:min(460px,calc(100vw - 24px));max-height:min(720px,calc(100dvh - 24px));overflow:auto;padding:22px;border:1px solid #d6e3dd;border-radius:12px;background:#fff;color:#203137;box-shadow:0 14px 46px #183c2929;animation:resource-preview-enter .14s ease-out;overscroll-behavior:contain}
.resource-preview-head{display:flex;align-items:start;gap:13px}
.resource-preview-head>div{min-width:0}
.resource-preview-head .resource-icon,.resource-preview-head .resource-monogram{width:48px;height:48px;font-size:22px}
.resource-preview h2{margin:0;font-size:18px;line-height:1.35;overflow-wrap:anywhere}
.resource-preview-author{margin:4px 0 9px;color:#788984;font-size:11px}
.resource-preview-content{margin:18px 0;max-height:340px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.resource-preview h3{margin:0 0 10px;font-size:12px;color:#315e4b}
.resource-preview-description{margin:0;color:#516861;font-size:13px;line-height:1.75;white-space:pre-line;overflow-wrap:anywhere}
.resource-preview-image{display:block;width:100%;max-height:180px;object-fit:contain;margin:0 0 13px;border-radius:5px;background:#f5f8f6}
.resource-preview-features{padding-left:19px;margin:13px 0 0;color:#52685e;font-size:12px;line-height:1.8}
.resource-preview-loading{font-size:11px;color:#82918a}
.resource-preview-recommendations{margin-top:17px;padding-top:14px;border-top:1px solid #e5ece8}
.resource-preview-recommendations p{margin:6px 0;color:#61766b;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.resource-preview-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin:0;padding:13px 0;border-block:1px solid #e5ece8}
.resource-preview-meta dt{color:#7b8b83;font-size:11px}
.resource-preview-meta dd{margin:5px 0 0;color:#2d4942;font-size:12px;font-weight:650;overflow-wrap:anywhere}
.resource-preview-updates{margin-top:14px}
.resource-preview-updates strong{color:#526c60;font-size:11px}
.resource-preview-updates p{max-height:160px;overflow:auto;margin:6px 0 0;color:#768275;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;overscroll-behavior:contain;scrollbar-width:thin}
.resource-preview-footer{display:flex;align-items:center;gap:9px;margin-top:17px}
.resource-preview-footer time{color:#85918b;font-size:10px}
.resource-preview-footer a{margin-left:auto;color:#176b5b;font-size:12px;font-weight:650;text-decoration:none}
.resource-preview-footer a:hover{text-decoration:underline}
@keyframes resource-preview-enter{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.resource-preview{animation:none}}
.back-link{display:inline-block;margin-bottom:30px;color:#326d62;text-decoration:none;font-size:12px;font-weight:600}
.back-link:hover{text-decoration:underline}
#resource-detail{animation:resource-enter .3s ease-out both}
.detail-head{display:flex;align-items:center;justify-content:space-between;gap:26px;min-height:154px;padding-bottom:28px;border-bottom:1px solid #dfe6e5}
.detail-identity{display:flex;align-items:center;gap:22px;min-width:0}
.detail-identity .resource-icon,.detail-identity .resource-monogram{width:92px;height:92px}
.detail-identity>div{min-width:0}
.detail-kind{color:#49776d;font-size:11px;font-weight:700}
.detail-head h1{margin:5px 0 7px;font-size:32px;line-height:1.2;overflow-wrap:anywhere}
.detail-head p{max-width:700px;margin:0;color:#5c706d;font-size:13px;line-height:1.6}
.detail-author{display:block;margin-top:7px;color:#70867e;font-size:12px}
.detail-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-shrink:0;flex-wrap:wrap}
.detail-head-actions a,.detail-head-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;border:1px solid #cbdcd8;border-radius:5px;background:#fff;color:#215d51;text-decoration:none;font-size:12px;font-weight:650;white-space:nowrap;transition:background-color .18s,border-color .18s}
.detail-head-actions a:hover,.detail-head-actions button:hover{background:#f1f8f5;border-color:#91b7ab}
.detail-head-actions a:first-child,.detail-head-actions button:first-child{border-color:#176a59;background:#176a59;color:#fff}
.detail-head-actions a:first-child:hover,.detail-head-actions button:first-child:hover{background:#105446}
.detail-head-actions button:disabled{opacity:.6;cursor:wait}
.detail-head-actions .claim-error{color:#a44245;font-size:12px}
.detail-head-actions .detail-unavailable{color:#71827d;font-size:12px}
.detail-tabs{display:flex;gap:26px;overflow-x:auto;border-bottom:1px solid #dfe6e5;scrollbar-width:thin}
.detail-tabs button{flex-shrink:0;min-height:50px;padding:11px 2px;border:0;border-bottom:2px solid transparent;background:transparent;color:#71827d;font-size:13px;font-weight:600}
.detail-tabs button:hover{color:#176a59}
.detail-tabs button[aria-selected=true]{border-bottom-color:#176a59;color:#176a59}
.detail-body{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:48px;padding:34px 0}
.detail-body.overview-active{grid-template-columns:minmax(0,1fr)}
.detail-body h2{margin:0 0 14px;font-size:18px}
.detail-content{min-width:0}
.detail-panel{min-height:190px}
.detail-panel h2:not(:first-child){margin-top:34px}
.detail-description{max-width:720px;margin:0;color:#566b65;font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.detail-changelog-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.detail-changelog-heading h2{margin:0}
.detail-feature-media{margin:28px 0 32px;padding:14px;border:1px solid #e0e7e4;background:#f7faf9}
.detail-feature-media img{display:block;max-width:100%;max-height:430px;width:auto;height:auto;margin:auto;object-fit:contain}
.detail-feature-media figcaption{margin-top:10px;color:#788984;font-size:11px;text-align:center}
.detail-changelog-heading a{color:#176a59;font-size:12px;font-weight:600;text-decoration:none}
.detail-changelog-heading a:hover{text-decoration:underline}
.detail-release{padding:20px 0;border-bottom:1px solid #e2e9e7}
.detail-release-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.detail-release-title strong{font-size:15px;color:#263e38;overflow-wrap:anywhere}
.detail-release-title time{color:#7b8a85;font-size:11px}
.detail-release p{max-width:720px;margin:8px 0 0;color:#435b56;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.detail-release-empty{margin:16px 0;color:#72837e;font-size:13px}
.detail-release-more{margin-top:12px;color:#315f53;font-size:12px}
.detail-release-more summary{cursor:pointer;font-weight:650}
.detail-prose{max-width:100%;padding:10px 0;color:#435b56;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.detail-prose img,.resource-prose img{display:block;max-width:100%;height:auto;margin:17px 0;border-radius:4px}
.detail-prose table,.resource-prose table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}
.detail-version-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid #e2e9e7}
.detail-version-row:first-of-type{border-top:1px solid #e2e9e7}
.detail-version-row strong,.detail-version-row time{display:block}
.detail-version-row strong{font-size:14px;color:#263e38}
.detail-version-row time{margin-top:5px;color:#7b8a85;font-size:11px}
.detail-version-row button{padding:6px 0;border:0;background:transparent;color:#176a59;font-size:12px;font-weight:650}
.detail-version-row button:hover{text-decoration:underline}
.resource-prose{max-width:760px;color:#405650;font-size:14px;line-height:1.85;overflow-wrap:anywhere}
.resource-prose>p:first-child{margin-top:0}
.resource-prose h2{margin:30px 0 10px;font-size:17px}
.resource-prose h3{margin:24px 0 9px;font-size:15px}
.resource-prose p{margin:12px 0}
.resource-prose a{color:#176a59;text-underline-offset:3px}
.resource-prose ul,.resource-prose ol{padding-left:22px}
.resource-prose li{margin:6px 0}
.resource-prose pre{max-width:100%;overflow-x:auto;padding:13px;border:1px solid #e0e7e4;border-radius:5px;background:#f6f8f7;font-size:12px}
.resource-prose code{font-family:Consolas,monospace;font-size:.9em}
.resource-prose th,.resource-prose td{padding:9px 11px;border-bottom:1px solid #e0e7e4;text-align:left;white-space:nowrap}
.resource-prose blockquote{margin:16px 0;padding:8px 14px;border-left:3px solid #8fae9b;background:#f4f8f5}
.detail-meta{border-top:2px solid #4e887b}
.detail-meta dl{margin:0}
.detail-meta div{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #e2e9e7;font-size:12px}
.detail-meta dt{color:#73847f}
.detail-meta dd{margin:0;color:#30443e;text-align:right;font-weight:600;overflow-wrap:anywhere}
.detail-recommendations{align-self:start;border-top:2px solid #4e887b}
.detail-recommendations h2{margin:15px 0 5px;font-size:15px}
.detail-recommendation{display:flex;align-items:flex-start;gap:11px;padding:15px 0;border-bottom:1px solid #e2e9e7;color:#2d4540;text-decoration:none}
.detail-recommendation:hover strong{color:#176a59;text-decoration:underline}
.detail-recommendation .resource-icon,.detail-recommendation .resource-monogram{width:42px;height:42px;font-size:18px}
.detail-recommendation>span:last-child{min-width:0}
.detail-recommendation strong,.detail-recommendation small{display:block;overflow-wrap:anywhere}
.detail-recommendation strong{font-size:13px;line-height:1.35}
.detail-recommendation small{margin-top:3px;color:#788a83;font-size:10px}
.detail-recommendation p{margin:8px 0 0;color:#60766e;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
footer{display:flex;justify-content:space-between;gap:12px;padding:20px max(24px,calc((100% - 1240px)/2));border-top:1px solid #e3e9e8;background:#fff;color:#80908d;font-size:12px}
footer a{text-decoration:none;font-weight:700}
@keyframes resource-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1000px){
  .resource-row-link{grid-template-columns:70px minmax(0,1fr) 120px;gap:16px}
  .resource-row .resource-icon,.resource-row .resource-monogram{width:70px;height:70px}
  .resource-row-action{grid-column:2/-1;justify-self:start;margin-top:-9px}
  .detail-head{align-items:flex-start;flex-direction:column;gap:18px}
  .detail-head-actions{justify-content:flex-start}
}
@media(max-width:760px){
  .core-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
  .core-dialog-header{padding:17px 16px 14px}
  .core-dialog-body{padding:18px 16px 22px}
  .core-dialog-footer{padding:12px 16px}
  .resources-main{width:calc(100% - 32px);padding:28px 0 60px}
  .resources-heading h1{font-size:25px}
  .resources-layout{grid-template-columns:1fr;gap:18px;margin-top:18px}
  .resource-sidebar{position:static;padding:0 0 14px;border-right:0;border-bottom:1px solid #e1e8e6}
  .filter-heading{min-height:35px}
  #filters-toggle{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #d6e2dc;border-radius:4px;font-size:19px;text-decoration:none}
  .resource-sidebar:not(.is-open) .filter-body{display:none}
  .resource-sidebar.is-open .filter-body{padding-top:7px}
  .filter-group{padding:8px 0;border:0}
  .filter-group h3{margin-bottom:7px}
  .resource-tabs{display:flex;gap:5px}
  .resource-tabs button{flex:1;text-align:center}
  .release-filter{min-height:28px}
  .resource-controls{padding:0;gap:8px}
  .resource-sort{gap:0;font-size:0}
  .resource-sort select{min-width:104px}
  .resource-row-link{grid-template-columns:58px minmax(0,1fr);gap:8px 14px;min-height:0;padding:17px 2px}
  .resource-row .resource-icon,.resource-row .resource-monogram{grid-column:1;grid-row:1/3;width:58px;height:58px}
  .resource-row-text h2{font-size:17px}
  .resource-row-text>p{font-size:12px}
  .resource-row-meta{grid-column:2;grid-row:2;display:flex;align-items:baseline;gap:8px}
  .resource-row-meta span{display:none}
  .resource-row-meta strong{font-size:12px}
  .resource-row-action{grid-column:2;grid-row:3;margin:0}
  .detail-identity{gap:14px}
  .detail-identity .resource-icon,.detail-identity .resource-monogram{width:64px;height:64px}
  .detail-head h1{font-size:25px}
  .detail-head-actions a{min-height:38px;padding:7px 11px}
  .detail-body{grid-template-columns:1fr;gap:30px}
  footer{padding-inline:16px}
}
@media(max-width:390px){
  .resource-row-meta{flex-wrap:wrap}
  .resource-controls{flex-wrap:wrap}
  .resource-search{flex-basis:100%}
  .resource-sort{margin-left:auto}
}
@media(prefers-reduced-motion:reduce){.resource-row,#resource-detail{animation:none}.resource-row,.resource-tabs button,.detail-head-actions a,.resource-tabs button{transition:none}}
