.release-notes-page {
  scroll-snap-type: none;
}

.release-notes-page .release-page,
.release-notes-page .site-footer {
  scroll-snap-align: none;
}

.release-page {
  min-height: 100vh;
  overflow-anchor: none;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 4%, rgba(26, 115, 232, 0.11), transparent 27rem),
    radial-gradient(circle at 92% 18%, rgba(16, 182, 202, 0.1), transparent 25rem),
    var(--surface);
}

.release-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  padding: 18px 0;
}

.release-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.release-brand__logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 87, 191, 0.16));
}

.release-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 46px 0 96px;
}

.release-hero {
  max-width: 850px;
  margin-bottom: 44px;
}

.release-eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.release-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.release-page--archive .release-hero {
  width: min(1092px, 100%);
  max-width: none;
  margin: 0 auto 38px;
}

.release-page--single .release-main {
  padding-top: 34px;
}

.release-breadcrumbs {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 34px;
  margin: 0 0 22px;
}

.release-breadcrumbs__trail {
  display: flex;
  grid-column: 2;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.release-breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
  transition: color 160ms ease;
}

.release-breadcrumbs a:hover,
.release-breadcrumbs a:focus-visible {
  color: var(--primary-bright);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.release-breadcrumbs__trail > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-archive {
  width: min(1092px, 100%);
  margin: 0 auto;
}

.release-archive__groups {
  display: grid;
  gap: 34px;
}

.release-archive__year-label {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.release-archive__year-label span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 23px;
  height: 23px;
  margin-left: auto;
  padding: 0 7px;
  color: color-mix(in srgb, var(--ink-muted) 72%, transparent);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  background: color-mix(in srgb, var(--ink-muted) 6%, transparent);
  border-radius: 999px;
}

.release-archive__list {
  display: grid;
  gap: 18px;
}

.release-archive-card {
  min-width: 0;
}

.release-archive-card__link {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 220px;
  height: 100%;
  padding: clamp(24px, 4vw, 36px);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background:
    radial-gradient(circle at 7% 10%, color-mix(in srgb, var(--primary-bright) 10%, transparent), transparent 34%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.09);
  flex-direction: column;
  align-items: flex-start;
  isolation: isolate;
  transition:
    color 180ms ease,
    border-color 220ms ease,
    box-shadow 260ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.release-archive-card__link::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  content: "";
  background: radial-gradient(circle at top right, color-mix(in srgb, var(--primary-bright) 11%, transparent), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.release-archive-card__link:hover,
.release-archive-card__link:focus-visible {
  color: var(--primary);
  outline: none;
  border-color: color-mix(in srgb, var(--primary-bright) 38%, var(--line));
  box-shadow:
    0 30px 66px rgba(15, 23, 42, 0.14),
    0 10px 28px rgba(0, 87, 191, 0.09);
  transform: translateY(-4px);
}

.release-archive-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 18px;
}

.release-archive-card__meta time {
  margin-left: auto;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.release-archive-card h2 {
  max-width: 820px;
  margin: 0;
  color: inherit;
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(25px, 3.6vw, 36px);
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.release-archive-card p {
  max-width: 800px;
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.65;
}

.release-archive-card__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
}

.release-archive-card__action > span {
  font-size: 18px;
  line-height: 1;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.release-archive-card__link:hover .release-archive-card__action > span,
.release-archive-card__link:focus-visible .release-archive-card__action > span {
  transform: translateX(4px);
}

.release-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}

.release-sidebar {
  position: sticky;
  top: calc(var(--site-header-height, 70px) + 22px);
}

.release-tree-panel {
  overflow: hidden;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.release-tree-panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 15px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  list-style: none;
  cursor: default;
  border-bottom: 1px solid var(--line);
}

.release-versions-button__glyph {
  display: none;
}

.release-versions-button__label--mobile {
  display: none;
}

.release-tree-panel > summary::-webkit-details-marker,
.release-tree__year > summary::-webkit-details-marker {
  display: none;
}

.release-tree-panel__count,
.release-tree__year > summary span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  color: var(--primary);
  font-size: 11px;
  background: color-mix(in srgb, var(--primary-bright) 10%, var(--card));
  border-radius: 999px;
}

.release-tree {
  max-height: min(66vh, 720px);
  padding: 11px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.release-tree__year + .release-tree__year {
  margin-top: 5px;
}

.release-tree__year > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 0 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
  border-radius: 8px;
}

.release-tree__year > summary::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  content: "";
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: rotate(-45deg);
  transition: transform 160ms ease;
}

.release-tree__year[open] > summary::before {
  transform: rotate(45deg) translate(-1px, -1px);
}

.release-tree__year > summary span:first-child {
  margin-right: auto;
}

.release-tree__year > summary:hover,
.release-tree__year > summary:focus-visible {
  background: var(--card-muted);
  outline: none;
}

.release-tree__year ol {
  display: grid;
  gap: 4px;
  margin: 2px 0 9px;
  padding: 0;
  list-style: none;
}

.release-tree__year a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 11px 10px 27px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 10px;
}

.release-tree__year a::before {
  position: absolute;
  top: 50%;
  left: 11px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--line-strong);
  border-radius: 50%;
  transform: translateY(-50%);
}

.release-tree__year a:hover,
.release-tree__year a:focus-visible {
  background: var(--card-muted);
  border-color: var(--line);
  outline: none;
}

.release-tree__year a[aria-current="page"] {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary-bright) 9%, var(--card));
  border-color: color-mix(in srgb, var(--primary-bright) 24%, var(--line));
}

.release-tree__year a[aria-current="page"]::before {
  background: var(--primary-bright);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-bright) 15%, transparent);
}

.release-tree__version {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 900;
}

.release-tree__date {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: 9px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.release-tree__date::before {
  width: 1px;
  height: 14px;
  margin-right: 9px;
  content: "";
  background: color-mix(in srgb, var(--line-strong) 78%, transparent);
  border-radius: 999px;
}

.release-content {
  min-width: 0;
}

.release-article,
.release-empty {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.release-article {
  overflow: hidden;
}

.release-article__header {
  padding: clamp(28px, 5vw, 52px) clamp(24px, 6vw, 62px) 30px;
}

.release-article__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.release-type,
.release-version {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  border-radius: 8px;
}

.release-type--release {
  color: #075e34;
  background: rgba(25, 183, 104, 0.13);
}

.release-type--major {
  color: #164da0;
  background: rgba(26, 115, 232, 0.13);
}

.release-type--hotfix {
  color: #92400e;
  background: rgba(245, 158, 11, 0.16);
}

.release-type--beta {
  color: #6d28d9;
  background: rgba(139, 92, 246, 0.14);
}

.release-version {
  color: var(--ink-muted);
  background: var(--card-muted);
  border: 1px solid var(--line);
}

.release-article__header h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.release-article__date {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  margin-left: auto;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.release-article__date span::after {
  content: ":";
}

.release-article__summary {
  max-width: 760px;
  margin: 25px 0 0;
  color: var(--ink-muted);
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.65;
}

.release-article__image {
  margin: 0;
  padding: 0 clamp(24px, 6vw, 62px) 14px;
}

.release-article__image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.release-article__body {
  padding: 12px clamp(24px, 6vw, 62px) clamp(34px, 6vw, 64px);
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.75;
}

.release-article__body > :first-child {
  margin-top: 0;
}

.release-article__body > :last-child {
  margin-bottom: 0;
}

.release-article__body h2,
.release-article__body h3,
.release-article__body h4 {
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.25;
}

.release-article__body h2 {
  margin: 42px 0 16px;
  font-size: clamp(25px, 3.4vw, 34px);
}

.release-article__body h3 {
  margin: 32px 0 12px;
  font-size: 22px;
}

.release-article__body p,
.release-article__body ul,
.release-article__body ol,
.release-article__body blockquote,
.release-article__body figure,
.release-article__body table {
  margin-top: 0;
  margin-bottom: 22px;
}

.release-article__body ul,
.release-article__body ol {
  padding-left: 1.35em;
}

.release-article__body li + li {
  margin-top: 8px;
}

.release-article__body a {
  color: var(--primary);
  font-weight: 750;
  text-underline-offset: 0.18em;
}

.release-article__body blockquote {
  padding: 18px 20px;
  color: var(--ink);
  background: var(--card-muted);
  border-left: 4px solid var(--primary-bright);
  border-radius: 0 12px 12px 0;
}

.release-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.release-article__body table {
  width: 100%;
  border-collapse: collapse;
}

.release-article__body th,
.release-article__body td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--line);
}

.release-article__body th {
  color: var(--ink);
  background: var(--card-muted);
}

.release-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.release-navigation__link {
  display: grid;
  gap: 5px;
  min-height: 82px;
  padding: 17px 19px;
  color: var(--ink);
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.release-navigation__link--newer {
  grid-column: 1;
}

.release-navigation__link--older {
  grid-column: 2;
  text-align: right;
}

.release-navigation__link:hover,
.release-navigation__link:focus-visible {
  color: var(--primary);
  outline: none;
  border-color: color-mix(in srgb, var(--primary-bright) 36%, var(--line));
  transform: translateY(-1px);
}

.release-navigation__link span {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 750;
}

.release-navigation__link strong {
  font-size: 16px;
}

.release-empty {
  display: grid;
  justify-items: start;
  min-height: 360px;
  padding: clamp(32px, 7vw, 68px);
}

.release-empty > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--primary);
  font-size: 24px;
  background: color-mix(in srgb, var(--primary-bright) 11%, var(--card));
  border-radius: 14px;
}

.release-empty h1,
.release-empty h2 {
  margin: 26px 0 10px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
}

.release-empty p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.65;
}

html[data-theme="dark"] .release-page {
  background:
    radial-gradient(circle at 9% 4%, rgba(50, 132, 235, 0.13), transparent 27rem),
    radial-gradient(circle at 92% 18%, rgba(16, 182, 202, 0.09), transparent 25rem),
    var(--surface);
}

html[data-theme="dark"] .release-tree-panel,
html[data-theme="dark"] .release-article,
html[data-theme="dark"] .release-empty,
html[data-theme="dark"] .release-archive-card__link,
html[data-theme="dark"] .release-navigation__link {
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .release-archive-card__link:hover,
html[data-theme="dark"] .release-archive-card__link:focus-visible {
  box-shadow:
    0 30px 66px rgba(0, 0, 0, 0.38),
    0 10px 28px rgba(38, 132, 255, 0.1);
}

html[data-theme="dark"] .release-type--release {
  color: #72e3aa;
}

html[data-theme="dark"] .release-type--major {
  color: #8ec5ff;
}

html[data-theme="dark"] .release-type--hotfix {
  color: #f8c86d;
}

html[data-theme="dark"] .release-type--beta {
  color: #c4b5fd;
}

@media (max-width: 820px) {
  .release-header,
  .release-main {
    width: min(100% - 32px, 720px);
  }

  .release-header {
    align-items: flex-start;
  }

  .release-main {
    padding-top: 34px;
  }

  .release-hero {
    margin-bottom: 30px;
  }

  .release-page--single .release-main {
    padding-top: 26px;
  }

  .release-breadcrumbs {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-bottom: 18px;
  }

  .release-breadcrumbs__trail {
    grid-column: 1;
  }

  .release-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .release-sidebar {
    position: static;
  }

  .release-tree-panel > summary {
    cursor: pointer;
  }

  .release-tree-panel > summary::after {
    width: 8px;
    height: 8px;
    margin-left: 2px;
    content: "";
    border-right: 2px solid var(--ink-muted);
    border-bottom: 2px solid var(--ink-muted);
    transform: rotate(45deg) translate(-2px, -2px);
  }

  .release-tree-panel[open] > summary::after {
    transform: rotate(-135deg) translate(-1px, -1px);
  }

  .release-tree-panel__count {
    margin-left: auto;
  }

  .release-tree {
    max-height: 390px;
  }

  .release-archive__groups {
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .release-page--single:not(.module-page) .release-sidebar {
    display: none;
  }

  .release-sidebar {
    position: fixed;
    top: calc(var(--site-header-height, 72px) + 12px);
    left: calc(16px + env(safe-area-inset-left, 0px));
    z-index: 80;
    width: min(420px, calc(100vw - 32px));
    margin: 0;
    pointer-events: none;
  }

  .release-tree-panel {
    position: relative;
    display: grid;
    grid-template-rows: 56px 0fr;
    width: 58px;
    overflow: hidden;
    background:
      radial-gradient(circle at 18% 8%, color-mix(in srgb, var(--primary-bright) 20%, transparent), transparent 42%),
      linear-gradient(145deg, color-mix(in srgb, var(--primary-bright) 9%, var(--card)), var(--card));
    border-color: color-mix(in srgb, var(--primary-bright) 12%, var(--line));
    border-radius: 16px;
    box-shadow:
      0 18px 42px rgba(15, 23, 42, 0.11),
      inset 0 1px 0 color-mix(in srgb, #fff 52%, transparent);
    pointer-events: auto;
    transform-origin: left top;
    transition:
      width 440ms cubic-bezier(0.22, 1, 0.36, 1),
      grid-template-rows 460ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 260ms ease,
      box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: width, grid-template-rows;
  }

  .release-tree-panel[open] {
    grid-template-rows: 64px 1fr;
    width: 100%;
    border-color: color-mix(in srgb, var(--primary-bright) 32%, var(--line));
    box-shadow:
      0 30px 76px rgba(15, 23, 42, 0.2),
      0 10px 30px rgba(0, 87, 191, 0.12),
      inset 0 1px 0 color-mix(in srgb, #fff 58%, transparent);
  }

  .release-tree-panel > summary,
  .release-tree-panel[open] > summary {
    position: relative;
    display: grid;
    grid-template-columns: 42px auto;
    grid-template-rows: 1fr;
    place-content: center start;
    place-items: center start;
    gap: 10px;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 7px 10px 7px 8px;
    cursor: pointer;
    background: transparent;
    border: 0;
    border-radius: 15px;
    transition:
      padding 380ms cubic-bezier(0.22, 1, 0.36, 1),
      background-color 260ms ease,
      color 260ms ease;
  }

  .release-tree-panel[open] > summary {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 8px 14px 8px 10px;
    border-radius: 15px 15px 0 0;
  }

  .release-tree-panel:not([open]) > summary {
    grid-template-columns: 42px;
    place-content: center;
    place-items: center;
    gap: 0;
    padding: 7px;
  }

  .release-tree-panel > summary::after,
  .release-tree-panel[open] > summary::after {
    display: none;
    content: none;
  }

  .release-tree-panel > summary:hover,
  .release-tree-panel > summary:focus-visible {
    background: color-mix(in srgb, var(--primary-bright) 7%, transparent);
    outline: none;
  }

  .release-tree-panel:not([open]):hover,
  .release-tree-panel:not([open]):focus-within {
    border-color: color-mix(in srgb, var(--primary-bright) 36%, var(--line));
    box-shadow:
      0 24px 54px rgba(15, 23, 42, 0.15),
      0 8px 24px rgba(0, 87, 191, 0.12),
      inset 0 1px 0 color-mix(in srgb, #fff 58%, transparent);
  }

  .release-versions-button__glyph {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background:
      radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.36), transparent 34%),
      linear-gradient(145deg, var(--primary-bright), var(--primary));
    border: 1px solid color-mix(in srgb, #fff 28%, transparent);
    border-radius: 13px;
    box-shadow:
      0 9px 20px rgba(0, 87, 191, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition:
      width 360ms cubic-bezier(0.22, 1, 0.36, 1),
      height 360ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 300ms ease;
  }

  .release-versions-button__glyph::before {
    width: 27px;
    height: 27px;
    content: "";
    background: currentColor;
    mask: url("../icons/nav-versions.svg") center / contain no-repeat;
    transition:
      width 360ms cubic-bezier(0.22, 1, 0.36, 1),
      height 360ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .release-versions-button__label {
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
  }

  .release-versions-button__label--desktop {
    display: none;
  }

  .release-versions-button__label--mobile {
    display: none;
  }

  .release-tree-panel[open] .release-versions-button__label--mobile {
    display: block;
  }

  .release-tree-panel__count {
    display: none;
    justify-self: end;
    margin-left: 0;
  }

  .release-tree-panel[open] .release-tree-panel__count {
    display: inline-flex;
  }

  .release-tree-panel[open] .release-versions-button__glyph {
    width: 48px;
    height: 48px;
    transform: rotate(-3deg);
  }

  .release-tree-panel[open] .release-versions-button__glyph::before {
    width: 30px;
    height: 30px;
  }

  .release-tree-panel > .release-tree {
    position: static;
    display: block;
    width: 100%;
    min-height: 0;
    max-height: min(55svh, 390px);
    padding: 0 12px;
    overflow: hidden auto;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--primary-bright) 4%, transparent), transparent 34%);
    border-top: 0 solid transparent;
    border-radius: 0 0 15px 15px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -10px, 0) scale(0.985);
    transform-origin: top left;
    transition:
      padding 420ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 260ms ease,
      border-width 260ms ease,
      opacity 190ms ease,
      transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 420ms;
  }

  .release-tree-panel[open] > .release-tree {
    padding: 12px;
    border-top-width: 1px;
    border-top-color: color-mix(in srgb, var(--primary-bright) 15%, var(--line));
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    transition-delay: 0s, 0s, 0s, 90ms, 0s, 0s;
  }
}

@media (max-width: 560px) {
  .release-header {
    width: calc(100% - 24px);
    min-height: 72px;
    padding: 14px 0;
  }

  .release-brand {
    gap: 9px;
    font-size: 13px;
  }

  .release-brand__logo {
    width: 38px;
    height: 38px;
  }

  .release-main {
    width: calc(100% - 24px);
    padding: 26px 0 68px;
  }

  .release-hero h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .release-archive-card__link {
    min-height: 0;
    padding: 24px 22px;
  }

  .release-archive-card__meta {
    gap: 6px;
  }

  .release-archive-card__meta .release-type,
  .release-archive-card__meta .release-version {
    padding-right: 8px;
    padding-left: 8px;
  }

  .release-archive-card__meta time {
    font-size: 11px;
  }

  .release-article__header {
    padding: 26px 22px 24px;
  }

  .release-article__body {
    padding: 10px 22px 36px;
    font-size: 16px;
  }

  .release-article__image {
    padding: 0 22px 10px;
  }

  .release-navigation {
    grid-template-columns: 1fr;
  }

  .release-navigation__link--newer,
  .release-navigation__link--older {
    grid-column: 1;
    text-align: left;
  }

  .release-empty {
    min-height: 300px;
    padding: 32px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .release-breadcrumbs a,
  .release-archive-card__link,
  .release-archive-card__action > span,
  .release-tree-panel,
  .release-tree-panel > summary,
  .release-versions-button__glyph,
  .release-versions-button__glyph::before,
  .release-tree,
  .release-tree__year > summary::before,
  .release-navigation__link {
    transition: none;
  }
}
