@layer pages {
  .dl { padding-block: clamp(48px, 7vw, 104px) 0; }
  .dl-head h1 { font-size: var(--text-display); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; }
  .release { min-height: 1.7em; margin-top: 16px; color: var(--ds-text-secondary); font-size: var(--text-lead); font-variant-numeric: tabular-nums; }

  /* 识别到的系统放在左侧并更宽；另一个系统退为次要。 */
  .dl-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; margin-top: clamp(32px, 5vw, 56px); }
  .dl-grid[data-recommended="linux"] [data-os="linux"] { order: -1; }
  .dl-card { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: clamp(24px, 3vw, 40px); border-radius: var(--ds-radius-xl); background: var(--ds-surface-100); box-shadow: var(--ds-elevation-200); }
  @supports (corner-shape: superellipse(1.5)) { .dl-card { corner-shape: superellipse(1.5); border-radius: 32px; } }
  .dl-card h2 { display: flex; align-items: center; gap: 14px; font-size: 1.75rem; letter-spacing: -.02em; }
  .dl-card h2 svg { width: 32px; height: 32px; flex: none; color: var(--ds-brand-primary); }
  .dl-card .button { min-height: 52px; padding-inline: 28px; font-size: 1rem; }
  .button .size { opacity: .72; font-weight: 400; font-variant-numeric: tabular-nums; }
  .button .size:not(:empty)::before { content: "·"; margin-inline: 8px; }
  .dl-actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .checksum { margin-top: auto; color: var(--ds-text-secondary); font-size: var(--text-small); text-underline-offset: 4px; }
  .checksum:hover { color: var(--ds-brand-primary); }
}
@media (max-width: 860px) {
  .dl-grid { grid-template-columns: minmax(0, 1fr); }
}
