/* 下载中心与更新日志，沿用全站的绿色、白色和浅灰。 */
.download-hero, .changelog-hero { background: linear-gradient(120deg, #fafcfa, #f1f8f2); border-bottom: 1px solid var(--line); }
.download-hero h1, .changelog-hero h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.42; letter-spacing: -1.5px; }
.download-lead { color: #657169; font-size: 15px; line-height: 1.95; margin: 22px 0 0; }
.download-shortcuts { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.download-shortcuts a { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #dfe9e1; border-radius: 7px; padding: 7px 13px; font-size: 12px; color: #4e6d58; }
.download-shortcuts a:hover { border-color: #8bbb99; }
.download-shortcuts .icon { width: 15px; height: 15px; }
.download-main { padding-top: 58px; padding-bottom: 74px; }
.download-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 0 0 24px; scroll-margin-top: 110px; }
.download-section-heading:not(:first-child) { margin-top: 60px; }
.download-section-heading h2 { font-size: 25px; letter-spacing: -.55px; }
.download-section-heading .eyebrow { font-size: 11px; margin-bottom: 9px; }
.release-card { border: 1px solid #dae7dd; padding: 32px; border-radius: 14px; background: #fff; }
.release-card-heading { display: flex; gap: 18px; align-items: center; }
.release-package-icon { display: grid; place-items: center; width: 57px; height: 57px; background: #eef8f0; color: #50865e; border-radius: 14px; flex-shrink: 0; }
.release-package-icon .icon { height: 27px; width: 27px; }
.release-card-heading h3 { font-size: 23px; line-height: 1.6; margin: 7px 0 0; }
.release-card-heading h3 > span { color: #54805f; font-size: 18px; font-weight: 450; margin-left: 9px; }
.release-summary { font-size: 14px; color: #617267; line-height: 1.9; margin: 23px 0; white-space: pre-line; }
.release-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 24px 0; padding-block: 21px; border-block: 1px solid var(--line); }
.release-meta dt { color: #748078; font-size: 11px; margin-bottom: 6px; }
.release-meta dd { font-size: 13px; margin: 0; color: #3f5947; overflow-wrap: anywhere; }
.release-meta dd a { color: var(--green-ink); }
.release-meta dd .icon { height: 12px; width: 12px; }
.release-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.release-card-actions .button { min-height: 44px; font-size: 12px; }
.download-filename { color: #748078; font-size: 11px; margin: 15px 0 0; word-break: break-all; }
.release-hash { margin: -1px 0 23px; }
.release-hash summary { display: flex; gap: 8px; align-items: center; width: fit-content; cursor: pointer; color: #5e7566; font-size: 11px; list-style: none; }
.release-hash summary::-webkit-details-marker { display: none; }
.release-hash summary .icon { width: 12px; height: 12px; }
.release-hash code { display: block; border-radius: 6px; border: 1px solid #e5ece6; background: #f7faf7; padding: 11px; margin-top: 11px; color: #577360; font-size: 11px; overflow-wrap: anywhere; }
.release-empty { display: flex; gap: 26px; background: #fbfcfb; align-items: flex-start; }
.release-empty-icon { height: 63px; width: 63px; display: grid; place-items: center; border: 1px solid #e0e9e2; border-radius: 15px; background: #f0f5f1; color: #76927e; flex-shrink: 0; }
.release-empty-icon .icon { height: 29px; width: 29px; }
.release-empty h3 { font-size: 20px; margin-top: 11px; }
.release-empty p { color: #6a7a6e; font-size: 13px; line-height: 1.95; margin: 12px 0 22px; max-width: 740px; }
.badge-neutral { background: #f0f3f0; color: #6c7b71; border-color: #e1e7e2; }
.download-notice { margin-top: 17px; display: flex; gap: 12px; align-items: flex-start; font-size: 12px; color: #6b7b70; }
.download-notice > .icon { margin-top: 3px; height: 17px; width: 17px; color: #6a9277; }
.download-notice p { margin: 0; }
.download-notice code { font-family: Consolas, monospace; font-size: .95em; }
.download-docs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.download-doc-card { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 28px; position: relative; }
.download-doc-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 11px; background: #f0f7f1; color: #5b8b68; margin-bottom: 20px; }
.download-doc-icon .icon { width: 21px; height: 21px; }
.download-doc-card > .badge { position: absolute; top: 32px; right: 28px; }
.download-doc-card h3 { font-size: 18px; }
.download-doc-card > p { font-size: 13px; color: #6f7e73; line-height: 1.95; margin: 12px 0 25px; }
.download-doc-links { display: flex; gap: 19px; align-items: center; flex-wrap: wrap; }
.download-doc-links .button { font-size: 12px; min-height: 42px; }
.document-download-rows { border-top: 1px solid #e8eee9; }
.document-download-rows > a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 0; font-size: 12px; color: #52715e; border-bottom: 1px solid #e8eee9; }
.document-download-rows > a:last-child { border-bottom: 0; padding-bottom: 0; }
.document-download-rows > a > span:last-child { display: inline-flex; gap: 7px; align-items: center; font-size: 10px; color: #72887a; }
.document-download-rows .icon { width: 13px; height: 13px; }
.download-resource-list { display: flex; flex-direction: column; gap: 14px; }
.download-resource-row { display: flex; gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 25px 27px; background: #fff; }
.download-resource-icon { height: 47px; width: 47px; display: grid; place-items: center; background: #f1f6f2; color: #688f74; border-radius: 11px; flex-shrink: 0; }
.download-resource-body { flex: 1; min-width: 0; }
.download-resource-title { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.download-resource-title h3 { font-size: 16px; }
.download-resource-body p { font-size: 12px; color: #6b7b70; margin: 9px 0 0; line-height: 1.9; }
.download-resource-meta { display: flex; gap: 15px; margin-top: 8px; color: #718377; font-size: 10px; }
.download-resource-body .resource-usage-note { color: #6c7c71; font-size: 11px; }
.download-resource-row .button { min-height: 40px; font-size: 12px; gap: 8px; }
.resource-pending { display: flex; align-items: center; gap: 20px; padding: 26px; background: #f9fbf9; border: 1px solid var(--line); border-radius: 12px; }
.resource-pending > .icon { width: 29px; height: 29px; color: #789581; }
.resource-pending > div { flex: 1; }
.resource-pending h3 { font-size: 16px; }
.resource-pending p { margin: 7px 0 0; font-size: 12px; color: #708075; }
.pending-resources { display: flex; align-items: center; gap: 24px; background: #f7faf7; border: 1px dashed #dce7df; border-radius: 11px; padding: 22px 26px; margin-top: 17px; }
.pending-resources > div { flex: 1; }
.pending-resource-label { font-size: 12px; color: #5d7465; font-weight: 550; }
.pending-resources p { font-size: 11px; color: #718276; margin: 7px 0 0; line-height: 1.9; }
.download-bottom { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding-top: 32px; margin-top: 35px; border-top: 1px solid var(--line); }
.download-bottom > span { display: inline-flex; gap: 10px; align-items: center; color: #697e70; font-size: 12px; }
.download-bottom > span .icon { height: 17px; width: 17px; }
.download-bottom .button { font-size: 12px; min-height: 42px; }

.changelog-hero .text-link { margin-top: 24px; }
.changelog-main { padding-block: 56px 75px; }
.changelog-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 50px; align-items: flex-start; }
.changelog-sidebar { position: sticky; top: 104px; }
.changelog-filter-card { border: 1px solid var(--line); border-radius: 12px; padding: 23px; background: #fff; }
.changelog-filter-card h2 { font-size: 14px; display: flex; align-items: center; gap: 9px; letter-spacing: 0; margin-bottom: 24px; }
.changelog-filter-card h2 .icon { height: 17px; width: 17px; color: #6a9075; }
.changelog-filter-form { display: flex; flex-direction: column; }
.changelog-filter-form label { font-size: 11px; color: #6e7f73; margin-bottom: 8px; }
.changelog-filter-form select, .changelog-search-field { width: 100%; border: 1px solid #dce5de; border-radius: 6px; background: #fbfdfb; color: #405a49; }
.changelog-search-field { display: flex; align-items: center; padding: 9px 10px; gap: 8px; margin-bottom: 20px; }
.changelog-search-field .icon { width: 14px; height: 14px; color: #809488; }
.changelog-search-field input { font-size: 11px; border: 0; outline: none; width: 100%; min-width: 0; background: none; color: #3b5644; }
.changelog-search-field input::placeholder { color: #788c7f; }
.changelog-search-field:focus-within { outline: 2px solid #4f9c6b; outline-offset: 2px; }
.changelog-filter-form select { padding: 10px; font-family: inherit; font-size: 12px; margin-bottom: 23px; }
.changelog-filter-form > .button { font-size: 12px; min-height: 40px; padding-inline: 13px; gap: 12px; }
.changelog-reset { margin-top: 12px; text-align: center; color: #6e8275; font-size: 11px; }
.changelog-source { padding: 21px 10px; }
.changelog-source > span { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #627e6b; }
.changelog-source .icon { height: 14px; width: 14px; }
.changelog-source p { font-size: 11px; line-height: 1.9; color: #77877b; margin: 10px 0 14px; }
.changelog-source > .text-link { font-size: 11px; }
.changelog-feed-heading { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #54735e; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 25px; }
.changelog-feed-heading > span:last-child { color: #76887c; font-size: 10px; }
.changelog-timeline { padding-left: 27px; border-left: 1px solid #deebe2; margin-left: 7px; }
.changelog-entry { position: relative; margin: 0 0 26px; scroll-margin-top: 110px; }
.changelog-entry-marker { position: absolute; top: 29px; left: -33px; height: 11px; width: 11px; background: #70ad84; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #bfd9c7; }
.changelog-entry-content { border: 1px solid #e2eae4; background: #fff; border-radius: 12px; padding: 23px 27px 25px; }
.changelog-entry-content > header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #edf2ee; padding-bottom: 16px; margin-bottom: 18px; }
.changelog-entry time { font-size: 20px; font-weight: 550; letter-spacing: -.3px; color: #2f4c3a; }
.changelog-anchor { color: #8ba695; padding: 2px; }
.changelog-anchor .icon { height: 20px; width: 20px; }
.changelog-prose { font-size: 13px; color: #58705f; line-height: 1.95; overflow-wrap: anywhere; }
.changelog-prose > ul { margin: 0; padding-left: 20px; }
.changelog-prose > ul > li { margin: 9px 0 17px; color: #315e41; font-weight: 550; }
.changelog-prose > ul > li:last-child { margin-bottom: 0; }
.changelog-prose > ul > li > ul { font-weight: 400; color: #617968; margin-top: 8px; padding-left: 20px; }
.changelog-prose ul ul li { margin-block: 5px; }
.changelog-prose ul ul ul { padding-left: 20px; margin: 6px 0 9px; }
.changelog-prose p { margin: 8px 0; }
.changelog-prose code { background: #f0f5f1; padding: 2px 5px; border-radius: 3px; color: #487257; font-size: .9em; font-weight: 400; font-family: Consolas, monospace; }
.changelog-prose pre { overflow-x: auto; background: #f5f8f5; border: 1px solid var(--line); padding: 14px; border-radius: 6px; }
.changelog-prose a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }
.changelog-no-results { text-align: center; padding: 60px 25px; border: 1px solid var(--line); border-radius: 12px; }
.changelog-no-results > .icon { width: 35px; height: 35px; color: #7fa08b; margin-bottom: 18px; }
.changelog-no-results h2 { font-size: 20px; }
.changelog-no-results p { font-size: 12px; color: #708477; margin: 12px 0 25px; }
.changelog-no-results .button { font-size: 12px; min-height: 42px; }
.changelog-end { font-size: 10px; color: #778b7e; text-align: center; margin-top: 30px; }

@media (max-width: 1000px) {
  .changelog-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 30px; }
  .changelog-filter-card { padding: 20px; }
  .release-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-doc-card { padding: 24px; }
  .download-doc-card > .badge { right: 24px; }
}
@media (max-width: 680px) {
  .download-hero h1, .changelog-hero h1 { font-size: 34px; letter-spacing: -1px; }
  .download-lead { font-size: 13px; margin-top: 17px; }
  .download-shortcuts { gap: 8px; margin-top: 24px; }
  .download-shortcuts a { gap: 6px; font-size: 10px; padding: 7px 10px; }
  .download-shortcuts .icon { width: 13px; height: 13px; }
  .download-main, .changelog-main { padding-top: 36px; padding-bottom: 50px; }
  .download-section-heading { flex-direction: column; align-items: flex-start; gap: 13px; margin-bottom: 20px; }
  .download-section-heading h2 { font-size: 22px; }
  .download-section-heading:not(:first-child) { margin-top: 43px; }
  .release-card { padding: 24px; }
  .release-card-heading { gap: 12px; }
  .release-package-icon { width: 45px; height: 45px; border-radius: 11px; }
  .release-package-icon .icon { width: 23px; height: 23px; }
  .release-card-heading h3 { font-size: 18px; }
  .release-card-heading h3 > span { display: block; font-size: 15px; margin: 3px 0 0; }
  .release-summary { font-size: 12px; margin-block: 19px; }
  .release-meta { gap: 16px; padding-block: 18px; }
  .release-meta dt { font-size: 10px; }
  .release-meta dd { font-size: 11px; }
  .release-card-actions { gap: 12px; align-items: flex-start; }
  .release-card-actions .button { font-size: 11px; min-height: 41px; padding-inline: 13px; }
  .release-card-actions .text-link { font-size: 11px; }
  .release-empty { flex-direction: column; gap: 18px; }
  .release-empty-icon { width: 48px; height: 48px; border-radius: 12px; }
  .release-empty-icon .icon { width: 24px; height: 24px; }
  .release-empty h3 { font-size: 17px; }
  .release-empty p { font-size: 12px; }
  .download-notice { font-size: 11px; padding: 16px; }
  .download-docs-grid { grid-template-columns: 1fr; gap: 16px; }
  .download-doc-card { padding: 23px; }
  .download-doc-card h3 { font-size: 17px; }
  .download-doc-card > p { font-size: 12px; }
  .download-doc-links { gap: 17px; }
  .download-doc-links .text-link { font-size: 11px; }
  .download-resource-row { flex-wrap: wrap; align-items: flex-start; gap: 14px; padding: 22px; }
  .download-resource-icon { width: 38px; height: 38px; }
  .download-resource-body { flex-basis: calc(100% - 52px); }
  .download-resource-title h3 { font-size: 14px; }
  .download-resource-body p { font-size: 11px; }
  .download-resource-row > .button { margin-left: 52px; font-size: 11px; min-height: 38px; }
  .resource-pending { flex-wrap: wrap; gap: 14px; padding: 21px; }
  .resource-pending > .icon { width: 25px; height: 25px; }
  .resource-pending > div { flex-basis: calc(100% - 39px); }
  .resource-pending h3 { font-size: 14px; }
  .resource-pending p { font-size: 11px; }
  .resource-pending > .text-link { margin-left: 39px; }
  .pending-resources { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
  .pending-resource-label { font-size: 11px; }
  .pending-resources p { font-size: 10px; }
  .download-bottom { flex-direction: column; align-items: flex-start; gap: 18px; }
  .download-bottom > span { font-size: 11px; }
  .changelog-layout { grid-template-columns: 1fr; gap: 28px; }
  .changelog-sidebar { position: static; }
  .changelog-filter-card { padding: 21px; }
  .changelog-filter-card h2 { margin-bottom: 19px; }
  .changelog-filter-form { display: grid; grid-template-columns: 1fr 95px; gap: 8px 13px; }
  .changelog-filter-form label[for="changelog-query"] { grid-column: 1; }
  .changelog-search-field { grid-row: 2; grid-column: 1; margin: 0; }
  .changelog-filter-form label[for="changelog-year"] { grid-row: 1; grid-column: 2; }
  .changelog-filter-form select { grid-row: 2; grid-column: 2; margin: 0; padding: 8px 5px; font-size: 10px; }
  .changelog-filter-form label { font-size: 10px; margin-bottom: 0; }
  .changelog-filter-form > .button { grid-row: 3; grid-column: 1 / -1; margin-top: 8px; font-size: 11px; }
  .changelog-reset { grid-column: 1 / -1; margin-top: 3px; font-size: 10px; }
  .changelog-source { padding: 17px 3px 0; }
  .changelog-source p { margin: 8px 0 10px; font-size: 10px; }
  .changelog-feed-heading { margin-bottom: 20px; }
  .changelog-timeline { padding-left: 18px; margin-left: 5px; }
  .changelog-entry-marker { left: -24px; top: 27px; }
  .changelog-entry-content { padding: 20px 18px 22px; }
  .changelog-entry time { font-size: 18px; }
  .changelog-prose { font-size: 12px; }
  .changelog-prose > ul { padding-left: 16px; }
  .changelog-prose > ul > li > ul, .changelog-prose ul ul ul { padding-left: 16px; }
  .changelog-end { font-size: 10px; }
}
