:root {
  color-scheme: dark;
  background: #242423;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
}

html.is-loading {
  overflow: hidden;
}

html.is-loading body,
main > img.unavailable {
  visibility: hidden;
}

main {
  width: var(--presentation-width, 100%);
  margin-inline: auto;
  background: #242423;
}

html.zoom-enabled {
  overflow-anchor: none;
}

html.native-touch {
  touch-action: pan-x pan-y pinch-zoom;
}

html.zoom-enabled main {
  overflow-anchor: none;
}

/* Separators scale with the slides, so a pinch has the same geometry at release. */
main > img + img {
  margin-top: calc(28px * var(--presentation-scale, 1));
}

main > img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.download-row {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 64px;
  padding-inline: clamp(20px, 3vw, 48px);
  background: #242423;
}

.download-link {
  appearance: none;
  padding: 10px 0;
  border: 0;
  background: none;
  color: #e4e4e2;
  font: 400 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.025em;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #868684;
  cursor: pointer;
}

.download-link:hover { color: #fff; }
.download-link:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
.download-link:disabled { cursor: progress; }
