.hero .hero-stage {
  perspective: none;
  margin-top: 35px;
}
.hero .hero-relay {
  container-type: size;
  position: relative;
  aspect-ratio: 1160/820;
  height: auto;
  width: 100%;
  padding: 0;
  transform: none;
  will-change: auto;
  isolation: isolate;
}
.hero-relay .hero-support-windows {
  display: contents;
}
.hero-relay .relay-window {
  position: absolute;
  margin: 0;
  opacity: 0.38;
  transform: scale(0.88);
  z-index: 1;
  transform-origin: center;
  transition:
    transform 0.85s var(--ease),
    opacity 0.65s var(--ease);
  will-change: transform, opacity;
}
.hero .hero-relay .editor-window {
  left: 27%;
  top: 8%;
  width: 66%;
  margin: 0;
}
.hero-relay .hero-history-overview {
  left: 4%;
  top: 54%;
  width: 38%;
}
.hero-relay .hero-pin-overview {
  left: 57%;
  top: 64%;
  width: 37%;
}
.hero-relay .hero-settings {
  left: 5%;
  top: 9%;
  right: auto;
  width: 17%;
  display: block;
}
.hero-relay .hero-settings-label {
  font-size: 10px;
}
.hero-relay .shortcut-float {
  display: none;
}
.hero-relay[data-focus="editor"] .editor-window {
  opacity: 1;
  transform: translate(-5cqw, 4cqh) scale(1.02);
  z-index: 5;
}
.hero-relay[data-focus="history"] .hero-history-overview {
  opacity: 1;
  transform: translate(15cqw, -14cqh) scale(1.28);
  z-index: 5;
}
.hero-relay[data-focus="pin"] .hero-pin-overview {
  opacity: 1;
  transform: translate(-12cqw, -18cqh) scale(1.3);
  z-index: 5;
}
.hero-relay[data-focus="settings"] .hero-settings {
  opacity: 1;
  transform: translate(26cqw, 5cqh) scale(1.36);
  z-index: 5;
}
.hero-relay .hero-support-windows figcaption {
  color: #5b7598;
  font-size: 11px;
}
.hero-relay .hero-overview-note {
  font-size: 9px;
}
.hero-relay-controls {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 15px 0;
  margin-top: 0;
}
.hero-focus-options {
  display: flex;
  padding: 4px;
  gap: 3px;
  border: 1px solid #d8e3f2;
  background: #ffffffb8;
  border-radius: 99px;
  box-shadow: 0 6px 20px #31577c08;
}
.hero-focus-options button {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 11px 16px;
  border-radius: 99px;
  font-size: 12px;
  color: #8092ab;
  transition:
    background 0.2s,
    color 0.2s;
}
.hero-focus-options button[aria-pressed="true"] {
  background: #e4efff;
  color: #286fc9;
}
.hero-focus-options svg {
  width: 16px;
  height: 16px;
}
.hero-relay-play {
  font-size: 11px;
  padding: 10px 14px;
  background: #ffffffa8;
  border: 1px solid #dbe5f1;
  border-radius: 99px;
  color: #7490b2;
  min-width: 52px;
}
.hero-focus-caption {
  flex-basis: 100%;
  font-size: 12px;
  color: #8197b3;
  line-height: 1.8;
  min-height: 22px;
  margin-top: 4px;
}
.hero .hero-after {
  padding-top: 30px;
}
@media (min-width: 701px) and (max-width: 1100px) {
  .hero .hero-relay {
    aspect-ratio: 1160/980;
  }
  .hero .hero-relay .editor-desktop {
    padding: 18px 18px 58px;
  }
  .hero .hero-relay .hero-doc-aside {
    display: none;
  }
  .hero .hero-relay .hero-doc-body {
    grid-template-columns: 1fr;
  }
  .hero .hero-relay .hero-doc-main {
    padding: 18px;
  }
  .hero .hero-relay .hero-doc-main h2 {
    font-size: 19px;
  }
  .hero-relay .hero-settings-label {
    font-size: 8px;
  }
  .hero-relay .hero-reference-content h3 {
    font-size: 17px;
  }
}
@media (max-width: 700px) {
  .hero .hero-stage {
    margin-top: 25px;
    padding-inline: 8px;
  }
  .hero .hero-relay {
    aspect-ratio: 1/1.32;
  }
  .hero-relay .relay-window {
    opacity: 0.17;
    transform: scale(0.84);
  }
  .hero .hero-relay .editor-window {
    left: 6%;
    top: 8%;
    width: 88%;
    margin: 0;
  }
  .hero-relay .hero-history-overview {
    left: 6%;
    top: 18%;
    width: 88%;
  }
  .hero-relay .hero-pin-overview {
    left: 8%;
    top: 22%;
    width: 84%;
  }
  .hero-relay .hero-settings {
    left: 22%;
    top: 4%;
    width: 56%;
    display: block;
  }
  .hero-relay[data-focus="editor"] .editor-window,
  .hero-relay[data-focus="history"] .hero-history-overview,
  .hero-relay[data-focus="pin"] .hero-pin-overview,
  .hero-relay[data-focus="settings"] .hero-settings {
    opacity: 1;
    transform: none;
    z-index: 5;
  }
  .hero .hero-relay .editor-desktop {
    padding: 12px 12px 39px;
  }
  .hero .hero-relay .hero-doc-main {
    padding: 16px 12px;
  }
  .hero .hero-relay .hero-doc-main h2 {
    font-size: 16px;
  }
  .hero .hero-relay .hero-doc-aside {
    display: none;
  }
  .hero .hero-relay .hero-doc-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero .hero-relay .hero-check-list > div {
    font-size: 7px;
    gap: 5px;
    padding-block: 9px;
  }
  .hero .hero-relay .hero-doc-summary {
    font-size: 7px;
  }
  .hero-relay .hero-settings-label {
    font-size: 8px;
    margin-bottom: 8px;
  }
  .hero-relay .hero-reference-content h3 {
    font-size: 18px;
  }
  .hero-relay .hero-reference-content p {
    font-size: 8px;
  }
  .hero-relay-controls {
    padding-inline: 0;
    gap: 9px;
  }
  .hero-focus-options {
    border-radius: 12px;
    gap: 3px;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    justify-content: center;
  }
  .hero-focus-options button {
    border-radius: 9px;
    font-size: 10px;
    padding: 10px 8px;
    gap: 4px;
  }
  .hero-focus-options svg {
    display: none;
  }
  .hero-relay-play {
    padding: 7px 12px;
    min-width: 45px;
    font-size: 10px;
  }
  .hero-focus-caption {
    order: 1;
    flex-basis: calc(100% - 75px);
    font-size: 10px;
    text-align: left;
    min-height: 32px;
    display: flex;
    align-items: center;
    margin: 0;
  }
  .hero-relay-play {
    order: 2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-relay .relay-window {
    transition: none;
    will-change: auto;
  }
}
