.dl { padding-top: 56px; padding-bottom: 100px; }
.dl-hero { display: flex; align-items: center; gap: 24px; margin-bottom: 40px; }
.dl-icon { border-radius: 24px; filter: drop-shadow(0 18px 40px color-mix(in srgb, var(--accent-3) 50%, transparent)); animation: float 5s ease-in-out infinite; }
.dl-title { font-size: clamp(40px, 5vw, 60px); margin: 0 0 6px; }
.dl-sub { margin: 0; color: var(--muted); }

.dl-grid { display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: start; }
.dl-side { display: grid; gap: 18px; position: sticky; top: 88px; }
.dl-card { padding: 24px; }
.dl-picked-head { display: flex; align-items: center; gap: 10px; }
.dl-version { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.badge {
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  color: var(--on-accent); background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
}
.dl-meta { margin: 4px 0 18px; font-size: 14px; color: var(--muted); }
.dl-button { width: 100%; font-size: 17px; padding: 16px 20px; }
.dl-button[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.dl-sha { margin-top: 14px; font-size: 13px; }
.dl-sha summary { cursor: pointer; color: var(--faint); }
.dl-sha code { display: block; margin-top: 8px; word-break: break-all; font-size: 11.5px; padding: 8px 10px; }

.dl-h { font-size: 15px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); margin: 10px 0 -4px; font-weight: 700; }
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dl-list button {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  color: var(--text); font: 500 15px var(--font-body); text-align: left; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.dl-list button:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); transform: translateX(3px); }
.dl-list button[aria-current="true"] { border-color: color-mix(in srgb, var(--accent-2) 55%, transparent); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.dl-list .v { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.dl-list .d { color: var(--faint); font-size: 13px; }
.dl-list .s { color: var(--muted); font-size: 13px; }
.dl-list .tag { font-size: 11px; font-weight: 700; color: var(--accent-2); margin-left: 6px; }

.dl-steps h3 { margin-bottom: 10px; }
.dl-steps ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14.5px; display: grid; gap: 8px; }

.dl-notes { padding: 34px 38px; min-height: 480px; }
.dl-notes-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 8px; }
.dl-notes-head h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); }
.dl-date { color: var(--faint); font-size: 14px; white-space: nowrap; }

/* Release notes rendered from Markdown */
.md { transition: opacity 0.2s; }
.md.fade { opacity: 0; }
.md h2 { font-size: 22px; margin: 28px 0 10px; }
.md h3 { font-size: 18px; margin: 22px 0 8px; }
.md p, .md li { color: var(--muted); font-size: 16px; }
.md strong { color: var(--text); }
.md ul, .md ol { padding-left: 22px; display: grid; gap: 6px; }
.md li::marker { color: var(--accent); }
.md a { color: var(--accent-2); }
.md pre { margin: 12px 0; }

@media (max-width: 920px) {
  .dl-grid { grid-template-columns: 1fr; }
  .dl-side { position: static; }
  .dl-notes { padding: 26px 22px; }
  .dl-hero { gap: 16px; }
  .dl-icon { width: 76px; height: 76px; }
}
