.updates-hero .download-heading { max-width: 860px; }
.update-summary-panel {
  max-width: 980px;
  margin: 38px auto 0;
  overflow: hidden;
  border: 1px solid rgba(29, 67, 121, 0.13);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: case-in 700ms 90ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.update-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 253, 255, 0.84);
}
.summary-title {
  display: flex;
  align-items: center;
  gap: 11px;
}
.summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--blue-soft);
}
.summary-icon svg {
  width: 20px;
  height: 20px;
  fill: rgba(58, 130, 247, 0.12);
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: summary-spark 620ms 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.summary-title > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.summary-title small { color: var(--muted); font-size: 10.5px; }
.summary-title strong { color: var(--navy); font-family: var(--font-mono); font-size: 14px; font-weight: 650; }
.update-summary-body {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 190px;
  align-items: center;
  gap: 34px;
  padding: 30px 28px;
}
.update-version-block {
  display: flex;
  flex-direction: column;
  padding-right: 28px;
  border-right: 1px solid var(--line);
}
.version-label { color: var(--muted); font-size: 10.5px; font-weight: 650; letter-spacing: 0.08em; }
.update-version-block > strong {
  margin-top: 5px;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 580;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.update-version-block > span:last-child { margin-top: 8px; color: var(--muted); font-size: 10.5px; }
.update-version-block b { color: var(--navy-2); font-family: var(--font-mono); font-weight: 600; }
.update-highlight h2 {
  margin-top: 5px;
  font-size: 23px;
  font-weight: 640;
  line-height: 1.42;
}
.update-highlight > p:not(.section-kicker) {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.78;
}
.update-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}
.update-points span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid #d9e8fb;
  border-radius: 999px;
  color: #4f6e95;
  background: #f7faff;
  font-size: 9.5px;
}
.update-points svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.update-summary-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.update-summary-actions .text-link { font-size: 11px; }

.update-history {
  padding-bottom: 72px;
  background: #fff;
  border-top: 1px solid rgba(223, 230, 241, 0.7);
}
.release-timeline {
  position: relative;
  max-width: 980px;
  margin: 50px auto 0;
  padding: 0;
  list-style: none;
}
.release-timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 18px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, var(--blue-line), var(--line));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.release-timeline.is-visible::before { transform: scaleY(1); }
.release-entry {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 34px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 440ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.release-timeline.is-visible .release-entry { opacity: 1; transform: none; }
.release-timeline.is-visible .release-entry:nth-child(2) { transition-delay: 70ms; }
.release-timeline.is-visible .release-entry:nth-child(3) { transition-delay: 140ms; }
.release-timeline.is-visible .release-entry:nth-child(4) { transition-delay: 210ms; }
.release-entry:last-child { padding-bottom: 0; }
.release-node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #61758f;
  background: #fff;
  box-shadow: 0 8px 24px rgba(41, 82, 145, 0.07);
}
.release-node svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.release-entry.is-current .release-node {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 9px 26px rgba(58, 130, 247, 0.22);
}
.release-entry.is-current .release-node svg { fill: rgba(255, 255, 255, 0.2); }
.release-entry.is-optimize .release-node { color: var(--amber); background: var(--amber-soft); }
.release-entry.is-feature .release-node { color: var(--blue); background: var(--blue-soft); }
.release-entry.is-message .release-node { color: #377192; background: #ecf8fc; }
.release-timeline.is-visible .release-node {
  animation: node-in 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.release-timeline.is-visible .release-entry:nth-child(2) .release-node { animation-delay: 70ms; }
.release-timeline.is-visible .release-entry:nth-child(3) .release-node { animation-delay: 140ms; }
.release-timeline.is-visible .release-entry:nth-child(4) .release-node { animation-delay: 210ms; }
.release-content {
  min-width: 0;
  padding: 1px 0 28px;
  border-bottom: 1px solid var(--line);
}
.release-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.release-date {
  display: block;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9.5px;
}
.release-content h3 {
  margin-top: 4px;
  font-size: 19px;
  font-weight: 640;
  line-height: 1.45;
}
.release-badge {
  flex: none;
  padding: 4px 9px;
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  color: var(--blue-strong);
  background: var(--blue-pale);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
}
.release-badge.is-quiet {
  color: var(--muted);
  border-color: var(--line);
  background: #fbfdff;
}
.release-content > p {
  max-width: 760px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.82;
}
.release-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.release-points span {
  padding: 4px 9px;
  border-radius: 999px;
  color: #5b6f8b;
  background: #f2f6fc;
  font-size: 9.5px;
}
.history-more {
  max-width: 980px;
  margin: 28px auto 0;
  text-align: right;
}
.history-more .text-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

@media (max-width: 900px) {
  .update-summary-body {
    grid-template-columns: 150px minmax(0, 1fr);
  }
  .update-summary-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  .update-summary-actions .button { width: auto; }
}

@media (max-width: 760px) {
  .update-summary-panel {
    margin-top: 30px;
    border-radius: 24px;
  }
  .update-summary-top { padding: 12px 15px; }
  .update-summary-body {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 16px;
  }
  .update-version-block {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .update-version-block > strong { font-size: 36px; }
  .update-highlight h2 { font-size: 21px; }
  .update-summary-actions {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .update-summary-actions .button { width: 100%; }
  .update-summary-actions .text-link { justify-content: center; }

  .release-timeline { margin-top: 34px; }
  .release-entry {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 15px;
    padding-bottom: 28px;
  }
  .release-timeline::before { left: 17px; }
  .release-node {
    width: 35px;
    height: 35px;
    border-radius: 11px;
  }
  .release-title-row { flex-direction: column; gap: 8px; }
  .release-content h3 { font-size: 18px; }
  .release-content > p { font-size: 12.5px; }
  .release-badge { align-self: flex-start; }
  .history-more { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .update-summary-panel { animation: none; }
  .release-timeline::before { transform: none; transition: none; }
  .release-entry { opacity: 1; transform: none; transition: none; }
  .summary-icon svg,
  .release-node {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

@keyframes summary-spark {
  from { opacity: 0; transform: scale(0.62) rotate(-10deg); }
  to { opacity: 1; transform: none; }
}
@keyframes node-in {
  from { opacity: 0; transform: scale(0.8) translateY(3px); }
  to { opacity: 1; transform: none; }
}
