/* 下载页局部布局，在公共样式之后加载。 */
.download-hero {
  min-height: 380px;
  padding: 36px max(32px, calc((100vw - 1180px)/2));
  gap: 40px;
}
.download-hero h1 { font-size: clamp(36px, 4vw, 54px); }
.download-hero .platform-symbol { width: 44px; height: 44px; margin: 16px 0 12px; }
.download-hero .recommended-download { padding: 24px; }
.download-hero .recommended-download > p { min-height: 0; margin: 8px 0 16px; }
.download-hero .recommended-download > small { color: #667489; font-size: 11px; }
.release-history-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 250px);
  min-height: 60px;
  margin-top: 18px;
  padding: 10px 12px 10px 16px;
  border: 1px solid #dce5f7;
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  color: #3449c9;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(43,60,96,.04);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.release-history-link strong,
.release-history-link small { display: block; }
.release-history-link strong { font-size: 13px; font-weight: 700; }
.release-history-link small { margin-top: 3px; color: #728096; font-size: 11px; }
.release-history-arrow { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: #edf1ff; font-size: 15px; transition: transform .18s ease; }
.release-history-link:hover { border-color: #b9c6f4; background: #fff; box-shadow: 0 9px 24px rgba(43,60,96,.08); }
.release-history-link:hover .release-history-arrow { transform: translateY(2px); }
.back-to-download { padding: 10px 0; color: #3449c9; font-size: 13px; font-weight: 650; }
.back-to-download:hover { text-decoration: underline; }
[data-page="download"] section[id] { scroll-margin-top: 84px; }
[data-page="download"] .platform-section,
[data-page="download"] .mobile-platform-section { padding-top: 40px; padding-bottom: 40px; }
[data-page="download"] .release-heading { margin-bottom: 22px; }
[data-page="download"] .release-heading h2,
[data-page="download"] .mobile-platform-copy h2,
.download-updates .changelog-toolbar h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.2; }
[data-page="download"] .platform-section .release-heading h2,
[data-page="download"] .mobile-platform-copy h2 { margin: 9px 0 14px; font-weight: 700; }
.download-updates { background: #f7f9fd; }
.download-updates .changelog-toolbar { margin-bottom: 28px; }
.download-updates .changelog-toolbar p { margin: 0; color: #667489; font-size: 14px; line-height: 1.7; }
.download-updates .release-entry { padding-bottom: 20px; }
.download-updates .back-to-download { flex-shrink: 0; }
.platform-card.recommended .download-action {
  border-color: #bac7f4;
  color: #4056ce;
  background: #fff;
  box-shadow: none;
}
.platform-card.recommended .download-action:hover { border-color: #879aee; box-shadow: 0 8px 20px rgba(64,86,206,.12); }
.release-history-link:focus-visible { outline: 2px solid #3449c9; outline-offset: 3px; }
.back-to-download:focus-visible { outline: 2px solid #3449c9; outline-offset: 4px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  .release-history-link,
  .release-history-arrow { transition: none; }
  .release-history-link:hover .release-history-arrow { transform: none; }
}
@media (max-width: 950px) {
  .download-hero { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 24px; }
}
@media (max-width: 720px) {
  .download-hero { grid-template-columns: 1fr; min-height: 0; padding: 24px 22px; gap: 20px; }
  .download-hero h1 { margin: 12px 0; font-size: 36px; }
  .download-hero .version-pills { margin-top: 14px; }
  .download-hero .recommended-download { width: 100%; }
  .download-hero .platform-symbol { display: none; }
  .download-hero .recommended-top { margin-bottom: 12px; }
  .download-updates { padding: 48px 22px; }
}
