/* Opt-in enhancement class only: the classic journey and reduced-motion page
   retain their original appearance. One fixed space replaces seven paint masks. */
.station-mode .project-voyage.galaxy-stage {
  perspective: none;
  transform-style: flat;
  isolation: isolate;
  overflow: clip;
  background: radial-gradient(ellipse at 54% 43%, #12223a 0, #090f20 35%, #050912 72%);
}
.galaxy-stage .galaxy-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.station-mode .galaxy-stage .voyage-route { display: none !important; }
.station-mode .galaxy-stage > .project {
  transform-style: flat;
  will-change: auto;
  /* Each station is a flat world-space plane, projected by the shared camera. */
}
.station-mode .galaxy-stage > .project.is-station-visible { will-change: transform; }
.station-mode .galaxy-stage > .project.is-station-reading { will-change: auto; }
.station-mode .galaxy-stage .project-depth-background {
  background: transparent !important;
  mask-image: none; -webkit-mask-image: none;
  overflow: visible; isolation: isolate;
}
.galaxy-stage .project-backdrop {
  color: #acc3ef; opacity: .13;
  transform: translate(-50%, -18%);
}
@media (min-width: 1001px) {
  /* Reserve real space for the complete word, the interface and its controls.
     The shared camera still projects the entire station as one plane. */
  .station-mode .galaxy-stage > .project {
    grid-template-rows: 42px minmax(0, 1fr) 120px;
  }
  .station-mode .galaxy-stage .project-stage {
    --station-word-size: min(10vw, 14svh);
    --station-word-band: calc(var(--station-word-size) * 1.1 + 16px);
    container-type: size;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: var(--station-word-band) minmax(0, 1fr) 60px;
    justify-content: normal;
  }
  .station-mode .galaxy-stage .project-depth-background {
    inset: 0 0 auto;
    height: var(--station-word-band);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .station-mode .galaxy-stage .project-backdrop {
    position: static;
    font-size: var(--station-word-size);
    transform: none;
    opacity: .2;
  }
  .station-mode .galaxy-stage .project-device {
    grid-row: 2;
    align-self: center;
    justify-self: center;
    /* All seven interfaces are 16:9. Fit the available height as well as
       width, leaving the gallery controls outside the screenshot intact. */
    width: min(900px, 82%, calc((100cqh - var(--station-word-band) - 60px) * 16 / 9));
  }
}
.galaxy-stage .stage-orbit,
.galaxy-stage .project-float-label,
.galaxy-stage .converging-data { display: none !important; }
.station-mode .galaxy-stage .mockup {
  box-shadow: 0 0 0 1px #96b6e34d;
  /* No 90px blurred surface travelling at several times the viewport size. */
}
.galaxy-in-view .network-world,
.galaxy-in-view .network-midground,
.galaxy-in-view .network-foreground { visibility: hidden; }
.galaxy-stage .project:not(.is-station-current) .delivery-controls { visibility: hidden; }
