body {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  background: #070e1c;
}
.bg-stage {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: clip;
  pointer-events: none;
  isolation: isolate;
  background: #091525;
}
.bg-stack {
  position: absolute;
  inset: 0;
  isolation: isolate;
}
.bg-scene {
  position: absolute;
  inset-inline: 0;
  top: var(--start);
  height: var(--length);
  overflow: hidden;
  mask-image: linear-gradient(to bottom,
    var(--top-alpha), black var(--top-fade),
    black calc(100% - var(--bottom-fade)), var(--bottom-alpha));
  mix-blend-mode: plus-lighter;
}
.bg-scene picture, .bg-scene img {
  display: block;
  width: 100%;
  height: 100%;
}
.bg-scene picture {
  position: absolute;
  top: -44px;
  height: calc(100% + 88px);
}
.bg-scene img {
  object-fit: cover;
  object-position: var(--focal);
  transform: translateY(var(--shift, 0px));
}
.bg-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #070e1cbd, #070e1c67 58%, #070e1c52),
    linear-gradient(180deg, #09142572, #070e1c12 20rem, #070e1c64 100%);
}
header.hero::before { opacity: .33; }
header.hero { text-shadow: 0 2px 20px #050b18, 0 2px 4px #050b18; }
header.hero p { color: #e1edf8; }
.mast { background: linear-gradient(90deg, #081423c9, #101e32a8); }
.panel {
  background: linear-gradient(152deg, #183149eb, #0e1b30ee 52%, #121b33eb);
  border-color: #55708e;
  box-shadow: inset 0 1px #a5f7ff2a, 0 14px 44px #02091281;
}
@supports (backdrop-filter: blur(4px)) {
  .panel { backdrop-filter: blur(4px); }
}
.panel.results {
  border-top-color: #7bb6c7;
  box-shadow: inset 0 1px #c1f9ff2e, 0 0 25px #6ca7cf26, 0 14px 44px #02091281;
}
footer { text-shadow: 0 1px 6px #020610, 0 1px 2px #020610; }
@media (max-width: 800px) {
  .bg-stage::after { background: #070e1c72; }
}
@media (prefers-reduced-motion: reduce) {
  .bg-scene img { transform: none; }
}
@media print {
  .bg-stage { display: none; }
  body, .mast, .panel { background: white; }
  header.hero, footer { text-shadow: none; }
  header.hero p { color: #202c35; }
}
