.launch-glass-defs {
  position: absolute;
  pointer-events: none;
}

.launch-entry {
  --side: clamp(30px, 5.7vw, 108px);
  color: #1b344b;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: max(690px, 100svh);
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 76% 57%, #abc9de 0%, #c5e0f3 31%, transparent 68%),
    linear-gradient(155deg, #e7f3fc, #c8e1f1);
}

.launch-entry .launch-view {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.launch-entry .launch-view canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.launch-entry .launch-view[data-dragging] {
  cursor: grabbing;
  user-select: none;
}

.launch-entry .launch-camera-hint {
  display: none;
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  margin: 0;
  padding: 7px 12px;
  border-radius: 20px;
  background: #163851e6;
  color: #f3f9ff;
  font-size: 12px;
  line-height: 1.4;
  pointer-events: none;
}

@media (any-hover: hover) and (any-pointer: fine) {
  .launch-entry .launch-view[data-renderer="three"]:not([data-shot="liftoff"], [data-shot="flight"]) .launch-camera-hint {
    display: block;
  }
}

.launch-entry .launch-view::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #e8f3fcec 0%, #e8f3fcd4 19%, #e7f3fbc7 29%, #e5f1faa8 42%, transparent 57%),
    linear-gradient(0deg, #dcebf670 0%, #e7f3fb1f 16%, transparent 33%);
}

.launch-entry .site-mark {
  position: relative;
  z-index: 1;
  display: flex;
  width: fit-content;
  gap: 12px;
  align-items: center;
  margin: clamp(22px, 5svh, 55px) 0 0 var(--side);
  color: #27445c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.launch-entry .site-mark img {
  border-radius: 50%;
  background: #e7eef6;
  object-fit: contain;
  box-shadow: 0 0 20px #85b8f027;
}

.launch-entry .entry-panel {
  position: relative;
  z-index: 1;
  width: min(36vw, 414px);
  align-self: center;
  margin: 28px 0 52px var(--side);
}

.launch-entry .entry-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -22px -24px;
  pointer-events: none;
  border: 1px solid #6994ba78;
  border-top-color: #f9fdffed;
  border-left-color: #f1f9ffc9;
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 8% 0%, #ffffff42, transparent 65%) top / 100% 150px no-repeat,
    linear-gradient(135deg, #f4faff24, #ecf7ff08 56%, #b9ddf21c);
  box-shadow:
    inset 0 1px 2px #ffffff94,
    inset 0 -1px 2px #456b9438,
    0 2px 6px #27476214,
    0 12px 28px #34577529;
  -webkit-backdrop-filter: saturate(1.12);
  backdrop-filter: saturate(1.12);
}

@supports (backdrop-filter: url(#launch-glass-refraction)) {
  .launch-entry .entry-panel::before {
    backdrop-filter: url(#launch-glass-refraction) saturate(1.12);
  }
}

.launch-entry h1 {
  margin: 0;
  color: #142b44;
  font-size: clamp(48px, 5.54vw, 88px);
  font-weight: 630;
  line-height: 1.01;
  letter-spacing: -0.042em;
  text-shadow: 0 2px 22px #f8fcff8c;
}

.launch-entry .portal-heading {
  font-size: clamp(32px, 3.75vw, 48px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.028em;
  text-shadow: none;
}

.launch-entry .portal-heading-context {
  color: #2b485f;
  font-weight: 550;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .launch-entry .portal-heading-accent {
    background-image: linear-gradient(104deg, #153960 4%, #16538c 52%, #0b626d 98%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

@media (forced-colors: active) {
  .launch-entry .portal-heading-accent {
    background-image: none;
    color: CanvasText;
  }
}

.launch-entry .portal-heading + .entry-description {
  margin-top: 12px;
}

.launch-entry .entry-description {
  max-width: 27em;
  margin: 23px 0 0;
  color: #29445c;
  font-size: 14px;
  line-height: 1.75;
}

.launch-entry .entry-actions,
.launch-entry .entry-fields {
  display: grid;
  gap: 9px;
  margin-top: 27px;
}

.launch-entry button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 51px;
  padding: 0 15px;
  color: #274360;
  border: 1px solid #6a91b878;
  border-radius: 7px;
  background: #f4faffbd;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 150ms, border-color 150ms;
}

.launch-entry button.primary {
  color: #f8fbfe;
  border-color: #22527b;
  background: #245582;
  box-shadow: 0 6px 20px #25578324, inset 0 1px #ffffff2e;
}

.launch-entry button.primary:hover {
  transform: none;
  background: #2e6392;
}

.launch-entry button.secondary {
  color: #274360;
  background: #f4faffbd;
  box-shadow: none;
}

.launch-entry button.secondary:hover {
  transform: none;
  border-color: #5e8badaa;
  background: #ffffffd4;
}

.launch-entry button:focus-visible,
.launch-entry input:focus-visible {
  outline: 2px solid #3878a5;
  outline-offset: 3px;
}

.launch-entry .entry-button {
  justify-content: space-between;
  gap: 10px;
  min-height: 54px;
  padding: 0 16px;
  font-size: 15px;
}

.launch-entry .entry-button.primary {
  min-height: 57px;
  background: #1b507d;
}

.launch-entry .entry-button.secondary {
  border-color: #799ab6;
  background: #f5faff;
}

.launch-entry .entry-button small {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.launch-entry .entry-button small::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 2px;
  transform: rotate(45deg);
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  opacity: 0.77;
}

.launch-entry .entry-button.primary small {
  color: #dcecf7;
}

.launch-entry .entry-button.secondary small {
  color: #476782;
}

.launch-entry .track-section {
  margin-top: 34px;
  border-top: 1px solid #7999af52;
}

.launch-entry .track-section header {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  align-items: baseline;
  padding: 14px 0 10px;
  font-size: 12px;
  color: #34536b;
}

.launch-entry .track-section header strong {
  font-weight: 700;
}

.launch-entry .track-section header span {
  color: #35536c;
  font-size: 11px;
}

.launch-entry .track-hint {
  margin: 0 0 9px;
  color: #35536c;
  font-size: 11px;
}

.launch-entry .track-hint span:last-child {
  display: none;
}

@media (hover: none) {
  .launch-entry .track-hint span:first-child {
    display: none;
  }

  .launch-entry .track-hint span:last-child {
    display: inline;
  }
}

.launch-entry .track-readouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.launch-entry .track-channel {
  width: 100%;
  justify-content: flex-start;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #86a7c0;
  border-radius: 7px;
  background: #f5faff;
  text-align: left;
}

.launch-entry .track-channel::after {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  margin-right: 2px;
  transform: rotate(45deg);
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.launch-entry .track-channel[data-preview],
.launch-entry .track-channel[aria-pressed="true"] {
  background: color-mix(in srgb, var(--track) 23%, #f7fbff);
  border-color: color-mix(in srgb, var(--track) 55%, #193b59);
}

.launch-entry .track-channel:disabled {
  cursor: default;
  opacity: 0.66;
}

.launch-entry .track-channel span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #3b536b;
  font-size: 12px;
  font-weight: 500;
}

.launch-entry .track-channel span::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: color-mix(in srgb, var(--track) 82%, #193b59);
}

.launch-entry .track-channel strong {
  margin: 0 0 0 auto;
  color: color-mix(in srgb, var(--track) 49%, #122e48);
  font: 600 15px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.launch-entry .backstage-view h1 {
  font-size: clamp(36px, 4.2vw, 64px);
}

.launch-entry .entry-fields label {
  display: grid;
  gap: 6px;
  color: #314d64;
  font-size: 13px;
}

.launch-entry .entry-fields input {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  color: #1b344b;
  border: 1px solid #7295b078;
  border-radius: 7px;
  background: #f7fbfe;
  font: inherit;
}

.launch-entry .entry-fields .form-result:empty {
  display: none;
}

.launch-entry .entry-fields input::placeholder {
  color: #698196;
}

@media (max-width: 820px) {
  .launch-entry {
    --side: clamp(21px, 5.2vw, 42px);
    display: block;
    min-height: 100svh;
    padding-bottom: 30px;
    background:
      radial-gradient(ellipse at 0% 69%, #f2f8fd, transparent 74%),
      linear-gradient(126deg, #e5f0f7 44%, #c6ddf0 100%);
  }

  .launch-entry .launch-view {
    position: relative;
    height: clamp(363px, 110vw, 587px);
  }

  .launch-entry .launch-camera-hint {
    right: var(--side);
    bottom: 48px;
  }

  .launch-entry .launch-view::after {
    background:
      linear-gradient(0deg, #e5f0f7 0%, #e5f0f7a0 9%, transparent 28%),
      linear-gradient(90deg, #e6f2fb24, transparent 48%, #e6f2fb24);
  }

  .launch-entry .site-mark {
    position: absolute;
    top: 20px;
    left: var(--side);
    margin: 0;
  }

  .launch-entry .site-mark img {
    width: 28px;
    height: 28px;
  }

  .launch-entry .site-mark span {
    font-size: 11px;
  }

  .launch-entry .entry-panel {
    width: auto;
    max-width: 550px;
    margin: -20px var(--side) 0;
  }

  .launch-entry .entry-panel::before {
    inset: -16px -13px;
    border-radius: 20px;
  }

  .launch-entry .portal-heading {
    font-size: clamp(30px, 8.15vw, 44px);
  }

  .launch-entry .entry-description {
    margin-top: 11px;
  }

  .launch-entry .entry-actions,
  .launch-entry .entry-fields {
    margin-top: 17px;
  }

  .launch-entry .track-section {
    margin-top: 24px;
  }
}

.launch-entry .entry-button[data-preview].primary {
  background: #2f6393;
  border-color: #4580ae;
  box-shadow: inset 3px 0 #b8def9, 0 7px 24px #315f883d;
}

.launch-entry .entry-button[data-preview].secondary {
  background: #f9fcff;
  border-color: #80a3ba;
  box-shadow: inset 3px 0 #8eb4ce, 0 6px 23px #456d9b22;
}

.launch-entry .entry-button small::after {
  transition: translate 180ms ease;
}

.launch-entry .entry-button[data-preview] small::after {
  translate: 4px 0;
}

@media (prefers-reduced-transparency: reduce) {
  .launch-entry .entry-panel::before {
    background: #eaf4fc;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch-entry button,
  .launch-entry .entry-button small::after {
    transition: none;
  }
}
