/* 历史版本下载目录，与首页共用品牌、字体和配色。 */
.history { padding-block: clamp(36px, 6vw, 72px) 64px; }
.history-back { display: inline-flex; gap: 8px; color: var(--text-2); font-size: 14px; }
.history-back:hover { color: var(--accent); }
.history-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-block: 28px 32px; }
.history-heading h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; margin-bottom: 16px; }
.history-heading p { max-width: 58ch; color: var(--text-2); font-size: 15px; line-height: 1.8; }
.history-latest { flex: none; }
.history-directory { border: 1px solid var(--line-2); border-radius: var(--r-tile); background: var(--bg-2); overflow: hidden; box-shadow: inset 0 1px 0 var(--edge-hi); }
.history-caption { padding: 18px 24px; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line-2); color: var(--text-2); font-size: 13px; }
.history-caption strong { color: var(--text); font-weight: 600; }
.history-columns, .history-version { display: grid; grid-template-columns: 1fr repeat(4, 1.1fr); gap: 20px; align-items: center; padding: 20px 24px; }
.history-columns { background: var(--surface); font-size: 13px; color: var(--text-2); }
.history-columns small { display: block; font-size: 11px; margin-top: 2px; }
.history-version { border-top: 1px solid var(--line); }
.history-version h2 { font-family: var(--font-mono); font-size: 17px; letter-spacing: -0.04em; }
.history-files { display: contents; list-style: none; }
.history-files li { min-width: 0; }
.history-platform { display: none; }
.history-file { display: inline-flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 14px; color: var(--accent-hi); transition: color 0.18s; }
.history-file:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.history-file svg { width: 15px; height: 15px; }
.history-size { display: block; color: var(--text-2); font-family: var(--font-mono); font-size: 11px; }
.history-unavailable { display: block; padding-block: 7px; color: var(--text-2); font-size: 13px; }
.history-status { margin-top: 12px; font-size: 12px; color: var(--text-2); }
.history-note { margin-top: 22px; color: var(--text-2); font-size: 13px; line-height: 1.9; }
.history-note a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }
.history-page .nav a[aria-current="page"] { color: var(--text); }
.history-page .footer { padding-top: 36px; }
@media (max-width: 760px) {
  .history-heading { flex-direction: column; align-items: flex-start; }
  .history-columns { display: none; }
  .history-version { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; }
  .history-version:first-of-type { border-top: 0; }
  .history-files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
  .history-platform { display: block; color: var(--text-2); font-size: 12px; }
  .history-caption { padding-inline: 20px; flex-wrap: wrap; gap: 4px 16px; }
}
@media (max-width: 360px) {
  .history-files { grid-template-columns: 1fr; }
}
