@font-face {
  font-family: "Rubik";
  src: url("./assets/fonts/rubik-latin.94df5f5371c1.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("./assets/fonts/rubik-latin-italic.7e7ec69ff5f4.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f7f9ff;
  background: #02091d;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #f7f9ff;
  --muted: #aebbd4;
  --quiet: #7788a6;
  --blue: #3f82e8;
  --blue-bright: #72b2ff;
  --blue-deep: #1c65ab;
  --navy: #02091d;
  --navy-soft: #06142e;
  --line: rgba(167, 197, 255, 0.17);
  --line-strong: rgba(167, 197, 255, 0.28);
  --glass: rgba(6, 20, 46, 0.62);
  --shadow: 0 28px 90px rgba(0, 4, 20, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--navy);
  overflow-x: hidden;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(2, 9, 29, 0.32), rgba(2, 9, 29, 0.5)),
    var(--navy) url("./assets/brand/background.2dfc23fb1a11.png") center / cover fixed no-repeat;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 12%, rgba(63, 130, 232, 0.15), transparent 31rem),
    radial-gradient(circle at 12% 52%, rgba(28, 101, 171, 0.18), transparent 35rem);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

::selection {
  color: #fff;
  background: var(--blue);
}

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 11px 15px;
  color: var(--navy);
  border-radius: 5px;
  background: #fff;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: clip;
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 300px 1fr auto;
  align-items: center;
  min-height: 96px;
  padding: 14px clamp(24px, 4.25vw, 72px);
  border-bottom: 1px solid rgba(167, 197, 255, 0.1);
}

.brand {
  display: block;
  width: 270px;
  height: 63px;
  overflow: hidden;
  border-radius: 4px;
}

.brand img {
  width: 270px;
  height: 63px;
  object-fit: contain;
}

.header-context {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 14px;
  color: rgba(247, 249, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-context-line {
  width: 42px;
  height: 1px;
  background: rgba(114, 178, 255, 0.72);
}

.language-picker {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.language-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(211, 225, 255, 0.34);
  border-radius: 50%;
  background: rgba(6, 20, 46, 0.34);
  box-shadow: 0 6px 16px rgba(0, 4, 20, 0.22);
  cursor: pointer;
  opacity: 0.64;
  transition:
    opacity 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.language-button:hover,
.language-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  opacity: 1;
  transform: translateY(-1px) scale(1.05);
}

.language-button.is-active {
  border-color: var(--blue-bright);
  box-shadow:
    0 0 0 2px rgba(32, 112, 255, 0.36),
    0 6px 16px rgba(0, 4, 20, 0.28);
  opacity: 1;
}

.language-button img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: center;
  min-height: min(760px, 100svh);
  padding: 148px clamp(24px, 7vw, 112px) 84px;
  border-bottom: 1px solid rgba(167, 197, 255, 0.12);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
  animation: hero-copy-enter 720ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  color: #edf3ff;
  font-size: clamp(54px, 6.4vw, 94px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-intro {
  max-width: 570px;
  margin: 29px 0 32px;
  color: #d2dced;
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 300;
  line-height: 1.65;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 52px;
  padding: 14px 0 12px;
  color: #fff;
  border-bottom: 1px solid rgba(114, 178, 255, 0.7);
  font-size: 15px;
  font-weight: 500;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    gap 160ms ease;
}

.hero-link:hover,
.hero-link:focus-visible {
  gap: 20px;
  color: var(--blue-bright);
  border-color: var(--blue-bright);
}

.hero-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(44vw, 580px);
  aspect-ratio: 1;
  animation: hero-visual-enter 950ms 100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-visual::before {
  position: absolute;
  width: 58%;
  height: 58%;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(57, 129, 246, 0.29), rgba(19, 63, 150, 0.06) 49%, transparent 71%);
  filter: blur(4px);
  animation: halo-pulse 5s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(114, 178, 255, 0.14);
  border-radius: 50%;
}

.orbit-one {
  inset: 8%;
  box-shadow:
    0 0 0 70px rgba(30, 84, 186, 0.025),
    inset 0 0 70px rgba(30, 84, 186, 0.04);
}

.orbit-two {
  inset: 25%;
  border-color: rgba(114, 178, 255, 0.23);
}

.orbit-two::before {
  position: absolute;
  top: 8%;
  left: 14%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--blue-bright);
  box-shadow: 0 0 24px rgba(114, 178, 255, 0.9);
}

.download-symbol {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 35%;
  aspect-ratio: 1;
  color: #cfe2ff;
  border: 1px solid rgba(114, 178, 255, 0.3);
  border-radius: 50%;
  background: rgba(5, 20, 49, 0.48);
  box-shadow:
    inset 0 0 36px rgba(76, 140, 244, 0.08),
    0 24px 90px rgba(0, 6, 26, 0.45);
  backdrop-filter: blur(12px);
}

.download-symbol svg {
  width: 62%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.symbol-arrow {
  stroke-width: 4;
}

.symbol-base {
  stroke: var(--blue);
  stroke-width: 4;
}

.hero-version {
  position: absolute;
  right: 2%;
  bottom: 17%;
  color: rgba(196, 216, 251, 0.5);
  font-size: 11px;
  letter-spacing: 0.28em;
}

.instructions,
.downloads {
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
}

.instructions {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 132px);
  padding: 116px 0;
}

.section-heading h2,
.downloads-heading h2 {
  margin: 0;
  color: #eef4ff;
  font-size: clamp(36px, 4.3vw, 60px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.instruction-list {
  border-top: 1px solid var(--line-strong);
}

.instruction {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 26px;
  padding: 36px 0 38px;
  border-bottom: 1px solid var(--line);
}

.instruction-number {
  padding-top: 5px;
  color: var(--blue-bright);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.instruction h3 {
  margin: 0 0 14px;
  color: #f4f7ff;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.instruction p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}

.downloads {
  padding: 80px 0 120px;
  scroll-margin-top: 24px;
}

.downloads::before {
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 80px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent);
}

.downloads-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: 70px;
}

.downloads-intro {
  max-width: 480px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.device-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 58px 0 34px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.device-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 88px;
  padding: 20px 30px;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.device-tab + .device-tab {
  border-left: 1px solid var(--line-strong);
}

.device-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue-bright);
  box-shadow: 0 0 18px rgba(114, 178, 255, 0.45);
  transform: scaleX(0);
  transition: transform 200ms ease;
}

.device-tab:hover,
.device-tab:focus-visible {
  color: var(--blue-bright);
  background: rgba(62, 128, 234, 0.045);
}

.device-tab.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(43, 106, 210, 0.12), rgba(43, 106, 210, 0.03));
}

.device-tab.is-active::after {
  transform: scaleX(1);
}

.device-tab-index {
  color: var(--blue-bright);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.build-panel {
  border: 1px solid rgba(167, 197, 255, 0.14);
  background: rgba(3, 13, 34, 0.48);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.build-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  min-height: 108px;
  padding: 24px 30px;
  border-bottom: 1px solid var(--line);
}

.summary-label {
  display: block;
  margin-bottom: 8px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.build-summary h3 {
  margin: 0;
  color: #f4f7ff;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.summary-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.table-scroller {
  width: 100%;
  overflow-x: auto;
}

.build-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.build-table th,
.build-table td {
  padding: 20px 18px;
  text-align: left;
}

.build-table th:first-child,
.build-table td:first-child {
  padding-left: 30px;
}

.build-table th:last-child,
.build-table td:last-child {
  padding-right: 30px;
}

.build-table th {
  height: 62px;
  color: #9aa9c2;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.build-table th:nth-child(1) {
  width: 21%;
}

.build-table th:nth-child(2) {
  width: 15%;
}

.build-table th:nth-child(3) {
  width: 11%;
}

.build-table th:nth-child(4) {
  width: 12%;
}

.build-table th:nth-child(5) {
  width: 10%;
}

.build-table th:nth-child(6) {
  width: 31%;
}

.build-table tbody tr {
  border-bottom: 1px solid rgba(167, 197, 255, 0.1);
  animation: row-enter 360ms both;
  transition: background 160ms ease;
}

.build-table tbody tr:last-child {
  border-bottom: 0;
}

.build-table tbody tr:hover {
  background: rgba(63, 130, 232, 0.055);
}

.build-table td {
  color: #dde5f4;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
  vertical-align: middle;
}

.build-table td:first-child {
  color: #f3f6fc;
  font-weight: 400;
}

.build-id {
  color: #c5d5ed;
  font-variant-numeric: tabular-nums;
}

.build-number,
.build-date {
  font-variant-numeric: tabular-nums;
}

.type-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  color: #cbd7e9;
  font-size: 12px;
}

.type-badge::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: #6ed092;
  box-shadow: 0 0 12px rgba(110, 208, 146, 0.48);
}

.type-badge.is-beta::before {
  background: #f0b45b;
  box-shadow: 0 0 12px rgba(240, 180, 91, 0.5);
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.download-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  color: var(--blue-bright);
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.download-link::after {
  content: "↓";
  font-size: 14px;
}

.download-link:hover,
.download-link:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.download-link.is-disabled {
  color: #6d7b93;
  cursor: not-allowed;
}

.download-link.is-disabled::after {
  content: "—";
}

.toast {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  max-width: min(380px, calc(100% - 44px));
  padding: 14px 18px;
  color: #eaf2ff;
  border: 1px solid rgba(114, 178, 255, 0.35);
  border-radius: 7px;
  background: rgba(4, 16, 41, 0.94);
  box-shadow: 0 18px 55px rgba(0, 3, 18, 0.48);
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(14px);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 48px, 1320px);
  min-height: 100px;
  margin: 0 auto;
  color: rgba(238, 243, 255, 0.64);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.site-footer a {
  color: var(--blue-bright);
  transition: color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-copy-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-visual-enter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes halo-pulse {
  0%,
  100% {
    opacity: 0.66;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes row-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 270px 1fr auto;
  }

  .header-context {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  }

  .instructions {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .downloads-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .build-table th,
  .build-table td {
    padding-right: 12px;
    padding-left: 12px;
  }

  .build-table th:first-child,
  .build-table td:first-child {
    padding-left: 22px;
  }

  .build-table th:last-child,
  .build-table td:last-child {
    padding-right: 22px;
  }
}

@media (max-width: 820px) {
  body {
    background-attachment: scroll;
  }

  .site-header {
    position: relative;
    grid-template-columns: 1fr auto;
    min-height: 86px;
    padding: 11px 22px;
  }

  .brand,
  .brand img {
    width: 224px;
    height: 54px;
  }

  .language-button {
    width: 36px;
    height: 36px;
  }

  .language-button img {
    width: 27px;
    height: 27px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 82px 24px 74px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(48px, 11vw, 76px);
  }

  .hero-visual {
    position: absolute;
    z-index: 0;
    top: 51%;
    right: -20%;
    width: 66vw;
    opacity: 0.42;
    transform: translateY(-50%);
  }

  .hero-copy {
    z-index: 2;
  }

  .hero-version {
    display: none;
  }

  .instructions {
    padding: 88px 0;
  }

  .downloads {
    padding-bottom: 88px;
  }

  .device-tabs {
    grid-template-columns: 1fr;
  }

  .device-tab + .device-tab {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .device-tab::after {
    top: 0;
    right: auto;
    bottom: 0;
    left: -1px;
    width: 2px;
    height: auto;
    transform: scaleY(0);
  }

  .device-tab.is-active::after {
    transform: scaleY(1);
  }

  .build-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .table-scroller {
    overflow: visible;
  }

  .build-table,
  .build-table tbody,
  .build-table tr,
  .build-table td {
    display: block;
    width: 100%;
  }

  .build-table {
    table-layout: auto;
  }

  .build-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .build-table tbody tr {
    padding: 20px 22px;
  }

  .build-table tbody tr:hover {
    background: rgba(63, 130, 232, 0.04);
  }

  .build-table td,
  .build-table td:first-child,
  .build-table td:last-child {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 16px;
    min-height: 46px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(167, 197, 255, 0.07);
  }

  .build-table td::before {
    align-self: center;
    color: var(--quiet);
    content: attr(data-label);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .build-table td:last-child {
    align-items: start;
    border-bottom: 0;
  }
}

@media (max-width: 580px) {
  .site-header {
    align-items: center;
    padding: 12px 18px;
  }

  .brand,
  .brand img {
    width: 174px;
    height: 44px;
  }

  .language-picker {
    gap: 6px;
  }

  .language-button {
    width: 33px;
    height: 33px;
    padding: 2px;
  }

  .language-button img {
    width: 25px;
    height: 25px;
  }

  .hero {
    padding: 68px 20px 66px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .instructions,
  .downloads,
  .site-footer {
    width: min(100% - 36px, 1320px);
  }

  .instructions {
    padding: 74px 0;
  }

  .instruction {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 30px 0;
  }

  .instruction h3 {
    font-size: 21px;
  }

  .instruction p {
    font-size: 15px;
    line-height: 1.68;
  }

  .downloads {
    padding-top: 54px;
  }

  .downloads::before {
    margin-bottom: 58px;
  }

  .device-tabs {
    margin-top: 42px;
  }

  .device-tab {
    min-height: 78px;
    padding: 17px 18px;
  }

  .build-summary {
    min-height: auto;
    padding: 22px 18px;
  }

  .summary-meta {
    flex-wrap: wrap;
    white-space: normal;
  }

  .build-table tbody tr {
    padding: 17px 18px;
  }

  .build-table td,
  .build-table td:first-child,
  .build-table td:last-child {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
  }

  .download-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* -------------------------------------------------------------------------
   Django-Erweiterung: Changelog-Dialog
   Das übrige Stylesheet oberhalb stammt unverändert aus Updates.zip.
   ------------------------------------------------------------------------- */

button.download-link {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.changelog-dialog {
  width: min(720px, calc(100% - 36px));
  max-height: min(78vh, 760px);
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(167, 197, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(11, 31, 68, 0.98), rgba(3, 14, 38, 0.98));
  box-shadow: 0 34px 100px rgba(0, 3, 18, 0.72);
  backdrop-filter: blur(20px);
}

.changelog-dialog::backdrop {
  background: rgba(0, 6, 22, 0.78);
  backdrop-filter: blur(8px);
}

.changelog-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.changelog-dialog-title {
  margin: 0;
  color: #f4f7ff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.changelog-dialog-close {
  display: inline-grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: #dce9ff;
  border: 1px solid rgba(167, 197, 255, 0.18);
  border-radius: 50%;
  background: rgba(67, 126, 214, 0.09);
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.changelog-dialog-close:hover,
.changelog-dialog-close:focus-visible {
  color: #fff;
  border-color: rgba(114, 178, 255, 0.55);
  background: rgba(67, 126, 214, 0.18);
}

.changelog-dialog-body {
  max-height: calc(min(78vh, 760px) - 84px);
  padding: 24px;
  overflow: auto;
}

.changelog-dialog-text {
  margin: 0;
  color: #cbd7e9;
  font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 580px) {
  .changelog-dialog-header,
  .changelog-dialog-body {
    padding-right: 18px;
    padding-left: 18px;
  }
}
